1 2012-05-25 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5 to 2.4.0 where earlier.
6 * sysdeps/unix/sysv/linux/configure: Regenerated.
7 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9 [__ASSUME_32BITUIDS]: Make code unconditional.
10 [!__ASSUME_32BITUIDS]: Remove conditional code.
11 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13 [__ASSUME_32BITUIDS]: Make code unconditional.
14 [!__ASSUME_32BITUIDS]: Remove conditional code.
15 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16 [__ASSUME_32BITUIDS]: Make code unconditional.
17 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20 [__ASSUME_32BITUIDS]: Make code unconditional.
21 [!__ASSUME_32BITUIDS]: Remove conditional code.
22 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24 [__ASSUME_32BITUIDS]: Make code unconditional.
25 [!__ASSUME_32BITUIDS]: Remove conditional code.
26 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28 [__ASSUME_32BITUIDS]: Make code unconditional.
29 [!__ASSUME_32BITUIDS]: Remove conditional code.
30 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32 [__ASSUME_32BITUIDS]: Make code unconditional.
33 [!__ASSUME_32BITUIDS]: Remove conditional code.
34 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36 [__ASSUME_32BITUIDS]: Make code unconditional.
37 [!__ASSUME_32BITUIDS]: Remove conditional code.
38 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40 [__ASSUME_32BITUIDS]: Make code unconditional.
41 [!__ASSUME_32BITUIDS]: Remove conditional code.
42 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44 [__ASSUME_32BITUIDS]: Make code unconditional.
45 [!__ASSUME_32BITUIDS]: Remove conditional code.
46 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48 [__ASSUME_32BITUIDS]: Make code unconditional.
49 [!__ASSUME_32BITUIDS]: Remove conditional code.
50 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52 [__ASSUME_32BITUIDS]: Make code unconditional.
53 [!__ASSUME_32BITUIDS]: Remove conditional code.
54 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56 [__ASSUME_32BITUIDS]: Make code unconditional.
57 [!__ASSUME_32BITUIDS]: Remove conditional code.
58 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
60 [__NR_setresgid] (__setresgid): Do not declare.
61 [__ASSUME_32BITUIDS]: Make code unconditional.
62 [!__ASSUME_32BITUIDS]: Remove conditional code.
63 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65 [__NR_setresuid] (__setresuid): Do not declare.
66 [__ASSUME_32BITUIDS]: Make code unconditional.
67 [!__ASSUME_32BITUIDS]: Remove conditional code.
68 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70 [__ASSUME_32BITUIDS]: Make code unconditional.
71 [!__ASSUME_32BITUIDS]: Remove conditional code.
72 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
74 [__ASSUME_32BITUIDS]: Make code unconditional.
75 [!__ASSUME_32BITUIDS]: Remove conditional code.
76 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
78 [__ASSUME_32BITUIDS]: Make code unconditional.
79 [!__ASSUME_32BITUIDS]: Remove conditional code.
80 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
82 [__ASSUME_32BITUIDS]: Make code unconditional.
83 [!__ASSUME_32BITUIDS]: Remove conditional code.
84 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
86 [__ASSUME_32BITUIDS]: Make code unconditional.
87 [!__ASSUME_32BITUIDS]: Remove conditional code.
88 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
90 [__ASSUME_32BITUIDS]: Make code unconditional.
91 [!__ASSUME_32BITUIDS]: Remove conditional code.
92 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
94 [__ASSUME_32BITUIDS]: Make code unconditional.
95 [!__ASSUME_32BITUIDS]: Remove conditional code.
96 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
98 [__ASSUME_32BITUIDS]: Make code unconditional.
99 [!__ASSUME_32BITUIDS]: Remove conditional code.
100 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
102 [__ASSUME_32BITUIDS]: Make code unconditional.
103 [!__ASSUME_32BITUIDS]: Remove conditional code.
104 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
106 [__ASSUME_32BITUIDS]: Make code unconditional.
107 [!__ASSUME_32BITUIDS]: Remove conditional code.
108 * sysdeps/unix/sysv/linux/kernel-features.h
109 (__ASSUME_SETRESUID_SYSCALL): Remove.
110 (__ASSUME_SETRESGID_SYSCALL): Likewise.
111 (__ASSUME_32BITUIDS): Likewise.
112 (__ASSUME_LDT_WORKS): Likewise.
113 (__ASSUME_O_DIRECTORY): Likewise.
114 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
115 architecture but not kernel version.
116 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
117 (__ASSUME_MMAP2_SYSCALL): Likewise.
118 (__ASSUME_STAT64_SYSCALL): Likewise.
119 (__ASSUME_IPC64): Likewise.
120 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
122 [__ASSUME_32BITUIDS]: Make code unconditional.
123 [!__ASSUME_32BITUIDS]: Remove conditional code.
124 * sysdeps/unix/sysv/linux/opendir.c: Do not include
126 [__ASSUME_O_DIRECTORY]: Make code unconditional.
127 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
128 132096]: Remove conditional code.
129 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
130 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
132 [__ASSUME_32BITUIDS]: Make code unconditional.
133 [!__ASSUME_32BITUIDS]: Remove conditional code.
134 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
136 [__ASSUME_32BITUIDS]: Make code unconditional.
137 [!__ASSUME_32BITUIDS]: Remove conditional code.
138 * sysdeps/unix/sysv/linux/setegid.c: Do not include
140 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
142 (__setresgid): Do not declare.
143 [__ASSUME_32BITUIDS]: Make code unconditional.
144 [!__ASSUME_32BITUIDS]: Remove conditional code.
145 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
147 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
149 (__setresuid): Do not declare.
150 [__ASSUME_32BITUIDS]: Make code unconditional.
151 [!__ASSUME_32BITUIDS]: Remove conditional code.
152 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
154 [__ASSUME_32BITUIDS]: Make code unconditional.
155 [!__ASSUME_32BITUIDS]: Remove conditional code.
156 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
158 [__ASSUME_32BITUIDS]: Make code unconditional.
159 [!__ASSUME_32BITUIDS]: Remove conditional code.
161 2012-05-25 Richard Henderson <rth@twiddle.net>
163 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
164 dl_hwcap to ifunc resolver.
165 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
167 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
168 dl_hwcap to ifunc resolver.
169 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
171 2012-05-24 Joseph Myers <joseph@codesourcery.com>
174 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
175 for |x| <= 2**-26, not 2**-57.
176 * math/libm-test.inc (acos_test): Do not allow spurious underflow
179 2012-05-24 Jeff Law <law@redhat.com>
181 * stdio-common/Makefile (tests): Add bug25.
182 * stdio-common/bug25.c: New test.
184 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
187 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
188 multiple of MALLOC_ALIGNMENT in size.
189 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
191 2012-05-24 Joseph Myers <joseph@codesourcery.com>
193 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
195 (FILENAME_MAX): Use macro-int-constant.
196 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
197 (_IOFBF): Use macro-int-constant.
200 (SEEK_CUR): Likewise.
201 (SEEK_END): Likewise.
202 (SEEK_SET): Likewise.
204 (EOF): Use macro-int-constant. Require < 0.
205 (NULL): Use macro-constant. Require == 0.
206 (stdin): Require type to be FILE *.
209 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
211 (EXIT_SUCCESS): Likewise.
212 (NULL): Use macro-constant. Require == 0.
213 (RAND_MAX): Use macro-int-constant.
214 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
215 [C99-based standards] (strtof): Require function.
216 [C99-based standards] (strtold): Likewise.
217 [C99-based standards] (strtoll): Likewise.
218 [C99-based standards] (strtoull): Likewise.
219 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
220 [ISO || ISO99 || ISO11] (limits.h): Likewise.
221 [ISO || ISO99 || ISO11] (math.h): Likewise.
222 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
223 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
224 [ISO || ISO99 || ISO11] (*_t): Do not allow.
226 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
229 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
230 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
231 * intl/dgettext.c (DCGETTEXT): Likewise.
232 * intl/gettext.c (DCGETTEXT): Likewise.
233 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
234 * posix/regex_internal.h (gettext): Likewise.
235 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
237 * include/argz.h (__argz_count_internal)
238 (__argz_stringify_internal): Remove declaration.
239 (__argz_count, __argz_stringify): Declare hidden proto.
240 * intl/dcgettext.c: Remove use of INTDEF.
241 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
242 * string/argz-stringify.c: Likewise.
243 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
244 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
245 Declare hidden proto.
246 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
247 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
248 Declare hidden proto.
249 * include/stdio.h (__asprintf_internal): Don't declare.
250 (__asprintf): Don't define as macro. Declare hidden proto.
251 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
252 (__fsetlocking): Declare hidden proto.
253 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
254 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
256 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
257 (_IO_setlinebuf): Remove use of INTUSE.
258 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
259 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
260 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
262 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
263 (_IO_do_flush): Remove use of INTUSE.
264 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
265 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
266 (_IO_adjust_column, _IO_least_wmarker)
267 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
268 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
269 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
270 (_IO_default_doallocate, _IO_wdefault_doallocate)
271 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
272 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
273 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
274 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
275 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
276 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
277 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
278 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
279 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
280 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
281 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
282 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
283 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
285 (_IO_flush_all_internal, _IO_adjust_column_internal)
286 (_IO_default_uflow_internal, _IO_default_finish_internal)
287 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
288 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
289 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
290 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
291 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
292 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
293 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
294 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
295 (_IO_file_close_internal, _IO_file_close_it_internal)
296 (_IO_file_underflow_internal, _IO_file_overflow_internal)
297 (_IO_file_init_internal, _IO_file_attach_internal)
298 (_IO_file_fopen_internal, _IO_file_read_internal)
299 (_IO_file_sync_internal, _IO_file_seek_internal)
300 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
301 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
302 (_IO_str_underflow_internal, _IO_str_overflow_internal)
303 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
304 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
305 (_IO_list_all_internal, _IO_link_in_internal)
306 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
307 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
308 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
309 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
310 (_IO_do_write_internal, _IO_padn_internal)
311 (_IO_getline_info_internal, _IO_getline_internal)
312 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
313 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
314 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
315 (_IO_vfscanf_internal, _IO_vfprintf_internal)
316 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
317 (_IO_init_internal, _IO_un_link_internal): Don't declare.
318 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
319 with libc_hidden_ver, remove use of INTUSE.
320 * libio/genops.c: Likewise.
321 * libio/freopen.c: Likewise.
322 * libio/freopen64.c: Likewise.
323 * libio/iofclose.c: Likewise.
324 * libio/iofdopen.c: Likewise.
325 * libio/iofflush.c: Likewise.
326 * libio/iofflush_u.c: Likewise.
327 * libio/iofgets.c: Likewise.
328 * libio/iofgets_u.c: Likewise.
329 * libio/iofopen.c: Likewise.
330 * libio/iofopncook.c: Likewise.
331 * libio/iofread.c: Likewise.
332 * libio/iofread_u.c: Likewise.
333 * libio/ioftell.c: Likewise.
334 * libio/iofwrite.c: Likewise.
335 * libio/iogetline.c: Likewise.
336 * libio/iogets.c: Likewise.
337 * libio/iogetwline.c: Likewise.
338 * libio/iopadn.c: Likewise.
339 * libio/iopopen.c: Likewise.
340 * libio/ioseekoff.c: Likewise.
341 * libio/ioseekpos.c: Likewise.
342 * libio/iosetbuffer.c: Likewise.
343 * libio/iosetvbuf.c: Likewise.
344 * libio/ioungetc.c: Likewise.
345 * libio/ioungetwc.c: Likewise.
346 * libio/iovdprintf.c: Likewise.
347 * libio/iovsprintf.c: Likewise.
348 * libio/iovsscanf.c: Likewise.
349 * libio/memstream.c: Likewise.
350 * libio/obprintf.c: Likewise.
351 * libio/oldfileops.c: Likewise.
352 * libio/oldiofclose.c: Likewise.
353 * libio/oldiofdopen.c: Likewise.
354 * libio/oldiofopen.c: Likewise.
355 * libio/oldiopopen.c: Likewise.
356 * libio/oldstdfiles.c: Likewise.
357 * libio/putc.c: Likewise.
358 * libio/setbuf.c: Likewise.
359 * libio/setlinebuf.c: Likewise.
360 * libio/stdfiles.c: Likewise.
361 * libio/strops.c: Likewise.
362 * libio/vasprintf.c: Likewise.
363 * libio/vscanf.c: Likewise.
364 * libio/vsnprintf.c: Likewise.
365 * libio/vswprintf.c: Likewise.
366 * libio/wfiledoalloc.c: Likewise.
367 * libio/wfileops.c: Likewise.
368 * libio/wgenops.c: Likewise.
369 * libio/wmemstream.c: Likewise.
370 * libio/wstrops.c: Likewise.
371 * libio/__fpurge.c: Likewise.
372 * libio/__fsetlocking.c: Likewise.
373 * assert/assert.c: Likewise.
374 * debug/fgets_chk.c: Likewise.
375 * debug/fgets_u_chk.c: Likewise.
376 * debug/fread_chk.c: Likewise.
377 * debug/fread_u_chk.c: Likewise.
378 * debug/gets_chk.c: Likewise.
379 * debug/obprintf_chk.c: Likewise.
380 * debug/vasprintf_chk.c: Likewise.
381 * debug/vdprintf_chk.c: Likewise.
382 * debug/vsnprintf_chk.c: Likewise.
383 * debug/vsprintf_chk.c: Likewise.
384 * malloc/mtrace.c: Likewise.
385 * misc/error.c: Likewise.
386 * misc/syslog.c: Likewise.
387 * stdio-common/asprintf.c: Likewise.
388 * stdio-common/fxprintf.c: Likewise.
389 * stdio-common/getw.c: Likewise.
390 * stdio-common/isoc99_fscanf.c: Likewise.
391 * stdio-common/isoc99_scanf.c: Likewise.
392 * stdio-common/isoc99_vfscanf.c: Likewise.
393 * stdio-common/isoc99_vscanf.c: Likewise.
394 * stdio-common/isoc99_vsscanf.c: Likewise.
395 * stdio-common/printf-prs.c: Likewise.
396 * stdio-common/printf_fp.c: Likewise.
397 * stdio-common/printf_fphex.c: Likewise.
398 * stdio-common/printf_size.c: Likewise.
399 * stdio-common/putw.c: Likewise.
400 * stdio-common/scanf.c: Likewise.
401 * stdio-common/sprintf.c: Likewise.
402 * stdio-common/tmpfile.c: Likewise.
403 * stdio-common/vfprintf.c: Likewise.
404 * stdio-common/vfscanf.c: Likewise.
405 * stdlib/strfmon_l.c: Likewise.
406 * sunrpc/openchild.c: Likewise.
407 * sunrpc/xdr_stdio.c: Likewise.
408 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
409 * sysdeps/mach/hurd/tmpfile.c: Likewise.
411 2012-05-24 Roland McGrath <roland@hack.frob.com>
413 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
415 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
416 in the third column, to generate for the shared library an IFUNC
417 that uses _dl_vdso_vsym.
418 * Makerules (COMPILE.c, compile-stdin.c): New variables.
419 * Makeconfig (object-suffixes-noshared): New variable.
421 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
422 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
423 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
424 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
427 * include/sys/time.h (__gettimeofday): Remove macro.
428 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
429 * time/gettimeofday.c (__gettimeofday): Remove #undef.
431 (__gettimeofday): Add libc_hidden_def.
432 (gettimeofday): Add libc_hidden_weak.
433 * sysdeps/mach/gettimeofday.c: Likewise.
434 * sysdeps/posix/gettimeofday.c: Likewise.
435 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
436 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
437 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
438 (__gettimeofday_internal): Remove strong_alias.
439 (__gettimeofday): Add libc_hidden_def.
440 (gettimeofday): Add libc_hidden_weak.
441 * sysdeps/unix/syscalls.list (gettimeofday):
442 Remove __gettimeofday_internal alias.
444 2012-05-24 Daniel Jacobowitz <drow@false.org>
445 H.J. Lu <hongjiu.lu@intel.com>
448 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
449 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
450 (largebin_index_32_big): New.
451 (largebin_index): Use it for 16-byte alignment.
452 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
453 correction with front_misalign.
455 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
483 * scripts/data/c++-types-x32-linux-gnu.data: New file.
484 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
486 2012-05-24 Joseph Myers <joseph@codesourcery.com>
490 * math/libm-test.inc (exp_test): Add test from bug 14036.
491 (pow_test): Add test from bug 10846.
493 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
495 (special_function): Do not include flags in test name.
496 (parse_args): Likewise.
497 * sysdeps/i386/fpu/libm-test-ulps: Update.
498 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
499 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
500 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
503 * math/gen-libm-test.pl (%beautify): Add entries for underflow
505 * math/libm-test.inc ("Philosophy"): Update comment about
507 (UNDERFLOW_EXCEPTION): New macro.
508 (UNDERFLOW_EXCEPTION_OK): Likewise.
509 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
510 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
511 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
512 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
513 (INVALID_EXCEPTION_OK): Update value.
514 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
515 (OVERFLOW_EXCEPTION_OK): Likewise.
516 (IGNORE_ZERO_INF_SIGN): Likewise.
517 (test_exceptions): Handle underflow exceptions.
518 (acos_test): Update for underflow exception expectations.
519 (cexp_test): Likewise.
520 (clog_test): Likewise.
521 (clog10_test): Likewise.
522 (csqrt_test): Likewise.
523 (ctan_test): Likewise.
524 (ctanh_test): Likewise.
525 (exp_test): Likewise.
526 (exp10_test): Likewise.
527 (exp2_test): Likewise.
528 (expm1_test): Likewise.
529 (fma_test): Likewise.
532 (nexttoward_test): Likewise.
533 (pow_test): Likewise.
534 (scalbn_test): Likewise.
535 (scalbln_test): Likewise.
536 (tan_test): Likewise.
538 * sysdeps/i386/fpu/libm-test-ulps: Update.
539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
541 2012-05-23 David S. Miller <davem@davemloft.net>
543 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
544 (__libc_sigaction): Remove unused local variables.
546 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
548 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
550 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
552 mktime: avoid signed integer overflow
553 * time/mktime.c (__mktime_internal): Do not mishandle the case
554 where diff == INT_MIN.
556 mktime: simplify computation of average
557 * time/mktime.c (ranged_convert): Use new time_t_avg function
558 instead of rolling our own (probably-slower) code.
560 mktime: do not assume signed right shift propagates sign bit
561 * time/mktime.c (isdst_differ): New static function.
562 (__mktime_internal): No need to normalize tm_isdst now.
563 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
566 mktime: merge another wrapv change from gnulib
567 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
570 mktime: remove incorrect attempt at unusual arithmetics
571 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
572 The code didn't really work on such machines anyway.
573 (TYPE_MINIMUM): Assume two's complement.
574 (twos_complement_arithmetic): Verify that long_int and time_t
575 are two's complement (or unsigned, in the latter case).
577 mktime: check signed shifts on long_int and time_t, too
578 * time/mktime.c (SHR): Check that shifts work as desired
579 on the types long_int and time_t too, as SHR is used on
582 mktime: do not assume 'long' is wide enough
583 * time/mktime.c (verify): Move decl up.
584 (long_int): New type.
585 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
586 to remove assumption in the code that 'long' is wide enough to
587 store year values. This assumption is not true on x32 and on
588 some non-glibc platforms.
590 mktime: merge wrapv change from gnulib
591 * time/mktime.c (WRAPV): New macro.
592 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
593 (guess_time_tm, __mktime_internal): Do not assume that signed
594 integer overflow wraps around; modern compilers generate code
595 where this assumption is no longer valid.
597 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
599 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
600 Replace "jmp L(pseudo_end)" with "ret".
601 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
604 2012-05-23 Andreas Jaeger <aj@suse.de>
606 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
607 * sysdeps/unix/sysv/linux/poll.c: Remove file.
609 2012-05-23 Andreas Jaeger <aj@suse.de>
610 Maximilian Attems <max@stro.at>
612 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
615 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
617 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
618 code so that pseudo_end is just ret and the stack pointer is
619 correct also for static library in error case.
621 2012-05-23 Joseph Myers <joseph@codesourcery.com>
623 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
624 move to syscalls.list.
625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
630 * manual/install.texi (Running make install): Do not mention Linux
631 kernel version for which pt_chown is not needed.
632 (Linux): Do not mention problems with nscd with 2.0 kernels.
633 * INSTALL: Regenerated.
635 2012-05-23 Andreas Jaeger <aj@suse.de>
637 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
638 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
640 * sysdeps/unix/sysv/linux/s390/bits/mman.h
641 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
642 * sysdeps/unix/sysv/linux/sh/bits/mman.h
643 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
644 * sysdeps/unix/sysv/linux/i386/bits/mman.h
645 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
646 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
647 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
648 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
649 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
650 * sysdeps/unix/sysv/linux/bits/in.h
651 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
653 2012-05-22 Roland McGrath <roland@hack.frob.com>
655 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
656 (PREPARE_VERSION): Just use assert instead, it will be elided
657 under [NDEBUG] anyway.
659 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
661 * sysdeps/unix/sysv/linux/Makefile: Include
662 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
663 (sysdep_routines): Remove sysctl.
664 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
665 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
666 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
667 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
668 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
670 2012-05-22 Andreas Jaeger <aj@suse.de>
672 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
673 that pseudo_end is just ret and the stack pointer is correct also
674 for static library in error case.
676 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
679 * nss/nsswitch.c (defconfig_entries): New variable.
680 (__nss_database_lookup): Don't leak defconfig entries.
681 (nss_parse_service_list): Don't leak on error paths.
682 (free_database_entries): New function.
683 (free_defconfig): New function.
684 (free_mem): Move common code to free_database_entries.
686 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
688 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
690 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
692 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
693 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
696 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
697 (INTERNAL_SYSCALL_TYPES): Likewise.
698 (LOAD_ARGS_TYPES_[1-6]): Likewise.
699 (LOAD_REGS_TYPES_[1-6]): Likewise.
700 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
701 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
703 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
705 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
706 copysignl for GLIBC_2_0.
707 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
708 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
709 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
711 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
712 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
714 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
716 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
717 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
719 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
722 * time/mktime.c: Update copyright years.
724 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
726 mktime: merge comment-quoting-style change from gnulib
727 * time/mktime.c: Quote 'like this' in comments.
728 The GNU coding standards suggest that we no longer quote `like this',
729 as "`" and "'" are typically rendered asymmetrically nowadays.
730 The typical gnulib style is to quote 'like this' when quoting
731 code, and "like this" when quoting English.
733 * time/mktime.c (compile-command): Add "-I.".
735 mktime: merge mktime-internal.h change from gnulib
736 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
738 mktime: merge time_r change from gnulib
739 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
741 mktime: merge DEBUG change from gnulib
742 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
743 case system <time.h> has a #define.
745 mktime: merge <sys/types.h> change from gnulib
746 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
747 since <time.t> is now guaranteed to define time_t.
749 mktime: merge HAVE_CONFIG_H change from gnulib
750 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
752 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
754 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
757 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
759 (struct rusage): Use anonymous union to pad each field to
762 2012-05-21 David S. Miller <davem@davemloft.net>
764 * Makefules (o-iterator): Remove .s cases.
765 (compile-command.s): Delete.
767 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
769 2012-05-21 Joseph Myers <joseph@codesourcery.com>
771 * configure.in (libc_cv_predef_stack_protector): Only consider
772 "foobar" and "__stack_chk_fail" lines in libc_undefs.
773 * configure: Regenerated.
775 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
778 New macro. Use R*LP on int and pointer.
779 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
780 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
781 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
782 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
784 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
785 [__WORDSIZE_TIME64_COMPAT32] instead of
786 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
787 (struct utmp): Likewise.
788 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
789 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
791 (__WORDSIZE_TIME64_COMPAT32): This.
792 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
793 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
794 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
795 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
796 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
797 (__WORDSIZE_TIME64_COMPAT32): New macro.
799 2012-05-21 Andreas Jaeger <aj@suse.de>
801 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
802 only if [SHARED]. Add prototype for __wcschr_ia32.
804 2012-05-21 Roland McGrath <roland@hack.frob.com>
806 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
807 of %rbp unmolested in the jmp_buf while mangling the low bits.
808 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
809 unmolested high bits of %rbp while demangling the low bits.
810 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
812 2012-05-21 Andreas Jaeger <aj@suse.de>
814 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
815 * sunrpc/svc_simple.c: Use it for registerrpc.
816 * sunrpc/xcrypt.c: Use it for passwd2des.
818 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
820 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
822 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
823 Don't define if [__SYSCALL_WORDSIZE != 32].
824 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
827 2012-05-21 Bruno Haible <bruno@clisp.org>
828 Andreas Jaeger <aj@suse.de>
830 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
831 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
832 inptr and inend for must_buffer_ch.
833 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
834 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
835 * stdio-common/Makefile (tests): Remove bug15.
836 (bug15-ENV): Remove macro.
837 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
840 2012-05-19 Andreas Jaeger <aj@suse.de>
841 Roland McGrath <roland@hack.frob.com>
843 * manual/contrib.texi: Completely rewritten. It contains now an
844 alphabetical list of contributors and their contributions.
846 2012-05-21 Richard Henderson <rth@twiddle.net>
848 * misc/getauxval.c (__getauxval): Use unsigned long int.
849 * misc/sys/auxv.h: Include <sys/cdefs.h>.
850 (getauxval): Use unsigned long int.
852 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
854 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
856 2012-05-21 Roland McGrath <roland@hack.frob.com>
858 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
859 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
860 __alignof__ (long double).
862 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
866 2012-05-20 Richard Henderson <rth@twiddle.net>
868 * misc/getauxval.c: New file.
869 * misc/sys/auxv.h: New file.
870 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
871 (routines): Add getauxval.
872 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
873 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
874 * elf/dl-sysdep.c (_dl_auxv): Remove.
875 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
876 * elf/dl-support.c (_dl_auxv): New variable.
877 (_dl_aux_init): Initialize it.
878 * manual/startup.texi (Auxiliary Vector): New node.
879 * sysdeps/generic/bits/hwcap.h: New file.
880 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
881 * sysdeps/powerpc/sysdep.h: ... here. Include it.
882 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
883 * sysdeps/sparc/sysdep.h: ... here. Include it.
884 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
885 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
891 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
897 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
901 2012-05-19 David S. Miller <davem@davemloft.net>
903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
905 2012-05-19 Joseph Myers <joseph@codesourcery.com>
908 * math/s_ccosh.c: Include <float.h>
909 (__ccosh): Avoid internal overflow calculating sinh and cosh
910 values before multiplying by sin and cos values.
911 * math/s_ccoshf.c: Likewise.
912 * math/s_ccoshl.c: Likewise.
913 * math/s_csin.c: Likewise.
914 * math/s_csinf.c: Likewise.
915 * math/s_csinl.c: Likewise.
916 * math/s_csinh.c: Likewise.
917 * math/s_csinhf.c: Likewise.
918 * math/s_csinhl.c: Likewise.
919 * math/libm-test.inc (ccos_test): Add more tests.
920 (ccosh_test): Likewise.
921 (csin_test): Likewise.
922 (csinh_test): Likewise.
923 * sysdeps/i386/fpu/libm-test-ulps: Update.
924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
926 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
928 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
929 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
931 * sysdeps/x86_64/x32/_itoa.h: Add comment.
933 2012-05-19 Joseph Myers <joseph@codesourcery.com>
935 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
936 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
937 * sysdeps/powerpc/soft-fp/Versions: Likewise.
938 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
939 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
940 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
941 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
942 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
943 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
944 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
945 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
946 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
947 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
948 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
949 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
950 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
951 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
952 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
953 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
954 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
955 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
956 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
957 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
958 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
959 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
960 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
961 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
962 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
963 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
964 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
965 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
967 2012-05-18 Andreas Jaeger <aj@suse.de>
969 * csu/.gitignore: Delete.
971 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
973 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
974 (timex): Use __syscall_slong_t.
976 2012-05-18 Andreas Jaeger <aj@suse.de>
977 Carlos O'Donell <carlos_odonell@mentor.com>
979 * manual/install.texi (Configuring and compiling): Update
980 description about files modified in the source directory.
981 * INSTALL: Regenerated.
983 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
985 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
986 value. Use "or" to set return value to -1.
987 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
990 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
992 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
993 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
994 failure if the compiler has Graphite support disabled.
995 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
997 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
998 CFLAGS-memmove.c): Likewise.
999 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1002 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1004 * sysdeps/x86_64/x32/_itoa.h: New file.
1006 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1007 getdents system call only if kernel and user dirents have the
1008 same d_ino and d_off.
1010 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1011 LLONG_MAX != LONG_MAX.
1012 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1013 (_fitoa_word): Likewise.
1015 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1017 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1018 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1019 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1021 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1022 include <bits/wordsize.h>. Check __x86_64__ instead of
1024 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1025 if __x86_64__ is defined. Use anonymous union on fpstate.
1027 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1030 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1032 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1033 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1034 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1035 Refer to _rtld_local_ro instead of _rtld_global_ro.
1036 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1038 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1040 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1042 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1043 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1044 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1046 * sysdeps/powerpc/powerpc32/dl-machine.c
1047 (__elf_machine_runtime_setup) [PROF]: Don't reference
1050 2012-05-18 Andreas Jaeger <aj@suse.de>
1052 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1053 function only available for GCCs before 3.4 since GCC 3.4
1054 introduced a builtin.
1056 (llrintf): Likewise.
1064 (nearbyint): Likewise.
1065 (nearbyintf): Likewise.
1071 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1073 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1074 on both fields and cast pointer to __syscall_ulong_t.
1076 * bits/types.h (__fsword_t): New type.
1077 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1078 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1079 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1080 (__FSWORD_T_TYPE): Likewise.
1081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1082 (__FSWORD_T_TYPE): Likewise.
1083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1084 (__FSWORD_T_TYPE): Likewise.
1085 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1086 (__FSWORD_T_TYPE): Likewise.
1087 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1088 __SWORD_TYPE with __fsword_t.
1089 (statfs64): Likewise.
1091 2012-05-17 David S. Miller <davem@davemloft.net>
1093 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1095 2012-05-17 Andreas Jaeger <aj@suse.de>
1097 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1100 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1102 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1104 2012-05-17 Andreas Jaeger <aj@suse.de>
1106 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1109 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1111 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1113 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1115 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1116 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1118 2012-05-17 Andreas Jaeger <aj@suse.de>
1119 Carlos O'Donell <carlos_odonell@mentor.com>
1122 * sysdeps/x86_64/multiarch/init-arch.h
1123 (bit_YMM_Usable): Rename to...
1124 (bit_AVX_Usable): ... this.
1125 (bit_FMA4_Usable): New macro.
1126 (bit_XMM_state): New macro.
1127 (bit_YMM_state): New macro.
1128 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1129 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1130 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1131 (CPUID_OSXSAVE): New macro.
1132 (CPUID_AVX): New macro.
1133 (CPUID_FMA4): New macro.
1134 (index_YMM_Usable): Rename to...
1135 (index_AVX_Usable): ... this.
1136 (HAS_AVX): Use HAS_ARCH_FEATURE.
1137 (HAS_FMA4): Likewise.
1138 (HAS_YMM_USABLE): Remove.
1139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1140 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1142 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1143 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1144 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1145 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1146 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1148 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1150 * math/libm-test.c: Support platforms without multiple rounding modes.
1151 * math/bug-nextafter.c: Support platforms without FP exceptions.
1152 * math/bug-nexttoward.c: Likewise.
1153 * math/test-fenv.c: Likewise.
1154 * math/test-misc.c: Likewise.
1155 * stdlib/bug-getcontext.c: Likewise.
1157 2012-05-17 Andreas Jaeger <aj@suse.de>
1159 * manual/examples/search.c (critter_cmp): Change signature to
1161 * manual/string.texi (Collation Functions): Likewise.
1163 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1165 * bits/types.h: Fold copyright years.
1166 * bits/typesizes.h: Likewise.
1167 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1168 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1169 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1170 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1171 * time/time.h: Likewise.
1173 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1176 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1177 in instead of returning them. Return void.
1178 (__libc_mallinfo): Accumulate over all arenas.
1179 (__malloc_stats): Adjust for change in int_mallinfo interface.
1181 2012-05-16 Roland McGrath <roland@hack.frob.com>
1184 * configure.in (NM): Add AC_CHECK_TOOL for it.
1185 (libc_extra_cflags): New substituted variable.
1186 Check for -fstack-protector being used implicitly.
1187 * configure: Regenerated.
1188 * config.make.in (config-extra-cflags): New variable,
1189 gets @libc_extra_cflags@.
1190 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1193 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1194 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1195 * configure: Regenerated.
1196 * config.make.in (CPPUNDEFS): New substituted variable.
1197 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1198 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1199 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1201 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1203 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1204 (mq_attr): Use __syscall_slong_t.
1206 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1208 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1209 Check __x86_64__ instead of __WORDSIZE.
1210 (_STAT_VER_LINUX): Likewise.
1211 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1212 __syscall_ulong_t and __syscall_slong_t.
1215 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1217 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1219 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1221 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1223 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1225 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1228 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1229 include <bits/wordsize.h>. Check __x86_64__ instead of
1231 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1233 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1235 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1236 include <bits/wordsize.h>. Check __x86_64__ instead of
1238 (user_regs_struct): Use "__extension__ unsigned long long"
1239 instead of "unsigned long" if __x86_64__ is defined.
1240 (user): Likewise. Pad after pointer field if __ILP32__ is
1243 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1245 * configure.in (makeinfo): Require version 4.5 or later. Allow
1247 * configure: Regenerated.
1248 * manual/install.texi (texinfo): Increase version requirement to
1250 * INSTALL: Regenerated.
1252 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1254 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1256 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1258 * sysdeps/x86_64/x32/ffs.c: New file.
1260 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1262 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1263 defined. Use __syscall_ulong_t.
1264 (shminfo): Use __syscall_ulong_t.
1265 (shm_info): Likewise.
1267 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1270 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1272 (msgqnum_t): Use __syscall_ulong_t.
1273 (msglen_t): Likewise.
1274 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1277 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1278 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1280 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1282 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1283 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1285 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1288 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1289 include <bits/wordsize.h>. Check __x86_64__ instead of
1292 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1293 "unsigned long long int" if __x86_64__ is defined.
1294 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1296 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1297 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1298 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1300 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1302 (GET_PC): Cast to uintptr_t first.
1303 (GET_FRAME): Likewise.
1304 (GET_STACK): Likewise.
1306 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1307 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1308 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1309 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1310 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1311 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1312 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1313 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1314 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1315 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1316 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1317 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1318 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1319 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1320 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1321 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1322 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1323 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1324 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1325 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1326 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1327 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1328 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1329 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1330 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1331 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1332 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1333 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1334 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1336 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1338 * Makerules (+depfiles): Also collect depfiles from .oS in
1340 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1341 .oS, $(libnldbl-routines)).
1343 * Makerules (native-compile-mkdep-flags): Define.
1344 * sunrpc/Makefile (extra-objs): Add $(addprefix
1345 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1346 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1347 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1348 calling $(make-target-directory).
1350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1352 * bits/types.h (__snseconds_t): Removed.
1353 * time/time.h (struct timespec): Replace __snseconds_t with
1355 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1356 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1358 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1359 (__SNSECONDS_T_TYPE): Likewise.
1360 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1361 (__SNSECONDS_T_TYPE): Likewise.
1362 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1363 (__SNSECONDS_T_TYPE): Likewise.
1365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1367 * sysdeps/mach/hurd/bits/typesizes.h
1368 (__SYSCALL_SLONG_TYPE): New macro.
1369 (__SYSCALL_ULONG_TYPE): Likewise.
1371 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1373 * bits/types.h (__syscall_slong_t): New type.
1374 (__syscall_ulong_t): Likewise.
1376 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1377 (__SYSCALL_ULONG_TYPE): Likewise.
1378 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1379 (__SYSCALL_SLONG_TYPE): Likewise.
1380 (__SYSCALL_ULONG_TYPE): Likewise.
1381 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1382 (__SYSCALL_SLONG_TYPE): Likewise.
1383 (__SYSCALL_ULONG_TYPE): Likewise.
1384 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1385 (__SYSCALL_SLONG_TYPE): Likewise.
1386 (__SYSCALL_ULONG_TYPE): Likewise.
1388 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1390 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1391 Add sigaltstack-offsets.sym.
1392 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1393 <sigaltstack-offsets.h>.
1394 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1395 longjmp_msg pointer.
1396 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1397 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1399 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1401 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1403 * elf/stackguard-macros.h: Remove file.
1404 * sysdeps/generic/stackguard-macros.h: New file.
1405 * sysdeps/i386/stackguard-macros.h: Likewise.
1406 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1407 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1408 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1409 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1410 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1411 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1412 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1413 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1414 <elf/stackguard-macros.h>.
1417 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1418 __aligned__ in attribute.
1419 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1420 (gregset_t): Likewise.
1422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1424 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1425 * sysdeps/x86_64/64/Implies-after: Here. New file.
1426 * sysdeps/x86_64/x32/Implies-after: New file.
1428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1430 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1431 and access return value for _dl_profile_fixup. Use R10_LP to
1434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1436 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1440 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1441 * sysdeps/x86_64/x32/sysdep.h: New file.
1443 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1445 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1446 * sysdeps/x86_64/setjmp.S: Likewise.
1448 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1450 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1451 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1452 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1453 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1454 remove unused global constant.
1456 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1458 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1459 include of <not-cancel.h>.
1461 2012-05-15 Roland McGrath <roland@hack.frob.com>
1463 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1465 2012-05-15 Jeff Law <law@redhat.com>
1466 Andreas Jaeger <aj@suse.de>
1469 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1471 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1472 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1473 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1474 code changing __hst_map_handle.map.
1476 2012-05-15 Roland McGrath <roland@hack.frob.com>
1478 * configure.in (sysnames): Look for Implies-before and Implies-after
1480 * configure: Regenerated.
1482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1484 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1485 8-byte data alignment with LP_SIZE alignment.
1487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1489 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1494 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1498 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1499 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1500 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1502 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1504 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1506 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1507 (stackinfo_sub_sp): Likewise.
1509 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1511 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1521 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1526 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1528 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1530 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1531 into R11_LP and load __x86_64_shared_cache_size_half into
1534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1536 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1539 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1541 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1543 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1545 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1547 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1548 powerpc32/power7/fpu/s_logb.c via #include.
1549 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1550 powerpc32/power7/fpu/s_logbf.c via #include.
1551 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1552 powerpc32/power7/fpu/s_logbl.c via #include.
1554 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1556 * README.libm: Remove file.
1558 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1560 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1561 count for x32. Use R*_LP and omit operand-size suffix.
1563 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1565 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1566 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1567 * sysdeps/x86_64/x32/shlib-versions: New file.
1569 2012-05-14 Roland McGrath <roland@hack.frob.com>
1571 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1572 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1573 Use _dl_fatal_printf instead.
1575 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1577 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1578 set if not set by the user. Do not allow for being unset.
1579 * sysdeps/unix/sysv/linux/configure: Regenerated.
1581 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1583 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1584 the `q' suffix from lea and replace .quad with ASM_ADDR.
1586 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1589 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1591 (PTR_DEMANGLE): Likewise.
1593 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1595 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1597 (ASM_ADDR): Likewise.
1615 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1617 * sysdeps/x86_64/x32/dl-machine.h: New file.
1619 2012-05-14 Andreas Jaeger <aj@suse.de>
1621 * manual/Makefile (subdir): Remove export of subdir.
1622 (all): Remove target.
1623 (.PHONY): Remove all from list.
1624 (mkinstalldirs): Remove.
1625 (.PHONY): Remove installdirs from list.
1626 ($(inst_infodir)/libc.info): Use make-target-directory.
1627 (installdirs): Remove.
1629 (glibc-targets): Remove.
1632 ($(objpfx)stubs ../po/manual.pot): Remove.
1633 ($(objpfx)stamp%): Remove.
1634 (make-target-directory): Remove.
1635 (subdir_install): Remove.
1643 * manual/.gitignore: Remove, it's not needed anymore.
1644 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1646 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1648 (texis): Renamed to $(objpfx)texis.
1649 (texis-path): New, contains path to generated files.
1650 (chapters.%): Use texis-path for complete path, add extra argument
1652 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1653 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1654 (summary,texi, stamp-summary): Use complete path of
1655 files. Generate files in build dir.
1656 (dir-add.texi): Build in build dir.
1657 (libm-err.texi,stamp-libm-err): Likewise.
1658 (version.texi, stamp-version): Likewise.
1659 (.%c.texi): Likewise.
1660 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1661 (mostlyclean): Remove target.
1662 (realclean): Remove target.
1663 (generated): Add new variable with contents from mostlyclean and
1664 realclean, remove entries duplicated in common-mostlyclean, add
1665 stamp-libm-err and stamp-version.
1666 (generated-dirs): Add libc directory.
1667 ($(inst_infodir)/libc.info): Install files from build dir.
1669 * manual/install.texi (Configuring and compiling): Adjust since
1670 the info files are not part of the tar ball anymore.
1672 2012-05-14 Andreas Jaeger <aj@suse.de>
1674 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1677 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1680 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1681 to 2.2.0 where earlier.
1682 * sysdeps/unix/sysv/linux/configure: Regenerated.
1683 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1684 Remove conditional code.
1685 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1686 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1687 Remove conditional code.
1688 [!__NR_lchown]: Likewise.
1689 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1690 [__NR_lchown]: Likewise.
1691 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1692 comment referencing __ASSUME_LCHOWN_SYSCALL.
1693 * sysdeps/unix/sysv/linux/i386/sigaction.c
1694 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1695 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1696 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1697 Remove conditional code.
1698 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1699 (__protocol_available): Remove #if 0 code.
1700 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1702 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1703 * sysdeps/unix/sysv/linux/kernel-features.h
1704 (__ASSUME_GETCWD_SYSCALL): Don't define.
1705 (__ASSUME_REALTIME_SIGNALS): Likewise.
1706 (__ASSUME_PREAD_SYSCALL): Likewise.
1707 (__ASSUME_PWRITE_SYSCALL): Likewise.
1708 (__ASSUME_POLL_SYSCALL): Likewise.
1709 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1710 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1712 (__ASSUME_SIOCGIFNAME): Don't define.
1713 (__ASSUME_MSG_NOSIGNAL): Likewise.
1714 (__ASSUME_SENDFILE): Define unconditionally.
1715 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1716 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1718 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1719 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1720 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1721 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1722 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1723 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1724 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1726 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1727 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1729 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1730 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1732 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1733 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1735 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1736 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1738 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1739 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1741 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1742 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1744 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1745 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1747 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1748 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1749 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1750 Remove conditional code.
1751 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1752 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1753 Remove conditional code.
1754 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1755 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1756 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1757 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1758 Remove conditional code.
1759 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1760 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1761 Remove conditional code.
1762 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1763 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1764 Remove conditional code.
1765 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1766 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1767 Remove conditional code.
1768 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1769 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1770 Remove conditional code.
1771 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1772 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1773 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1774 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1775 * sysdeps/unix/sysv/linux/sigaction.c
1776 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1777 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1778 * sysdeps/unix/sysv/linux/sigpending.c
1779 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1780 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1781 * sysdeps/unix/sysv/linux/sigprocmask.c
1782 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1783 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1784 * sysdeps/unix/sysv/linux/sigsuspend.c
1785 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1786 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1787 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1788 (__libc_missing_rt_sigs): Remove.
1789 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1790 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1791 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1792 Remove conditional code.
1793 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1794 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1796 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1797 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1798 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1799 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1801 2012-05-14 Andreas Jaeger <aj@suse.de>
1803 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1804 it's not used in glibc.
1805 (__coshm1): Likewise.
1806 (__acosh1p): Likewise.
1809 * manual/string.texi (Copying and Concatenation): Add missing
1810 variable in concat example.
1811 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1813 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1816 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1817 __builtin_clzl with __builtin_clzll.
1819 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1822 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1825 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1827 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1828 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1829 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1830 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1832 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1834 * NEWS: Update ia64 info.
1836 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1838 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1841 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1843 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1844 * sysdeps/unix/syscalls.list (dup3): Likewise.
1845 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1846 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1848 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1850 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1851 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1853 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1855 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1857 (TLS_IE): Use mov/add instead of movq/addq to load thread
1859 (TLS_GD_PREFIX): New.
1862 2012-05-11 David S. Miller <davem@davemloft.net>
1864 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1865 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1866 (_FPU_SETCW): Likewise.
1868 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1870 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1873 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1876 * iconvdata/gb18030.c: Update tables.
1877 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1878 characters specially.
1879 (BODY for TO_LOOP): Add encoding of missing ranges.
1881 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1884 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1885 * sysdeps/mach/hurd/dup3.c: Likewise.
1886 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1887 * sysdeps/powerpc/memmove.c:: Likewise.
1889 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1891 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1892 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1894 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1896 * elf/elf.h (R_X86_64_RELATIVE64): New.
1897 (R_X86_64_NUM): Updated.
1898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1899 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1900 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1901 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1902 tst-quad1pie tst-quad2pie
1903 (modules-names): Add tst-quadmod1 tst-quadmod2.
1904 ($(objpfx)tst-quad1): New dependency.
1905 ($(objpfx)tst-quad2): Likewise.
1906 ($(objpfx)tst-quad1pie): Likewise.
1907 ($(objpfx)tst-quad2pie): Likewise.
1908 * sysdeps/x86_64/tst-quad1.c: New file.
1909 * sysdeps/x86_64/tst-quad1pie.c: New file.
1910 * sysdeps/x86_64/tst-quad2.c: Likewise.
1911 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1912 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1913 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1914 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1915 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1917 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1919 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1920 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1921 * streams/stropts.h (t_scalar_t): Define type.
1923 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1924 (_PATH_PRESERVE): Set to "/var/lib".
1925 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1927 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1930 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1931 if __dir_mkfile succeeded.
1933 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1934 checking for _hurd_dtablesize. Unlock it right after having
1935 finished _hurd_dtable allocation.
1937 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1939 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1940 * sysdeps/mach/hurd/configure: Regenerated.
1941 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1942 special-casing to...
1943 * sysdeps/gnu/configure.in: ... this new file.
1944 * sysdeps/unix/sysv/linux/configure: Regenerated.
1945 * sysdeps/gnu/configure: New generated file.
1947 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1948 for Linux: use nsec instead of usec, as well as:
1949 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1950 members of type struct timespec.
1951 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1953 (struct stat64): Likewise.
1954 (_STATBUF_ST_NSEC): New macro.
1955 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1957 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1958 __strtoul_internal rather than strtoul.
1960 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1962 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1965 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1967 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1968 which preserves existing values.
1969 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1971 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1973 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1974 TIMEOUT values. Return EINVAL for NFDS values either negative or
1975 greater than FD_SETSIZE.
1977 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1979 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1980 allocated, call __vm_protect to finish enabling the existing space, and
1981 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1982 allocate the remainder.
1984 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1986 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1987 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1989 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1991 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1992 sysdeps/mach/hurd/readlink.c.
1994 * posix/tst-sysconf.c (posix_options): Only use
1995 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1996 _POSIX_SYNCHRONIZED_IO when they are defined
1997 * sysdeps/mach/hurd/bits/posix_opt.h:
1998 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1999 (_XOPEN_REALTIME): Undefine macro.
2000 (_XOPEN_REALTIME_THREADS): Undefine macro.
2001 (_XOPEN_SHM): Undefine macro.
2002 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2004 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2006 (_POSIX_ASYNC_IO): Undefine macro.
2007 (_POSIX_PRIORITIZED_IO): Undefine macro.
2008 (_POSIX_SPIN_LOCKS): Define macro to -1.
2010 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2011 SA_NODEFER, SA_RESETHAND.
2012 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2013 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2016 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2018 * elf/Makefile (pldd-modules): Define unconditionally.
2020 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2022 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2024 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2026 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2027 Return ENOENT when name is empty.
2028 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2030 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2032 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2034 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2036 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2038 Fix mlock in all cases except non-readable pages.
2039 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2040 instead of VM_PROT_ALL as parameter to __vm_wire function.
2042 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2043 (__mkdir): When path is `/', just fail with EEXIST.
2044 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2046 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2048 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2049 <sys/uio.h> (for writev).
2050 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2051 and <sys/param.h> (for MIN).
2053 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2055 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2056 REQUESTED_TIME. Properly set the remaining time and return EINTR
2059 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2061 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2062 Depend on against $(link-rpcuserlibs).
2064 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2066 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2067 (__libc_stack_end): Do not use attribute_relro.
2068 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2069 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2070 to libthread-provided value.
2071 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2074 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2077 * bits/libc-lock.h (__libc_once_get): New macro.
2078 * sysdeps/mach/bits/libc-lock.h: Likewise.
2079 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2080 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2081 instead of using implementation details.
2083 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2084 * libio/freopen.c: Likewise.
2085 * libio/freopen64.c: Likewise.
2086 * misc/syslog.c: Likewise.
2087 * nscd/connections.c: Likewise.
2088 * nscd/netgroupcache.c: Likewise.
2089 * sysdeps/posix/getcwd.c: Likewise.
2091 2012-05-10 Roland McGrath <roland@hack.frob.com>
2093 * math/w_ilogbf.c: Add #include <limits.h>.
2095 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2097 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2098 path instead of returning without unlocking.
2100 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2101 immediate-write ioctls.
2102 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2104 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2106 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2107 __builtin_frame_address instead of making assumptions about the
2108 location of the return address relative to DATA. Force early load of
2110 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2111 __builtin_frame_address.
2114 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2115 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2116 implement dup3 and do some further code clean-ups.
2117 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2118 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2120 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2122 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2124 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2125 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2126 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2127 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2128 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2131 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2132 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2133 when handler == SIG_ERR, not when handler != SIG_ERR.
2135 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2137 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2138 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2141 accept4 for GNU Hurd.
2142 * include/sys/socket.h (__libc_accept4): New prototype.
2143 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2144 to implement __libc_accept4.
2145 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2147 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2149 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2150 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2151 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2154 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2156 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2158 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2160 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2161 assertion on O_CLOEXEC flag.
2162 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2163 * hurd/intern-fd.c: Likewise.
2164 * hurd/port2fd.c: Likewise.
2166 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2169 * bits/in.h (IPV6_PKTINFO): Define new macro.
2170 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2172 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2177 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2178 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2179 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2180 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2181 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2182 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2183 * math/libm-test.inc (logb_test) : Additional logb tests.
2185 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2186 Andreas Jaeger <aj@suse.de>
2188 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2189 * configure: Regenerated.
2190 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2191 * config.make.in (link-obsolete-rpc): New substituted variable.
2192 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2193 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2194 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2195 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2196 so that libc.a contains the symbols.
2197 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2198 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2199 * sunrpc/auth_none.c: Likewise.
2200 * sunrpc/auth_unix.c: Likewise.
2201 * sunrpc/authdes_prot.c: Likewise.
2202 * sunrpc/authuxprot.c: Likewise.
2203 * sunrpc/clnt_gen.c: Likewise.
2204 * sunrpc/clnt_perr.c: Likewise.
2205 * sunrpc/clnt_raw.c: Likewise.
2206 * sunrpc/clnt_simp.c: Likewise.
2207 * sunrpc/clnt_tcp.c: Likewise.
2208 * sunrpc/clnt_udp.c: Likewise.
2209 * sunrpc/clnt_unix.c: Likewise.
2210 * sunrpc/des_crypt.c: Likewise.
2211 * sunrpc/des_soft.c: Likewise.
2212 * sunrpc/get_myaddr.c: Likewise.
2213 * sunrpc/key_call.c: Likewise.
2214 * sunrpc/key_prot.c: Likewise.
2215 * sunrpc/netname.c: Likewise.
2216 * sunrpc/pm_getmaps.c: Likewise.
2217 * sunrpc/pm_getport.c: Likewise.
2218 * sunrpc/pmap_clnt.c: Likewise.
2219 * sunrpc/pmap_prot.c: Likewise.
2220 * sunrpc/pmap_prot2.c: Likewise.
2221 * sunrpc/pmap_rmt.c: Likewise.
2222 * sunrpc/publickey.c: Likewise.
2223 * sunrpc/rpc_cmsg.c: Likewise.
2224 * sunrpc/rpc_common.c: Likewise.
2225 * sunrpc/rpc_dtable.c: Likewise.
2226 * sunrpc/rpc_prot.c: Likewise.
2227 * sunrpc/rpc_thread.c: Likewise.
2228 * sunrpc/rtime.c: Likewise.
2229 * sunrpc/svc.c: Likewise.
2230 * sunrpc/svc_auth.c: Likewise.
2231 * sunrpc/svc_raw.c: Likewise.
2232 * sunrpc/svc_run.c: Likewise.
2233 * sunrpc/svc_tcp.c: Likewise.
2234 * sunrpc/svc_udp.c: Likewise.
2235 * sunrpc/svc_unix.c: Likewise.
2236 * sunrpc/svcauth_des.c: Likewise.
2237 * sunrpc/xcrypt.c: Likewise.
2238 * sunrpc/xdr.c: Likewise.
2239 * sunrpc/xdr_array.c: Likewise.
2240 * sunrpc/xdr_float.c: Likewise.
2241 * sunrpc/xdr_intXX_t.c: Likewise.
2242 * sunrpc/xdr_mem.c: Likewise.
2243 * sunrpc/xdr_rec.c: Likewise.
2244 * sunrpc/xdr_ref.c: Likewise.
2245 * sunrpc/xdr_sizeof.c: Likewise.
2246 * sunrpc/xdr_stdio.c: Likewise.
2248 2012-05-10 Roland McGrath <roland@hack.frob.com>
2250 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2251 change. Update copyright years.
2253 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2255 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2257 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2258 Joseph Myers <joseph@codesourcery.com>
2259 Paul Pluzhnikov <ppluzhnikov@google.com>
2262 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2264 [cross-compiling] (extra-libs): Likewise.
2265 [cross-compiling] (extra-libs-others): Likewise.
2266 [cross-compiling] (librpcsvc-routines): Likewise.
2267 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2268 [cross-compiling] (omit-deps): Likewise.
2269 (sunrpc-CPPFLAGS): New variable.
2270 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2271 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2272 (cross-rpcgen-objs): New variable.
2273 (extra-objs): Append $(cross-rpcgen-objs).
2274 ($(cross-rpcgen-objs)): New rule.
2275 ($(objpfx)cross-rpcgen): Likewise.
2276 (rpcgen-cmd): Define to use $(built-program-file). Expand
2278 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2279 ($(objpfx)x%.stmp): Likewise.
2280 * sunrpc/proto.h [IS_IN_build] (_): Define.
2281 [IS_IN_build] (_libc_intl_domainname): Likewise.
2283 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2285 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2286 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2287 and R_X86_64_TPOFF64.
2289 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2291 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2292 sysdeps/unix/sysv/syscalls.list.
2295 * sysdeps/unix/sysv/syscalls.list: Remove file.
2297 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2300 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2301 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2302 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2303 (__LC_IDENTIFICATION): Make these macros useful in #if
2304 expressions, as required by C99.
2306 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2308 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2309 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2312 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2314 * stdlib/longlong.h: Updated from GCC.
2316 2012-05-09 Andreas Jaeger <aj@suse.de>
2318 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2319 default is first entry.
2320 (run_mode): Set type.
2321 (main): Remove informal message about syslog.
2322 (options): Fix typo.
2325 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2328 (llrintf): Likewise.
2332 (nearbyint): Likewise.
2333 (nearbyintf): Likewise.
2335 2012-05-09 Andreas Jaeger <aj@suse.de>
2336 Pedro Alves <palves@redhat.com>
2338 * nscd/nscd.c (run_mode): Use enum.
2339 (main): Cleanup coding style issue.
2341 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2342 Andreas Jaeger <aj@suse.de>
2344 * nscd/nscd.c (go_background): Replaced with...
2345 (run_mode): ... this.
2346 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2347 (options): Add -F --foreground.
2348 (main): Implement it.
2349 (parse_opt): Parse it.
2351 2012-05-09 Andreas Jaeger <aj@suse.de>
2354 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2355 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2356 -Wconversion warning.
2357 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2360 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2362 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2364 (LC_ALL): Use macro-int-constant.
2365 (LC_COLLATE): Likewise.
2366 (LC_CTYPE): Likewise.
2367 (LC_MESSAGES): Likewise.
2368 (LC_MONETARY): Likewise.
2369 (LC_NUMERIC): Likewise.
2370 (LC_TIME): Likewise.
2371 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2372 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2373 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2374 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2376 [C99-based standards] (float_t): Expect type.
2377 [C99-based standards] (double_t): Expect type.
2378 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2380 [C99-based standards] (HUGE_VALL): Likewise.
2381 [C99-based standards] (INFINITY): Likewise.
2382 [C99-based standards] (NAN): Likewise.
2383 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2384 [C99-based standards] (FP_NAN): Likewise.
2385 [C99-based standards] (FP_NORMAL): Likewise.
2386 [C99-based standards] (FP_SUBNORMAL): Likewise.
2387 [C99-based standards] (FP_ZERO): Likewise.
2388 [C99-based standards] (FP_FAST_FMA): Use
2389 optional-macro-int-constant. Specify type. Require == 1.
2390 [C99-based standards] (FP_FAST_FMAF): Likewise.
2391 [C99-based standards] (FP_FAST_FMAL): Likewise.
2392 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2393 [C99-based standards] (FP_ILOGBNAN): Likewise.
2394 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2396 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2397 [C99-based standards] (math_errhandling): Specify type.
2398 [ISO99 || ISO11] (signgam): Do not allow.
2399 [non-C99-based standards] (copysignf): Do not allow.
2400 [non-C99-based standards] (exp2f): Likewise.
2401 [non-C99-based standards] (log2f): Likewise.
2402 [non-C99-based standards] (modff): Allow.
2403 [non-C99-based standards] (erff): Do not allow.
2404 [non-C99-based standards] (erfcf): Likewise.
2405 [non-C99-based standards] (gammaf): Likewise.
2406 [non-C99-based standards] (hypotf): Likewise.
2407 [non-C99-based standards] (j0f): Likewise.
2408 [non-C99-based standards] (j1f): Likewise.
2409 [non-C99-based standards] (jnf): Likewise.
2410 [non-C99-based standards] (lgammaf): Likewise.
2411 [non-C99-based standards] (tgammaf): Likewise.
2412 [non-C99-based standards] (y0f): Likewise.
2413 [non-C99-based standards] (y1f): Likewise.
2414 [non-C99-based standards] (ynf): Likewise.
2415 [non-C99-based standards] (isnanf): Likewise.
2416 [non-C99-based standards] (acoshf): Likewise.
2417 [non-C99-based standards] (asinhf): Likewise.
2418 [non-C99-based standards] (atanhf): Likewise.
2419 [non-C99-based standards] (cbrtf): Likewise.
2420 [non-C99-based standards] (expm1f): Likewise.
2421 [non-C99-based standards] (ilogbf): Likewise.
2422 [non-C99-based standards] (log1pf): Likewise.
2423 [non-C99-based standards] (logbf): Likewise.
2424 [non-C99-based standards] (nextafterf): Likewise.
2425 [non-C99-based standards] (remainderf): Likewise.
2426 [non-C99-based standards] (rintf): Likewise.
2427 [non-C99-based standards] (scalbf): Likewise.
2428 [non-C99-based standards] (copysignl): Likewise.
2429 [non-C99-based standards] (exp2l): Likewise.
2430 [non-C99-based standards] (log2l): Likewise.
2431 [non-C99-based standards] (modfl): Allow.
2432 [non-C99-based standards] (erfl): Do not allow.
2433 [non-C99-based standards] (erfcl): Likewise.
2434 [non-C99-based standards] (gammal): Likewise.
2435 [non-C99-based standards] (hypotl): Likewise.
2436 [non-C99-based standards] (j0l): Likewise.
2437 [non-C99-based standards] (j1l): Likewise.
2438 [non-C99-based standards] (jnl): Likewise.
2439 [non-C99-based standards] (lgammal): Likewise.
2440 [non-C99-based standards] (tgammal): Likewise.
2441 [non-C99-based standards] (y0l): Likewise.
2442 [non-C99-based standards] (y1l): Likewise.
2443 [non-C99-based standards] (ynl): Likewise.
2444 [non-C99-based standards] (isnanl): Likewise.
2445 [non-C99-based standards] (acoshl): Likewise.
2446 [non-C99-based standards] (asinhl): Likewise.
2447 [non-C99-based standards] (atanhl): Likewise.
2448 [non-C99-based standards] (cbrtl): Likewise.
2449 [non-C99-based standards] (expm1l): Likewise.
2450 [non-C99-based standards] (ilogbl): Likewise.
2451 [non-C99-based standards] (log1pl): Likewise.
2452 [non-C99-based standards] (logbl): Likewise.
2453 [non-C99-based standards] (nextafterl): Likewise.
2454 [non-C99-based standards] (remainderl): Likewise.
2455 [non-C99-based standards] (rintl): Likewise.
2456 [non-C99-based standards] (scalbl): Likewise.
2457 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2458 [non-C99-based standards] (FP_*): Do not allow.
2459 [C99-based standards] (FP_*): Change to
2460 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2461 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2463 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2464 (SIG_ERR): Likewise.
2465 [X/Open-based standards] (SIG_HOLD): Likewise.
2466 (SIG_IGN): Likewise.
2467 (SIGABRT): Use macro-int-constant. Specify type. Require
2472 (SIGSEGV): Likewise.
2474 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2475 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2476 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2477 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2478 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2479 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2480 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2481 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2482 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2483 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2484 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2485 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2486 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2487 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2488 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2489 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2490 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2491 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2492 [X/Open-based standards] (SIGTRAP): Likewise.
2493 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2494 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2495 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2496 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2497 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2500 2012-05-08 Ian Wienand <ianw@vmware.com>
2503 * time/tzset.c (__tzset_parse_tz): Update default rules for
2504 daylight time changes in the Energy Policy Act of 2005.
2506 2012-05-09 Andreas Jaeger <aj@suse.de>
2509 * elf/ldconfig.c (parse_conf): Change string to make clear that
2510 ldconfig only issued a warning if ld.so.conf does not exist.
2512 2012-05-08 David S. Miller <davem@davemloft.net>
2514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2515 movxtod instead of popping the value on the stack.
2517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2519 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2521 * config.h.in: Add HAVE_ARM_PCS_VFP.
2523 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2526 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2527 checking but the checks are disabled for any reason.
2529 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2531 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2532 and ELF64_R_TYPE with ELFW(R_TYPE).
2534 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2536 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2539 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2540 (settimeofday): Likewise.
2542 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2544 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2545 a struct th_u2 inside the union, and move tu_block/tu_code into
2546 a new th_u3 union of tu_block/tu_code inside of that. Move
2547 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2548 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2549 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2550 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2551 (th_stuff): Change to th_u1.tu_stuff.
2553 (th_msg): Change to th_u1.th_u2.tu_data.
2555 2012-05-07 David S. Miller <davem@davemloft.net>
2557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2560 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2561 (SETUP_PIC_REG): Use it.
2562 (SETUP_PIC_REG_LEAF): Use it.
2564 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2568 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2570 (EXPL_FINITE): Likewise.
2572 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2573 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2575 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2577 (EXPL_FINITE): Likewise.
2579 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2580 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2582 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2583 test of -max_value argument for long double.
2584 * sysdeps/i386/fpu/libm-test-ulps: Update.
2585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2587 2012-05-06 David S. Miller <davem@davemloft.net>
2589 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2590 quad soft-float symbols whose references which are compiler
2592 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2594 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2598 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2600 (EXPL_FINITE): Likewise.
2604 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2605 Adjust comments for base varying.
2606 (__expl_finite): Change alias to EXPL_FINITE.
2607 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2609 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2610 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2611 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2612 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2613 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2615 (EXPL_FINITE): Likewise.
2619 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2620 Adjust comments for base varying.
2621 (__expl_finite): Change alias to EXPL_FINITE.
2622 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2627 * math/libm-test.inc (check_float_internal): Correct ulp
2628 calculation for subnormal expected results.
2630 2012-05-06 Andreas Jaeger <aj@suse.de>
2632 * Makeconfig (+math-flags): New, set to -frounding-math.
2633 (+cflags): Add +math-flags so that all of glibc gets compiled with
2636 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2638 2012-05-05 Joseph Myers <joseph@codesourcery.com>
2640 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2646 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2647 (__ieee754_expl): Allow for and saturate large arguments.
2648 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2649 (u_threshold): Likewise.
2650 (__exp): Call __ieee754_exp before checking for overflow and
2652 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2653 (u_threshold): Likewise.
2654 (__expf): Call __ieee754_expf before checking for overflow and
2656 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2657 (u_threshold): Likewise.
2658 (__expl): Call __ieee754_expl before checking for overflow and
2660 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2661 (__ieee754_expl): Allow for and saturate large arguments.
2662 * math/libm-test.inc (exp_test): Add another test. Do not allow
2663 missing overflow exception on overflow.
2664 (expm1_test): Do not allow missing overflow exception on overflow.
2666 * sysdeps/i386/fpu/e_expl.c: Move to ...
2667 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2668 rather than using inline asm.
2669 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2670 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2671 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2673 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2680 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2682 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2683 sysdeps/unix/common/syscalls.list.
2686 (ftruncate): Likewise.
2687 (getrusage): Likewise.
2688 (gettimeofday): Likewise.
2689 (setpgid): Likewise.
2690 (setregid): Likewise.
2691 (setreuid): Likewise.
2692 (sigaction): Likewise.
2693 (truncate): Likewise.
2694 (vhangup): Likewise.
2695 * sysdeps/unix/common/syscalls.list: Remove file.
2696 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2697 * sysdeps/unix/sysv/linux/Implies: Likewise.
2699 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2701 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2703 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2707 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2710 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2713 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2716 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2719 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2722 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2725 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2729 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2733 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2736 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2740 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2744 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2746 * sysdeps/unix/common/bits/dirent.h: Remove file.
2747 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2749 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2750 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2751 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2752 * sysdeps/unix/bsd/isatty.c: Likewise.
2753 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2754 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2755 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2757 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2761 long double comparison inaccuracies.
2762 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2765 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2767 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2768 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2770 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2773 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2774 nonzero digits before rounding a hex value.
2775 * stdlib/tst-strtod.c (tests): Add another test.
2777 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2779 * sysdeps/s390/fpu/libm-test-ulps: Update.
2781 2012-05-03 Andreas Jaeger <aj@suse.de>
2783 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2784 does not get optimized out.
2785 (malloc_opt_barrier): New.
2787 2012-05-03 Andreas Jaeger <aj@suse.de>
2788 Roland McGrath <roland@hack.frob.com>
2790 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2791 intermediate file deletion.
2792 (generated): Add .symlist files.
2794 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2797 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2798 Redirect under this condition.
2799 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2800 [__USE_GNU] (__dprintf_chk): Not under this condition.
2801 [__USE_GNU] (__vdprintf_chk): Likewise.
2802 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2803 under this condition.
2804 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2805 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2806 [__USE_XOPEN2K8] (vdprintf): Likewise.
2807 [__USE_GNU] (__dprintf_chk): Not under this condition.
2808 [__USE_GNU] (__vdprintf_chk): Likewise.
2809 [__USE_GNU] (dprintf): Likewise.
2810 [__USE_GNU] (vdprintf): Likewise.
2812 2012-05-03 Roland McGrath <roland@hack.frob.com>
2814 * elf/Makefile (common-generated): Set this instead of generated for
2815 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2816 $(all-built-dso)-derived lists.
2818 2012-05-03 Andreas Jaeger <aj@suse.de>
2820 * sysdeps/i386/fpu/libm-test-ulps: Update.
2824 * scripts/gen-FAQ.pl: Likewise.
2825 * manual/install.texi (Installation): Point to online location of
2827 * Makefile (files-for-dist): Remove FAQ.
2830 2012-05-02 Allan McRae <allan@archlinux.org>
2832 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2833 (LDFLAGS-reldepmod5.so): Likewise.
2834 (LDFLAGS-reldep6mod1.so): Likewise.
2835 (LDFLAGS-reldep6mod4.so): Likewise.
2836 (LDFLAGS-reldep8mod3.so): Likewise.
2837 (LDFLAGS-unload4mod1.so): Likewise.
2838 (LDFLAGS-unload4mod2.so): Likewise.
2839 (LDFLAGS-tst-initorder): Likewise.
2840 (LDFLAGS-tst-initordera2.so): Likewise.
2841 (LDFLAGS-tst-initordera3.so): Likewise.
2842 (LDFLAGS-tst-initordera4.so): Likewise.
2843 (LDFLAGS-tst-initorderb2.so): Likewise.
2844 (LDFLAGS-noload): Likewise.
2845 (LDFLAGS-next): Likewise.
2846 (LDFLAGS-order2mod1.so): Likewise.
2847 (LDFLAGS-order2mod2.so): Likewise.
2848 (LDFLAGS-tst-initorder2): Likewise.
2849 (LDFLAGS-tst-initorder2a.so): Likewise.
2850 (LDFLAGS-tst-initorder2b.so): Likewise.
2851 (LDFLAGS-tst-initorder2c.so): Likewise.
2852 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2854 2012-05-02 David S. Miller <davem@davemloft.net>
2856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2858 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2861 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2863 2012-05-02 Andreas Jaeger <aj@suse.de>
2865 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2866 since we manipulate rounding mode.
2867 (CPPFLAGS-test-idouble.c): Likewise.
2868 (CPPFLAGS-test-ifloat.c): Likewise.
2869 (CFLAGS-test-ldouble.c): Likewise.
2870 (CFLAGS-test-double.c): Likewise.
2871 (CFLAGS-test-float.c): Likewise.
2872 (CFLAGS-test-misc.c): Likewise.
2873 (CFLAGS-test-test-fenv.c): Likewise.
2875 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2879 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2880 comparisons to determine direction to adjust input.
2882 2012-05-01 Roland McGrath <roland@hack.frob.com>
2884 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2885 output to the target.
2887 * scripts/localplt.awk: New file.
2888 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2889 (check-localplt-CFLAGS): Variable removed.
2890 ($(all-built-dso:=.jmprel)): New static pattern rule.
2891 (generated): Add those targets.
2892 (localplt-built-dso): New variable.
2893 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2895 * elf/check-localplt.c: File removed.
2897 * scripts/check-execstack.awk: New file.
2898 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2899 (check-execstack-CFLAGS): Variable removed.
2900 ($(objpfx)check-execstack.h): Target removed.
2901 ($(objpfx)execstack-default): New target.
2902 (generated): Add that instead of check-execstack.h.
2903 ($(all-built-dso:=.phdr)): New static pattern rule.
2904 (generated): Add those targets.
2905 * elf/check-execstack.c: File removed.
2907 * scripts/check-textrel.awk: New file.
2908 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2909 (check-textrel-CFLAGS): Variable removed.
2910 (all-built-dso): Use := to define.o
2911 ($(all-built-dso:=.dyn)): New static pattern rule.
2912 (generated): Add those targets.
2913 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2914 * config.make.in (READELF): New substituted variable.
2915 * elf/check-textrel.c: File removed.
2917 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2919 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2921 * conform/data/ctype.h-data [C99-based standards] (isblank):
2923 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2924 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2925 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2926 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2927 Specify type. Require positive value.
2930 [ISO || POSIX] (EILSEQ): Do not expect.
2931 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2932 Specify type. Require positive value.
2933 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2934 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2935 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2936 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2937 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2938 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2939 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2940 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2941 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2942 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2943 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2944 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2945 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2946 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2947 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2948 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2949 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2950 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2951 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2952 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2953 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2954 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2955 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2956 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2957 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2958 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2959 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2960 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2961 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2962 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2963 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2964 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2965 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2966 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2967 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2968 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2969 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2970 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2971 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2972 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2973 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2974 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2975 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2976 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2977 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2978 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2979 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2980 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2981 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2982 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2983 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2984 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2985 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2986 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2987 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2988 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2989 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2990 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2991 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2992 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2993 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2994 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2995 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2996 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2997 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2998 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2999 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3000 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3001 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3002 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3003 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3004 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3005 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3006 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3007 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3008 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3009 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3011 (FLT_ROUNDS): Expect as macro, not constant.
3012 (FLT_MANT_DIG): Use macro-int-constant.
3013 (DBL_MANT_DIG): Likewise.
3014 (LDBL_MANT_DIG): Likewise.
3015 (FLT_DIG): Likewise.
3016 (DBL_DIG): Likewise.
3017 (LDBL_DIG): Likewise.
3018 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3019 (DBL_MIN_EXP): Likewise.
3020 (LDBL_MIN_EXP): Likewise.
3021 (FLT_MAX_EXP): Use macro-int-constant.
3022 (DBL_MAX_EXP): Likewise.
3023 (LDBL_MAX_EXP): Likewise.
3024 (FLT_MAX_10_EXP): Likewise.
3025 (DBL_MAX_10_EXP): Likewise.
3026 (LDBL_MAX_10_EXP): Likewise.
3027 (FLT_MAX): Use macro-constant.
3028 (DBL_MAX): Likewise.
3029 (LDBL_MAX): Likewise.
3030 (FLT_EPSILON): Use macro-constant. Give upper bound.
3031 (DBL_EPSILON): Likewise.
3032 (LDBL_EPSILON): Likewise.
3033 (FLT_MIN): Likewise.
3034 (DBL_MIN): Likewise.
3035 (LDBL_MIN): Likewise.
3036 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3037 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3038 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3039 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3040 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3041 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3042 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3043 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3044 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3045 [ISO11] (FLT_TRUE_MIN): Likewise.
3046 [ISO11] (LDBL_TRUE_MIN): Likewise.
3047 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3048 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3049 (SCHAR_MIN): Use macro-int-constant. Specify type.
3050 (SCHAR_MAX): Likewise.
3051 (UCHAR_MAX): Likewise.
3052 (CHAR_MIN): Likewise.
3053 (CHAR_MAX): Likewise.
3054 (MB_LEN_MAX): Use macro-int-constant.
3055 (SHRT_MIN): Use macro-int-constant. Specify type.
3056 (SHRT_MAX): Likewise.
3057 (USHRT_MAX): Likewise.
3058 (INT_MAX): Likewise.
3059 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3061 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3063 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3065 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3066 bound negative. Suffix upper bound with "L".
3067 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3069 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3071 [C99-based standards] (LLONG_MAX): Likewise.
3072 [C99-based standards] (ULLONG_MAX): Likewise.
3073 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3075 [ISO11] (max_align_t): Require type.
3076 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3078 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3079 from $CFLAGS, without defining away __attribute__ calls.
3080 (checknamespace): Use $CFLAGS_namespace.
3082 * conform/conformtest.pl (@keywords): Only include C99 keywords
3083 for standards based on C99 or C11.
3085 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3087 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3090 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3091 usability of symbols in #if.
3093 * conform/conformtest.pl: If macro or constant types start
3094 "promoted:", expect the symbol to be of the following type
3095 promoted by the integer promotions.
3097 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3098 in one place. Also handle "macro-constant".
3100 * conform/conformtest.pl: Only accept expected macro values with
3101 "==". Parse all "macro" lines in one place.
3102 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3104 * conform/conformtest.pl: Handle braced types on "constant" lines
3105 instead of handling "typed-constant".
3106 * conform/data/signal.h-data: Use "constant" instead of
3109 * conform/conformtest.pl: Handle "optional-" at start of lines in
3110 one place rather than duplicating several cases. Handle each
3111 format of "macro" line with initial "optional-".
3113 * conform/conformtest.pl: Only accept expected constant or
3114 optional-constant values with "==". Parse all "constant" lines in
3115 one place. Parse all "optional-constant" lines in one place.
3116 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3117 * conform/data/fmtmsg.h-data: Likewise.
3118 * conform/data/netinet/in.h-data: Likewise.
3119 * conform/data/tar.h-data: Likewise.
3120 * conform/data/limits.h-data: Use "==" form on "constant" and
3121 "optional-constant" lines.
3123 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3124 Use -std=c99 for XOPEN2K.
3125 (@knownproblems): Remove.
3126 (newtoken): Don't check %isknown.
3128 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3129 Do not expect macro.
3130 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3131 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3132 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3133 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3134 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3135 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3136 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3137 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3138 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3139 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3140 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3141 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3142 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3143 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3144 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3145 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3146 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3147 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3148 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3149 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3150 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3151 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3152 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3153 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3154 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3155 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3156 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3157 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3158 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3159 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3160 [XPG3] (acosh): Likewise.
3161 [XPG3] (asinh): Likewise.
3162 [XPG3] (atanh): Likewise.
3163 [XPG3] (cbrt): Likewise.
3164 [XPG3] (expm1): Likewise.
3165 [XPG3] (ilogb): Likewise.
3166 [XPG3] (log1p): Likewise.
3167 [XPG3] (logb): Likewise.
3168 [XPG3] (nextafter): Likewise.
3169 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3170 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3171 [XPG3] (remainder): Likewise.
3172 [XPG3] (rint): Likewise.
3173 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3174 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3175 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3176 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3177 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3178 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3179 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3180 [UNIX98 || XOPEN2K] (scalb): Expect.
3181 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3182 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3183 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3184 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3185 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3186 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3187 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3188 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3189 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3190 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3191 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3192 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3193 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3194 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3195 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3196 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3197 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3198 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3199 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3200 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3201 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3202 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3203 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3204 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3205 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3206 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3207 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3208 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3209 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3210 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3211 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3212 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3213 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3214 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3215 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3216 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3217 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3218 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3219 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3220 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3221 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3222 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3223 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3224 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3225 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3226 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3227 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3228 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3229 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3230 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3231 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3232 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3233 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3234 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3235 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3236 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3237 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3238 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3239 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3240 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3241 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3242 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3243 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3244 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3245 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3246 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3247 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3248 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3249 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3250 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3251 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3252 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3253 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3254 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3255 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3256 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3257 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3258 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3259 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3260 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3261 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3262 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3263 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3264 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3265 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3266 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3267 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3268 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3269 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3270 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3271 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3272 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3273 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3274 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3275 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3276 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3277 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3278 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3279 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3280 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3281 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3282 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3283 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3284 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3285 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3286 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3287 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3288 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3289 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3290 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3291 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3292 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3293 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3294 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3295 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3296 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3297 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3298 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3299 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3300 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3301 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3302 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3303 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3304 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3305 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3306 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3307 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3308 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3309 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3310 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3311 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3312 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3313 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3314 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3315 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3316 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3317 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3319 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3320 _XOPEN_SOURCE_EXTENDED for XPG4.
3322 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3324 * Makeconfig (localtime): Remove variable.
3325 (inst_localtime-file): Likewise.
3327 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3348 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3352 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3353 comparisons to determine direction to adjust input.
3354 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3355 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3356 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3358 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3360 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3362 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3363 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3365 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3367 * math/libm-test.inc (nexttoward_test): Add more tests.
3369 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3372 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3373 in version GLIBC_2.1, not GLIBC_2.0.
3374 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3377 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3380 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3382 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3383 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3384 * math/libm-test.inc (acos_test): Add more tests.
3385 (asin_test): Likewise.
3386 * sysdeps/i386/fpu/libm-test-ulps: Update.
3387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3390 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3392 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3393 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3394 * math/libm-test.inc (acos_test_tonearest): New function.
3395 (acos_test_towardzero): Likewise.
3396 (acos_test_downward): Likewise.
3397 (acos_test_upward): Likewise.
3398 (asin_test_tonearest): Likewise.
3399 (asin_test_towardzero): Likewise.
3400 (asin_test_downward): Likewise.
3401 (asin_test_upward): Likewise.
3402 (main): Call the new functions.
3403 * sysdeps/i386/fpu/libm-test-ulps: Update.
3404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3408 * math/e_exp10.c: Include <float.h>.
3409 (__ieee754_exp10): Handle underflow here rather than multiplying
3410 large negative argument by M_LN10.
3411 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3413 * math/e_exp10l.c: Include <float.h>.
3414 (__ieee754_exp10l): Handle underflow here rather than multiplying
3415 large negative argument by M_LN10l.
3416 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3417 spurious overflow exception on underflow.
3419 2012-04-29 Marek Polacek <polacek@redhat.com>
3421 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3422 (__fortify_function): New macro.
3423 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3424 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3425 __extern_always_inline.
3426 * libio/bits/stdio2.h: Likewise.
3427 * libio/bits/stdio.h: Likewise.
3428 * string/string.h: Likewise.
3429 * string/bits/string3.h: Likewise.
3430 * include/stdio.h: Likewise.
3431 * stdlib/bits/stdlib.h: Likewise.
3432 * stdlib/stdlib.h: Likewise.
3433 * rt/bits/mqueue2.h: Likewise.
3434 * rt/mqueue.h: Likewise.
3435 * posix/bits/unistd.h: Likewise.
3436 * posix/unistd.h: Likewise.
3437 * io/bits/poll2.h: Likewise.
3438 * io/bits/fcntl2.h: Likewise.
3439 * io/fcntl.h: Likewise.
3440 * io/sys/poll.h: Likewise.
3441 * misc/bits/syslog.h: Likewise.
3442 * misc/bits/syslog-ldbl.h: Likewise.
3443 * misc/sys/syslog.h: Likewise.
3444 * socket/bits/socket2.h: Likewise.
3445 * socket/sys/socket.h: Likewise.
3446 * debug/tst-chk1.c: Likewise.
3447 * wcsmbs/bits/wchar2.h: Likewise.
3448 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3449 * wcsmbs/wchar.h: Likewise.
3451 2012-04-29 Andreas Jaeger <aj@suse.de>
3453 * Makerules (tests): Remove enable-check-abi protection.
3454 (check-abi-warn): Remove.
3455 (check-abi-%): Remove check-abi-warn usage.
3457 * configure.in: Remove check-abi configure option.
3458 * configure: Regenerated.
3459 * config.make.in (enable-check-abi): Remove.
3461 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3464 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3465 double functions to double *_finite functions.
3468 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3469 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3471 * stdio-common/Makefile (tests): Add tst-sprintf3.
3472 * stdio-common/tst-sprintf3.c: New file.
3474 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3475 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3477 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3479 * conform/conformtest.pl: Remove duplicate typed-constant
3482 2012-04-28 David S. Miller <davem@davemloft.net>
3484 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3485 (check-abi-%): Remove AWK script prerequisite and explicit
3487 (check-abi): Rewrite to just diff the symlist with the abilist.
3488 (config-tls, config-abi-config): Delete, no longer used.
3489 (update-abi-%): Remove AWK script and explicit abilist directory.
3490 (update-abi): Rewrite to simply compare and conditionally copy the
3491 symlist and the sysdep abilist file. Remove update-abi-config
3493 * abilist/ld.abilist: Remove.
3494 * abilist/libBrokenLocale.abilist: Remove.
3495 * abilist/libanl.abilist: Remove.
3496 * abilist/libcrypt.abilist: Remove.
3497 * abilist/libdl.abilist: Remove.
3498 * abilist/librt.abilist: Remove.
3499 * abilist/libthread_db.abilist: Remove.
3500 * abilist/libutil.abilist: Remove.
3501 * scripts/extract-abilist.awk: Remove.
3502 * scripts/merge-abilist.awk: Remove.
3503 * sysdeps/generic/libcidn.abilist: New file.
3504 * sysdeps/generic/libnss_compat.abilist: New file.
3505 * sysdeps/generic/libnss_db.abilist: New file.
3506 * sysdeps/generic/libnss_dns.abilist: New file.
3507 * sysdeps/generic/libnss_files.abilist: New file.
3508 * sysdeps/generic/libnss_hesiod.abilist: New file.
3509 * sysdeps/generic/libnss_nis.abilist: New file.
3510 * sysdeps/generic/libnss_nisplus.abilist: New file.
3511 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3512 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3513 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3515 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3516 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3517 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3518 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3519 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3520 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3521 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3522 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3523 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3525 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3526 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3527 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3528 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3530 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3531 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3532 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3533 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3534 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3535 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3537 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3538 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3539 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3541 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3542 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3644 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3645 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3646 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3648 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3649 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3650 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3651 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3652 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3653 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3654 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3655 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3656 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3657 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3709 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3711 * conform/conformtest.pl: Fix typo in handling typed-constant from
3714 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3716 * README: Cut down references to pre-2.6 Linux kernels and
3717 Linuxthreads. Update lists of configurations in libc and ports
3718 and sort alphabetically. Say "or newer" with Linux kernel version
3721 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3723 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3726 * math/libm-test.inc (logb_test_downward): New test to expose
3727 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3730 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3733 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3735 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3736 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3738 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3740 * sysdeps/unix/i386/brk.S: Remove file.
3741 * sysdeps/unix/i386/dl-brk.S: Likewise.
3742 * sysdeps/unix/i386/pipe.S: Likewise.
3743 * sysdeps/unix/i386/sigreturn.S: Likewise.
3744 * sysdeps/unix/i386/syscall.S: Likewise.
3745 * sysdeps/unix/i386/vfork.S: Likewise.
3746 * sysdeps/unix/i386/wait.S: Likewise.
3748 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3749 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3751 * configure.in (arm*-none*): Do not allow without
3752 --enable-hacker-mode.
3753 (netbsd*): Remove case setting base_os.
3754 (386bsd*): Likewise.
3755 (freebsd*): Likewise.
3759 (ultrix*): Likewise.
3760 (newsos*): Likewise.
3770 (solaris[2-9]*): Likewise.
3772 * configure: Regenerated.
3774 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3777 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3778 overflow or cancellation in calculating denominator.
3779 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3780 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3781 down expression to avoid unexpected rounding in newer GCCs.
3782 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3784 2012-04-26 David S. Miller <davem@davemloft.net>
3786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3787 long-double compat symbols.
3788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3802 2012-04-25 David S. Miller <davem@davemloft.net>
3804 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3805 HWCAP_* values only after the memory barriers have been defined.
3806 (atomic_full_barrier): Define.
3807 (atomic_read_barrier): Define.
3808 (atomic_write_barrier): Define.
3810 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3812 * shlib-versions: Add libgcc_s version information.
3813 * sysdeps/generic/libgcc_s.h: Remove.
3814 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3816 * sysdeps/gnu/unwind-resume.c: Likewise.
3817 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3819 2012-04-25 David S. Miller <davem@davemloft.net>
3821 * sysdeps/unix/sparc/brk.S: Delete.
3822 * sysdeps/unix/sparc/dl-brk.S: Delete.
3823 * sysdeps/unix/sparc/pipe.S: Delete.
3824 * sysdeps/unix/sparc/sysdep.S: Delete.
3825 * sysdeps/unix/sparc/sysdep.h: Delete.
3826 * sysdeps/unix/sparc/vfork.S: Delete.
3827 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3828 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3829 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3830 ret_ERRVAL, r0, r1, MOVE): Define.
3831 (JUMPTARGET): Remove.
3832 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3833 sysdeps/unix/sparc/sysdep.h
3834 (ENTRY, END): Remove.
3835 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3837 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3839 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3840 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3843 * timezone/README: Update upstream location and email address for
3845 * timezone/zdump.c: Update from tzcode 2012b.
3846 * timezone/zic.c: Likewise.
3848 * configure.in (libc_cv_as_needed): Remove test.
3849 * configure: Regenerated.
3850 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3851 conditional definition.
3852 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3853 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3854 * config.make.in (have-as-needed): Remove variable.
3856 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3857 Paul Pluzhnikov <ppluzhnikov@google.com>
3859 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3862 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3864 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3865 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3866 * sysdeps/sh/strlen.S: Likewise.
3868 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3870 * sysdeps/unix/fork.S: Remove file.
3871 * sysdeps/unix/i386/fork.S: Likewise.
3872 * sysdeps/unix/sparc/fork.S: Likewise.
3874 * sysdeps/unix/system.c: Remove file.
3875 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3877 * sysdeps/unix/getegid.S: Remove file.
3878 * sysdeps/unix/geteuid.S: Likewise.
3880 2012-04-24 Roland McGrath <roland@hack.frob.com>
3882 * scripts/check-localplt.awk: New file.
3883 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3885 * scripts/data/localplt-generic.data: Add a comment.
3887 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3888 NODE when __dir_mkfile failed.
3889 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3890 Reported by Ludovic Courtès <ludo@gnu.org>.
3892 2012-04-24 Andreas Jaeger <aj@suse.de>
3894 * Makerules (common-clean): Also remove gen-as-const-headers
3897 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3899 * Makerules (native-compile): Do not change working directory for
3900 build. Use $(OUTPUT_OPTION) in command.
3901 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3903 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3906 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3907 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3908 * math/libm-test.inc (floor_test): Add more tests.
3909 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3911 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3913 * sysdeps/unix/getdents.c: Remove file.
3914 * sysdeps/unix/sysv/getdents.c: Likewise.
3915 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3917 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3918 sysdeps/unix/mman/syscalls.list.
3920 (mprotect): Likewise.
3923 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3924 * sysdeps/unix/mman/syscalls.list: Remove.
3925 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3927 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3928 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3929 * configure: Regenerated.
3930 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3932 * config.make.in (libgcc_s_suffix): Remove variable.
3934 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3936 * sysdeps/unix/sysv/gethostname.c: Move to ...
3937 * sysdeps/posix/gethostname.c: ... here.
3939 * sysdeps/unix/execve.S: Remove file.
3941 * sysdeps/unix/_exit.S: Remove file.
3943 2012-04-23 Andreas Jaeger <aj@suse.de>
3946 * manual/Makefile: Remove make dist support, there's no
3947 need for a stand-alone documentation tar ball.
3948 (TEXI2DVI): Define always, it's not in Makeconfig.
3952 (glibc-doc-$(edition).tar): Removed
3956 (ETAGS): Remove, it's in Makeconfig.
3957 (move-if-change): Remove, it's in Makeconfig.
3959 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3962 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3963 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3964 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3965 (strtod_l, strtof_l, strtold_l): Remove __wur.
3966 It is not necessarily an error to ignore strtol's return value.
3967 One can reliably look at the stored endptr to decide whether
3968 the number had valid syntax.
3970 2012-04-21 Andreas Jaeger <aj@suse.de>
3973 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3975 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3977 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3978 * sysdeps/unix/sysv/Versions: Remove file.
3980 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3985 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
3988 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3989 version from __vm86.
3991 2012-04-20 Joseph Myers <joseph@codesourcery.com>
3993 * sysdeps/unix/common/lxstat.c: Remove file.
3994 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3996 * sysdeps/unix/sysv/Makefile: Remove file.
3998 * sysdeps/unix/sysv/direct.h: Remove file.
4000 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4001 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4002 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4003 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4004 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4005 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4006 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4008 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4010 * sysdeps/unix/xmknod.c: Remove file.
4011 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4013 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4015 * sysdeps/unix/sysv/i386/time.S: Remove file.
4017 * sysdeps/unix/fxstat.c: Remove file.
4018 * sysdeps/unix/xstat.c: Likewise.
4019 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4021 * sysdeps/unix/sysv/sigaction.c: Remove file.
4023 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4024 (sysdep_headers): Remove variable.
4025 [termio.h not in sysdep_headers] (generated): Likewise.
4026 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4027 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4028 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4029 * sysdeps/unix/sysv/tcflow.c: Likewise.
4030 * sysdeps/unix/sysv/tcflush.c: Likewise.
4031 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4032 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4033 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4034 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4035 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4037 * sysdeps/unix/siglist.c: Remove file.
4039 * sysdeps/unix/getppid.S: Remove file.
4041 * sysdeps/unix/mkdir.c: Remove file.
4042 * sysdeps/unix/rmdir.c: Likewise.
4044 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4046 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4048 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4049 errlist-compat value.
4051 2012-04-18 David S. Miller <davem@davemloft.net>
4053 * sysdeps/generic/memcopy.h (reg_char): Delete.
4054 * debug/strcat_chk.c: Use char, not reg_char.
4055 * debug/strcpy_chk.c: Likewise.
4056 * debug/strncat_chk.c: Likewise.
4057 * debug/strncpy_chk.c: Likewise.
4058 * string/memchr.c: Likewise.
4059 * string/memrchr.c: Likewise.
4060 * string/rawmemchr.c: Likewise.
4061 * string/strcat.c: Likewise.
4062 * string/strchr.c: Likewise.
4063 * string/strchrnul.c: Likewise.
4064 * string/strcmp.c: Likewise.
4065 * string/strcpy.c: Likewise.
4066 * string/strncat.c: Likewise.
4067 * string/strncmp.c: Likewise.
4068 * string/strncpy.c: Likewise.
4070 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4072 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4073 __builtin_memcopy is called when src and dest ranges are known to not
4076 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4078 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4079 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4080 fwd_align_merge macro call.
4081 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4082 bwd_align_merge macro call.
4083 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4085 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4087 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4088 bwd_align_merge macros.
4089 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4090 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4091 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4093 2012-04-18 David S. Miller <davem@davemloft.net>
4095 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4097 2012-04-18 Andreas Jaeger <aj@suse.de>
4100 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4101 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4102 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4104 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4105 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4106 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4108 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4109 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4110 Adjust for changed ldbl-128 files.
4112 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4113 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4114 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4116 2012-04-17 David S. Miller <davem@davemloft.net>
4118 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4120 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4122 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4123 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4124 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4125 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4126 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4127 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4129 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4132 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4133 * math/libm-test.inc: Add ilogb errno and exception tests.
4134 * math/w_ilogb.c: New file: ilogb wrapper.
4135 * math/w_ilogbf.c: New file: ilogbf wrapper.
4136 * math/w_ilogbl.c: New file: ilogbl wrapper.
4137 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4138 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4139 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4140 exception being thrown with 0.0 as argument.
4141 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4142 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4143 exception being thrown with 0.0 as argument.
4144 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4145 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4146 exception being thrown with 0.0 as argument.
4147 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4148 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4149 exception being thrown with 0.0 as argument.
4150 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4151 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4152 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4153 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4154 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4155 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4156 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4157 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4158 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4160 2012-04-17 Petr Baudis <pasky@ucw.cz>
4162 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4165 2012-04-16 Marek Polacek <polacek@redhat.com>
4167 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4169 2012-04-16 Marek Polacek <polacek@redhat.com>
4171 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4172 operands of fdivp instruction.
4174 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4176 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4177 * elf/tst-auditmod3b.c: Likewise.
4178 * elf/tst-auditmod4b.c: Likewise.
4179 * elf/tst-auditmod5b.c: Likewise.
4180 * elf/tst-auditmod6b.c: Likewise.
4181 * elf/tst-auditmod6c.c: Likewise.
4182 * elf/tst-auditmod7b.c: Likewise.
4183 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4184 * sysdeps/x86_64/preconfigure.in: Likewise.
4185 * sysdeps/x86_64/preconfigure: Regenerated.
4187 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4189 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4192 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4194 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4195 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4197 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4200 * locale/iso-639.def: Fix gl language name. Spotted by
4203 2012-04-12 Roland McGrath <roland@hack.frob.com>
4206 * libio/libio.h (__io_write_fn): Update comment.
4208 2012-04-12 Petr Baudis <pasky@ucw.cz>
4211 * stdio.texi (Hook Functions): The user provided writer function
4212 is not allowed to return -1.
4214 2012-04-11 David S. Miller <davem@davemloft.net>
4216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4218 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4220 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4221 Add a leading slash to rtkaio.
4223 2012-04-11 Jim Meyering <meyering@redhat.com>
4226 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4227 It is not necessarily an error to ignore fwrite's return
4228 value. One can reliably use ferror to test for errors after
4231 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4233 * bits/types.h (__snseconds_t): New type.
4234 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4236 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4237 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4238 (__SNSECONDS_T_TYPE): Likewise.
4239 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4240 (__SNSECONDS_T_TYPE): Likewise.
4241 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4242 (__SNSECONDS_T_TYPE): Likewise.
4244 2012-04-10 Andreas Jaeger <aj@suse.de>
4247 * manual/time.texi (Processor Time): Return type of times is
4248 elapsed real time since an arbitrary point in the past.
4249 (CPU Time): Move CLK_TCK from here...
4250 (Processor Time): ...to here. Correct description.
4251 * manual/conf.texi (Constants for Sysconf): Correct description of
4254 2012-04-10 David S. Miller <davem@davemloft.net>
4257 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4258 where the is a gap between DT_REL(A) and DT_JMPREL.
4260 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4262 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4263 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4264 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4266 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4268 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4269 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4270 (dl_main): Handle --inhibit-cache.
4271 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4273 * elf/dl-load.c (_dl_map_object): Use it.
4274 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4276 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4279 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4280 (__ieee754_powl): Saturate large exponents rather than testing for
4281 overflow of y*log2(x).
4282 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4283 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4287 * math/s_ctan.c: Include <float.h>.
4288 (__ctan): Avoid internal overflow or cancellation in calculating
4290 * math/s_ctanf.c: Likewise.
4291 * math/s_ctanl.c: Likewise.
4292 * math/s_ctanh.c: Likewise.
4293 * math/s_ctanhf.c: Likewise.
4294 * math/s_ctanhl.c: Likewise.
4295 * math/libm-test.inc (ctan_test): Add more tests.
4296 (ctanh_test): Likewise.
4297 * sysdeps/i386/fpu/libm-test-ulps: Update.
4298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4300 2012-04-09 Andreas Jaeger <aj@suse.de>
4303 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4304 is an optional BSD extension.
4307 * manual/stdio.texi (Opening Streams): Document additional fopen
4310 2012-04-09 Roland McGrath <roland@hack.frob.com>
4312 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4313 %eax without telling the compiler.
4315 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4318 * manual/install.texi: Use sourceware.org.
4320 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4323 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4324 (__ieee754_pow): Generate overflow and underflow using huge*huge
4325 and tiny*tiny rather than just returning constant infinity or zero
4326 for large exponents.
4327 * math/libm-test.inc (pow_test): Require overflow exceptions for
4328 applicable cases of large exponents.
4331 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4332 (__ieee754_pow): Use iterative multiplication algorithm only for
4333 integer exponents with absolute value below 1024. Check for odd
4334 integer exponents when using algorithm for real exponents.
4335 * math/libm-test.inc (pow_test): Add more tests.
4336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4338 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4341 * math/libm-test.inc (exp_test): Do not allow overflow exception
4344 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4347 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4348 instead of __kernel_standard_f.
4350 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4352 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4353 * sysdeps/x86_64/memset_chk.S: Likewise.
4355 2012-04-08 Andreas Jaeger <aj@suse.de>
4358 * manual/startup.texi (Environment Access): Describe return value
4359 for putenv and setenv.
4362 * manual/filesys.texi (Directory Entries): Add description for
4366 * manual/filesys.texi (Directory Entries): Clarify that it's file
4367 system not operating system in the description of DT_UNKNOWN.
4370 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4372 2012-04-08 Stephen Compall <s11@member.fsf.org>
4375 * manual/llio.texi (Opening and Closing Files): Add cross
4376 reference to explain mode argument.
4378 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4380 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4381 * sysdeps/x86_64/memset_chk.S: Likewise.
4383 2012-04-07 David S. Miller <davem@davemloft.net>
4385 * elf/elf.h (R_SPARC_WDISP10): Define.
4386 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4388 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4389 R_SPARC_SIZE64 and R_SPARC_H34.
4391 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4393 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4394 conditions and remove no longer applicable assertion.
4396 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4398 * bits/byteswap.h: Include <features.h>.
4399 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4400 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4402 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4404 * bits/byteswap.h (__bswap_16): Removed.
4405 Include <bits/byteswap-16.h> to get __bswap_16.
4406 * sysdeps/i386/bits/byteswap.h: Likewise.
4407 * sysdeps/s390/bits/byteswap.h: Likewise.
4408 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4409 * bits/byteswap-16.h: New file.
4410 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4411 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4412 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4413 * string/Makefile (headers): Add bits/byteswap-16.h.
4415 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4418 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4420 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4421 * nss/tst-nss-static.c: New.
4423 2012-04-06 Robert Millan <rmh@gnu.org>
4426 * manual/llio.texi (File Position Primitive): lseek
4427 refers to WHENCE when it really means OFFSET.
4429 2012-04-06 Andreas Jaeger <aj@suse.de>
4431 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4432 strncmp declarations.
4434 * abilist/libc.abilist: Add __poll and __ppoll.
4436 2012-04-05 David S. Miller <davem@davemloft.net>
4438 * scripts/check-local-headers.sh: Accept a host triplet in the
4439 path matched by the exclude regexp.
4441 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4443 * sysdeps/powerpc/powerpc32/dl-machine.h
4444 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4445 * sysdeps/s390/s390-32/dl-machine.h
4446 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4447 * sysdeps/sparc/sparc32/dl-machine.h
4448 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4449 * sysdeps/sparc/sparc64/dl-machine.h
4450 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4452 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4454 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4455 undefined symbol errors.
4457 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4460 2012-04-05 Michael Matz <matz@suse.de>
4463 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4465 2012-04-05 Andreas Jaeger <aj@suse.de>
4468 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4471 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4473 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4474 which ROUND is no valid rounding mode.
4476 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4478 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4480 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4482 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4484 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4485 an exception using FPU order intentionally.
4487 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4489 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4490 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4491 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4492 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4494 2012-04-05 Simon Josefsson <simon@josefsson.org>
4497 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4498 EINVAL when BUFLEN is too smal.
4500 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4503 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4504 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4506 2012-04-03 Andreas Jaeger <aj@suse.de>
4509 * manual/setjmp.texi (System V contexts): Fix sentence.
4512 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4513 New macro for this case.
4514 [!__GNUC__] (__bswap_64): New inline function for this case.
4515 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4516 * bits/byteswap.h: Likewise.
4517 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4518 ull, guard with __GLIBC_HAVE_LONG_LONG.
4520 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4521 __GLIBC_HAVE_LONG_LONG.
4523 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4524 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4526 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4529 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4530 inptr and inend, rather than using last_ch.
4532 2012-04-02 David S. Miller <davem@davemloft.net>
4534 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4535 * stdio-common/printf-parse.h (read_int): Change return type to
4536 'int', return -1 on INT_MAX overflow.
4537 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4538 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4539 overflows INT_MAX. Check for overflow of in-format-string precision
4540 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4541 SIZE_MAX not INT_MAX for integer overflow test.
4542 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4543 skip the construct in the format string but do not record anything.
4544 * stdio-common/bug22.c: Adjust to test both width/prevision
4545 INT_MAX overflow as well as total length INT_MAX overflow. Check
4546 explicitly for proper errno values.
4548 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4550 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4552 * string/test-strcmp.c [! WIDE]: Likewise.
4553 * time/tst-mktime2.c: Likewise for INT_MAX.
4554 * string/test-string.h: #include <sys/param.h> for MIN.
4556 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4557 * sysdeps/i386/init-first.c (init): Likewise.
4558 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4559 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4560 * sysdeps/sh/init-first.c (init): Likewise.
4562 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4564 * po/ru.po: Update from translation team.
4565 * po/vi.po: Likewise.
4567 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4569 * resolv/nss_dns/dns-host.c: Merge copyright years.
4571 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4573 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4574 Optimize memcpy with prefetch if
4575 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4576 src, dst pointers have unequal 16 byte alignments.
4578 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4581 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4582 from a CNAME entry and return the minimum ttl for the query.
4583 (gaih_getanswer_slice): Likewise.
4585 2012-03-30 Jeff Law <law@redhat.com>
4587 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4589 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4590 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4592 * resolv/nss_dns/dns-host.c: Update copyright year.
4594 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4596 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4597 requests to save a system call. Fix check that all bytes are sent.
4599 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4600 comments for sendmmsg.
4602 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4605 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4606 with only 1 character between 0x0041 and 0x01b0.
4607 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4608 * wcsmbs/tst-mbsnrtowcs.c: New file.
4610 2012-03-29 David S. Miller <davem@davemloft.net>
4612 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4613 small copies by hand.
4615 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4618 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4619 _nss_compat_initgroups_dyn): Fall back to malloc/free
4620 for large group memberships.
4622 2012-03-28 David S. Miller <davem@davemloft.net>
4624 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4625 that branches into memcpy.
4626 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4627 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4628 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4629 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4630 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4632 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4634 * sysdeps/sparc/mempcpy.S: New file.
4636 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4637 the IFUNC routine in the libc case.
4638 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4640 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4641 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4642 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4643 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4644 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4645 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4646 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4647 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4649 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4650 loop to 256 bytes instead of 64 bytes and fix test signedness.
4652 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4653 * sysdeps/sparc/sparc32/Makefile: rather than here...
4654 * sysdeps/sparc/sparc64/Makefile: and here.
4656 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4658 * malloc/mallocbug.c: Avoid warnings about unused variables.
4660 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4663 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4664 in the right place. Discard and retry query if response is
4665 larger than input buffer size.
4667 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4672 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4673 x for large integer exponent.
4674 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4675 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4676 sign of result as needed afterwards.
4677 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4678 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4679 result for underflowing pow the same as for overflow.
4680 (__kernel_standard_l): Handle powl overflow and underflow here
4681 rather than calling __kernel_standard.
4682 * math/libm-test.inc (pow_test): Add more tests.
4697 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4698 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4699 (__kernel_standard_l): New function.
4700 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4702 * math/w_acosl.c (__acosl): Likewise.
4703 * math/w_asinl.c (__asinl): Likewise.
4704 * math/w_atan2l.c (__atan2l): Likewise.
4705 * math/w_atanhl.c (__atanhl): Likewise.
4706 * math/w_coshl.c (__coshl): Likewise.
4707 * math/w_exp10l.c (__exp10l): Likewise.
4708 * math/w_exp2l.c (__exp2l): Likewise.
4709 * math/w_fmodl.c (__fmodl): Likewise.
4710 * math/w_hypotl.c (__hypotl): Likewise.
4711 * math/w_j0l.c (__j0l, __y0l): Likewise.
4712 * math/w_j1l.c (__j1l, __y1l): Likewise.
4713 * math/w_jnl.c (__jnl, __ynl): Likewise.
4714 * math/w_lgammal.c (__lgammal): Likewise.
4715 * math/w_log10l.c (__log10l): Likewise.
4716 * math/w_log2l.c (__log2l): Likewise.
4717 * math/w_logl.c (__logl): Likewise.
4718 * math/w_powl.c (__powl): Likewise.
4719 * math/w_remainderl.c (__remainderl): Likewise.
4720 * math/w_scalbl.c (sysv_scalbl): Likewise.
4721 * math/w_sinhl.c (__sinhl): Likewise.
4722 * math/w_sqrtl.c (__sqrtl): Likewise.
4723 * math/w_tgammal.c (__tgammal): Likewise.
4724 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4725 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4726 * math/libm-test.inc (acos_test): Add more tests.
4727 (acosh_test): Likewise.
4728 (asin_test): Likewise.
4729 (atanh_test): Likewise.
4730 (exp_test): Likewise.
4731 (exp10_test): Likewise.
4732 (exp2_test): Likewise.
4733 (expm1_test): Likewise.
4734 (lgamma_test): Likewise.
4735 (log_test): Likewise.
4736 (log10_test): Likewise.
4737 (log1p_test): Likewise.
4738 (log2_test): Likewise.
4739 (pow_test): Do not allow some spurious overflow exceptions.
4740 (sqrt_test): Add more tests.
4741 (tgamma_test): Likewise.
4742 (y0_test): Likewise.
4743 (y1_test): Likewise.
4744 (yn_test): Likewise.
4746 2012-03-27 Anton Blanchard <anton@samba.org>
4748 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4750 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4751 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4752 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4754 2012-03-27 David S. Miller <davem@davemloft.net>
4756 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4758 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4761 2012-03-27 Andreas Jaeger <aj@suse.de>
4763 * sysdeps/x86_64/elf/configure.in: Moved to ...
4764 * sysdeps/x86_64/configure.in: ... here.
4765 * sysdeps/x86_64/elf/start.S: Moved to ...
4766 * sysdeps/x86_64/start.S: ... here.
4767 * sysdeps/x86_64/elf/configure: Delete.
4769 * sysdeps/x86_64/configure.in: Merge contents from
4770 sysdeps/i386/configure.in (without i686 check).
4772 * sysdeps/i386/elf/Versions: Merge into ...
4773 * sysdeps/i386/Versions: ... this.
4774 * sysdeps/i386/elf/Versions: Delete file.
4775 * sysdeps/i386/elf/start.S: Moved to ...
4776 * sysdeps/i386/start.S: ...here.
4777 * sysdeps/i386/elf/configure.in: Merge into...
4778 * sysdeps/i386/configure.in: ...here.
4779 * sysdeps/i386/elf/configure.in: Delete file.
4780 * sysdeps/i386/elf/configure: Delete file.
4782 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4783 * debug/backtracesyms.c: ... here.
4784 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4785 * debug/backtracesymsfd.c: ... here.
4786 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4787 * sysdeps/generic/ifunc-sel.h: ... here.
4789 * sysdeps/unix/i386/start.c: Delete file.
4790 * sysdeps/unix/sparc/start.c: Delete file.
4791 * sysdeps/unix/start.c: Delete file.
4793 * sysdeps/sh/elf/configure.in: Moved to ...
4794 * sysdeps/sh/configure.in: ... here.
4795 * sysdeps/sh/elf/start.S: Moved to ...
4796 * sysdeps/sh/start.S: ... here.
4797 * sysdeps/sh/elf/configure: Delete file.
4799 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4800 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4801 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4802 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4803 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4804 * sysdeps/powerpc/powerpc64/start.S: here.
4805 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4806 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4807 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4808 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4809 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4811 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4812 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4813 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4814 * sysdeps/powerpc/powerpc32/start.S: ... here.
4815 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4816 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4817 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4819 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4820 * sysdeps/powerpc/ifunc-sel.h: ... here.
4821 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4822 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4824 * sysdeps/sparc/elf/configure.in: Moved to ...
4825 * sysdeps/sparc/configure.in: ... here.
4826 * sysdeps/sparc/elf/configure: Delete file.
4827 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4828 * sysdeps/sparc/sparc32/start.S: ... here.
4829 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4830 * sysdeps/sparc/sparc64/start.S: ... here.
4831 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4832 * sysdeps/sparc/sparc32/Makefile: ... this.
4833 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4834 * sysdeps/sparc/sparc64/Makefile: ... this.
4836 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4837 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4838 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4839 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4840 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4841 * sysdeps/s390/s390-32/setjmp.S: ... here.
4842 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4843 * sysdeps/s390/s390-32/configure.in: ... here.
4844 * sysdeps/s390/s390-32/elf/configure: Delete file.
4845 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4846 * sysdeps/s390/s390-32/start.S: ... here.
4848 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4849 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4850 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4851 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4852 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4853 * sysdeps/s390/s390-64/setjmp.S: ... here.
4854 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4855 * sysdeps/s390/s390-64/configure.in: ... here
4856 * sysdeps/s390/s390-64/elf/configure: Delete file.
4857 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4858 * sysdeps/s390/s390-64/start.S: ... here.
4859 * sysdeps/s390/s390-64/elf/configure: Delete.
4861 * configure.in: Remove support for elf directories in sysdeps.
4863 * configure: Regenerated.
4864 * sysdeps/i386/configure: Regenerated.
4865 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4866 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4867 * sysdeps/s390/s390-32/configure: Regenerated.
4868 * sysdeps/s390/s390-64/configure: Regenerated.
4869 * sysdeps/sh/configure: Regenerated.
4870 * sysdeps/sparc/configure: Regenerated.
4871 * sysdeps/x86_64/configure: Regenerated.
4873 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4877 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4878 denormal result into account.
4880 2012-03-25 Roland McGrath <roland@hack.frob.com>
4882 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4883 Reported by Allan McRae <allan@archlinux.org>.
4885 2012-03-23 Jeff Law <law@redhat.com>
4887 * nss/getnssent.c (__nss_getent): Fix typo.
4889 2012-03-23 David S. Miller <davem@davemloft.net>
4891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4893 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4895 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4896 to pad to uint64_t for each field.
4897 (dl_tls_index): Replace unsigned long with uint64_t.
4899 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4900 Paul Pluzhnikov <ppluzhnikov@google.com>
4903 * grp/Makefile (otherlibs): Don't set it.
4904 * inet/Makefile (otherlibs): Likewise.
4905 * login/Makefile (otherlibs): Likewise.
4906 * nscd/Makefile (otherlibs): Likewise.
4907 * posix/Makefile (otherlibs): Likewise.
4908 * pwd/Makefile (otherlibs): Likewise.
4909 * rt/Makefile (otherlibs): Likewise.
4910 * sunrpc/Makefile (otherlibs): Likewise.
4911 * nss/Makefile (otherlibs): Likewise.
4912 Add libnss_files to routines and static-only-routines.
4913 ($(objpfx)getent): Remove rule.
4914 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4915 static-only-routines.
4917 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4920 * math/s_cexp.c: Include <float.h>.
4921 (__cexp): Handle exp result overflowing not necessarily
4922 overflowing both real and imaginary parts of result.
4923 * math/s_cexpf.c: Likewise.
4924 * math/s_cexpl.c: Likewise.
4925 * math/libm-test.inc (cexp_test): Add more tests.
4926 * sysdeps/i386/fpu/libm-test-ulps: Update.
4927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4929 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4931 * include/link.h (ELFW): New macro.
4932 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4933 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4935 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4937 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4940 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4942 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4944 (struct La_x32_retval): Likewise.
4946 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4948 * sysdeps/x86_64/preconfigure.in: New file.
4949 * sysdeps/x86_64/preconfigure: New generated file.
4951 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4954 * math/e_exp2l.c: Include <float.h>.
4955 (__ieee754_exp2l): Handle overflow and underflow cases
4956 separately. Only pass fractional part of argument to
4958 * math/libm-test.inc (exp2_test): Add more tests.
4960 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4961 negating x to take absolute value.
4962 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4964 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4965 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4967 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4968 computing low part if x was negated.
4969 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4971 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4973 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4975 (pltexit): Cast int_retval to ptrdiff_t.
4976 * elf/tst-auditmod3b.c: Likewise.
4977 * elf/tst-auditmod4b.c: Likewise.
4978 * elf/tst-auditmod5b.c: Likewise.
4979 * elf/tst-auditmod6b.c: Likewise.
4980 * elf/tst-auditmod6c.c: Likewise.
4981 * elf/tst-auditmod7b.c: Likewise.
4983 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4984 and x32_gnu_pltexit.
4986 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4988 (La_x32_regs): New macro.
4989 (La_x32_retval): Likewise.
4990 (la_x32_gnu_pltenter): New function prototype.
4991 (la_x32_gnu_pltexit): Likewise.
4993 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4995 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5000 * configure.in (libc_cv_cc_nofma): Check for option to disable
5001 generation of FMA instructions.
5002 * configure: Regenerate.
5003 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5004 * sysdeps/ieee754/dbl-64/Makefile: New file.
5005 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5006 Remove brandred-fma4.
5007 (CFLAGS-brandred-fma4.c): Remove.
5008 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5009 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5011 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5014 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5016 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5017 LLONG_MAX != LONG_MAX.
5018 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5019 (_fitoa_word): Likewise.
5020 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5021 LLONG_MAX != LONG_MAX.
5022 * stdio-common/_itowa.h: Include <_itoa.h>.
5023 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5024 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5025 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5026 only if not defined.
5027 (_ITOA_WORD_TYPE): Likewise.
5028 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5029 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5031 2012-03-21 David S. Miller <davem@davemloft.net>
5033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5035 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5037 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5038 of x86_64 when setting libc_cv_slibdir, libdir and
5040 * sysdeps/unix/sysv/linux/configure: Regenerated.
5042 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5044 * manual/lang.texi (Old Varargs): Remove section.
5045 (How Variadic): Update menu.
5046 (va_start): Do not mention varargs.h.
5048 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5049 Joseph Myers <joseph@codesourcery.com>
5051 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5053 * configure: Regenerated.
5055 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5057 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5058 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5061 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5064 * Makefile (files-for-dist): Remove NOTES.
5065 (NOTES): Remove rule.
5066 * README: Don't refer to NOTES.
5067 * manual/creature.texi: Don't include macros.texi.
5068 * manual/intro.texi (creature.texi): Remove comment referring to
5071 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5072 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5073 * configure: Regenerated.
5074 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5076 (libc_cv_as_i686): Likewise.
5077 (libc_cv_cc_avx): Likewise.
5078 (libc_cv_cc_sse2avx): Likewise.
5079 (libc_cv_cc_fma4): Likewise.
5080 (libc_cv_cc_novzeroupper): Likewise.
5081 * sysdeps/i386/configure: Regenerated.
5084 * sysdeps/i386/fpu/s_cexp.S: Remove.
5085 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5086 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5087 * math/libm-test.inc (cexp_test): Add more tests.
5088 * sysdeps/i386/fpu/libm-test-ulps: Update.
5089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5091 2012-03-21 Allan McRae <allan@archlinux.org>
5093 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5095 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5098 * math/w_exp2.c: Do not include <float.h>.
5099 (o_threshold, u_threshold): Remove.
5100 (__exp2): Calculate result before checking finiteness and calling
5102 * math/w_exp2f.c: Likewise.
5103 * math/w_exp2l.c: Likewise.
5104 * math/libm-test.inc (exp2_test): Require overflow exception for
5108 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5109 range of signed 64-bit integers before using fistpll. Remove
5110 checks for whether integers fit in mantissa bits.
5111 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5112 the range of signed 32-bit integers before using fistpl. Remove
5113 checks for whether integers fit in mantissa bits.
5114 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5115 (__ieee754_powl): Test for y outside the range of signed 64-bit
5116 integers before using fistpll. Reduce 64-bit values to 63-bit
5118 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5119 divide-by-zero is raised for zero to large negative powers.
5120 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5121 (__ieee754_powl): Test for y outside the range of signed 64-bit
5122 integers before using fistpll. Reduce 64-bit values to 63-bit
5124 * math/libm-test.inc (pow_test): Add more tests.
5126 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5128 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5129 <stdio-common/_itoa.h>.
5130 * debug/segfault.c: Likewise.
5131 * elf/dl-cache.c: Likewise.
5132 * elf/dl-minimal.c: Likewise.
5133 * elf/dl-misc.c: Likewise.
5134 * elf/dl-sysdep.c: Likewise.
5135 * elf/dl-version.c: Likewise.
5136 * elf/rtld.c: Likewise.
5137 * hurd/hurdsock.c: Likewise.
5138 * hurd/lookup-retry.c: Likewise.
5139 * malloc/malloc.c: Likewise.
5140 * malloc/mtrace.c: Likewise.
5141 * nscd/nscd_getgr_r.c: Likewise.
5142 * nscd/nscd_getpw_r.c: Likewise.
5143 * nscd/nscd_getserv_r.c: Likewise.
5144 * posix/getopt_init.c: Likewise.
5145 * posix/wordexp.c: Likewise.
5146 * stdio-common/_itoa.c: Likewise.
5147 * stdio-common/printf_fphex.c: Likewise.
5148 * stdio-common/vfprintf.c: Likewise.
5149 * string/_strerror.c: Likewise.
5150 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5151 * sysdeps/i386/i686/hp-timing.h: Likewise.
5152 * sysdeps/mach/_strerror.c: Likewise.
5153 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5154 * sysdeps/mach/hurd/sethostid.c: Likewise.
5155 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5156 * sysdeps/mach/xpg-strerror.c: Likewise.
5157 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5158 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5159 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5160 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5161 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5162 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5163 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5164 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5165 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5166 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5167 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5168 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5169 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5170 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5171 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5172 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5173 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5174 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5175 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5176 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5177 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5179 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5181 * stdio-common/_itoa.h: Moved to ...
5182 * sysdeps/generic/_itoa.h: Here.
5184 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5186 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5187 instead of "_itoa.h" and "_itowa.h".
5188 * stdio-common/vfprintf.: Likewise.
5190 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5192 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5194 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5195 (__signbit): Likwise.
5199 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5201 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5204 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5206 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5207 OVERFLOW_EXCEPTION_OK.
5208 * math/libm-test.inc ("Philosophy"): Update comment about
5210 (OVERFLOW_EXCEPTION): Define.
5211 (OVERFLOW_EXCEPTION_OK): Likewise.
5212 (INVALID_EXCEPTION_OK): Renumber.
5213 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5214 (IGNORE_ZERO_INF_SIGN): Likewise.
5215 (test_exceptions): Handle FE_OVERFLOW.
5216 (exp10_test): Expect overflow exceptions.
5217 (exp2_test): Likewise.
5218 (expm1_test): Likewise.
5219 (nextafter_test): Likewise.
5220 (pow_test): Likewise.
5221 (scalbn_test): Likewise.
5222 (scalbln_test): Likewise.
5224 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5226 * sysdeps/x86_64/bits/atomic.h
5227 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5229 (atomic_exchange_acq): Likewise.
5230 (__arch_exchange_and_add_body): Likewise.
5231 (__arch_add_body): Likewise.
5232 (atomic_add_negative): Likewise.
5233 (atomic_add_zero): Likewise.
5235 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5237 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5238 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5240 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5242 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5243 Check __x86_64__ instead of __WORDSIZE.
5245 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5247 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5249 2012-03-19 David S. Miller <davem@davemloft.net>
5251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5253 * sysdeps/sparc/fpu/fenv_private.h: New file.
5254 * sysdeps/sparc/fpu/math_private.h: Use it.
5255 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5257 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5258 (libc_feholdexcept_setroundl): Remove.
5259 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5261 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5262 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5264 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5266 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5267 int64_t instead of long int.
5268 (INSERT_WORDS64): Likwise.
5270 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5272 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5273 _Unwind_GetCFA return to _Unwind_Ptr first.
5275 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5278 * math/s_clog.c: Include <float.h>.
5279 (__clog): Scale large or subnormal inputs.
5280 * math/s_clogf.c: Likewise.
5281 * math/s_clogl.c: Likewise.
5282 * math/s_clog10.c: Include <float.h>.
5283 (M_LOG10_2): Define.
5284 (__clog10): Scale large or subnormal inputs.
5285 * math/s_clog10f.c: Likewise.
5286 * math/s_clog10l.c: Likewise.
5287 * math/libm-test.inc (clog_test): Add more tests.
5288 (clog10_test): Likewise.
5289 * sysdeps/i386/fpu/libm-test-ulps: Update.
5290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5293 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5295 * math/libm-test.inc (atan2_test): Add another test.
5297 * Makerules (common-objdir-compile): Remove.
5298 * sysdeps/unix/Makefile (config-generated): Do not add
5299 $(unix-generated) to variable.
5300 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5301 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5303 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5305 [generic bits/local_lim.h] (before-compile): Do not append to
5307 [generic bits/local_lim.h] (common-generated): Likewise.
5308 [generic sys/param.h] (before-compile): Do not append to variable.
5309 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5310 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5311 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5312 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5314 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5315 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5316 [generic sys/param.h] ($(addprefix
5317 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5318 [generic sys/param.h] (common-generated): Do not append to
5320 [generic sys/param.h] (sysdep_headers): Likewise.
5321 [generic bits/errno.h] (before-compile): Do not append to
5323 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5325 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5326 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5327 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5328 [generic bits/errno.h] (common-generated): Do not append to
5330 [generic bits/ioctls.h] (before-compile): Do not append to
5332 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5334 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5335 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5336 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5338 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5339 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5340 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5341 [generic bits/ioctls.h] (common-generated): Do not append to
5343 [generic sys/syscall.h] (syscall.h): Remove variable.
5344 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5346 [generic sys/syscall.h] (before-compile): Do not append to
5348 [generic sys/syscall.h] (common-generated): Likewise.
5349 * sysdeps/unix/errnos-tmpl.c: Remove file.
5350 * sysdeps/unix/errnos.awk: Likewise.
5351 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5352 * sysdeps/unix/ioctls.awk: Likewise.
5353 * sysdeps/unix/mk-local_lim.c: Likewise.
5354 * sysdeps/unix/snarf-ioctls: Likewise.
5356 2012-03-19 Richard Henderson <rth@twiddle.net>
5358 * sysdeps/i386/fpu/fenv_private.h: New file.
5359 * sysdeps/i386/fpu/math_private.h: Use it.
5360 (math_opt_barrier, math_force_eval): Remove.
5361 (libc_feholdexcept_setround_53bit): Remove.
5362 (libc_feupdateenv_53bit): Remove.
5363 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5364 (math_opt_barrier, math_force_eval): Remove.
5365 (libc_feholdexcept): Remove.
5366 (libc_feholdexcept_setround): Remove.
5367 (libc_fetestexcept, libc_fesetenv): Remove.
5368 (libc_feupdateenv_test): Remove.
5369 (libc_feupdateenv, libc_feholdsetround): Remove.
5370 (libc_feresetround): Remove.
5372 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5373 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5375 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5376 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5377 (libc_feupdateenv_testl): New.
5378 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5379 (libc_feupdateenv_testf): New.
5380 (libc_feupdateenv): Use libc_feupdateenv_test.
5381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5382 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5384 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5385 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5386 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5387 (libc_feresetround_noex): New.
5388 (libc_feresetround_noexf): New.
5389 (libc_feresetround_noexl): New.
5390 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5391 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5392 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5393 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5395 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5396 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5398 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5399 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5400 SET_RESTORE_ROUND_NOEX.
5401 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5402 SET_RESTORE_ROUND_NOEXF.
5403 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5404 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5405 (libc_feholdsetroundf): New.
5406 (libc_feresetround, libc_feresetroundf): New.
5408 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5409 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5410 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5412 * sysdeps/generic/math_private.h: Include <fenv.h>.
5413 (default_libc_feholdexcept): New.
5414 (default_libc_feholdexcept_setround): New.
5415 (default_libc_fesetenv, default_libc_feupdateenv): New.
5416 (libc_feholdexcept): Only define if undefined.
5417 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5418 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5419 (libc_feholdexcept_setroundl): Likewise.
5420 (libc_feholdexcept_setround_53bit): Likewise.
5421 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5422 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5423 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5424 (libc_feupdateenv_53bit): Likewise.
5425 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5426 (libc_feholdexcept): Convert from macro to inline function.
5427 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5428 (libc_fesetenv, libc_feupdateenv): Likewise.
5430 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5431 not previously defined.
5432 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5433 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5434 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5435 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5436 * sysdeps/ieee754/flt-32/math_private.h: New file.
5437 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5438 math_private.h below SET_FLOAT_WORD.
5439 (__isnan, __isinf_ns, __finite): Remove.
5440 (__isnanf, __isinf_nsf, __finitef): Remove.
5442 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5446 2012-03-17 David S. Miller <davem@davemloft.net>
5449 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5452 2012-03-16 David S. Miller <davem@davemloft.net>
5454 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5458 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5460 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5461 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5462 sysdep_routines when subdir is sysvipc.
5463 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5466 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5468 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5470 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5473 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5475 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5476 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5477 (__lround): Renamed to ...
5478 (__llround): This. Replace long int with long long int.
5479 Define lround functions as aliases of llround functions.
5480 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5482 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5484 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5485 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5486 adresses to uintptr_t. Replace "long int" and "unsigned long
5487 int" with "greg_t" on va_arg.
5489 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5491 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5492 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5494 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5495 Move e_machine check before EI_CLASS check. Handle x32
5496 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5497 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5498 SKIP_EM_IA_64 and include
5499 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5501 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5502 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5503 (add_system_dir): New macro.
5505 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5506 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5508 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5519 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5521 * math/w_j0f.c (j0f): Likewise.
5523 * math/w_j0l.c (__j0l): Likewise.
5525 * math/w_j1.c (j1): Likewise.
5527 * math/w_j1f.c (j1f): Likewise.
5529 * math/w_j1l.c (__j1l): Likewise.
5531 * math/w_jn.c (jn): Likewise.
5533 * math/w_jnf.c (jnf): Likewise.
5535 * math/w_jnl.c (__jnl): Likewise.
5537 * math/libm-test.inc (j0_test): Add more tests.
5538 (j1_test): Likewise.
5539 (jn_test): Likewise. Add trailing semicolon to existing test.
5540 (y0_test): Likewise.
5541 (y1_test): Likewise.
5542 * sysdeps/i386/fpu/libm-test-ulps: Update.
5543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5547 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5548 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5549 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5550 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5551 (__tanl): Set errno for infinite argument.
5552 * sysdeps/i386/fpu/mptan.c: Remove.
5553 * sysdeps/i386/fpu/s_tan.S: Likewise.
5554 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5555 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5556 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5557 * math/libm-test.inc (tan_test): Add more tests and enable more
5558 tests for double and long double.
5559 * sysdeps/i386/fpu/libm-test-ulps: Update.
5560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5562 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5564 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5565 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5567 2012-03-16 Roland McGrath <roland@hack.frob.com>
5569 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5570 * configure.in: Use it for both main tree and add-ons.
5571 * configure: Regenerated.
5573 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5575 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5577 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5579 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5583 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5584 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5585 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5589 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5590 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5592 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5593 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5594 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5595 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5596 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5597 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5598 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5599 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5600 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5601 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5602 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5603 * math/libm-test.inc (cos_test): Add more tests and enable more
5604 tests for long double.
5605 (sin_test): Likewise.
5606 (sincos_test): Likewise.
5607 * sysdeps/i386/fpu/libm-test-ulps: Update.
5608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5610 2012-03-16 David S. Miller <davem@davemloft.net>
5612 * sysdeps/sparc/fpu/math_private.h: New file.
5614 2012-03-15 David S. Miller <davem@davemloft.net>
5616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5626 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5630 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5631 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5633 * sysdeps/sparc/sparc-ifunc.h: New file.
5634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5660 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5661 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5672 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5673 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5674 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5675 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5676 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5677 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5679 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5681 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5685 2012-03-15 Andreas Jaeger <aj@suse.de>
5688 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5689 ieee754/flt-32 implementation for sin, cos and sincos.
5690 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5691 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5692 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5693 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5694 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5695 ieee754/flt-32 implementation for tan.
5697 * math/libm-test.inc (cos_test): Enable some large input tests for
5699 (sin_test): Likewise.
5700 (sincos_test): Likewise.
5701 (tan_test): Add tests for large input.
5703 * sysdeps/i386/fpu/libm-test-ulps: Update.
5705 2012-03-15 Andreas Jaeger <aj@suse.de>
5708 * math/libm-test.inc (cos_test): Add more test cases.
5709 (sin_test): Likewise.
5710 (sincos_test): Likewise.
5712 2012-03-15 Andreas Jaeger <aj@suse.de>
5715 * math/libm-test.inc (cos_test): Add a test case for large input
5717 (sin_test): Likewise.
5718 (sincos_test): Likewise.
5720 2012-03-15 Andreas Jaeger <aj@suse.de>,
5721 Joseph Myers <joseph@codesourcery.com>
5724 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5725 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5726 * sysdeps/i386/fpu/branred.c: Likewise.
5727 * sysdeps/i386/fpu/dosincos.c: Likewise.
5728 * sysdeps/i386/fpu/mpa.c: Likewise.
5729 * sysdeps/i386/fpu/s_cos.S: Likewise.
5730 * sysdeps/i386/fpu/s_sin.S: Likewise.
5731 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5732 * sysdeps/i386/fpu/sincos32.c: Likewise.
5734 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5736 (libc_feupdateenv_53bit): Define.
5737 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5739 (libc_feupdateenv_53bit): Define.
5741 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5742 53 bit (without extend i386 double precision).
5744 * math/libm-test.inc (sincos_test): Add tests for large input.
5748 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5750 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5754 2012-03-15 David S. Miller <davem@davemloft.net>
5756 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5757 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5758 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5759 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5783 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5784 fmin/fmax sysdep routines.
5785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5787 2012-03-14 David S. Miller <davem@davemloft.net>
5789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5793 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5794 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5796 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5809 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5812 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5813 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5814 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5816 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5817 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5861 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5866 * sysdeps/sparc/configure.in: New file.
5867 * sysdeps/sparc/configure: Generate.
5868 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5869 * configure: Regenerate.
5870 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5871 * config.make.in (have-as-vis3): New.
5872 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5873 available use -Av9d instead of -Av9a.
5874 * sysdeps/sparc/sparc64/Makefile: Likewise.
5875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5884 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5885 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5886 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5888 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5890 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5891 fzeros/fnegs to load 0x80000000 into a float register instead of
5893 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5895 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5899 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5900 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5901 ($(inst_includedir)/bits/syscall.h): Remove rule.
5902 ($(objpfx)bits/syscall.d): Include instead of
5903 $(objpfx)syscall-list.d.
5904 (generated): Change syscall-list.h and syscall-list.d to
5905 bits/syscall.h and bits/syscall.d.
5907 2012-03-14 Roland McGrath <roland@hack.frob.com>
5910 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5912 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5915 * math/s_csqrt.c: Include <float.h>.
5916 (__csqrt): Scale large or subnormal inputs.
5917 * math/s_csqrtf.c: Likewise.
5918 * math/s_csqrtl.c: Likewise.
5919 * math/libm-test.inc (csqrt_test): Add more tests.
5920 * sysdeps/i386/fpu/libm-test-ulps: Update.
5921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5924 * math/libm-test.inc (hypot_test): Add more tests.
5926 2012-03-13 David S. Miller <davem@davemloft.net>
5929 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5930 double-precision for the calculation instead of scaling.
5932 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5934 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5935 manipulate bits before adding and subtracting TWO52[sx].
5936 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5937 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5939 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5941 2012-03-13 David S. Miller <davem@davemloft.net>
5943 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5944 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5945 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5946 rtld-global-offsets.h
5947 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5949 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5952 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5954 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5955 'err' in the ifdef scope in which it is actually used.
5957 * nss/nss_db/db-init.c: Include string.h
5959 2012-03-12 David S. Miller <davem@davemloft.net>
5961 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5962 masking out of the most significant byte of random value used.
5963 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5964 Fix coding style in previous change.
5966 * sysdeps/unix/sysv/linux/kernel-features.h
5967 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5968 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5970 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5973 2012-03-11 David S. Miller <davem@davemloft.net>
5975 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5976 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5977 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5978 for 'resultvar' otherwise things get truncated on 64-bit.
5980 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5981 Fix masking out of the most significant byte of random value used.
5983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5985 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5989 2012-03-09 David S. Miller <davem@davemloft.net>
5991 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5992 variables with appropriate CPP guards.
5993 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5994 frame pointer, not the stack pointer. Correct layout comments. Fix test
5995 on resulting framesize and the management of the outregs buffer for pltexit.
5996 Preserve floating point return values across _dl_call_pltexit call.
5997 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5998 framesize and the management of the outregs buffer for pltexit.
5999 Preserve floating point return values across _dl_call_pltexit
6001 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6002 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6003 (print_exit): Fix format string for return register value.
6005 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6007 * sunrpc/Makefile (others): Add rpcgen.
6008 ($(objpfx)rpcgen): Remove special build rule and dependency on
6010 * sunrpc/rpcgen.c: New file.
6012 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6015 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6016 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6017 * sysdeps/i386/crti.S: Likewise.
6018 * sysdeps/i386/crtn.S: Likewise.
6019 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6020 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6021 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6022 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6023 * sysdeps/sh/crti.S: Likewise.
6024 * sysdeps/sh/crtn.S: Likewise.
6025 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6028 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6030 * locale/programs/locfile-kw.gperf: Likewise.
6031 * locale/programs/charmap-kw.h: Regenerated.
6032 * locale/programs/locfile-kw.h: Likewise.
6035 * intl/plural.y: Replace FSF snail mail address with URL.
6036 * intl/plural.c: Regenerated.
6038 2012-03-09 Richard Henderson <rth@twiddle.net>
6040 * include/math_private.h: Remove file.
6041 * math/math_private.h: Move file ...
6042 * sysdeps/generic/math_private.h: ... here.
6044 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6045 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6046 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6048 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6049 and <math_private.h>.
6050 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6051 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6052 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6053 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6054 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6055 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6056 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6059 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6062 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6063 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6064 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6065 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6066 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6067 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6068 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6069 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6071 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6072 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6073 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6074 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6076 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6077 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6078 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6079 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6080 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6081 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6082 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6087 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6088 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6089 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6092 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6093 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6094 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6095 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6096 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6097 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6098 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6099 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6100 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6101 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6102 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6103 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6104 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6105 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6106 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6107 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6108 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6109 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6110 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6112 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6113 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6114 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6115 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6116 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6117 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6118 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6119 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6120 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6122 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6123 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6124 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6125 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6127 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6128 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6129 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6130 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6131 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6132 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6133 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6134 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6135 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6137 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6138 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6139 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6140 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6141 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6142 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6143 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6144 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6145 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6146 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6147 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6148 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6149 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6150 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6151 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6152 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6153 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6154 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6155 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6156 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6157 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6158 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6159 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6160 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6161 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6162 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6163 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6164 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6165 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6166 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6167 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6168 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6169 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6170 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6171 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6172 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6173 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6174 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6175 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6176 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6177 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6178 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6179 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6180 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6181 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6182 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6183 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6184 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6185 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6186 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6187 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6188 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6189 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6190 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6191 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6192 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6193 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6194 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6195 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6196 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6197 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6198 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6199 * sysdeps/ieee754/k_standard.c: Likewise.
6200 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6201 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6202 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6203 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6204 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6205 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6206 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6207 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6208 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6209 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6210 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6211 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6212 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6213 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6214 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6215 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6216 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6217 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6218 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6219 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6220 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6221 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6222 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6223 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6224 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6225 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6226 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6227 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6228 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6229 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6230 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6231 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6232 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6233 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6234 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6235 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6236 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6237 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6238 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6239 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6240 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6241 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6243 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6244 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6245 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6246 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6247 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6248 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6249 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6250 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6251 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6252 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6253 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6254 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6255 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6256 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6277 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6279 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6280 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6290 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6291 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6292 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6293 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6296 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6297 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6298 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6315 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6319 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6320 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6322 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6327 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6332 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6348 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6349 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6350 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6360 * sysdeps/ieee754/s_lib_version.c: Likewise.
6361 * sysdeps/ieee754/s_matherr.c: Likewise.
6362 * sysdeps/ieee754/s_signgam.c: Likewise.
6363 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6364 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6365 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6366 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6367 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6368 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6369 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6370 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6371 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6372 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6373 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6374 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6375 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6376 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6377 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6378 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6379 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6380 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6381 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6382 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6383 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6385 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6387 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6388 * sunrpc/rpc_main.c: Likewise.
6389 * sunrpc/rpc_svcout.c: Likewise.
6391 2012-03-09 David S. Miller <davem@davemloft.net>
6393 * include/math_private.h: New file.
6395 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6397 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6398 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6399 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6400 from <bits/socket_type.h>.
6401 (enum __socket_type): Don't define here.
6402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6407 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6410 * Makerules ($(inst_includedir)/%.h): New rule.
6411 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6412 (install-others): Remove variable setting.
6413 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6415 2012-03-08 Richard Henderson <rth@twiddle.net>
6417 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6418 from macro to inline function; merge with the
6419 !__LIBC_INTERNAL_MATH_INLINES version.
6420 (__ieee754_sqrtf): Likewise.
6422 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6424 (__rintf, __floor, __floorf): Likewise.
6426 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6427 macro to inline function.
6428 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6430 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6431 not <math/math_private.h>.
6433 2012-03-08 David S. Miller <davem@davemloft.net>
6435 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6437 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6439 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6441 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6443 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6444 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6446 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6448 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6449 be defined individually, they must be defined as a block. Define
6450 S for printing a string instead of hidint the different by using a
6451 macro for adding the 'l'.
6452 * stdio-common/tst-fphex-wide.c: Adjust.
6454 2012-03-07 Marek Polacek <polacek@redhat.com>
6456 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6458 2012-03-08 Marek Polacek <polacek@redhat.com>
6461 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6462 * stdio-common/tst-fphex.c: Define a few macros to make the
6463 test reusable. Use them.
6464 * stdio-common/tst-fphex-wide.c: New file.
6466 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6469 * manual/macros.texi (gnusystems): New macro.
6470 (nongnusystems): Likewise.
6471 (gnulinuxhurdsystems): Likewise.
6472 (gnuhurdsystems): Likewise..
6473 (gnulinuxsystems): Likewise.
6474 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6475 variants of the GNU system, not "GNU system".
6476 * manual/conf.texi: Likewise.
6477 * manual/errno.texi: Likewise. Update example of errno macro
6479 * manual/filesys.texi: Likewise.
6480 (getumask): Document as specific to GNU/Hurd.
6481 * manual/install.texi: Likewise. Reword some references to
6483 * manual/intro.texi: Likewise.
6484 * manual/io.texi: Likewise.
6485 (File Name Portability): Detail which constraints are inapplicable
6486 to all GNU systems and which are only inapplicable to GNU/Hurd.
6487 * manual/job.texi: Likewise.
6488 * manual/llio.texi: Likewise.
6489 (O_NOCTTY): Document as present on GNU/Linux.
6490 * manual/maint.texi: Likewise.
6491 * manual/memory.texi: Likewise.
6492 * manual/pattern.texi: Likewise.
6493 * manual/pipe.texi: Likewise.
6494 * manual/process.texi: Likewise.
6495 * manual/resource.texi: Likewise.
6496 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6498 * manual/setjmp.texi: Likewise.
6499 * manual/signal.texi: Likewise.
6500 * manual/startup.texi: Likewise.
6501 * manual/stdio.texi: Likewise.
6502 * manual/terminal.texi: Likewise.
6503 (ONLCR): Document as POSIX.
6504 (OXTABS): Document availability on GNU/Linux as XTABS.
6505 (ONOEOT): Document availability separately from other bits.
6506 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6507 * manual/time.texi: Likewise.
6508 * manual/users.texi: Likewise.
6509 * INSTALL: Regenerated.
6510 * sysdeps/gnu/errlist.c: Regenerated.
6512 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6513 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6514 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6516 * configure: Regenerated.
6518 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6520 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6521 default includes instead of AC_HEADER_CHECK.
6522 * sysdeps/i386/configure: Regenerated.
6525 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6526 * math/s_cacoshf.c (__cacoshf): Likewise.
6527 * math/s_cacoshl.c (__cacoshl): Likewise.
6528 * math/s_casinh.c (__casinh): Set signs of result from argument.
6529 * math/s_casinhf.c (__casinhf): Likewise.
6530 * math/s_casinhl.c (__casinhl): Likewise.
6531 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6532 (casinh_test): Add more tests.
6533 * sysdeps/i386/fpu/libm-test-ulps: Update.
6534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6536 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6538 * po/zh_TW.po: Update from translation team.
6540 * login/Makefile (distribute): Remove variable.
6541 * catgets/Makefile: Likewise.
6542 * mach/Makefile: Likewise.
6543 * malloc/Makefile: Likewise.
6544 * misc/Makefile: Likewise.
6545 * iconv/Makefile: Likewise.
6546 * nscd/Makefile: Likewise.
6547 * hurd/Makefile: Likewise.
6548 * manual/Makefile: Likewise.
6549 * locale/Makefile: Likewise.
6550 * intl/Makefile: Likewise.
6551 * conform/Makefile: Likewise.
6552 * nss/Makefile: Likewise.
6553 * time/Makefile: Likewise.
6554 * soft-fp/Makefile: Likewise.
6555 * dirent/Makefile: Likewise.
6556 * gmon/Makefile: Likewise.
6557 * po/Makefile: Likewise.
6558 * rt/Makefile: Likewise.
6559 * socket/Makefile: Likewise.
6560 * math/Makefile: Likewise.
6561 * signal/Makefile: Likewise.
6562 * debug/Makefile: Likewise.
6563 * elf/Makefile: Likewise.
6564 * timezone/Makefile: Likewise.
6565 * stdlib/Makefile: Likewise.
6566 * iconvdata/Makefile: Likewise.
6567 * sunrpc/Makefile: Likewise.
6568 * io/Makefile: Likewise.
6569 * argp/Makefile: Likewise.
6570 * inet/Makefile: Likewise.
6571 * hesiod/Makefile: Likewise.
6572 * grp/Makefile: Likewise.
6573 * csu/Makefile: Likewise.
6574 * wctype/Makefile: Likewise.
6575 * crypt/Makefile: Likewise.
6576 * libio/Makefile: Likewise.
6577 * string/Makefile: Likewise.
6578 * nis/Makefile: Likewise.
6579 * resolv/Makefile: Likewise.
6580 * stdio-common/Makefile: Likewise.
6581 * wcsmbs/Makefile: Likewise.
6582 * dlfcn/Makefile: Likewise.
6583 * posix/Makefile: Likewise.
6586 * timezone/Makefile: Don't install timezone files, just the programs
6589 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6591 * nss/databases.def: Add missing gshadow entry.
6593 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6595 2012-03-06 Marek Polacek <polacek@redhat.com>
6598 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6599 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6600 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6601 * stdio-common/tst-long-dbl-fphex.c: New file.
6603 2012-03-06 David S. Miller <davem@davemloft.net>
6605 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6606 (set_obp_int): New function.
6607 (get_obp_int): New function.
6608 (__get_clockfreq_via_dev_openprom): Likewise.
6609 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6610 Avoid unused variable warnings on 'val' and use builtin_expect.
6611 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6613 (INLINE_CLONE_SYSCALL): Likewise.
6615 2012-03-05 David S. Miller <davem@davemloft.net>
6617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6619 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6623 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6625 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6627 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
6629 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6630 Replace gettimeofday with __vdso_gettimeofday.
6632 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6633 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6634 __vdso_clock_gettime and __vdso_getcpu.
6636 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6637 time with __vdso_time.
6639 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6641 * manual/lang.texi (size_t): Note types to which size_t may be
6642 equivalent with the GNU C Library, but do not describe when
6643 differences between them are significant.
6645 2012-03-05 Andreas Jaeger <aj@suse.de>
6647 * sysdeps/i386/fpu/libm-test-ulps: Update.
6649 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6652 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6653 (__ieee754_pow): Save and restore rounding mode and use
6654 round-to-nearest for main computations.
6655 * math/libm-test.inc (pow_test_tonearest): New function.
6656 (pow_test_towardzero): Likewise.
6657 (pow_test_downward): Likewise.
6658 (pow_test_upward): Likewise.
6659 (main): Call the new functions.
6660 * sysdeps/i386/fpu/libm-test-ulps: Update.
6661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6664 * math/libm-test.inc (cosh_test_tonearest): New function.
6665 (cosh_test_towardzero): Likewise.
6666 (cosh_test_downward): Likewise.
6667 (cosh_test_upward): Likewise.
6668 (sinh_test_tonearest): Likewise.
6669 (sinh_test_towardzero): Likewise.
6670 (sinh_test_downward): Likewise.
6671 (sinh_test_upward): Likewise.
6672 (main): Call the new functions.
6673 * sysdeps/i386/fpu/libm-test-ulps: Update.
6674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6676 2012-03-05 Tom de Vries <tom@codesourcery.com>
6678 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6679 default stack guard is set in last bytes.
6680 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6682 2012-03-05 Kees Cook <keescook@chromium.org>
6684 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6687 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6688 possibly allocate from heap instead of stack.
6689 * stdio-common/bug-vfprintf-nargs.c: New file.
6690 * stdio-common/Makefile (tests): Add nargs overflow test.
6692 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6696 2012-03-03 Marek Polacek <polacek@redhat.com>
6698 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6699 * math/math_private.h: Likewise.
6700 * stdlib/tst-strtod.c: Likewise.
6701 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6702 * sysdeps/x86_64/bits/atomic.h: Likewise.
6704 2012-03-02 David S. Miller <davem@davemloft.net>
6706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6710 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6711 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6712 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6713 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6715 2012-03-02 Roland McGrath <roland@hack.frob.com>
6718 * manual/examples/README: New file, says the example source files
6719 can be used under GPL>=2.
6720 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6721 line containing just "*/".
6722 * manual/examples/add.c: Add copyright header (GPL>=2).
6723 * manual/examples/argp-ex1.c: Likewise.
6724 * manual/examples/argp-ex2.c: Likewise.
6725 * manual/examples/argp-ex3.c: Likewise.
6726 * manual/examples/argp-ex4.c: Likewise.
6727 * manual/examples/atexit.c: Likewise.
6728 * manual/examples/db.c: Likewise.
6729 * manual/examples/dir.c: Likewise.
6730 * manual/examples/dir2.c: Likewise.
6731 * manual/examples/execinfo.c: Likewise.
6732 * manual/examples/filecli.c: Likewise.
6733 * manual/examples/filesrv.c: Likewise.
6734 * manual/examples/fmtmsgexpl.c: Likewise.
6735 * manual/examples/genpass.c: Likewise.
6736 * manual/examples/inetcli.c: Likewise.
6737 * manual/examples/inetsrv.c: Likewise.
6738 * manual/examples/isockad.c: Likewise.
6739 * manual/examples/longopt.c: Likewise.
6740 * manual/examples/memopen.c: Likewise.
6741 * manual/examples/memstrm.c: Likewise.
6742 * manual/examples/mkfsock.c: Likewise.
6743 * manual/examples/mkisock.c: Likewise.
6744 * manual/examples/mygetpass.c: Likewise.
6745 * manual/examples/pipe.c: Likewise.
6746 * manual/examples/popen.c: Likewise.
6747 * manual/examples/rprintf.c: Likewise.
6748 * manual/examples/search.c: Likewise.
6749 * manual/examples/select.c: Likewise.
6750 * manual/examples/setjmp.c: Likewise.
6751 * manual/examples/sigh1.c: Likewise.
6752 * manual/examples/sigusr.c: Likewise.
6753 * manual/examples/stpcpy.c: Likewise.
6754 * manual/examples/strdupa.c: Likewise.
6755 * manual/examples/strftim.c: Likewise.
6756 * manual/examples/strncat.c: Likewise.
6757 * manual/examples/subopt.c: Likewise.
6758 * manual/examples/swapcontext.c: Likewise.
6759 * manual/examples/termios.c: Likewise.
6760 * manual/examples/testopt.c: Likewise.
6761 * manual/examples/testpass.c: Likewise.
6762 * manual/examples/timeval_subtract.c: Likewise.
6765 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6767 * manual/timeval_subtract.c.texi: ... here, new file.
6769 2012-03-02 David S. Miller <davem@davemloft.net>
6771 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6773 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6776 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6777 (__sin): Save and restore rounding mode and use round-to-nearest
6778 for all computations.
6779 (__cos): Save and restore rounding mode and use round-to-nearest
6780 for all computations.
6781 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6783 (tan): Save and restore rounding mode and use round-to-nearest for
6785 * math/libm-test.inc (cos_test_tonearest): New function.
6786 (cos_test_towardzero): Likewise.
6787 (cos_test_downward): Likewise.
6788 (cos_test_upward): Likewise.
6789 (sin_test_tonearest): Likewise.
6790 (sin_test_towardzero): Likewise.
6791 (sin_test_downward): Likewise.
6792 (sin_test_upward): Likewise.
6793 (tan_test_tonearest): Likewise.
6794 (tan_test_towardzero): Likewise.
6795 (tan_test_downward): Likewise.
6796 (tan_test_upward): Likewise.
6797 (main): Call the new functions.
6798 * sysdeps/i386/fpu/libm-test-ulps: Update.
6799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6802 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6803 small n, then large n, before computing and testing k+n.
6804 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6805 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6807 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6809 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6810 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6811 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6812 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6813 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6814 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6815 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6816 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6817 * math/libm-test.inc (scalbn_test): Add more tests.
6818 (scalbln_test): Likewise.
6820 * manual/filesys.texi (mode_t): Describe constraints on size and
6821 signedness, not exact equivalence to a particular type.
6823 (ino64_t): Likewise.
6825 (nlink_t): Likewise.
6826 (blkcnt_t): Likewise.
6827 (blkcnt64_t): Likewise.
6828 * manual/llio.texi (off_t): Likewise.
6831 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6832 (__ieee754_exp): Save and restore rounding mode and use
6833 round-to-nearest for all computations.
6834 * math/libm-test.inc (exp_test_tonearest): New function.
6835 (exp_test_towardzero): Likewise.
6836 (exp_test_downward): Likewise.
6837 (exp_test_upward): Likewise.
6838 (main): Call the new functions.
6839 * sysdeps/i386/fpu/libm-test-ulps: Update.
6840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6842 2012-03-01 Chris Demetriou <cgd@google.com>
6844 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6845 have predictable order.
6847 2012-03-01 David S. Miller <davem@davemloft.net>
6849 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6851 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6852 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6853 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6854 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6856 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6857 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6858 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6860 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6861 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6862 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6863 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6864 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6868 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6869 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6870 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6872 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6873 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6874 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6875 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6876 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6877 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6878 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6879 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6880 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6881 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6882 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6883 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6885 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6886 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6887 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6888 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6889 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6890 * sysdeps/sparc/elf/configure: Regenerated.
6892 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6894 * configure.in (AS, LD): Require binutils 2.20 or later.
6895 * configure: Regenerated.
6896 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6897 as required minimum version.
6898 * INSTALL: Regenerated.
6902 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6903 before squaring exponent.
6904 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6905 bottom long double and 27 bits of top long double before squaring
6907 * math/libm-test.inc (erfc_test): Add more tests.
6908 * sysdeps/i386/fpu/libm-test-ulps: Update.
6909 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6912 2012-03-01 Kai Tietz <ktietz@redhat.com>
6914 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6915 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6916 containing bit-fields.
6917 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6918 * soft-fp/single.h (_FP_UNION_S): Likewise.
6919 * soft-fp/double.h (_FP_UNION_D): Likewise.
6921 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6924 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6925 not include ../strcmp.S.
6926 [USE_AS_STRNCASECMP_L]: Likewise.
6927 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6928 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6929 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6930 (__strncasecmp_l_ia32): Define as alias to
6931 __strncasecmp_l_nonascii.
6934 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6935 * sysdeps/i386/fpu/libm-test-ulps: Update.
6936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6938 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6941 2012-02-29 Jeff Law <law@redhat.com>
6943 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6946 2012-02-29 Marek Polacek <polacek@redhat.com>
6949 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6950 * elf/Makefile: Add rules to run tst-unused-dep.out.
6952 2012-02-28 David S. Miller <davem@davemloft.net>
6954 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6955 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6956 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6957 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6958 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6959 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6961 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6963 * math/libm-test.inc (llround_test): Move one test from
6964 lround_test. Use TEST_f_L in moved test.
6965 (lround_test): Move misplaced test to llround_test. Add testcase
6968 2012-02-28 Ulrich Drepper <drepper@gmail.com>
6970 * sysdeps/x86_64/fpu/e_expf.S: New file.
6971 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6973 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6976 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6977 of remain_len that may cause incomplete multi-byte character and
6979 * posix/bug-regex33.c: New file.
6980 * posix/Makefile (tests): Add bug-regex33.
6982 2012-02-28 Joseph Myers <joseph@codesourcery.com>
6984 * manual/macros.texi: New file.
6985 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6986 * manual/libc.texinfo: Include macros.texi.
6987 * manual/creatute.texi: Likewise.
6988 * manual/install.texi: Likewise.
6989 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6990 @glibcadj{} in references to the GNU C Library.
6991 * manual/charset.texi: Likewise.
6992 * manual/conf.texi: Likewise.
6993 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6994 when not using those macros.
6995 * manual/creature.texi: Likewise.
6996 * manual/crypt.texi: Likewise.
6997 * manual/errno.texi: Likewise.
6998 * manual/filesys.texi: Likewise.
6999 * manual/header.texi: Likewise.
7000 * manual/install.texi: Likewise.
7001 * manual/intro.texi: Likewise.
7002 * manual/io.texi: Likewise.
7003 * manual/job.texi: Likewise.
7004 * manual/lang.texi: Likewise.
7005 * manual/libc.texiinfo: Likewise.
7006 * manual/llio.texi: Likewise.
7007 * manual/locale.texi: Likewise.
7008 * manual/maint.texi: Likewise.
7009 * manual/math.texi: Likewise.
7010 * manual/memory.texi: Likewise.
7011 * manual/message.texi: Likewise.
7012 * manual/nss.texi: Likewise.
7013 * manual/pattern.texi: Likewise.
7014 * manual/process.texi: Likewise.
7015 * manual/resource.texi: Likewise.
7016 * manual/search.texi: Likewise.
7017 * manual/setjmp.texi: Likewise.
7018 * manual/signal.texi: Likewise.
7019 * manual/socket.texi: Likewise.
7020 * manual/startup.texi: Likewise.
7021 * manual/stdio.texi: Likewise.
7022 * manual/string.texi: Likewise.
7023 * manual/sysinfo.texi: Likewise.
7024 * manual/syslog.texi: Likewise.
7025 * manual/terminal.texi: Likewise.
7026 * manual/time.texi: Likewise.
7027 * manual/users.texi: Likewise.
7028 * INSTALL: Regenerated.
7029 * NOTES: Regenerated.
7030 * sysdeps/gnu/errlist.c: Regenerated.
7032 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7034 * include/dirent.h: Include <dirstream.h> before
7037 2012-02-28 David S. Miller <davem@davemloft.net>
7039 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7040 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7041 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7042 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7044 2012-02-27 David S. Miller <davem@davemloft.net>
7046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7048 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7049 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7052 frame pointer instead of stack pointer relative arg slot.
7053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7054 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7055 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7057 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7060 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7062 2012-02-27 David S. Miller <davem@davemloft.net>
7064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7068 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7069 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7070 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7071 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7073 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7075 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7076 later. Allow versions 5-9.
7077 * configure: Regenerated.
7078 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7079 required minimum version and 4.6 as recommended version. Do not
7080 mention bugs in GCC 2.7 and 2.8.
7081 * INSTALL: Regenerated.
7083 2012-02-27 David S. Miller <davem@davemloft.net>
7085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7089 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7090 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7091 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7092 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7094 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7095 manipulate bits before adding and subtracting TWO112[sx].
7096 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7098 2012-02-27 Roland McGrath <roland@hack.frob.com>
7101 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7102 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7103 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7104 being in POSIX, because they are in 1003.1-2008.
7106 * rt/tst-aio.c: Include <fcntl.h>.
7107 * rt/tst-aio7.c: Likewise.
7108 * rt/tst-aio64.c: Likewise.
7110 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7112 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7114 * manual/install.texi (--with-headers): Describe headers as
7115 interface headers, not private headers.
7116 (Specific advice for GNU/Linux systems): Describe use of headers
7117 from "make headers_install", not private headers from older
7119 * INSTALL: Regenerated.
7120 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7122 * sysdeps/unix/sysv/linux/configure: Regenerated.
7124 * manual/llio.texi (fclean): Remove documentation.
7126 * manual/Makefile (libc-texi-generated): New variable. Include
7128 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7129 $(libc-texi-generated), not duplicated list of files.
7130 (version.texi, stamp-version): New rules.
7131 (realclean): Remove $(libc-texi-generated), not individual files
7132 from that list. Do not remove dir-add.texinfo.
7133 * manual/libc.texinfo: Comment out uses of edition numbers and
7134 references to printed manual. Remove last-updated dates.
7135 (EDITION): Comment out.
7137 (VERSION, UPDATED): Remove.
7138 (version.texi): Include.
7140 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7142 * sysdeps/posix/spawni.c: Include <signal.h>.
7143 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7144 * sysdeps/pthread/aio_fsync.c: Likewise.
7146 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7148 * conform/Makefile (tests): Run only when not cross-compiling and
7149 when fast-check is not defined.
7151 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7152 * conform/data/limits.h-data: Fixes for POSIX2008.
7153 * conform/run-conformtest.sh: Run all tests.
7154 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7156 * include/bits/dlfcn.h: Likewise.
7157 * include/langinfo.h: Likewise.
7158 * include/monetary.h: Likewise.
7159 * include/sys/poll.h: Likewise.
7161 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7163 * posix/spawn.h: Define __need_sigset_t.
7164 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7165 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7166 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7167 to get sigevent_t only.
7168 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7170 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7171 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7172 process_vm_writev only for __USE_GNU.
7173 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7175 * conform/Makefile: For now ignore errors from run-conformtest.
7176 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7177 POSIX to avoid namespace pollution. Don't prepend headers.
7178 * conform/data/aio.h-data: Fixes for POSIX testing.
7179 * conform/data/fcntl.h-data: Likewise.
7180 * conform/data/glob.h-data: Likewise.
7181 * conform/data/grp.h-data: Likewise.
7182 * conform/data/pthread.h-data: Likewise.
7183 * conform/data/pwd.h-data: Likewise.
7184 * conform/data/signal.h-data: Likewise.
7185 * conform/data/spawn.h-data: Likewise.
7186 * conform/data/stdio.h-data: Likewise.
7187 * conform/data/stdlib.h-data: Likewise.
7188 * conform/data/stropts.h-data: Likewise.
7189 * conform/data/sys/mman.h-data: Likewise.
7190 * conform/data/sys/stat.h-data: Likewise.
7191 * conform/data/sys/types.h-data: Likewise.
7192 * conform/data/sys/wait.h-data: Likewise.
7193 * conform/data/time.h-data: Likewise.
7194 * conform/data/unistd.h-data: Likewise.
7195 * conform/data/utime.h-data: Likewise.
7197 * io/sys/stat.h: fchmod was always in POSIX.
7198 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7199 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7200 * rt/aio.h: Define __need_timespec before including <time.h>.
7201 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7202 struct. Add forward declaration of pthread_attr_t and use it in
7204 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7205 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7206 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7207 always remove CLK_TCK definition.
7209 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7211 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7213 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7215 * conform/run-conformtest.sh: New file.
7216 * conform/Makefile: Run run-conformtest for tests.
7217 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7220 * conform/data/uchar.h-data: New file.
7221 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7222 * conform/data/arpa/inet.h-data: Likewise.
7223 * conform/data/assert.h-data: Likewise.
7224 * conform/data/complex.h-data: Likewise.
7225 * conform/data/cpio.h-data: Likewise.
7226 * conform/data/ctype.h-data: Likewise.
7227 * conform/data/dirent.h-data: Likewise.
7228 * conform/data/dlfcn.h-data: Likewise.
7229 * conform/data/errno.h-data: Likewise.
7230 * conform/data/fcntl.h-data: Likewise.
7231 * conform/data/float.h-data: Likewise.
7232 * conform/data/fmtmsg.h-data: Likewise.
7233 * conform/data/fnmatch.h-data: Likewise.
7234 * conform/data/ftw.h-data: Likewise.
7235 * conform/data/glob.h-data: Likewise.
7236 * conform/data/grp.h-data: Likewise.
7237 * conform/data/iconv.h-data: Likewise.
7238 * conform/data/inttypes.h-data: Likewise.
7239 * conform/data/langinfo.h-data: Likewise.
7240 * conform/data/libgen.h-data: Likewise.
7241 * conform/data/limits.h-data: Likewise.
7242 * conform/data/locale.h-data: Likewise.
7243 * conform/data/math.h-data: Likewise.
7244 * conform/data/monetary.h-data: Likewise.
7245 * conform/data/mqueue.h-data: Likewise.
7246 * conform/data/ndbm.h-data: Likewise.
7247 * conform/data/net/if.h-data: Likewise.
7248 * conform/data/netdb.h-data: Likewise.
7249 * conform/data/netinet/in.h-data: Likewise.
7250 * conform/data/nl_types.h-data: Likewise.
7251 * conform/data/poll.h-data: Likewise.
7252 * conform/data/pthread.h-data: Likewise.
7253 * conform/data/pwd.h-data: Likewise.
7254 * conform/data/regex.h-data: Likewise.
7255 * conform/data/sched.h-data: Likewise.
7256 * conform/data/search.h-data: Likewise.
7257 * conform/data/semaphore.h-data: Likewise.
7258 * conform/data/setjmp.h-data: Likewise.
7259 * conform/data/signal.h-data: Likewise.
7260 * conform/data/spawn.h-data: Likewise.
7261 * conform/data/stdarg.h-data: Likewise.
7262 * conform/data/stdio.h-data: Likewise.
7263 * conform/data/stdlib.h-data: Likewise.
7264 * conform/data/string.h-data: Likewise.
7265 * conform/data/strings.h-data: Likewise.
7266 * conform/data/stropts.h-data: Likewise.
7267 * conform/data/sys/ipc.h-data: Likewise.
7268 * conform/data/sys/mman.h-data: Likewise.
7269 * conform/data/sys/msg.h-data: Likewise.
7270 * conform/data/sys/resource.h-data: Likewise.
7271 * conform/data/sys/select.h-data: Likewise.
7272 * conform/data/sys/sem.h-data: Likewise.
7273 * conform/data/sys/shm.h-data: Likewise.
7274 * conform/data/sys/socket.h-data: Likewise.
7275 * conform/data/sys/stat.h-data: Likewise.
7276 * conform/data/sys/statvfs.h-data: Likewise.
7277 * conform/data/sys/time.h-data: Likewise.
7278 * conform/data/sys/timeb.h-data: Likewise.
7279 * conform/data/sys/times.h-data: Likewise.
7280 * conform/data/sys/types.h-data: Likewise.
7281 * conform/data/sys/uio.h-data: Likewise.
7282 * conform/data/sys/un.h-data: Likewise.
7283 * conform/data/sys/utsname.h-data: Likewise.
7284 * conform/data/sys/wait.h-data: Likewise.
7285 * conform/data/syslog.h-data: Likewise.
7286 * conform/data/tar.h-data: Likewise.
7287 * conform/data/termios.h-data: Likewise.
7288 * conform/data/utime.h-data: Likewise.
7289 * conform/data/utmpx.h-data: Likewise.
7290 * conform/data/varargs.h-data: Likewise.
7291 * conform/data/wchar.h-data: Likewise.
7292 * conform/data/wctype.h-data: Likewise.
7293 * conform/data/wordexp.h-data: Likewise.
7295 * include/stropts.h: New file.
7296 * include/uchar.h: New file.
7297 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7298 * include/assert.h: Likewise.
7299 * include/ctype.h: Likewise.
7300 * include/dirent.h: Likewise.
7301 * include/dlfcn.h: Likewise.
7302 * include/fcntl.h: Likewise.
7303 * include/fnmatch.h: Likewise.
7304 * include/glob.h: Likewise.
7305 * include/grp.h: Likewise.
7306 * include/libio.h: Likewise.
7307 * include/locale.h: Likewise.
7308 * include/math.h: Likewise.
7309 * include/net/if.h: Likewise.
7310 * include/netdb.h: Likewise.
7311 * include/netinet/in.h: Likewise.
7312 * include/pthread.h: Likewise.
7313 * include/pwd.h: Likewise.
7314 * include/regex.h: Likewise.
7315 * include/sched.h: Likewise.
7316 * include/search.h: Likewise.
7317 * include/setjmp.h: Likewise.
7318 * include/signal.h: Likewise.
7319 * include/stdio.h: Likewise.
7320 * include/stdlib.h: Likewise.
7321 * include/string.h: Likewise.
7322 * include/sys/cdefs.h: Likewise.
7323 * include/sys/mman.h: Likewise.
7324 * include/sys/msg.h: Likewise.
7325 * include/sys/resource.h: Likewise.
7326 * include/sys/select.h: Likewise.
7327 * include/sys/socket.h: Likewise.
7328 * include/sys/stat.h: Likewise.
7329 * include/sys/statvfs.h: Likewise.
7330 * include/sys/time.h: Likewise.
7331 * include/sys/times.h: Likewise.
7332 * include/sys/uio.h: Likewise.
7333 * include/sys/utsname.h: Likewise.
7334 * include/sys/wait.h: Likewise.
7335 * include/termios.h: Likewise.
7336 * include/time.h: Likewise.
7337 * include/ulimit.h: Likewise.
7338 * include/unistd.h: Likewise.
7339 * include/utime.h: Likewise.
7340 * include/wchar.h: Likewise.
7341 * include/wctype.h: Likewise.
7342 * include/wordexp.h: Likewise.
7344 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7346 * time/time.h: TIME_UTC must be a macro.
7347 Make timespec_get available for ISO C11 only as well.
7349 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7351 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7352 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7354 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7356 * configure.in: Use -o not -a in test for unsupported multi-arch.
7358 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7360 * manual/texinfo.tex: Update to version 2012-01-19.16.
7362 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7364 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7366 2012-02-24 Roland McGrath <roland@hack.frob.com>
7369 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7370 * manual/fdl-1.3.texi: New file.
7371 * manual/fdl-1.1.texi: File removed.
7374 * manual/libc.texinfo (FDL_VERSION): New @set.
7375 Use it for mention of FDL in cover text.
7376 (Documentation License): Use it in @include file name.
7378 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7379 Roland McGrath <roland@hack.frob.com>
7382 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7383 not LONG_LONG_MAX and LONG_LONG_MIN.
7384 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7385 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7387 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7389 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7393 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7394 manipulate bits before adding and subtracting TWO23[sx].
7395 * math/libm-test.inc (nearbyint_test): Add more tests.
7397 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7400 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7401 bits before adding and subtracting TWO23[sx].
7402 * math/libm-test.inc (rint_test): Add more tests.
7403 (rint_test_tonearest): Likewise.
7404 (rint_test_towardzero): Likewise.
7405 (rint_test_downward): Likewise.
7406 (rint_test_upward: Likewise.
7408 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7411 * include/stdc-predef.h: New file. Extracted from features.h.
7412 * include/features.h: Include stdc-predef.h.
7413 * Makefile (headers): Add stdc-predef.h.
7414 * CONFORMANCE (Compiler limitations): Update.
7416 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7418 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7420 2012-02-21 David S. Miller <davem@davemloft.net>
7422 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7423 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7425 2012-02-20 David S. Miller <davem@davemloft.net>
7427 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7428 using a normal save/restore sequence, rather than allocating a
7429 dummy stack frame just to store a frame pointer and restore.
7430 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7432 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7434 * manual/install.texi: Fix stray word in line-wrapped comment.
7436 2012-02-20 David S. Miller <davem@davemloft.net>
7438 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7439 both binutils and gcc support GOTDATA.
7441 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7442 "rd %pc" in the PIC register setup sequences.
7444 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7445 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7446 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7447 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7448 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7449 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7450 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7451 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7453 (SYSCALL_ERROR_HANDLER): Likewise.
7454 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7455 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7456 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7457 (SYSCALL_ERROR_HANDLER): Likewise.
7459 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7460 (HAVE_GCC_GOTDATA): New.
7461 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7462 relocation support in both binutils and gcc.
7463 * sysdeps/sparc/elf/configure: Regenerate.
7465 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7466 * sysdeps/sparc/sparc32/elf/configure: Delete.
7467 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7468 * sysdeps/sparc/sparc64/elf/configure: Delete.
7469 * sysdeps/sparc/elf/configure.in: New file.
7470 * sysdeps/sparc/elf/configure: Generate.
7472 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7473 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7474 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7475 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7476 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7478 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7480 * manual/install.texi: Do not mention specific glibc version
7482 * manual/libc.texinfo (VERSION, UPDATED): Update.
7483 (@copying): Use @copyright{} and range of years.
7485 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7488 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7489 [crti.S not in sysdirs] (generated): Do not append.
7490 [crti.S not in sysdirs] (omit-deps): Likewise.
7491 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7492 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7493 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7494 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7495 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7497 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7498 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7499 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7500 * csu/defs.awk: Remove file.
7501 * sysdeps/generic/initfini.c: Likewise.
7502 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7504 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7507 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7509 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7510 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7511 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7512 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7513 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7514 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7516 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7517 (__EPOLL_PACKED): Define to empty if not defined by
7519 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7523 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7525 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7526 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7527 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7528 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7530 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7534 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7536 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7538 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7539 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7540 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7543 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7545 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7546 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7548 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7550 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7551 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7553 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7555 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7558 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7560 * math/w_acos.c: Use non-signaling floating-point comparisons.
7561 * math/w_acosf.c: Likewise.
7562 * math/w_acosh.c: Likewise.
7563 * math/w_acoshf.c: Likewise.
7564 * math/w_acoshl.c: Likewise.
7565 * math/w_acosl.c: Likewise.
7566 * math/w_asin.c: Likewise.
7567 * math/w_asinf.c: Likewise.
7568 * math/w_asinl.c: Likewise.
7569 * math/w_atanh.c: Likewise.
7570 * math/w_atanhf.c: Likewise.
7571 * math/w_atanhl.c: Likewise.
7572 * math/w_exp2.c: Likewise.
7573 * math/w_exp2f.c: Likewise.
7574 * math/w_exp2l.c: Likewise.
7575 * math/w_j0.c: Likewise.
7576 * math/w_j0f.c: Likewise.
7577 * math/w_j0l.c: Likewise.
7578 * math/w_j1.c: Likewise.
7579 * math/w_j1f.c: Likewise.
7580 * math/w_j1l.c: Likewise.
7581 * math/w_jn.c: Likewise.
7582 * math/w_jnf.c: Likewise.
7583 * math/w_log.c: Likewise.
7584 * math/w_log10.c: Likewise.
7585 * math/w_log10f.c: Likewise.
7586 * math/w_log10l.c: Likewise.
7587 * math/w_log2.c: Likewise.
7588 * math/w_log2f.c: Likewise.
7589 * math/w_log2l.c: Likewise.
7590 * math/w_logf.c: Likewise.
7591 * math/w_logl.c: Likewise.
7592 * math/w_sqrt.c: Likewise.
7593 * math/w_sqrtf.c: Likewise.
7594 * math/w_sqrtl.c: Likewise.
7595 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7596 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7597 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7598 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7599 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7601 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7604 * manual/string.texi (strnlen): Use correct parameter name in
7605 equivalent expression.
7607 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7610 * manual/users.texi (seteuid): Consistently use neweuid for
7613 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7616 * manual/nss.texi (Services in the NSS configuration): Correct
7617 list of services in example configuration file.
7619 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7622 * manual/arith.texi: Remove statements about negative zero
7623 behaving identically to zero.
7625 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7628 * manual/install.texi: Do not document upgrading from libc5.
7630 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7633 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7635 2012-02-18 David S. Miller <davem@davemloft.net>
7637 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7638 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7639 %o7 across the call.
7640 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7642 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7644 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7645 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7646 * sysdeps/sparc/crtn.S: Likewise.
7648 2012-02-17 Ulrich Drepper <drepper@gmail.com>
7650 * aout/Makefile: Remove.
7652 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7655 * manual/examples/argp-ex1.c (main): Format definition in GNU
7657 * manual/examples/argp-ex2.c (main): Likewise.
7658 * manual/examples/argp-ex3.c (main): Likewise.
7659 * manual/examples/argp-ex4.c (main): Likewise.
7660 * manual/examples/longopt.c (main): Use new-style prototype
7662 * manual/examples/strncat.c (main): Specify return type and use
7663 (void) for arguments.
7664 * manual/examples/subopt.c (main): Use char **argv argument.
7666 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7669 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7672 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7675 * manual/string.texi (strchr): Change when strchrnul is
7678 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7681 * manual/locale.texi (setlocale): Document LOCPATH.
7683 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7686 * manual/process.texi (execle): Move @dots{} before last argument.
7688 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7691 * manual/charset.texi (Generic Charset Conversion): Fix typo
7692 (LC_TYPE -> LC_CTYPE).
7694 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7697 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7698 (scalbnf): Likewise.
7699 (scalbnl): Likewise.
7700 (scalbln): Likewise.
7701 (scalblnf): Likewise.
7702 (scalblnl): Likewise.
7703 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7707 * manual/filesys.texi (telldir): Use braces around return type.
7708 * manual/llio.texi (mmap): Add space after comma.
7710 * manual/math.texi (jn): Use @var{} on parameter names.
7716 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7718 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7720 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7721 (sched_get_priority_max): Likewise.
7722 * manual/signal.texi (sigvec): Add space after comma.
7723 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7725 (if_indextoname): Likewise.
7726 (if_freenameindex): Likewise.
7727 (sendto): Use ',' instead of '.' in prototype.
7728 * manual/startup.texi (syscall): Use @dots{} instead of literal
7730 * manual/stdio.texi (__fpending): Separate initial words of
7731 paragraph from @deftypefun line.
7732 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7734 (vsyslog): Use @var{} on parameter names.
7735 * manual/terminal.texi (stty): Use @var{} on parameter names.
7736 * manual/users.texi (getutmp): Use @var{} on parameter names.
7737 (getutmpx): Likewise.
7739 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7742 * manual/stdio.texi (fopen): Fix typos in description of
7745 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7748 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7749 get clock_id definition.
7751 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7754 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7755 (madvise): Cast every argument to void on its own.
7757 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7760 * manual/startup.texi (Exit Status): Fix typo.
7762 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7765 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7766 * manual/examples/argp-ex2.c: Likewise.
7767 * manual/examples/argp-ex3.c: Likewise.
7769 2012-02-16 Richard Henderson <rth@redhat.com>
7771 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7772 * sysdeps/s390/s390-32/initfini.c: Remove.
7773 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7774 * sysdeps/s390/s390-64/initfini.c: Remove.
7776 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7778 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7779 compiler output for sysdeps/generic/initfini.c.
7780 * sysdeps/sh/elf/initfini.c: Remove file.
7782 2012-02-16 David S. Miller <davem@davemloft.net>
7785 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7787 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7788 * sysdeps/sparc/crti.S: New file.
7789 * sysdeps/sparc/crtn.S: New file.
7790 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7791 * sysdeps/sparc/sparc64/Makefile: Likewise.
7793 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7796 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7798 2012-02-15 Roland McGrath <roland@hack.frob.com>
7801 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7803 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7804 (write, read, close): Likewise.
7805 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7807 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7809 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7810 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7811 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7812 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7814 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7818 2012-02-14 Marek Polacek <polacek@redhat.com>
7820 * sysdeps/x86_64/crti.S: New file.
7821 * sysdeps/x86_64/crtn.S: New file.
7822 * sysdeps/x86_64/elf/initfini.c: Remove file.
7824 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7826 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7827 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7828 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7829 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7831 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7835 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7837 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7838 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7839 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7840 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7842 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7846 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7848 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7849 __feraiseexcept instead of feraiseexcept.
7851 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7852 nanosleep invocations.
7853 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7854 strings, and add error checking for a nanosleep invocations.
7856 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7858 Replace FSF snail mail address with URLs, as per GNU coding standards.
7859 Most of the snail mail addresses were wrong anyway, and omitting
7860 them makes the source code easier to maintain. Almost all of the
7861 changes are to license notices and to locale LC_IDENTIFICATION
7862 addresses, except for this one:
7863 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7864 not its snail mail address.
7866 2012-02-09 Richard Henderson <rth@twiddle.net>
7868 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7869 of kernel-features.h.
7871 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7873 2012-02-08 Marek Polacek <polacek@redhat.com>
7875 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7876 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7877 * sysdeps/gnu/_G_config.h: Likewise.
7878 * sysdeps/generic/_G_config.h: Likewise.
7880 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7882 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7886 * sysdeps/powerpc/powerpc32/crti.S: New file.
7887 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7888 * sysdeps/powerpc/powerpc64/crti.S: New file.
7889 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7891 * Makeconfig (have-initfini): Don't set.
7892 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7893 * configure.in (nopic_initfini): Don't substitute.
7894 * config.h.in (HAVE_INITFINI): Don't #undef.
7895 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7896 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7898 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7900 Support crti.S and crtn.S provided directly by architectures.
7901 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7902 [crti.S in sysdirs] (omit-deps): Likewise.
7903 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7904 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7905 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7906 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7907 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7908 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7909 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7910 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7911 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7912 compiler output for sysdeps/generic/initfini.c.
7913 * sysdeps/i386/elf/Makefile: Remove file.
7914 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7916 2012-02-07 Marek Polacek <polacek@redhat.com>
7918 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7919 * sysdeps/gnu/_G_config.h: Likewise.
7920 * sysdeps/mach/hurd/_G_config.h: Likewise.
7922 2012-02-07 Marek Polacek <polacek@redhat.com>
7924 * math/Makefile (tests): Add tst-CMPLX2.
7925 * math/tst-CMPLX2.c: New file.
7927 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7929 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7931 * math/libm-test.inc (jn_test): Add missing L suffix.
7933 2012-02-06 Marek Polacek <polacek@redhat.com>
7935 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7936 * sysdeps/i386/fpu/e_powf.S: Likewise.
7937 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7938 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7939 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7940 * sysdeps/i386/fpu/e_pow.S: Likewise.
7941 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7942 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7943 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7944 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7945 * sysdeps/i386/fpu/e_log2.S: Likewise.
7946 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7947 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7948 * sysdeps/i386/fpu/e_powl.S: Likewise.
7949 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7950 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7951 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7952 * sysdeps/i386/fpu/e_logl.S: Likewise.
7953 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7954 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7955 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7956 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7957 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7958 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7959 * sysdeps/i386/fpu/e_log.S: Likewise.
7960 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7961 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7962 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7963 * sysdeps/i386/fpu/e_logf.S: Likewise.
7964 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7965 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7966 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7967 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7968 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7969 * sysdeps/i386/fpu/e_log10.S: Likewise.
7970 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7971 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7972 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7973 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7974 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7975 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7976 * sysdeps/i386/asm-syntax.h: Likewise.
7977 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7978 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7979 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7980 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7981 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7982 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7983 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7984 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7985 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7986 * sysdeps/powerpc/sysdep.h: Likewise.
7987 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7988 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7990 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7993 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7995 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7997 * sysdeps/i386/sysdep.h: Include <features.h>.
7998 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8001 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8003 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8005 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8008 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8010 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8011 (SETUP_PIC_REG): Use GET_PC_THUNK.
8012 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8015 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8017 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8018 for non-PIC compilation.
8019 (SETUP_PIC_REG): Add .p2align directive.
8020 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8021 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8022 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8023 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8024 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8025 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8026 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8027 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8028 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8029 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8030 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8031 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8032 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8033 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8034 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8035 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8036 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8037 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8038 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8039 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8040 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8041 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8042 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8043 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8044 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8045 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8046 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8047 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8048 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8049 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8050 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8051 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8052 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8053 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8054 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8055 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8056 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8057 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8058 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8059 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8060 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8062 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8064 * math/tst-CMPLX.c: Include <stdio.h>.
8066 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8068 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8070 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8071 * sysdeps/sparc/bits/mathdef.h: Likewise.
8073 2012-01-31 Marek Polacek <polacek@redhat.com>
8075 * libio/libio.h: Don't define _PARAMS.
8076 * locale/programs/config.h: Don't define PARAMS.
8077 * stdlib/strtol_l.c: Likewise.
8078 (__strtol_l): Remove PARAMS from the prototype.
8080 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8082 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8083 names. Just use the correct names. Remove unnecessary wrapper
8085 * malloc/arena.c: Likewise.
8086 * malloc/hooks.c: Likewise.
8088 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8089 ARENA_TEST says not to. Simplify test for creation of a new arena.
8090 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8092 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8094 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8096 (update_get_addr): New function.
8097 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8098 GET_ADDR_MODULE parameter.
8100 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8102 * crypt/cert.c: Remove __STDC__ conditionals.
8103 * crypt/crypt-entry.c: Likewise.
8104 * crypt/crypt_util.c: Likewise.
8105 * libio/filedoalloc.c: Likewise.
8106 * libio/fileops.c: Likewise.
8107 * libio/genops.c: Likewise.
8108 * libio/iofclose.c: Likewise.
8109 * libio/iofdopen.c: Likewise.
8110 * libio/iofopen.c: Likewise.
8111 * libio/iofopen64.c: Likewise.
8112 * libio/iogetdelim.c: Likewise.
8113 * libio/iopopen.c: Likewise.
8114 * libio/obprintf.c: Likewise.
8115 * libio/oldfileops.c: Likewise.
8116 * libio/oldiofclose.c: Likewise.
8117 * libio/oldiofdopen.c: Likewise.
8118 * libio/oldiofopen.c: Likewise.
8119 * libio/oldiopopen.c: Likewise.
8120 * libio/wfiledoalloc.c: Likewise.
8121 * libio/wgenops.c: Likewise.
8122 * locale/programs/xmalloc.c: Likewise.
8123 * misc/syslog.c: Likewise.
8124 * stdio-common/xbug.c: Likewise.
8125 * string/memchr.c: Likewise.
8126 * string/memcmp.c: Likewise.
8127 * string/memrchr.c: Likewise.
8128 * string/rawmemchr.c: Likewise.
8129 * sysdeps/posix/getcwd.c: Likewise.
8130 * time/strftime_l.c: Likewise.
8132 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8134 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8135 * config.make.in (config-cflags-sse2avx): Define.
8136 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8139 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8141 * scripts/config.guess: Update from upstream config git repository.
8142 * scripts/config.sub: Likewise.
8144 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8146 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8148 (R_TILEPRO_*, R_TILEGX_*): New macros.
8150 * scripts/firstversions.awk: Fix bug in version range handling.
8152 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8154 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8156 * include/sys/epoll.h: New file.
8157 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8160 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8162 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8163 Avoid unnecessary __WORDSIZE == 64 test.
8164 (fmaxf): Use VEX format if possible.
8169 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8170 * math/math_private.h: Remove libc_fegetround* and
8172 * sysdeps/i386/configure.in: Check for -msse2avx.
8173 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8174 also if SSE2AVX is defined.
8175 Remove libc_fegetround* and libc_fesetround*.
8176 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8177 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8178 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8180 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8181 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8182 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8183 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8184 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8186 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8188 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8190 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8192 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8194 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8197 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8199 * Makeconfig (libm): Define.
8200 * elf/Makefile: Add rules to build and run tst-relsort1.
8201 * elf/tst-relsort1.c: New file.
8202 * elf/tst-relsort1mod1.c: New file.
8203 * elf/tst-relsort1mod2.c: New file.
8205 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8207 * math/s_ldexp.c: Remove __STDC__ conditionals.
8208 * math/s_ldexpf.c: Likewise.
8209 * math/s_ldexpl.c: Likewise.
8210 * math/s_nextafter.c: Likewise.
8211 * math/s_nexttowardf.c: Likewise.
8212 * math/s_significand.c: Likewise.
8213 * math/s_significandf.c: Likewise.
8214 * math/s_significandl.c: Likewise.
8215 * math/w_jnl.c: Likewise.
8216 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8217 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8218 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8219 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8220 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8222 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8224 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8225 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8227 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8228 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8229 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8232 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8233 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8235 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8236 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8237 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8238 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8239 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8240 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8241 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8242 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8243 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8244 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8245 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8246 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8247 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8248 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8249 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8250 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8251 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8252 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8253 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8254 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8255 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8256 * sysdeps/ieee754/k_standard.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8259 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8260 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8261 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8262 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8263 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8264 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8266 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8267 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8268 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8269 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8270 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8271 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8272 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8274 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8275 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8276 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8277 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8278 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8279 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8280 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8282 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8285 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8286 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8287 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8289 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8293 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8298 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8299 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8300 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8303 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8305 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8306 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8308 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8311 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8315 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8317 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8318 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8323 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8329 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8331 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8332 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8335 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8336 * sysdeps/ieee754/s_matherr.c: Likewise.
8337 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8338 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8339 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8340 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8342 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8344 * crypt/md5.h: Remove __STDC__ conditionals.
8345 * libio/libioP.h: Likewise.
8346 * locale/programs/config.h: Likewise.
8347 * sysdeps/generic/sysdep.h: Likewise.
8348 * sysdeps/i386/asm-syntax.h: Likewise.
8349 * sysdeps/s390/asm-syntax.h: Likewise.
8350 * sysdeps/unix/sysdep.h: Likewise.
8351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8354 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8356 * libio/libio.h: Remove __STDC__ conditionals.
8357 * malloc/obstack.h: Likewise.
8358 * math/complex.h: Likewise.
8359 * math/math.h: Likewise.
8360 * sysdeps/generic/_G_config.h: Likewise.
8361 * sysdeps/gnu/_G_config.h: Likewise.
8362 * sysdeps/mach/hurd/_G_config.h: Likewise.
8363 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8364 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8365 * sysdeps/sparc/bits/mathdef.h: Likewise.
8367 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8370 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8371 Clean up HAS_* macros.
8372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8373 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8375 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8377 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8378 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8379 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8380 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8381 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8383 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8385 * elf/tst-unique3.cc (gets): Remove declaration.
8386 * elf/tst-unique3lib.cc (gets): Likewise.
8387 * elf/tst-unique3lib2.cc (gets): Likewise.
8388 * elf/tst-unique4.cc (gets): Likewise.
8390 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8392 * include/stdio.h: Add C++ protection. Add gets declarations and
8394 * debug/tst-chk1.c: Don't declare gets here.
8395 * stdio-common/tst-gets.c: Likewise.
8397 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8399 * posix/glob: Remove directory.
8401 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8403 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8405 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8407 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8408 of the non-standard EPFNOSUPPORT.
8410 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8412 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8413 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8414 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8416 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8418 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8420 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8422 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8424 * nscd/grpcache.c (cache_addgr): Likewise.
8425 * nscd/hstcache.c (cache_addhst): Likewise.
8426 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8427 * nscd/pwdcache.c (cache_addpw): Likewise.
8428 * nscd/servicescache.c (cache_addserv): Likewise.
8430 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8432 * malloc/malloc.c: Various cleanups.
8433 * malloc/hooks.c: Likewise.
8435 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8436 * stdlib/bug-fmtmsg1.c: New file.
8438 * stdlib/fmtmsg.c (init): Add missing unlock.
8439 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8441 2012-01-12 Marek Polacek <polacek@redhat.com>
8443 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8446 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8448 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8449 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8450 macro to ensure uniqueness of label name.
8451 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8452 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8454 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8456 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8458 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8459 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8460 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8461 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8463 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8465 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8467 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8468 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8469 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8471 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8473 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8474 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8475 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8476 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8478 * math/bits/math-finite.h: Add ldexp support.
8480 2012-01-10 Marek Polacek <polacek@redhat.com>
8482 * locale/programs/localedef.h (show_archive_content): Add noreturn
8485 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8487 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8489 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8491 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8493 * io/Makefile (headers): Add bits/poll2.h.
8495 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8498 typo #include statement.
8500 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8502 * include/sys/cdefs.h: Define __attribute_alloc_size.
8503 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8504 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8505 * elf/pldd.c: Likewise.
8506 * iconv/iconv_charmap.c: Likewise.
8507 * iconv/iconvconfig.c: Likewise.
8508 * iconv/strtab.c: Likewise.
8509 * locale/programs/locale.c: Likewise.
8510 * locale/programs/localedef.h: Likewise.
8511 * locale/programs/simple-hash.c: Likewise.
8512 * nscd/nscd.h: Likewise.
8513 * nss/makedb.c: Likewise.
8514 * sysdeps/generic/ldconfig.h: Likewise.
8515 * locale/programs/localedef.c: Remove xmalloc prototype.
8516 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8518 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8520 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8523 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8525 * math/Makefile (tests): Add tst-CMPLX.
8526 * math/tst-CMPLX.c: New file.
8528 * math/complex.h (CMPLXL): Fix typo.
8530 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8531 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8533 * debug/tst-chk1.c: Add poll and ppoll tests.
8534 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8535 * include/sys/poll.h: Add hidden proto for ppoll.
8536 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8537 * sysdeps/mach/hurd/ppoll.c: Likewise.
8538 * io/ppoll.c: Likewise.
8539 * debug/poll_chk.c: New file.
8540 * debug/ppoll_chk.c: New file.
8541 * include/bits/poll2.h: New file.
8542 * io/bits/poll2.h: New file.
8545 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8547 * configure.in: static is always set to yes. Remove.
8548 * config.make.in: Don't set build-static.
8549 * Makeconfig: Remove use of build-static.
8550 * dlfcn/Makefile: Likewise.
8551 * elf/Makefile: Likewise.
8552 * math/Makefile: Likewise.
8553 * misc/Makefile: Likewise.
8554 * nptl/Makefile: Likewise.
8555 * sysdeps/mach/hurd/Makefile: Likewise.
8557 * configure.in: PWD_P is not used anymore.
8558 * config.make.in: Remove PWD_P entry.
8560 * configure.in: Remove last remnants of RANLIB.
8561 No need to check for signed size_t anymore.
8562 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8564 Remove __builtin_expect test because we require at least gcc 3.4.
8565 * aclocal.m4: Likewise.
8567 * wcsmbs/mbrtoc16.c: Implement using towc function.
8568 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8569 * wcsmbs/wcsmbsload.c: Likewise.
8570 * iconv/gconv_simple.c: Likewise.
8571 * iconv/gconv_int.h: Likewise.
8572 * iconv/gconv_builtin.h: Likewise.
8573 * iconv/iconv_prog.c: Remove CHAR16 handling.
8575 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8577 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8579 * configure.in: Remove --with-elf and --enable-bounded options.
8580 Dont set base_machine for ia64. More non-ELF conditions removed.
8581 Remove testing and setting of leading underscore information.
8582 * config.make.in (build-bounded): Set to no.
8583 * config.h.in: Remove NO_UNDERSCORES entry.
8584 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8586 * csu/start.c: Remove !NO_UNDERSCORE code.
8587 * locale/localeinfo.h: Likewise.
8588 * sysdeps/generic/machine-gmon.h: Likewise.
8589 * sysdeps/generic/sysdep.h: Likewise.
8590 * sysdeps/i386/sysdep.h: Likewise.
8591 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8592 * sysdeps/mach/sysdep.h: Likewise.
8593 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8594 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8595 * sysdeps/sh/sysdep.h: Likewise.
8596 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8597 * sysdeps/unix/i386/sysdep.S: Likewise.
8598 * sysdeps/unix/sparc/start.c: Likewise.
8599 * sysdeps/unix/sparc/sysdep.S: Likewise.
8600 * sysdeps/unix/sparc/sysdep.h: Likewise.
8601 * sysdeps/unix/start.c: Likewise.
8602 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8603 * sysdeps/x86_64/sysdep.h: Likewise.
8605 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8608 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8610 * argp/argp-fmtstream.h: Use const instead __const.
8611 * argp/argp.h: Likewise.
8612 * assert/assert.h: Likewise.
8613 * bits/fenv.h: Likewise.
8614 * bits/sched.h: Likewise.
8615 * bits/sigset.h: Likewise.
8616 * bits/sigthread.h: Likewise.
8617 * catgets/nl_types.h: Likewise.
8618 * conform/data/pthread.h-data: Likewise.
8619 * crypt/crypt-private.h: Likewise.
8620 * crypt/crypt.h: Likewise.
8621 * crypt/crypt_util.c: Likewise.
8622 * ctype/ctype.h: Likewise.
8623 * debug/execinfo.h: Likewise.
8624 * debug/mbsnrtowcs_chk.c: Likewise.
8625 * debug/mbsrtowcs_chk.c: Likewise.
8626 * debug/wcsnrtombs_chk.c: Likewise.
8627 * debug/wcsrtombs_chk.c: Likewise.
8628 * debug/wcstombs_chk.c: Likewise.
8629 * dirent/dirent.h: Likewise.
8630 * dlfcn/dlfcn.h: Likewise.
8631 * elf/neededtest4.c: Likewise.
8632 * grp/grp.h: Likewise.
8633 * gshadow/gshadow.h: Likewise.
8634 * iconv/gconv.h: Likewise.
8635 * iconv/gconv_int.h: Likewise.
8636 * iconv/gconv_simple.c: Likewise.
8637 * iconv/iconv.h: Likewise.
8638 * iconv/loop.c: Likewise.
8639 * iconv/skeleton.c: Likewise.
8640 * include/aio.h: Likewise.
8641 * include/aliases.h: Likewise.
8642 * include/argz.h: Likewise.
8643 * include/arpa/inet.h: Likewise.
8644 * include/assert.h: Likewise.
8645 * include/dirent.h: Likewise.
8646 * include/dlfcn.h: Likewise.
8647 * include/execinfo.h: Likewise.
8648 * include/fcntl.h: Likewise.
8649 * include/fenv.h: Likewise.
8650 * include/glob.h: Likewise.
8651 * include/grp.h: Likewise.
8652 * include/libintl.h: Likewise.
8653 * include/mntent.h: Likewise.
8654 * include/netdb.h: Likewise.
8655 * include/pwd.h: Likewise.
8656 * include/rpc/netdb.h: Likewise.
8657 * include/sched.h: Likewise.
8658 * include/search.h: Likewise.
8659 * include/shadow.h: Likewise.
8660 * include/signal.h: Likewise.
8661 * include/stdio.h: Likewise.
8662 * include/stdlib.h: Likewise.
8663 * include/string.h: Likewise.
8664 * include/sys/socket.h: Likewise.
8665 * include/sys/stat.h: Likewise.
8666 * include/sys/statfs.h: Likewise.
8667 * include/sys/statvfs.h: Likewise.
8668 * include/sys/syslog.h: Likewise.
8669 * include/sys/time.h: Likewise.
8670 * include/sys/uio.h: Likewise.
8671 * include/time.h: Likewise.
8672 * include/unistd.h: Likewise.
8673 * include/utmp.h: Likewise.
8674 * include/wchar.h: Likewise.
8675 * include/wctype.h: Likewise.
8676 * inet/aliases.h: Likewise.
8677 * inet/arpa/inet.h: Likewise.
8678 * inet/netinet/ether.h: Likewise.
8679 * inet/netinet/in.h: Likewise.
8680 * intl/libintl.h: Likewise.
8681 * io/bits/fcntl2.h: Likewise.
8682 * io/fcntl.h: Likewise.
8683 * io/ftw.h: Likewise.
8684 * io/sys/poll.h: Likewise.
8685 * io/sys/stat.h: Likewise.
8686 * io/sys/statfs.h: Likewise.
8687 * io/sys/statvfs.h: Likewise.
8688 * io/utime.h: Likewise.
8689 * libio/bits/stdio.h: Likewise.
8690 * libio/bits/stdio2.h: Likewise.
8691 * libio/libio.h: Likewise.
8692 * libio/libioP.h: Likewise.
8693 * libio/stdio.h: Likewise.
8694 * locale/lc-ctype.c: Likewise.
8695 * locale/locale.h: Likewise.
8696 * login/utmp.h: Likewise.
8697 * malloc/arena.c: Likewise.
8698 * malloc/malloc.c: Likewise.
8699 * malloc/malloc.h: Likewise.
8700 * malloc/mcheck.c: Likewise.
8701 * malloc/mtrace.c: Likewise.
8702 * math/bits/mathcalls.h: Likewise.
8703 * math/fenv.h: Likewise.
8704 * math/math_private.h: Likewise.
8705 * misc/bits/error.h: Likewise.
8706 * misc/bits/syslog.h: Likewise.
8707 * misc/err.h: Likewise.
8708 * misc/error.h: Likewise.
8709 * misc/fstab.h: Likewise.
8710 * misc/mntent.h: Likewise.
8711 * misc/regexp.h: Likewise.
8712 * misc/search.h: Likewise.
8713 * misc/sgtty.h: Likewise.
8714 * misc/sys/mman.h: Likewise.
8715 * misc/sys/syslog.h: Likewise.
8716 * misc/sys/uio.h: Likewise.
8717 * misc/sys/xattr.h: Likewise.
8718 * misc/ttyent.h: Likewise.
8719 * nis/rpcsvc/ypclnt.h: Likewise.
8720 * nss/nss.h: Likewise.
8721 * posix/bits/unistd.h: Likewise.
8722 * posix/fnmatch.h: Likewise.
8723 * posix/glob.h: Likewise.
8724 * posix/sched.h: Likewise.
8725 * posix/spawn.h: Likewise.
8726 * posix/sys/wait.h: Likewise.
8727 * posix/unistd.h: Likewise.
8728 * posix/wordexp.h: Likewise.
8729 * pwd/pwd.h: Likewise.
8730 * resolv/netdb.h: Likewise.
8731 * resource/sys/resource.h: Likewise.
8732 * rt/aio.h: Likewise.
8733 * rt/bits/mqueue2.h: Likewise.
8734 * rt/mqueue.h: Likewise.
8735 * shadow/shadow.h: Likewise.
8736 * signal/signal.h: Likewise.
8737 * socket/send.c: Likewise.
8738 * socket/sendto.c: Likewise.
8739 * socket/sys/socket.h: Likewise.
8740 * stdio-common/printf.h: Likewise.
8741 * stdlib/bits/stdlib.h: Likewise.
8742 * stdlib/fmtmsg.h: Likewise.
8743 * stdlib/monetary.h: Likewise.
8744 * stdlib/stdlib.h: Likewise.
8745 * stdlib/ucontext.h: Likewise.
8746 * streams/stropts.h: Likewise.
8747 * string/argz.h: Likewise.
8748 * string/bits/string2.h: Likewise.
8749 * string/string.h: Likewise.
8750 * string/strings.h: Likewise.
8751 * sunrpc/rpc/auth.h: Likewise.
8752 * sunrpc/rpc/auth_des.h: Likewise.
8753 * sunrpc/rpc/clnt.h: Likewise.
8754 * sunrpc/rpc/netdb.h: Likewise.
8755 * sunrpc/rpc/pmap_clnt.h: Likewise.
8756 * sunrpc/rpc/xdr.h: Likewise.
8757 * sysdeps/generic/inttypes.h: Likewise.
8758 * sysdeps/generic/net/if.h: Likewise.
8759 * sysdeps/generic/sys/swap.h: Likewise.
8760 * sysdeps/gnu/net/if.h: Likewise.
8761 * sysdeps/gnu/utmpx.h: Likewise.
8762 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8763 * sysdeps/i386/i486/bits/string.h: Likewise.
8764 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8765 * sysdeps/s390/bits/string.h: Likewise.
8766 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8767 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8768 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8769 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8770 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8771 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8772 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8773 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8774 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8775 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8776 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8777 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8778 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8779 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8780 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8781 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8782 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8784 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8785 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8786 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8787 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8788 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8789 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8790 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8791 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8792 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8793 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8794 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8795 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8796 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8797 * sysvipc/sys/ipc.h: Likewise.
8798 * sysvipc/sys/msg.h: Likewise.
8799 * sysvipc/sys/sem.h: Likewise.
8800 * sysvipc/sys/shm.h: Likewise.
8801 * termios/termios.h: Likewise.
8802 * time/sys/time.h: Likewise.
8803 * time/time.h: Likewise.
8804 * wcsmbs/bits/wchar2.h: Likewise.
8805 * wcsmbs/uchar.h: Likewise.
8806 * wcsmbs/wchar.h: Likewise.
8807 * wctype/wctype.h: Likewise.
8810 * Makeconfig: Remove all but ELF support including AIX support.
8811 * Makerules: Likewise.
8812 * config.h.in: Likewise.
8813 * config.make.in: Likewise.
8814 * configure: Likewise.
8815 * configure.in: Likewise.
8816 * csu/Makefile: Likewise.
8817 * csu/version.c: Likewise.
8818 * debug/Makefile: Likewise.
8819 * dlfcn/Makefile: Likewise.
8820 * elf/Makefile: Likewise.
8821 * extra-lib.mk: Likewise.
8822 * iconv/Makefile: Likewise.
8823 * include/libc-symbols.h: Likewise.
8824 * include/shlib-compat.h: Likewise.
8825 * resolv/Makefile: Likewise.
8826 * resolv/res_libc.c: Likewise.
8827 * rt/Makefile: Likewise.
8828 * sysdeps/i386/asm-syntax.h: Likewise.
8829 * sysdeps/i386/sysdep.h: Likewise.
8830 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8831 * sysdeps/mach/sysdep.h: Likewise.
8832 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8833 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8834 * sysdeps/s390/asm-syntax.h: Likewise.
8835 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8836 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8837 * sysdeps/sh/sysdep.h: Likewise.
8838 * sysdeps/unix/sparc/sysdep.h: Likewise.
8839 * sysdeps/wordsize-32/divdi3.c: Likewise.
8840 * sysdeps/x86_64/sysdep.h: Likewise.
8842 * argp/Versions: Remove _argp_unlock_xxx.
8845 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8846 * abilist/libBrokenLocale.abilist: Likewise.
8847 * abilist/libanl.abilist: Likewise.
8848 * abilist/libc.abilist: Likewise.
8849 * abilist/libcrypt.abilist: Likewise.
8850 * abilist/libdl.abilist: Likewise.
8851 * abilist/libm.abilist: Likewise.
8852 * abilist/libnsl.abilist: Likewise.
8853 * abilist/libpthread.abilist: Likewise.
8854 * abilist/libresolv.abilist: Likewise.
8855 * abilist/librt.abilist: Likewise.
8856 * abilist/libthread_db.abilist: Likewise.
8857 * abilist/libutil.abilist: Likewise.
8858 * abilist/libnss_db.abilist: New file.
8860 * scripts/abilist.awk: Add support for indirect functions.
8862 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8864 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8866 * shlib-versions: Remove entries for ports architectures.
8868 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8870 * elf/stackguard-macros.h: Remove support for IA-64.
8871 * elf/tst-auditmod1.c: Likewise.
8872 * sysdeps/generic/ldsodefs.h: Likewise.
8874 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8875 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8879 * configure.in: Remove --enable-omitfp support.
8881 * config.make.in: Likewise.
8882 * Makeconfig: Likewise.
8883 * manual/install.texi: Likewise.
8885 In case anyone cares, the IA-64 architecture could move to ports.
8886 * sysdeps/ia64/*: Removed.
8887 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8888 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8891 * configure.in: Remove entries for unsupported architectures.
8894 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8895 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8897 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8898 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8899 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8900 fall back to using wcrtomb.
8901 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8902 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8904 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8905 * wcsmbs/tst-c16c32-1.c: New file.
8907 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8910 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8912 * elf/tst-unique3.cc: Add explicit declaration of gets.
8913 * elf/tst-unique3lib.cc: Likewise.
8914 * elf/tst-unique3lib2.cc: Likewise.
8915 * elf/tst-unique4.cc: Likewise.
8917 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8919 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8922 * assert/assert.h (static_assert): Don't define for C++.
8923 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8924 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8926 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8928 * iconv/loop.c (single loop): Fix assertion in storing of
8931 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8933 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8935 * posix/getconf.c: Update copyright year.
8936 * nss/getent.c: Likewise.
8937 * nss/makedb.c: Likewise.
8938 * iconv/iconvconfig.c: Likewise.
8939 * iconv/iconv_prog.c: Likewise.
8940 * elf/ldconfig.c: Likewise.
8941 * elf/pldd.c: Likewise.
8942 * elf/sotruss.ksh: Likewise.
8943 * catgets/gencat.c: Likewise.
8944 * csu/version.c: Likewise.
8945 * elf/ldd.bash.in: Likewise.
8946 * elf/sprof.c (print_version): Likewise.
8947 * locale/programs/locale.c: Likewise.
8948 * locale/programs/localedef.c: Likewise.
8949 * login/programs/pt_chown.c: Likewise.
8950 * nscd/nscd.c (print_version): Likewise.
8951 * debug/xtrace.sh: Likewise.
8952 * malloc/memusage.sh: Likewise.
8953 * malloc/mtrace.pl: Likewise.
8954 * debug/catchsegv.sh: Likewise.
8956 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8958 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8961 2011-12-24 Ulrich Drepper <drepper@gmail.com>
8964 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8965 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8967 * iconv/gconv_int.h: Likewise.
8968 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8969 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8970 from libc for GLIBC_2.16.
8971 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8972 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8973 * wcsmbs/uchar.h: Really define mbstate_t.
8974 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8975 * wcsmbs/c16rtomb.c: New file.
8976 * wcsmbs/mbrtoc16.c: New file.
8977 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8979 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8980 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8982 * wcsmbs/wchar.h: Add missing __restrict.
8984 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8987 * time/Makefile (routines): Add timespec_get.
8988 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8989 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8990 timespec for ISO C11.
8991 * time/timespec_get.c: New file.
8992 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8993 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8996 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8997 * stdlib/stdlib.h: Declare aligned_alloc.
8998 * Versions.def: Add GLIBC_2.16 for libc.
8999 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9002 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9005 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9009 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9012 * assert/assert.h (static_assert): Define.
9014 * version.h: Update for 2.16 development version.
9017 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9020 * version.h (RELEASE): Bump for 2.15 release.
9021 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9023 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9024 Patch by Marek Polacek <mpolacek@redhat.com>.
9026 * bits/byteswap.h: Protect long long constants with __extension__.
9027 * sysdeps/i386/bits/byteswap.h: Likewise.
9028 * sysdeps/ia64/bits/byteswap.h: Likewise.
9029 * sysdeps/s390/bits/byteswap.h: Likewise.
9030 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9032 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9035 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9037 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9039 2011-12-23 Marek Polacek <polacek@redhat.com>
9041 * elf/dl-addr.c (determine_info): Add inline keyword.
9042 * elf/tst-auditmod4b.c (check_avx): Likewise.
9043 * elf/tst-auditmod6b.c (check_avx): Likewise.
9044 * elf/tst-auditmod6c.c (check_avx): Likewise.
9045 * elf/tst-auditmod7b.c (check_avx): Likewise.
9047 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9049 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9052 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9055 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9056 processing for last bytes.
9058 2011-08-06 Bruno Haible <bruno@clisp.org>
9061 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9062 U+0385, not to U+1FEE.
9065 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9066 entry for U+00A5 U+0301.
9068 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9071 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9072 buffer for the output is too small.
9074 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9078 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9079 SSE flags if possible.
9081 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9084 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9085 processing for last bytes.
9087 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9089 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9090 (syscall-list-default-options, syscall-list-default-condition)
9091 (syscall-list-includes): Define.
9092 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9093 list of ABIs and options and #if conditions for each ABI. Do not
9094 handle common syscalls between ABIs specially.
9095 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9097 (syscall-list-variants, syscall-list-32bit-options)
9098 (syscall-list-32bit-condition, syscall-list-64bit-options)
9099 (syscall-list-64bit-condition): Define.
9100 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9101 (syscall-list-variants, syscall-list-32bit-options)
9102 (syscall-list-32bit-condition, syscall-list-64bit-options)
9103 (syscall-list-64bit-condition): Define.
9104 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9106 (syscall-list-variants, syscall-list-32bit-options)
9107 (syscall-list-32bit-condition, syscall-list-64bit-options)
9108 (syscall-list-64bit-condition): Define.
9109 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9111 (syscall-list-variants, syscall-list-32bit-options)
9112 (syscall-list-32bit-condition, syscall-list-64bit-options)
9113 (syscall-list-64bit-condition): Define.
9115 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9117 * locale/iso-639.def: Add brx entry.
9120 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9121 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9123 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9124 __feraiseexcept_renamed.
9126 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9129 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9130 EPOLLET with unsigned values.
9131 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9132 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9134 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9135 to large cancellation.
9136 * math/s_cacoshf.c: Likewise.
9137 * math/s_cacoshl.c: Likewise.
9139 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9143 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9144 * math/s_cacoshf.c: Likewise.
9145 * math/s_cacoshl.c: Likewise.
9147 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9150 * iconv/gconv.h: Define __GCONV_SWAP.
9151 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9152 * iconvdata/utf-16.c: Likewise.
9153 * iconvdata/utf-32.c: Likewise.
9155 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9158 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9159 numerator after shifting it by one limb.
9161 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9163 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9164 under [__USE_EXTERN_INLINES].
9166 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9169 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9171 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9173 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9174 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9176 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9177 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9178 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9179 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9180 for strncasecmp/strncasecmp_l compilation.
9181 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9182 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9184 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9187 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9190 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9193 * time/tzfile.c (__tzfile_read): Check values from file header.
9195 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9197 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9198 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9199 * powerpc/powerpc32/dl-start.S: Likewise.
9200 * powerpc/powerpc32/elf/start.S: Likewise.
9201 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9202 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9203 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9204 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9205 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9206 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9207 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9208 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9209 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9210 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9211 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9212 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9213 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9214 * powerpc/powerpc32/memset.S: Likewise.
9215 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9216 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9217 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9218 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9219 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9220 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9221 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9222 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9223 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9224 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9225 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9226 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9227 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9229 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9231 * math/libm-test.inc: Added more nearbyint tests.
9232 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9233 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9234 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9235 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9237 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9239 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9242 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9244 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9245 Add wcscpy-ssse3 wcscpy-c.
9246 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9247 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9248 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9249 * sysdeps/x86_64/wcschr.S: New file.
9250 * sysdeps/x86_64/wcsrchr.S: New file.
9251 * string/test-strcmp.c: Remove checking of wcscmp function for
9253 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9254 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9255 wcsrchr-sse2 wcsrchr-c.
9256 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9257 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9258 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9259 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9260 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9261 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9262 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9263 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9264 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9265 * wcsmbc/wcschr.c (WCSCHR): New macro.
9267 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9269 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9270 * wcsmbs/test-wcsrchr.c: New file.
9271 * string/test-strrchr.c: Add wcsrchr support.
9273 * wcsmbs/test-wcscpy.c: New file.
9274 * string/test-strcpy.c: Add wcscpy support.
9277 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9279 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9282 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9285 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9287 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9289 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9290 Minor optimizations.
9292 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9293 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9294 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9296 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9298 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9299 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9300 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9301 for gcc to avoid warnings.
9302 * inet/Makefile (tests): Add tst-checks.
9303 * inet/tst-checks.c: New file.
9305 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9308 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9311 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9312 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9314 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9316 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9318 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9321 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9323 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9325 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9326 conditional on GCC version.
9327 (__arch_compare_and_exchange_val_8_acq)
9328 (__arch_compare_and_exchange_val_16_acq)
9329 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9330 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9331 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9333 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9335 * sysdeps/sh/backtrace.c: New file.
9337 2011-12-02 Andreas Schwab <schwab@redhat.com>
9339 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9342 2011-12-01 Andreas Schwab <schwab@redhat.com>
9344 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9345 falling back to utime.
9347 2011-11-30 Andreas Schwab <schwab@redhat.com>
9349 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9350 expectations for float.
9352 2011-11-29 Andreas Schwab <schwab@redhat.com>
9354 * locale/weight.h (findidx): Add parameter len.
9355 * locale/weightwc.h (findidx): Likewise.
9356 * posix/fnmatch_loop.c (FCT): Adjust caller.
9357 * posix/regcomp.c (build_equiv_class): Likewise.
9358 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9359 * posix/regexec.c (check_node_accept_bytes): Likewise.
9360 * string/strcoll_l.c (STRCOLL): Likewise.
9361 * string/strxfrm_l.c (STRXFRM): Likewise.
9363 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9365 * Makefile.in: Remove CVSOPT handling.
9366 * configure.in: Remove use of AC_REVISION.
9367 * iconvdata/Makefile (distribute): No need to filter out CVS.
9368 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9371 2011-11-16 Andreas Schwab <schwab@redhat.com>
9373 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9374 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9375 [USE_AS_STRNCASECMP_L]: Likewise.
9376 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9377 NO_TLS_DIRECT_SEG_REFS.
9378 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9379 Fix argument offsets for non-PIC.
9380 [USE_AS_STRNCASECMP_L]: Likewise.
9381 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9382 NO_TLS_DIRECT_SEG_REFS.
9384 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9386 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9388 * locale/loadlocale.c (_nl_load_locale): Likewise.
9390 2011-11-15 Andreas Schwab <schwab@redhat.com>
9392 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9393 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9394 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9395 (SYSCALL_GETTIME): Set errno on error.
9397 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9398 count references to noai6ai_cached.
9400 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9402 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9404 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9405 FD_CLOEXEC for /proc/self/maps.
9407 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9408 FD_CLOEXEC for /proc/meminfo.
9410 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9413 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9414 FD_CLOEXEC for given file.
9416 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9418 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9419 FD_CLOEXEC for /etc/hosts.
9420 (_gethtent): Likewise.
9422 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9424 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9425 cancellation and set FD_CLOEXEC for /etc/netgroup.
9427 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9428 reading /etc/publickey.
9430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9431 allow cancellation when reading /etc/group.
9433 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9435 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9437 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9438 when using data file.
9440 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9442 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9443 (write_nis_obj): Use "c" and "e" in fopen.
9445 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9447 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9449 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9451 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9453 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9456 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9458 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9460 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9462 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9463 file parsing and set FD_CLOEXEC.
9465 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9467 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9469 2011-11-14 Andreas Schwab <schwab@redhat.com>
9471 * malloc/arena.c (arena_get2): Don't call reused_arena when
9472 _int_new_arena failed.
9474 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9476 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9477 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9478 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9479 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9480 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9481 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9482 to compile strcasecmp and strncasecmp.
9483 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9484 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9486 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9488 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9490 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9491 locale-defines.sym to gen-as-const-headers.
9492 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9493 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9495 to compile strcasecmp and strncasecmp.
9496 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9497 strcasecmp_l and strncasecmp_l.
9498 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9499 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9500 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9501 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9502 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9503 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9504 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9505 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9506 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9507 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9508 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9510 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9512 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9513 result of SYSDEP_GETTIME_CPU to retval.
9514 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9515 parameter list to macro. Remove trailing semicolon. Adjust users.
9517 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9520 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9522 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9524 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9525 from unused variable.
9527 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9529 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9532 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9535 * sunrpc/rpc_prot.c (rejected): Fix case value.
9537 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9538 unsigned long long int to avoid warnings in shift.
9540 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9542 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9545 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9546 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9547 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9549 * nis/nis_table.c (nis_list): Use variable of correct type for
9550 result of __follow_path call.
9552 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9554 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9555 of math functions ceil, trunc, floor, round, and sqrt, when
9556 avaliable on the platform.
9557 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9559 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9560 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9561 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9563 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9565 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9566 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9568 2011-11-11 Roland McGrath <roland@hack.frob.com>
9570 * include/unistd.h: Fix __readlink return type.
9571 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9573 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9575 * stdlib/ucontext.h: Undo last change for makecontext.
9577 2011-11-11 Andreas Schwab <schwab@redhat.com>
9579 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9581 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9582 * setjmp/setjmp.h: Mark functions as non-leaf.
9583 * setjmp/bits/setjmp2.h: Likewise.
9584 * stdlib/ucontext.h: Likewise.
9586 2011-11-10 Andreas Schwab <schwab@redhat.com>
9588 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9589 (reused_arena): Don't check arena limit.
9590 (arena_get2): Atomically check arena limit.
9592 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9594 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9595 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9597 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9600 2011-11-07 Andreas Schwab <schwab@redhat.com>
9602 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9603 handler when locking.
9605 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9606 Fix size of allocated buffer.
9608 2011-11-04 Andreas Schwab <schwab@redhat.com>
9611 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9612 declarations for long double functions.
9613 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9615 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9617 2011-11-03 Andreas Schwab <schwab@redhat.com>
9619 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9622 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9625 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9627 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9629 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9631 * include/alloca.h (stackinfo_alloca_round): Define.
9632 (extend_alloca): Use it.
9633 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9634 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9637 * scripts/check-local-headers.sh: Ignore libaudit.h.
9639 * nscd/Makefile (extra-objs): Make recursively expanded.
9641 2011-11-01 Ulrich Drepper <drepper@gmail.com>
9643 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9644 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9646 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9647 * posix/tst-rfc3484-2.c: Likewise.
9648 * posix/tst-rfc3484-3.c: Likewise.
9650 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9652 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9654 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9655 process_vm_writev from libc using GLIBC_2.15 version.
9657 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9659 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9661 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9664 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9667 * nss/getent.c (initgroups_keys): Show error message in case no group
9670 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9671 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9672 __bump_nl_timestamp.
9673 * nscd/connections (nscd_init): When host database is served open
9674 netlink socket and request notification about configuration changes.
9675 (main_loop_poll): Track netlink file descriptor and bump timestamp
9676 in case data becomes available.
9677 (main_loop_epoll): Likewise.
9678 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9679 (database_pers_head): Add extra_data fileds.
9680 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9681 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9682 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9684 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9685 in6ai data, call __free_in6ai.
9686 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9688 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9689 interface information. Reuse previous data if netlink timestamp
9691 (__bump_nl_timestamp): New function.
9692 (__free_in6ai): New function.
9694 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9696 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9697 close_not_cancel_no_status here.
9698 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9700 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9703 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9706 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9707 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9708 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9710 2011-07-03 Andreas Jaeger <aj@suse.de>
9713 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9714 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9715 * math/libm-test.inc (sin_test): Add test case.
9717 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9720 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9721 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9723 * elf/chroot_canon.c (chroot_canon): Cleanups.
9725 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9728 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9729 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9731 * string/test-strchr.c: Make usable for strchrnul testing.
9732 * string/test-strchrnul.c: New file.
9733 * string/Makefile (strop-tests): Add strchrnul.
9735 * po/it.po: Update from translation team.
9736 * po/es.po: Likewise.
9738 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9740 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9741 the three constants needed as parameters. Drop the others.
9742 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9743 __m128i_strloadu_tolower.
9744 Create and initialize variable zero and use it in all the places
9745 where _mm_setzero_si128 was used.
9747 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9748 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9749 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9750 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9752 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9753 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9754 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9755 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9756 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9757 __mpranred, __mptan.
9758 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9759 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9760 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9761 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9762 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9763 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9764 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9765 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9766 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9768 2011-10-28 Andreas Schwab <schwab@redhat.com>
9770 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9772 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9775 wide char related routines to wcsmbs subdir.
9777 2011-10-27 Andreas Schwab <schwab@redhat.com>
9780 * misc/sys/cdefs.h (__THROWNL): Define.
9781 * posix/unistd.h: Use __THREADNL instead of __THREAD
9782 for memory synchronization functions.
9784 2011-10-26 Roland McGrath <roland@hack.frob.com>
9787 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9789 * manual/stdio.texi (Obstack Streams): Node removed.
9791 2011-10-26 Andreas Schwab <schwab@redhat.com>
9793 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9794 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9795 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9797 * math/math_private.h (math_force_eval): Allow non-addressable
9799 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9801 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9803 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9806 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9807 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9808 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9809 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9810 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9811 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9812 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9813 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9815 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9816 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9817 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9818 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9819 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9820 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9821 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9822 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9823 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9824 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9825 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9826 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9827 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9828 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9829 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9830 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9831 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9832 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9833 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9835 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9836 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9838 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9839 place. Use VEX encoding when compiling for AVX.
9841 2011-10-25 Andreas Schwab <schwab@redhat.com>
9843 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9844 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9846 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9848 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9850 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9851 useless if() expression.
9852 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9853 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9854 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9855 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9856 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9857 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9858 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9859 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9860 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9861 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9862 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9863 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9864 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9865 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9866 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9867 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9868 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9869 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9870 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9872 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9874 2011-10-25 Andreas Schwab <schwab@redhat.com>
9876 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9878 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9880 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9882 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9883 .text section. Avoid duplicate constants.
9884 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9885 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9886 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9888 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9891 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9892 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9893 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9894 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9895 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9896 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9897 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9898 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9899 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9900 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9901 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9902 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9903 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9904 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9905 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9906 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9907 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9908 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9909 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9910 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9911 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9912 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9913 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9914 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9915 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9916 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9917 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9918 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9919 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9920 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9921 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9922 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9923 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9924 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9925 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9926 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9927 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9928 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9930 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9932 * sysdeps/x86_64/dla.h: Move to ...
9933 * sysdeps/x86_64/fpu/dla.h: ...here.
9934 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9935 situations. Use __builtin_fma only for gcc 4.6 and up.
9937 * config.make.in: Add have-mfma4 entry.
9938 * configure.in: Substitute libc_cv_cc_fma4.
9939 * math/Makefile (dbl-only-routines): Add sincostab.
9940 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9941 Use __sincostab not sincos.
9942 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9944 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9945 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9946 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9949 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9950 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9951 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9952 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9954 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9955 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9957 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9958 define aliases when function name is a macro.
9959 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9960 sysdeps/ieee754/dbl-64/sincos.tbl.
9961 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9962 fma4-enabled routines.
9963 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9964 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9965 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9966 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9967 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9968 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9969 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9970 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9971 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9972 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9973 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9974 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9975 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9976 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9977 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9978 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9979 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9980 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9981 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9982 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9983 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9984 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9985 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9986 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9987 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9988 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9989 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9990 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9991 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9992 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9994 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10002 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10005 2011-10-24 Andreas Schwab <schwab@redhat.com>
10007 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10009 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10011 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10013 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10015 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10017 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10018 Remove unused variable magic_bits.
10019 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10021 * string/strnlen.c: Define and use STRNLEN macro.
10022 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10023 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10024 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10025 * wcsmbs/wcslen.c: Define and use WCSLEN.
10026 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10027 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10028 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10029 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10030 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10031 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10032 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10034 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10036 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10037 strnlen-sse2-no-bsf.
10038 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10039 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10040 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10041 Add strnlen support.
10042 (USE_AS_STRNLEN): New macro.
10043 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10044 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10045 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10046 * sysdeps/x86_64/wcslen.S: New file.
10048 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10050 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10051 XMM-moves are used for copying on small sizes.
10053 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10055 * wcsmbs/Makefile (strop-tests): Add wcschr.
10056 * wcsmbs/test-wcschr.c: New file.
10057 * string/test-strchr.c: Update.
10058 Add wcschr support.
10061 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10063 * wcsmbs/Makefile (strop-tests): Add wcslen.
10064 * wcsmbs/test-wcslen.c: New file.
10065 * string/test-strlen.c: Update.
10066 Add wcslen support.
10069 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10071 * po/it.po: Update from translation team.
10073 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10075 * sysdeps/x86_64/wcscmp.S: Update.
10076 Fix wrong comparison semantics.
10077 wcscmp shall use signed comparison not unsigned.
10078 Don't use substraction to avoid overflow bug.
10079 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10080 * wcsmbc/wcscmp.c: Likewise.
10081 * string/test-strcmp.c: Likewise.
10082 Add new tests to check cases with negative values.
10084 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10086 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10087 * sysdeps/x86_64/dla.h: ...here. New file.
10088 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10089 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10098 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10100 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10101 __ynl_finite aliases.
10103 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10107 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10109 [DLA_FMA] (EMULV): Use DLA_FMA.
10110 [DLA_FMA] (MUL12): Use EMULV.
10111 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10112 that are not needed.
10113 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10121 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10123 * math/s_nan.c: Undef __nan.
10124 * math/s_nanf.c: Undef __nanf.
10125 * math/s_nanl.c: Undef __nanl.
10126 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10129 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10131 * math/s_catan.c: Add branch predictions.
10132 * math/s_catanf.c: Likewise.
10133 * math/s_catanh.c: Likewise.
10134 * math/s_catanhf.c: Likewise.
10135 * math/s_catanhl.c: Likewise.
10136 * math/s_catanl.c: Likewise.
10137 * math/s_cexp.c: Likewise.
10138 * math/s_cexpf.c: Likewise.
10139 * math/s_cexpl.c: Likewise.
10140 * math/s_clog.c: Likewise.
10141 * math/s_clog10.c: Likewise.
10142 * math/s_clog10f.c: Likewise.
10143 * math/s_clog10l.c: Likewise.
10144 * math/s_clogf.c: Likewise.
10145 * math/s_clogl.c: Likewise.
10146 * math/s_csqrt.c: Likewise.
10147 * math/s_csqrtf.c: Likewise.
10148 * math/s_csqrtl.c: Likewise.
10149 * math/s_ctanf.c: Likewise.
10150 * math/s_ctanh.c: Likewise.
10151 * math/s_ctanhf.c: Likewise.
10152 * math/s_ctanhl.c: Likewise.
10153 * math/s_ctanl.c: Likewise.
10155 * math/math_private.h: Define __nan, __nanf, __nanl.
10156 * math/s_cacosh.c: Include <math_private.h>.
10157 * math/s_cacoshl.c: Likewise.
10158 * math/s_casinh.c: Likewise.
10159 * math/s_casinhf.c: Likewise.
10160 * math/s_casinhl.c: Likewise.
10161 * math/s_ccos.c: Rely entire on ccosh.
10162 * math/s_ccosf.c: Rely entire on ccoshf.
10163 * math/s_ccosl.c: Rely entirely on ccoshl.
10164 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10165 Remove tests for FE_INVALID.
10166 * math/s_ccoshf.c: Likewise.
10167 * math/s_ccoshl.c: Likewise.
10168 * math/s_csin.c: Likewise.
10169 * math/s_csinf.c: Likewise.
10170 * math/s_csinh.c Likewise.
10171 * math/s_csinhf.c: Likewise.
10172 * math/s_csinhl.c: Likewise.
10173 * math/s_csinl.c: Likewise.
10174 * math/s_ctan.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10176 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10177 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10179 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10182 compilation problems.
10184 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10187 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10189 * sysdeps/i386/configure.in: Test for -mfma4 option.
10190 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10191 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10192 COMMON_CPUID_INDEX_80000001.
10193 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10194 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10195 use it if FMA3 is not supported.
10196 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10198 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10199 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10201 2011-10-20 Andreas Schwab <schwab@redhat.com>
10204 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10205 it would create a cycle with a link time dependency.
10207 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10209 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10211 * string/Makefile (strop-tests): Add rawmemchr.
10212 * string/test-rawmemchr.c: New file.
10214 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10215 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10216 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10217 when compiling str{,n}casecmp and when AVX is available. Hook up
10218 new optimized code in initializers.
10220 2011-10-19 Andreas Schwab <schwab@redhat.com>
10222 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10223 __feraiseexcept instead of feraiseexcept.
10225 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10227 * math/math_private.h: Define defaults for libc_fetestexcept and
10229 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10230 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10231 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10232 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10233 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10234 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10235 libc_fetestexcept and libc_feupdateenv.
10237 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10238 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10239 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10240 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10241 libc_feholdexcept_setround.
10243 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10244 Add s_nearbyint-c and s_nearbyintf-c.
10245 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10246 nearbyintf inlines.
10247 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10248 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10249 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10250 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10252 * math/math_private.h: Define defaults for libc_fegetround,
10253 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10254 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10255 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10256 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10257 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10258 standard functions.
10259 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10260 Remove comments and hacks for old compiler versions.
10261 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10262 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10263 libc_feholdexceptl.
10265 2011-10-18 Andreas Schwab <schwab@redhat.com>
10267 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10268 (__feraiseexcept_renamed): Add __NTH.
10269 (feraiseexcept): Add __NTH. Rename local variables to fix
10270 namespace violations.
10272 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10274 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10276 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10278 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10279 recently added interfaces.
10280 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10282 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10283 about macro parameter expansion.
10285 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10286 __NO_MATH_INLINES is defined. Cleanups.
10288 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10289 and __floorf is target has SSE4.1.
10290 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10291 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10292 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10293 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10295 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10297 (floorf): Likewise.
10299 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10301 2011-10-17 Andreas Schwab <schwab@redhat.com>
10303 * misc/sys/cdefs.h: Fix last change.
10305 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10308 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10310 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10312 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10313 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10314 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10315 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10316 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10317 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10318 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10319 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10320 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10321 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10322 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10323 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10324 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10325 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10326 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10327 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10328 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10329 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10330 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10331 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10332 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10333 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10335 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10336 ceil, ceilf, floor, floorf.
10338 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10339 Perform IRELATIVE relocations last.
10341 * elf/do-rel.h: Add another parameter nrelative, replacing the
10342 local variable with the same name. Change name of the function
10343 to end in Rel or Rela (uppercase).
10344 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10345 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10346 elf_dynamic_do_##reloc function.
10348 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10350 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10351 is sufficient, at least on modern CPUs.
10353 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10355 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10356 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10358 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10360 * math/bits/math-finite.h: Add entries for exp.
10361 * math/e_expl.c: Add __*_finite alias.
10362 * sysdeps/i386/fpu/e_exp.S: Likewise.
10363 * sysdeps/i386/fpu/e_expf.S: Likewise.
10364 * sysdeps/i386/fpu/e_expl.c: Likewise.
10365 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10366 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10367 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10368 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10369 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10370 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10371 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10373 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10374 is sufficient, at least on modern CPUs.
10376 * ctype/ctype-info.c (__ctype_init): Define.
10377 * include/ctype.h (__ctype_init): Declare.
10378 (__ctype_b_loc): The variable is always initialized.
10379 (__ctype_toupper_loc): Likewise.
10380 (__ctype_tolower_loc): Likewise.
10381 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10382 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10384 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10386 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10388 * configure.in: Also look in $cxxmachine/include for C++ system
10391 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10393 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10394 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10395 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10396 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10397 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10398 (USE_AS_WMEMCMP): New macro.
10400 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10401 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10402 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10403 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10405 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10406 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10407 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10408 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10409 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10410 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10411 (USE_AS_WMEMCMP): New macro.
10412 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10413 * sysdeps/string/test-memcmp.c: Update.
10414 Fix simple_wmemcmp.
10416 * wcsmbs/wmemcmp.c: Update.
10417 (WMEMCMP): New macro.
10420 2011-10-12 Andreas Jaeger <aj@suse.de>
10423 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10425 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10427 * libio/iofwide.c (do_length): Avoid warning.
10429 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10431 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10433 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10435 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10436 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10437 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10438 * sysdeps/i386/i686/fpu/e_log.S: New file.
10439 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10440 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10442 * ctype/ctype.h: Add support for inlined isXXX functions when
10443 compiling C++ code.
10445 2011-10-14 Andreas Schwab <schwab@redhat.com>
10447 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10449 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10451 2011-10-13 Roland McGrath <roland@hack.frob.com>
10454 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10456 2011-10-13 Andreas Schwab <schwab@redhat.com>
10458 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10459 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10462 * sysdeps/x86_64/memrchr.S: Check for zero size.
10464 * string/stratcliff.c: Add memrchr tests.
10466 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10468 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10469 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10470 rawmemchr-sse2 rawmemchr-sse2-bsf.
10471 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10472 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10473 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10474 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10475 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10476 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10477 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10478 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10479 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10480 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10481 * string/memrchr.c (MEMRCHR): New macro.
10483 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10485 Add integration with gcc's -ffinite-math-only and optimize wrapper
10487 * Versions.def: Define GLIBC_2.15 version for libm.
10488 * math/Makefile (headers): Add bits/math-finite.h.
10489 * math/bits/math-finite.h: New file.
10490 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10491 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10492 * math/e_acoshl.c: Add __*_finite alias.
10493 * math/e_acosl.c: Likewise.
10494 * math/e_asinl.c: Likewise.
10495 * math/e_atan2l.c: Likewise.
10496 * math/e_atanhl.c: Likewise.
10497 * math/e_coshl.c: Likewise.
10498 * math/e_exp10.c: Likewise.
10499 * math/e_exp10f.c: Likewise.
10500 * math/e_exp10l.c: Likewise.
10501 * math/e_exp2l.c: Likewise.
10502 * math/e_fmodl.c: Likewise.
10503 * math/e_gammal_r.c: Likewise.
10504 * math/e_hypotl.c: Likewise.
10505 * math/e_j0l.c: Likewise.
10506 * math/e_j1l.c: Likewise.
10507 * math/e_jnl.c: Likewise.
10508 * math/e_lgammal_r.c: Likewise.
10509 * math/e_log10l.c: Likewise.
10510 * math/e_log2l.c: Likewise.
10511 * math/e_logl.c: Likewise.
10512 * math/e_powl.c: Likewise.
10513 * math/e_sinhl.c: Likewise.
10514 * math/e_sqrtl.c: Likewise.
10515 * math/e_scalb.c: Completely rewritten and optimized.
10516 * math/e_scalbf.c: Likewise.
10517 * math/e_scalbl.c: Likewise.
10518 * math/w_acos.c: Likewise.
10519 * math/w_acosf.c: Likewise.
10520 * math/w_acosl.c: Likewise.
10521 * math/w_acosh.c: Likewise.
10522 * math/w_acoshf.c: Likewise.
10523 * math/w_acoshl.c: Likewise.
10524 * math/w_asin.c: Likewise.
10525 * math/w_asinf.c: Likewise.
10526 * math/w_asinl.c: Likewise.
10527 * math/w_atan2.c: Likewise.
10528 * math/w_atan2f.c: Likewise.
10529 * math/w_atan2l.c: Likewise.
10530 * math/w_atanh.c: Likewise.
10531 * math/w_atanhf.c: Likewise.
10532 * math/w_atanhl.c: Likewise.
10533 * math/w_exp10.c: Likewise.
10534 * math/w_exp10f.c: Likewise.
10535 * math/w_exp10l.c: Likewise.
10536 * math/w_fmod.c: Likewise.
10537 * math/w_fmodf.c: Likewise.
10538 * math/w_fmodl.c: Likewise.
10539 * math/w_j0.c: Likewise.
10540 * math/w_j0f.c: Likewise.
10541 * math/w_j0l.c: Likewise.
10542 * math/w_j1.c: Likewise.
10543 * math/w_j1f.c: Likewise.
10544 * math/w_j1l.c: Likewise.
10545 * math/w_jn.c: Likewise.
10546 * math/w_jnf.c: Likewise.
10547 * math/w_log.c: Likewise.
10548 * math/w_logf.c: Likewise.
10549 * math/w_logl.c: Likewise.
10550 * math/w_log10.c: Likewise.
10551 * math/w_log10f.c: Likewise.
10552 * math/w_log10l.c: Likewise.
10553 * math/w_log2.c: Likewise.
10554 * math/w_log2f.c: Likewise.
10555 * math/w_log2l.c: Likewise.
10556 * math/w_pow.c: Likewise.
10557 * math/w_powf.c: Likewise.
10558 * math/w_powl.c: Likewise.
10559 * math/w_remainder.c: Likewise.
10560 * math/w_remainderf.c: Likewise.
10561 * math/w_remainderl.c: Likewise.
10562 * math/w_scalb.c: Likewise.
10563 * math/w_scalbf.c: Likewise.
10564 * math/w_scalbl.c: Likewise.
10565 * math/w_sqrt.c: Likewise.
10566 * math/w_sqrtf.c: Likewise.
10567 * math/w_sqrtl.c: Likewise.
10568 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10569 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10571 * math/math_private.h: Declare __kernel_standard_f.
10572 * math/w_cosh.c: Remove cruft and optimize a bit.
10573 * math/w_coshf.c: Likewise.
10574 * math/w_coshl.c: Likewise.
10575 * math/w_exp2.c: Likewise.
10576 * math/w_exp2f.c: Likewise.
10577 * math/w_exp2l.c: Likewise.
10578 * math/w_hypot.c: Likewise.
10579 * math/w_hypotf.c: Likewise.
10580 * math/w_hypotl.c: Likewise.
10581 * math/w_lgamma.c: Likewise.
10582 * math/w_lgamma_r.c: Likewise.
10583 * math/w_lgammaf.c: Likewise.
10584 * math/w_lgammaf_r.c: Likewise.
10585 * math/w_lgammal.c: Likewise.
10586 * math/w_lgammal_r.c: Likewise.
10587 * math/w_sinh.c: Likewise.
10588 * math/w_sinhf.c: Likewise.
10589 * math/w_sinhl.c: Likewise.
10590 * math/w_tgamma.c: Likewise.
10591 * math/w_tgammaf.c: Likewise.
10592 * math/w_tgammal.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10594 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10595 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10596 Minor optimizations. Pretty printing. Remove cruft.
10597 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10598 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10599 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10600 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10601 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10602 * sysdeps/i386/fpu/e_asin.S: Likewise.
10603 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10604 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10605 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10606 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10607 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10608 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10609 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10610 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10611 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10612 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10613 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10614 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10615 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10616 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10617 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10618 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10619 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10620 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10621 * sysdeps/i386/fpu/e_log.S: Likewise.
10622 * sysdeps/i386/fpu/e_log10.S: Likewise.
10623 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10624 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10625 * sysdeps/i386/fpu/e_log2.S: Likewise.
10626 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10627 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10628 * sysdeps/i386/fpu/e_logf.S: Likewise.
10629 * sysdeps/i386/fpu/e_logl.S: Likewise.
10630 * sysdeps/i386/fpu/e_pow.S: Likewise.
10631 * sysdeps/i386/fpu/e_powf.S: Likewise.
10632 * sysdeps/i386/fpu/e_powl.S: Likewise.
10633 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10634 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10635 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10636 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10637 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10638 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10639 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10640 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10641 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10642 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10643 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10644 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10645 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10646 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10647 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10649 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10653 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10655 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10657 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10658 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10659 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10660 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10662 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10663 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10664 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10665 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10666 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10667 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10668 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10669 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10670 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10671 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10672 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10673 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10674 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10675 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10676 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10677 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10678 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10679 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10680 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10681 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10682 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10683 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10684 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10685 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10686 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10687 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10688 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10689 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10690 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10691 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10692 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10693 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10694 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10695 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10696 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10697 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10698 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10699 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10700 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10701 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10702 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10703 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10705 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10706 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10707 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10710 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10711 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10712 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10713 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10716 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10717 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10718 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10719 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10720 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10721 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10722 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10723 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10724 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10725 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10726 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10727 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10728 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10729 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10730 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10732 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10733 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10734 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10735 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10736 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10737 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10738 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10739 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10740 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10741 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10742 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10743 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10744 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10745 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10746 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10747 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10748 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10749 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10750 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10751 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10752 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10753 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10754 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10755 (__isnanf): Likewise.
10756 (__isinf_ns): Likewise.
10757 (__isinf_nsf): Likewise.
10758 (__finite): Likewise.
10759 (__finitef): Likewise.
10760 (__ieee754_sqrt): Define as macro.
10761 (__ieee754_sqrtf): Define as macro.
10762 (__ieee754_sqrtl): Define as macro.
10763 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10765 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10766 __FINITE_MATH_ONLY__ consistent.
10767 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10769 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10771 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10774 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10776 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10778 * po/ja.po: Update from translation team.
10780 2011-10-08 Roland McGrath <roland@hack.frob.com>
10782 * locale/programs/locarchive.c (prepare_address_space): New function.
10783 (create_archive, enlarge_archive, open_archive): Use it.
10785 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10786 inside [SHARED], where it is used.
10788 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10790 * nss/getent.c (netgroup_keys): Remove unused variable.
10791 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10793 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10795 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10796 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10797 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10798 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10799 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10800 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10801 * math/Makefile (libm-calls): Add s_isinf_ns.
10802 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10803 * math/multc3.c: Likewise.
10804 * math/s_casin.c: Likewise.
10805 * math/s_casinf.c: Likewise.
10806 * math/s_casinl.c: Likewise.
10807 * math/s_ccos.c: Likewise.
10808 * math/s_ccosf.c: Likewise.
10809 * math/s_ccosl.c: Likewise.
10810 * math/s_ctan.c: Likewise.
10811 * math/s_ctanf.c: Likewise.
10812 * math/s_ctanh.c: Likewise.
10813 * math/s_ctanhf.c: Likewise.
10814 * math/s_ctanhl.c: Likewise.
10815 * math/s_ctanl.c: Likewise.
10816 * math/w_fmod.c: Likewise.
10817 * math/w_fmodf.c: Likewise.
10818 * math/w_fmodl.c: Likewise.
10819 * math/w_remainder.c: Likewise.
10820 * math/w_remainderf.c: Likewise.
10821 * math/w_remainderl.c: Likewise.
10822 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10823 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10824 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10825 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10826 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10827 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10828 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10829 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10831 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10833 * stdio-common/printf_fphex.c: Likewise.
10834 * stdio-common/printf_size.c: Likewise.
10836 * math/e_exp10.c: Include math_private.h using <...> not "...".
10837 * math/e_exp10f.c: Likewise.
10838 * math/e_exp10l.c: Likewise.
10839 * math/e_exp2l.c: Likewise.
10840 * math/e_j0l.c: Likewise.
10841 * math/e_j1l.c: Likewise.
10842 * math/e_jnl.c: Likewise.
10843 * math/e_lgammal_r.c: Likewise.
10844 * math/e_rem_pio2l.c: Likewise.
10845 * math/e_scalb.c: Likewise.
10846 * math/e_scalbf.c: Likewise.
10847 * math/e_scalbl.c: Likewise.
10848 * math/k_cosl.c: Likewise.
10849 * math/k_sinl.c: Likewise.
10850 * math/k_tanl.c: Likewise.
10851 * math/s_cacoshf.c: Likewise.
10852 * math/s_catan.c: Likewise.
10853 * math/s_catanf.c: Likewise.
10854 * math/s_catanh.c: Likewise.
10855 * math/s_catanhf.c: Likewise.
10856 * math/s_catanhl.c: Likewise.
10857 * math/s_catanl.c: Likewise.
10858 * math/s_ccosh.c: Likewise.
10859 * math/s_ccoshf.c: Likewise.
10860 * math/s_ccoshl.c: Likewise.
10861 * math/s_cexp.c: Likewise.
10862 * math/s_cexpf.c: Likewise.
10863 * math/s_cexpl.c: Likewise.
10864 * math/s_clog.c: Likewise.
10865 * math/s_clog10.c: Likewise.
10866 * math/s_clog10f.c: Likewise.
10867 * math/s_clog10l.c: Likewise.
10868 * math/s_clogf.c: Likewise.
10869 * math/s_clogl.c: Likewise.
10870 * math/s_csin.c: Likewise.
10871 * math/s_csinf.c: Likewise.
10872 * math/s_csinh.c: Likewise.
10873 * math/s_csinhf.c: Likewise.
10874 * math/s_csinhl.c: Likewise.
10875 * math/s_csinl.c: Likewise.
10876 * math/s_csqrt.c: Likewise.
10877 * math/s_csqrtf.c: Likewise.
10878 * math/s_csqrtl.c: Likewise.
10879 * math/s_ctan.c: Likewise.
10880 * math/s_ctanf.c: Likewise.
10881 * math/s_ctanh.c: Likewise.
10882 * math/s_ctanhf.c: Likewise.
10883 * math/s_ctanhl.c: Likewise.
10884 * math/s_ctanl.c: Likewise.
10885 * math/s_ldexp.c: Likewise.
10886 * math/s_ldexpf.c: Likewise.
10887 * math/s_ldexpl.c: Likewise.
10888 * math/s_significand.c: Likewise.
10889 * math/s_significandf.c: Likewise.
10890 * math/s_significandl.c: Likewise.
10891 * math/w_acos.c: Likewise.
10892 * math/w_acosf.c: Likewise.
10893 * math/w_acosh.c: Likewise.
10894 * math/w_acoshf.c: Likewise.
10895 * math/w_acoshl.c: Likewise.
10896 * math/w_acosl.c: Likewise.
10897 * math/w_asin.c: Likewise.
10898 * math/w_asinf.c: Likewise.
10899 * math/w_asinl.c: Likewise.
10900 * math/w_atan2.c: Likewise.
10901 * math/w_atan2f.c: Likewise.
10902 * math/w_atan2l.c: Likewise.
10903 * math/w_atanh.c: Likewise.
10904 * math/w_atanhf.c: Likewise.
10905 * math/w_atanhl.c: Likewise.
10906 * math/w_cosh.c: Likewise.
10907 * math/w_coshf.c: Likewise.
10908 * math/w_coshl.c: Likewise.
10909 * math/w_dremf.c: Likewise.
10910 * math/w_exp10.c: Likewise.
10911 * math/w_exp10f.c: Likewise.
10912 * math/w_exp10l.c: Likewise.
10913 * math/w_exp2.c: Likewise.
10914 * math/w_exp2f.c: Likewise.
10915 * math/w_fmod.c: Likewise.
10916 * math/w_fmodf.c: Likewise.
10917 * math/w_fmodl.c: Likewise.
10918 * math/w_hypot.c: Likewise.
10919 * math/w_hypotf.c: Likewise.
10920 * math/w_hypotl.c: Likewise.
10921 * math/w_j0.c: Likewise.
10922 * math/w_j0f.c: Likewise.
10923 * math/w_j0l.c: Likewise.
10924 * math/w_j1.c: Likewise.
10925 * math/w_j1f.c: Likewise.
10926 * math/w_j1l.c: Likewise.
10927 * math/w_jn.c: Likewise.
10928 * math/w_jnf.c: Likewise.
10929 * math/w_jnl.c: Likewise.
10930 * math/w_lgamma.c: Likewise.
10931 * math/w_lgamma_r.c: Likewise.
10932 * math/w_lgammaf.c: Likewise.
10933 * math/w_lgammaf_r.c: Likewise.
10934 * math/w_lgammal.c: Likewise.
10935 * math/w_lgammal_r.c: Likewise.
10936 * math/w_log.c: Likewise.
10937 * math/w_log10.c: Likewise.
10938 * math/w_log10f.c: Likewise.
10939 * math/w_log10l.c: Likewise.
10940 * math/w_log2.c: Likewise.
10941 * math/w_log2f.c: Likewise.
10942 * math/w_log2l.c: Likewise.
10943 * math/w_logf.c: Likewise.
10944 * math/w_logl.c: Likewise.
10945 * math/w_pow.c: Likewise.
10946 * math/w_powf.c: Likewise.
10947 * math/w_powl.c: Likewise.
10948 * math/w_remainder.c: Likewise.
10949 * math/w_remainderf.c: Likewise.
10950 * math/w_remainderl.c: Likewise.
10951 * math/w_scalb.c: Likewise.
10952 * math/w_scalbf.c: Likewise.
10953 * math/w_scalbl.c: Likewise.
10954 * math/w_sinh.c: Likewise.
10955 * math/w_sinhf.c: Likewise.
10956 * math/w_sinhl.c: Likewise.
10957 * math/w_sqrt.c: Likewise.
10958 * math/w_sqrtf.c: Likewise.
10959 * math/w_sqrtl.c: Likewise.
10960 * math/w_tgamma.c: Likewise.
10961 * math/w_tgammaf.c: Likewise.
10962 * math/w_tgammal.c: Likewise.
10964 * po/ja.po: Update from translation team.
10966 2011-09-29 Andreas Jaeger <aj@suse.de>
10969 * sunrpc/netname.c (netname2host): Fix logic.
10973 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10975 * math/w_remainder.c (__remainder): Likewise.
10976 * math/w_remainderf.c (__remainderf): Likewise.
10977 * math/libm-test.inc (remainder_test): Add test cases.
10979 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10981 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10984 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10986 * string/test-memcmp.c: Avoid unncessary #defines.
10987 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10989 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10991 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10992 Use new sse2 version for core i3 - i7 as it's faster
10993 than sse42 version.
10994 (bit_Prefer_PMINUB_for_stringop): New.
10995 * sysdeps/x86_64/rawmemchr.S: Update.
10996 Replace with faster SSE2 version.
10997 * sysdeps/x86_64/memrchr.S: New file.
10998 * sysdeps/x86_64/memchr.S: Update.
10999 Replace with faster SSE2 version.
11001 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11003 * elf/dl-load.c (lose): Add cast to avoid warning.
11005 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11007 * po/ca.po: Update from translation team.
11009 * inet/getnetgrent_r.c: Hook up nscd.
11010 * nscd/Makefile (routines): Add nscd_netgroup.
11011 (nscd-modules): Add netgroupcache.
11012 (CFLAGS-netgroupcache.c): Define.
11013 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11014 (cache_search): Add const to second parameter.
11015 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11017 (dbs): Add netgrdb entry.
11018 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11019 (verify_persistent_db): Handle netgrdb.
11020 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11021 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11023 (netgroup_response_header): Define.
11024 (innetgroup_response_header): Define.
11025 (datahead): Add netgroup_response_header and innetgroup_response_header
11027 * nscd/nscd.conf: Add entries for netgroup cache.
11028 * nscd/nscd.h (dbtype): Add netgrdb.
11029 (_PATH_NSCD_NETGROUP_DB): Define.
11030 (netgroup_iov_disabled): Declare.
11031 (xmalloc, xcalloc, xrealloc): Move declarations here.
11032 (cache_search): Adjust prototype.
11033 Add netgroup-related prototypes.
11034 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11035 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11036 (__nscd_innetgr): Declare.
11037 * nscd/selinux.c (perms): Use access_vector_t as element type and
11038 add netgroup-related initializers.
11039 * nscd/netgroupcache.c: New file.
11040 * nscd/nscd_netgroup.c: New file.
11041 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11042 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11043 For four parameters use innetgr.
11044 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11045 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11046 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11047 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11049 * nscd/connections.c (register_traced_file): Don't register file
11050 for disabled databases.
11052 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11054 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11056 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11057 from tree and freeing node.
11059 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11061 * nss/nsswitch.c (__nss_database_lookup): Handle
11062 nss_parse_service_list out of memory case.
11064 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11066 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11067 out of memory case.
11069 2011-10-04 Andreas Schwab <schwab@redhat.com>
11071 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11072 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11074 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11075 elf_machine_rela, elf_machine_lazy_rel.
11076 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11077 (ELF_DYNAMIC_DO_REL): Likewise.
11078 (ELF_DYNAMIC_DO_RELA): Likewise.
11079 (ELF_DYNAMIC_RELOCATE): Likewise.
11080 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11081 to ELF_DYNAMIC_DO_REL.
11082 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11083 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11084 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11086 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11087 skip_ifunc, don't call ifunc function if non-zero.
11088 (elf_machine_rela): Likewise.
11089 (elf_machine_lazy_rel): Likewise.
11090 (elf_machine_lazy_rela): Likewise.
11091 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11092 (elf_machine_lazy_rel): Likewise.
11093 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11095 (elf_machine_lazy_rel): Likewise.
11096 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11098 (elf_machine_lazy_rel): Likewise.
11099 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11100 (elf_machine_lazy_rel): Likewise.
11101 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11102 (elf_machine_lazy_rel): Likewise.
11103 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11104 (elf_machine_lazy_rel): Likewise.
11105 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11106 (elf_machine_lazy_rel): Likewise.
11107 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11108 (elf_machine_lazy_rel): Likewise.
11109 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11110 (elf_machine_lazy_rel): Likewise.
11112 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11114 * nss/nss_files/files-init.c (_nss_files_init): Use static
11115 initialization for all the *_traced_file variables.
11117 2011-09-28 Andreas Schwab <schwab@redhat.com>
11119 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11121 2011-09-27 Roland McGrath <roland@hack.frob.com>
11124 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11126 2011-09-27 Andreas Schwab <schwab@redhat.com>
11128 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11129 Reread the line before reparsing it.
11131 2011-09-26 Andreas Schwab <schwab@redhat.com>
11133 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11135 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11136 Maxim Kuvyrkov <maxim@codesourcery.com>
11137 Joseph Myers <joseph@codesourcery.com>
11139 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11140 if needed for __stack_chk_guard.
11142 2011-09-19 Roland McGrath <roland@hack.frob.com>
11144 * sysdeps/posix/spawni.c (script_execute): Always define it.
11145 It will be optimized away if unused.
11146 (maybe_script_execute): New function.
11147 (__spawni): Call it.
11149 * Makerules: Don't include tls.make.
11150 (config-tls): Always set to thread.
11151 * tls.make.c: File removed.
11153 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11155 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11156 * config.make.in (CPPFLAGS-config): New substituted variable.
11158 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11160 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11163 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11164 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11166 2011-09-15 Roland McGrath <roland@hack.frob.com>
11168 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11169 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11170 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11171 (CALL_FAIL): Likewise.
11172 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11173 (CALL_FAIL): Macro removed.
11174 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11176 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11178 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11179 for __FINITE_MATH_ONLY__ == 1.
11181 2011-09-15 Andreas Schwab <schwab@redhat.com>
11183 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11184 __ieee754_sqrt instead of sqrt.
11185 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11186 __ieee754_sqrtf instead of sqrtf.
11187 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11188 __floorf instead of floorf.
11189 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11190 __floorf, __truncf instead of floorf, truncf.
11192 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11194 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11196 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11197 __extern_always_inline.
11198 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11201 2011-09-14 Andreas Schwab <schwab@redhat.com>
11203 * elf/rtld.c (dl_main): Also relocate in dependency order when
11204 doing symbol dependency testing.
11206 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11208 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11209 Always define `refsym'.
11211 2011-09-13 Andreas Schwab <schwab@redhat.com>
11213 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11214 (__FD_ELT): Renamed from __FDELT.
11215 * misc/bits/select2.h (__FD_ELT): Likewise.
11216 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11217 __FD_MASK instead of __FDELT, __FDMASK.
11218 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11220 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11223 * elf/Makefile (gen-ldd): Fix pattern.
11225 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11226 (init_tls): Likewise.
11228 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11230 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11232 2011-09-12 Andreas Schwab <schwab@redhat.com>
11234 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11235 `struct cmsghdr *' instead of `void *'.
11236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11239 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11241 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11243 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11244 ldd_rewrite_script.
11246 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11248 * configure.in: Remove --with-tls option.
11249 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11250 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11251 out in case it is missing.
11252 * sysdeps/ia64/elf/configure.in: Likewise.
11253 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11254 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11255 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11256 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11257 * sysdeps/sh/elf/configure.in: Likewise.
11258 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11259 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11260 * sysdeps/x86_64/elf/configure.in: Likewise.
11261 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11262 * sysdeps/mach/hurd/tls.h: Likewise.
11265 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11268 * configure.in: Fix use of AC_INIT.
11270 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11272 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11274 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11276 * malloc/hooks.c: Likewise.
11279 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11280 variables statically.
11281 (narenas): Initialize.
11282 (list_lock): Initialize.
11283 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11284 initializtion of main_arena and list_lock. Small cleanups.
11285 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11286 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11287 Add initializers to main_arena and mp_.
11288 (malloc_state): Remove pagesize member. Change all users to use
11291 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11292 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11293 is always initialized.
11295 * malloc/malloc.c: Removed unused configurations and dead code.
11296 * malloc/arena.c: Likewise.
11297 * malloc/hooks.c: Likewise.
11298 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11300 * include/tls.h: Removed. USE___THREAD must always be defined.
11301 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11302 * elf/dl-libc.c: Likewise.
11303 * elf/dl-tsd.c: Likewise.
11304 * include/errno.h: Likewise.
11305 * include/netdb.h: Likewise.
11306 * include/resolv.h: Likewise.
11307 * inet/herrno-loc.c: Likewise.
11308 * inet/herrno.c: Likewise.
11309 * malloc/arena.c: Likewise.
11310 * malloc/hooks.c: Likewise.
11311 * malloc/malloc.c: Likewise.
11312 * resolv/res-state.c: Likewise.
11313 * resolv/res_libc.c: Likewise.
11314 * sysdeps/i386/dl-machine.h: Likewise.
11315 * sysdeps/ia64/dl-machine.h: Likewise.
11316 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11317 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11318 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11319 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11320 * sysdeps/sh/dl-machine.h: Likewise.
11321 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11322 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11323 * sysdeps/unix/i386/sysdep.S: Likewise.
11324 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11325 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11327 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11328 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11329 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11330 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11331 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11333 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11334 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11335 * sysdeps/x86_64/dl-machine.h: Likewise.
11336 * tls.make.c: Likewise.
11338 * configure.in: Remove --with-__thread option. Make tests for
11339 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11340 tls_model attribute fail if no support is available. Remove
11342 * Makeconfig: Adjust for dropped configure option. All features are
11344 * Makerules: Likewise.
11345 * Versions.def: Likewise.
11346 * argp/argp-fmtstream.c: Likewise.
11347 * argp/argp-fmtstream.h: Likewise.
11348 * argp/argp-help.c: Likewise.
11349 * assert/assert.c: Likewise.
11350 * config.h.in: Likewise.
11351 * config.make.in: Likewise.
11352 * configure: Likewise.
11353 * configure.in: Likewise.
11354 * csu/Versions: Likewise.
11355 * csu/init.c: Likewise.
11356 * elf/tst-audit2.c: Likewise.
11357 * elf/tst-tls10.c: Likewise.
11358 * elf/tst-tls10.h: Likewise.
11359 * elf/tst-tls11.c: Likewise.
11360 * elf/tst-tls12.c: Likewise.
11361 * elf/tst-tls14.c: Likewise.
11362 * elf/tst-tlsmod11.c: Likewise.
11363 * elf/tst-tlsmod12.c: Likewise.
11364 * elf/tst-tlsmod13.c: Likewise.
11365 * elf/tst-tlsmod13a.c: Likewise.
11366 * elf/tst-tlsmod14a.c: Likewise.
11367 * elf/tst-tlsmod15b.c: Likewise.
11368 * elf/tst-tlsmod16a.c: Likewise.
11369 * elf/tst-tlsmod16b.c: Likewise.
11370 * elf/tst-tlsmod7.c: Likewise.
11371 * elf/tst-tlsmod8.c: Likewise.
11372 * elf/tst-tlsmod9.c: Likewise.
11373 * gmon/gmon.c: Likewise.
11374 * grp/fgetgrent_r.c: Likewise.
11375 * grp/putgrent.c: Likewise.
11376 * hurd/fopenport.c: Likewise.
11377 * include/libc-symbols.h: Likewise.
11378 * include/tls.h: Likewise.
11379 * intl/gettextP.h: Likewise.
11380 * intl/loadinfo.h: Likewise.
11381 * locale/global-locale.c: Likewise.
11382 * locale/localeinfo.h: Likewise.
11383 * mach/devstream.c: Likewise.
11384 * malloc/arena.c: Likewise.
11385 * malloc/set-freeres.c: Likewise.
11386 * misc/err.c: Likewise.
11387 * misc/getttyent.c: Likewise.
11388 * misc/mntent_r.c: Likewise.
11389 * posix/getopt.c: Likewise.
11390 * posix/wordexp.c: Likewise.
11391 * pwd/fgetpwent_r.c: Likewise.
11392 * resolv/Versions: Likewise.
11393 * resolv/res_hconf.c: Likewise.
11394 * shadow/fgetspent_r.c: Likewise.
11395 * shadow/putspent.c: Likewise.
11396 * stdio-common/printf_fphex.c: Likewise.
11397 * stdio-common/tmpfile.c: Likewise.
11398 * stdlib/abort.c: Likewise.
11399 * stdlib/fmtmsg.c: Likewise.
11400 * sunrpc/auth_unix.c: Likewise.
11401 * sunrpc/clnt_perr.c: Likewise.
11402 * sunrpc/clnt_tcp.c: Likewise.
11403 * sunrpc/clnt_udp.c: Likewise.
11404 * sunrpc/clnt_unix.c: Likewise.
11405 * sunrpc/openchild.c: Likewise.
11406 * sunrpc/svc_simple.c: Likewise.
11407 * sunrpc/svc_tcp.c: Likewise.
11408 * sunrpc/svc_udp.c: Likewise.
11409 * sunrpc/svc_unix.c: Likewise.
11410 * sunrpc/xdr.c: Likewise.
11411 * sunrpc/xdr_array.c: Likewise.
11412 * sunrpc/xdr_rec.c: Likewise.
11413 * sunrpc/xdr_ref.c: Likewise.
11414 * sunrpc/xdr_stdio.c: Likewise.
11416 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11418 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11420 2011-07-03 Andreas Jaeger <aj@suse.de>
11422 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11423 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11424 regenerate with gen-libm-tests.pl.
11426 2010-05-12 Petr Baudis <pasky@suse.cz>
11429 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11430 around j0() zero points by switching to j1().
11431 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11432 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11433 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11434 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11436 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11438 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11440 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11442 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11443 Patch in part by Pavel Roskin <proski@gnu.org>.
11446 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11448 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11449 Free memory block if necessary.
11452 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11453 be NULL. Don't lock in this case.
11455 2011-09-09 Roland McGrath <roland@hack.frob.com>
11457 * elf/elf.h (ELFOSABI_GNU): New macro.
11458 (ELFOSABI_LINUX): Define to that.
11460 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11462 * string/strncat.c (strncat): Undef the symbol in case it has been
11463 defined in bits/string.h.
11465 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11467 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11469 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11472 2011-08-17 Andreas Jaeger <aj@suse.de>
11474 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11476 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11477 Ian Lance Taylor <iant@google.com>
11479 * math/libm-test.inc (lround_test): New testcase.
11480 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11482 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11484 * Makefile: Remove support for automatic cvs check-ins.
11485 * Makerules: Likewise.
11486 * config.make.in: Likewise.
11487 * configure.in: Likewise.
11488 * intl/Makefile: Likewise.
11489 * locale/Makefile: Likewise.
11490 * po/Makefile: Likewise.
11491 * posix/Makefile: Likewise.
11492 * sysdeps/gnu/Makefile: Likewise.
11493 * sysdeps/mach/hurd/Makefile: Likewise.
11494 * sysdeps/sparc/sparc32/Makefile: Likewise.
11497 * posix/Makefile (bug-regex32-ENV): Define.
11498 Patch by John Stanley <jpsinthemix@verizon.net>.
11500 * misc/Makefile (headers): Add bits/select2.h.
11501 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11502 * misc/bits/select2.h: New file.
11503 * include/bits/select2.h: New file.
11504 * debug/Makefile (routines): Add fdelt_chk.
11505 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11506 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11508 * debug/fdelt_chk.c: New file.
11510 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11511 * wcsmbs/test-wmemcmp.c: Likewise.
11512 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11513 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11515 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11517 * string/Makefile (strop-tests): Add memcmp.
11518 * string/test-wmemcmp.c: New file.
11519 * string/test-memcmp.c: Add wmemcmp support.
11521 2011-09-08 Roland McGrath <roland@hack.frob.com>
11524 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11527 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11528 garbage value in a __mach_port_mod_refs call in the cases of the
11529 task-self and thread-self ports.
11531 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11533 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11535 2011-09-08 Andreas Schwab <schwab@redhat.com>
11537 * elf/dl-load.c (lose): Check for non-null L.
11539 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11541 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11543 * elf/dl-libc.c (dlerror_run): Pass back error code from
11547 * elf/dl-load.c (lose): Free l_origin if it is valid.
11549 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11551 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11552 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11553 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11554 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11555 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11556 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11558 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11560 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11561 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11562 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11563 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11564 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11565 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11566 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11567 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11568 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11569 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11571 2011-08-15 Alan Modra <amodra@gmail.com>
11574 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11575 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11576 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11577 ppc_mcount to static-only-routines.
11578 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11580 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11581 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11583 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11585 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11586 for finite and infinity parameters.
11588 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11590 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11591 and add nop instructions for throughput optimization.
11592 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11594 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11596 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11597 aligned copy for power7 with vector-scalar instructions.
11598 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11600 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11602 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11605 2011-09-07 Andreas Schwab <schwab@redhat.com>
11608 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11611 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11613 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11614 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11615 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11616 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11619 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11621 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11622 Forgot to demangle the pointer.
11624 * sysdeps/i386/sysdep.h: Define atom_text_section.
11625 * sysdeps/x86_64/sysdep.h: Likewise.
11626 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11627 section with atom_text_section.
11628 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11629 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11630 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11631 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11632 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11634 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11635 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11636 already be defined. Change to take two parameters and don't assign
11637 result to variable. Adjust all users.
11638 Define INTERNAL_GETTIME if not already defined.
11639 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11642 HAVE_CLOCK_GETTIME_VSYSCALL.
11643 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11645 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11646 gettimeofday vsyscall, just use time.
11648 2011-09-06 Andreas Schwab <schwab@redhat.com>
11650 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11653 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11655 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11657 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11659 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11660 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11661 syscall if possible.
11663 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11665 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11666 e_ident. Don't pass to find_mapsXX.
11667 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11669 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11672 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11673 * sysdeps/x86_64/multiarch/strchr.S: Update.
11674 Check bit_slow_BSF bit.
11675 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11676 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11677 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11679 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11682 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11684 (tryshell): Define.
11685 (__spawni): Change last parameter to be flag. Test
11686 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11687 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11688 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11689 * posix/spawni.c: Likewise.
11690 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11691 * posix/spawnp.c: Likewise. Change normal version to use
11692 SPAWN_XFLAGS_USE_PATH.
11693 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11694 SPAWN_XFLAGS_TRY_SHELL.
11697 * posix/glob.h: Remove gcc 1.x support.
11700 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11702 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11705 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11707 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11708 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11709 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11710 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11711 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11712 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11714 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11716 * sysdeps/x86_64/wcscmp.S: New file.
11718 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11719 wcscmp-c wcscmp-sse2
11720 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11721 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11722 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11723 * wcsmbs/wcscmp.c: Allow renaming.
11725 2011-09-05 David S. Miller <davem@davemloft.net>
11727 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11728 stack slot, rather than the struct return pointer slot.
11729 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11730 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11732 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11734 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11736 * po/ja.po: Update from translation team.
11739 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11740 kernel in 64-bit binaries.
11742 2011-09-01 David S. Miller <davem@davemloft.net>
11744 * elf/elf.h (HWCAP_SPARC_*): Move to..
11745 * sysdeps/sparc/sysdep.h: this new file and add new values.
11746 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11747 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11748 _DL_HWCAP_COUNT to 24.
11749 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11751 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11752 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11753 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11755 instead of magic constants.
11756 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11758 2011-08-31 David S. Miller <davem@davemloft.net>
11760 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11761 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11762 Reimplement to do errno handling inline.
11763 (SYSCALL_ERROR_HANDLER): New macro.
11764 (__SYSCALL_STRING): Do not do errno handling in asm.
11765 (__CLONE_SYSCALL_STRING): Delete.
11766 (__INTERNAL_SYSCALL_STRING): Delete.
11767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11768 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11769 (PSEUDO): Reimplement to do errno handling inline.
11770 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11771 (SYSCALL_ERROR_HANDLER): New macro.
11772 (__SYSCALL_STRING): Do not do errno handling in asm.
11773 (__CLONE_SYSCALL_STRING): Delete.
11774 (__INTERNAL_SYSCALL_STRING): Delete.
11775 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11776 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11778 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11779 (inline_syscall*): Add 'err' argument.
11780 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11781 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11782 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11783 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11785 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11786 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11788 2011-08-30 Andreas Schwab <schwab@redhat.com>
11790 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11792 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11794 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11797 2011-08-24 David S. Miller <davem@davemloft.net>
11799 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11801 2011-08-24 Andreas Schwab <schwab@redhat.com>
11803 * elf/Makefile: Add rules to build and run unload8 test.
11804 * elf/unload8.c: New file.
11805 * elf/unload8mod1.c: New file.
11806 * elf/unload8mod1x.c: New file.
11807 * elf/unload8mod2.c: New file.
11808 * elf/unload8mod3.c: New file.
11810 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11813 2011-08-23 David S. Miller <davem@davemloft.net>
11815 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11816 subtract stack bias.
11817 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11818 %sp not %fp in calculations.
11819 (_JMPBUF_UNWINDS_ADJ): Likewise.
11821 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11822 (aio_suspend): Call it to force an exception region around the
11823 AIO_MISC_WAIT() invocation.
11825 2011-08-23 Andreas Schwab <schwab@redhat.com>
11827 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11830 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11832 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11834 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11835 and <dl-machine.h>.
11836 (Elf64_FuncDesc): Remove.
11838 2011-08-22 David S. Miller <davem@davemloft.net>
11840 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11841 sigaltstack check, add missing cfi directives.
11842 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11843 missing cfi directives, and sigaltstack handling.
11845 2011-08-16 Andreas Schwab <schwab@redhat.com>
11848 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11849 object is seen twice.
11850 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11852 * elf/Makefile (distribute): Add tst-initorder2.c.
11853 (tests): Add tst-initorder2.
11854 (modules-names): Add tst-initorder2a tst-initorder2b
11855 tst-initorder2c tst-initorder2d. Add rules to build them.
11856 ($(objpfx)tst-initorder2.out): New rule.
11857 * elf/tst-initorder2.c: New file.
11858 * elf/tst-initorder2.exp: New file.
11860 2011-08-22 Andreas Schwab <schwab@redhat.com>
11862 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11864 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11865 dependencies back to end of function.
11867 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11868 $(elfobjdir)/ld.so.
11870 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11872 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11873 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11874 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11875 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11876 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11877 of __vdso_gettimeofday.
11878 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11879 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11881 (_libc_vdso_platform_setup): Remove initialization of
11882 __vdso_gettimeofday and __vdso_time.
11884 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11886 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11887 and fgetc_unlocked.
11888 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11891 * elf/dl-open.c (add_to_global): Report additions to the global scope
11892 for LD_DEBUG=scopes.
11893 (dl_open_worker): Also print scope of newly loaded dependencies.
11894 (_dl_show_scope): Indicate if there is no scope.
11897 * stdio-common/Makefile (tests): Add bug24.
11898 * stdio-common/bug24.c: New file.
11900 2011-08-19 Andreas Jaeger <aj@suse.de>
11903 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11904 non-existant file when using close-on-exec mode.
11906 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11908 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11909 the very first instruction.
11911 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11912 the CFI state in the end.
11913 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11914 inclusion of dl-trampoline.h.
11915 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11917 2011-08-19 Andreas Schwab <schwab@redhat.com>
11919 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11920 expectations for long double.
11922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11923 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11925 2011-08-14 David S. Miller <davem@davemloft.net>
11927 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11928 artificual limit depends upon the system page size.
11930 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11932 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11933 * resolv/Makefile: Define CFLAGS-libresolv.
11935 2011-08-17 Andreas Schwab <schwab@redhat.com>
11937 * nss/makedb.c (compute_tables): Make variables used in nested
11940 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11942 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11943 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11944 if buffer was too small.
11946 * elf/pldd.c (main): Attach to all threads in the process.
11947 Rewrite /proc handling to use *at functions.
11949 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11951 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11952 specifies first scope to show.
11953 (dl_open_worker): Update callers. Move printing scope of new
11954 object to before the relocation.
11955 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11956 * sysdeps/generic/ldsodefs.h: Update declaration.
11958 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11959 string for the scope number.
11961 2011-08-14 Ulrich Drepper <drepper@gmail.com>
11963 * nscd/servicescache.c (cache_addserv): Make sure written is always
11966 2011-08-14 Roland McGrath <roland@hack.frob.com>
11968 * sysdeps/i386/i486/bits/atomic.h
11969 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11970 statement expression, so as to suppress "set but not used" warning.
11971 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11973 * string/strncat.c (STRNCAT): Use prototype definition.
11975 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11976 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11978 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11979 (localedef-modules): Add localedef.
11980 (locale-modules): Add locale.
11982 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11983 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11984 to avoid a warning.
11986 2011-08-14 David S. Miller <davem@davemloft.net>
11988 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11989 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11991 2011-08-13 Ulrich Drepper <drepper@gmail.com>
11993 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11994 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11995 * elf/rtld.c (dl_main): Set l_name of vDSO.
11996 Call _dl_show_scope when DL_DEBUG_SCOPES.
11997 (process_dl_debug): Recognize scopes flag and also set it for all.
11998 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11999 Declare _dl_show_scope.
12001 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12002 (do_dlopen): Pass caller_dlopen to dl_open.
12003 (__libc_dlopen_mode): Initialize caller_dlopen.
12005 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12006 of libc. Make tolower call locale-independent. Optimize a bit by
12007 using isdigit instead of isalnum.
12008 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12010 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12012 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12013 was a dependency or dynamically loaded.
12015 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12017 * intl/l10nflist.c: Allow architecture-specific pop function.
12018 * sysdeps/x86_64/l10nflist.c: New file.
12020 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12023 2011-08-10 Andreas Schwab <schwab@redhat.com>
12025 * include/dirent.h: Add libc_hidden_proto for scandirat and
12026 scandirat64. Don't declare __scandirat64.
12027 * dirent/scandirat.c: Add libc_hidden_def.
12028 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12029 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12031 2011-08-10 David S. Miller <davem@davemloft.net>
12033 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12035 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12036 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12037 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12039 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12041 * Versions.def [libc]: Add GLIBC_2.15.
12042 * dirent/Makefile (routines): Add scandirat and scandirat64.
12043 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12045 * dirent/dirent.h: Declare scandirat and scandirat64.
12046 * dirent/scandirat.c: New file.
12047 * dirent/scandirat64.c: New file.
12048 * sysdeps/wordsize-64/scandirat.c: New file.
12049 * sysdeps/wordsize-64/scandirat64.c: New file.
12050 * dirent/opendir.c: Define opendirat.
12051 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12053 * dirent/scandir64.c: Adjust for scandir.c change.
12054 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12055 __scandirat64, and __scandir_cancel_handler.
12056 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12057 additional parameter and use openat instead of open (outside of ld.so).
12058 Add new __opendir as wrapper around __opendirat.
12059 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12060 here without requiring old scandirat implementation.
12062 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12064 * dirent/scandir.c (cancel_handler): Renamed to
12065 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12066 defined. Adjust users.
12067 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12068 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12070 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12072 * string/test-string.h (IMPL): Use __STRING to expand name and then
12075 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12078 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12080 * string/Makefile: Update.
12081 (strop-tests): Append strncat.
12082 * string/test-wcscmp.c: New file.
12083 New comprehensive test for wcscmp.
12084 * string/test-strcmp.c: Update.
12085 (WIDE): New define.
12087 2011-07-22 Andreas Schwab <schwab@redhat.com>
12089 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12092 2011-07-26 Andreas Schwab <schwab@redhat.com>
12094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12095 encoding to ACE if AI_IDN.
12097 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12099 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12100 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12102 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12104 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12105 Fix overflow bug in strncat.
12106 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12108 * string/test-strncat.c: Update.
12109 Add new tests for checking overflow bugs.
12111 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12113 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12114 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12115 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12116 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12117 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12118 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12119 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12120 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12121 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12123 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12124 (USE_AS_STRCAT): Define.
12125 Add strcat and strncat support.
12126 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12128 2011-07-25 Andreas Schwab <schwab@redhat.com>
12130 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12131 __n bigger than INT_MAX+1.
12132 (__strncmp_g): Likewise.
12134 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12136 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12137 * libio/stido.h: Likewise.
12139 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12144 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12145 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12146 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12147 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12148 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12151 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12154 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12156 (_dl_x86_64_save_sse): Likewise.
12158 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12160 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12162 (_dl_x86_64_save_sse): Likewise.
12164 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12166 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12168 2011-07-21 Andreas Schwab <schwab@redhat.com>
12170 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12172 (_dl_x86_64_save_sse): Use correct AVX check.
12174 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12176 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12177 bug in strncpy/strncat.
12178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12180 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12182 * string/tester.c (test_strcat): Add tests for different alignments
12183 of source and destination.
12184 (test_strncat): Likewise.
12186 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12189 * posix/glob.c (glob): Check passed in values before using them in
12190 expressions to avoid some overflows.
12191 (glob_in_dir): Likewise.
12194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12195 check for AVX enablement so that we don't crash with old kernels and
12197 * elf/tst-audit4.c: Add same checks here.
12198 * elf/tst-audit6.c: Likewise.
12200 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12202 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12204 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12206 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12208 * po/cs.po: Update from translation team.
12209 * po/bg.po: Likewise.
12211 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12213 * misc/sys/cdefs.h: Add support for const attribute.
12214 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12215 to gnu_dev_{major,minor,makedev} functions.
12217 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12219 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12221 2011-07-20 Andreas Schwab <schwab@redhat.com>
12223 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12226 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12228 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12229 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12230 register in order to avoid conflicts with the soft frame pointer
12231 being held in r11 when necessary.
12232 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12233 (INTERNAL_VSYSCALL_NCS): Likewise.
12235 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12237 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12238 * elf/dl-fini.c (_dl_fini): Adjust caller.
12239 * elf/dl-close.c (_dl_close_worker): Likewise.
12240 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12242 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12244 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12245 "aux_cache->nlibs < 0".
12247 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12248 in the reload-count case.
12250 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12252 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12253 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12254 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12255 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12256 * sysdeps/x86_64/multiarch/strcat.S: New file.
12257 * sysdeps/x86_64/multiarch/strncat.S: New file.
12258 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12259 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12260 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12261 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12262 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12263 (USE_AS_STRCAT): Define.
12264 Add strcat and strncat support.
12265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12266 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12267 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12268 * string/strncat.c: Update.
12269 (USE_AS_STRNCAT): Define.
12270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12271 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12273 * sysdeps/x86_64/multiarch/init-arch.h
12274 (bit_Prefer_PMINUB_for_stringop): New.
12275 (index_Prefer_PMINUB_for_stringop): Likewise.
12276 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12277 bit_Prefer_PMINUB_for_stringop.
12279 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12281 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12283 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12284 of casting of buffer.
12285 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12286 buffer32 and buffer64.
12287 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12288 writes instead of casting of buffer.
12289 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12291 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12294 2011-07-19 Andreas Schwab <schwab@redhat.com>
12296 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12298 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12300 * nscd/nscd.c (termination_handler): Don't do anything for a database
12301 if it has not yet been initialized.
12303 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12305 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12307 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12309 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12311 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12313 * po/nl.po: Update from translation team.
12314 * po/sv.po: Likewise.
12316 2011-07-16 Roland McGrath <roland@hack.frob.com>
12318 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12319 now disallowed by GCC.
12321 * configure.in (use-default-link): Default to yes if a test -shared
12322 link meets our qualifications.
12323 * configure: Regenerated.
12325 * config.make.in (output-format): New variable.
12326 * configure.in: Check for ld --print-output-format support.
12327 * configure: Regenerated.
12328 * Makerules ($(common-objpfx)format.lds)
12329 [$(output-format) != unknown]: Just use $(output-format),
12330 instead of the linker-script munging.
12332 2011-07-14 Roland McGrath <roland@hack.frob.com>
12334 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12335 of $(common-objpfx)shlib.lds.
12336 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12338 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12339 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12341 * configure.in (-z relro check): Adjust test code to add a large
12342 writable data section after it.
12343 * configure: Regenerated.
12345 2011-07-11 Roland McGrath <roland@hack.frob.com>
12347 * configure.in (-z relro check): Fix test code to make the variable
12349 * configure: Regenerated.
12351 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12353 * nscd/nscd.h (struct traced_file): Define.
12354 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12355 elements. Add traced_files.
12356 (inotify_fd): Declare.
12357 (register_traced_file): Declare.
12358 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12359 (inotify_fd): Export.
12360 (resolv_conf_descr): Remove.
12361 (nscd_init): Move inotify descriptor creation to main.
12362 Don't register files for notification here.
12363 (register_traced_file): New function.
12364 (invalidate_cache): Don't use reset_res to determine whether to call
12365 res_init, go through the list of registered files.
12366 (main_loop_poll): The inotify descriptors are now stored in the
12367 structures for the traced files.
12368 (main_loop_epoll): Likewise
12369 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12370 to __nss_disable_nscd.
12371 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12372 for a database anymore. Check the records for all the registered
12374 * nss/Makefile (libnss_files-routines): Add files-init.
12375 (libnss_db-routines): Add db-init.
12376 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12377 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12378 * nss/nss_db/db-init.c: New file.
12379 * nss/nss_files/files-init.c: New file.
12380 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12381 __nss_lookup_function.
12382 (__nss_lookup_function): Call nss_load_library.
12383 (nss_load_all_libraries): New function.
12384 (__nss_disable_nscd): Take parameter with callback function for files
12385 to register. Set is_nscd. Load all the DSOs for the NSS modules
12386 used for the cached services.
12387 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12388 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12389 options for features to all the files in nscd.
12391 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12393 2011-07-10 Roland McGrath <roland@hack.frob.com>
12395 * csu/elf-init.c (__libc_csu_init): Comment typo.
12397 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12399 * po/pl.po: Update from translation team.
12400 * po/ja.po: Likewise.
12401 * po/ru.po: Likewise.
12402 * po/ko.po: Likewise.
12403 * po/fr.po: Likewise.
12405 2011-07-09 Roland McGrath <roland@hack.frob.com>
12407 * configure.in (.ctors/.dtors header and trailer check):
12408 Use an empirical test on a built program.
12409 * configure: Regenerated.
12411 * configure.in (-z relro check): Use an empirical test on a built DSO.
12412 Detect, but do not require, on ia64.
12413 * configure: Regenerated.
12415 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12416 Update tests that use readelf to use $READELF instead.
12417 * configure: Regenerated.
12419 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12421 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12422 if the result is not used.
12424 2011-07-05 Andreas Jaeger <aj@suse.de>
12427 * stdlib/tst-strtod.c: Add testcase.
12429 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12431 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12432 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12433 The latter has a higher limit. Take additional parameter to pass to
12435 (__pathconf): Pass file to __statfs_link_max.
12436 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12438 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12442 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12443 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12445 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12446 (__statfs_filesize_max): Likewise.
12447 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12449 2011-07-05 Andreas Jaeger <aj@suse.de>
12451 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12453 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12455 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12457 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12460 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12462 * Makefile (strop-tests): Add strncat.
12463 * string/test-strncat.c: New file.
12465 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12467 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12469 2011-06-21 Andreas Jaeger <aj@suse.de>
12471 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12472 Copy rule from iconvdata/Makefile.
12474 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12477 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12478 but no long options are defined, just return 'W'.
12480 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12483 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12485 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12487 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12489 (innetgr): Likewise.
12491 2011-07-05 Roland McGrath <roland@hack.frob.com>
12493 * config.make.in (install_root): Default to $(DESTDIR).
12495 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12497 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12499 2011-07-02 Roland McGrath <roland@hack.frob.com>
12501 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12503 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12504 containing directory rather than embedding absolute directory names.
12506 * scripts/check-local-headers.sh: Rewritten using awk.
12507 Match by word, not by line. Print error messages for matches.
12508 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12510 * Makerules [shlib-lds-flags empty]:
12511 ($(common-objpfx)libc_pic.opts): New target.
12512 ($(common-objpfx)libc_pic.os.clean): New target.
12513 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12515 * config.make.in (OBJCOPY): New variable.
12516 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12517 * configure: Regenerated.
12519 * config.make.in (use-default-link): New variable.
12520 * configure.in (use_default_link): Grok --with-default-link to set it.
12521 * configure: Regenerated.
12522 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12523 (shlib-lds, shlib-lds-flags): Define to empty.
12525 * Makerules (shlib-lds): New variable.
12526 (shlib-lds-flags): New variable.
12527 (build-shlib, build-moduile, build-module-asneeded): Use it.
12528 ($(common-objpfx)libc.so): Use $(shlib-lds).
12529 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12530 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12532 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12533 DT_FLAGS/DT_FLAGS_1 with zero flags.
12535 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12536 linker script munging.
12538 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12540 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12542 * crypt/sha512.c (sha512_process_block): Perform total addition using
12543 128-bit if possible.
12544 (__sha512_finish_ctx): Likewise.
12545 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12547 * crypt/sha256.c (SWAP64): Define.
12548 (sha256_process_block): Perform total addition using 64-bit if
12550 (__sha256_finish_ctx): Likewise.
12552 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12554 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12555 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12556 * nscd/hstcache.c (cache_addhst): Likewise.
12557 * nscd/grpcache.c (cache_addgr): Likewise.
12558 * nscd/aicache.c (addhstaiX): Likewise
12559 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12561 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12563 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12564 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12565 * nscd/hstcache.c (cache_addhst): Likewise.
12566 * nscd/grpcache.c (cache_addgr): Likewise.
12567 * nscd/aicache.c (addhstaiX): Likewise
12569 2011-07-01 Andreas Schwab <schwab@redhat.com>
12571 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12572 domain only when needed.
12574 2011-06-30 Andreas Schwab <schwab@redhat.com>
12576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12577 is always restored.
12579 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12581 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12582 are re-adding the entry.
12583 * nscd/servicescache.c (cache_addserv): Likewise.
12585 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12587 * sysdeps/generic/dl-irel.h: fix protection against multiple
12589 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12591 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12594 * malloc/memusage.sh: Fix quoting in message.
12595 * debug/xtrace.sh: Likewise.
12597 * configure.in: Remove support for --experimental-malloc option, make
12599 * config.make.in: Likewise.
12600 * malloc/Makefile: Likewise.
12602 2011-06-27 Andreas Schwab <schwab@redhat.com>
12604 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12605 two-byte characters.
12607 2011-06-27 Roland McGrath <roland@hack.frob.com>
12609 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12610 AC_CACHE_CHECK invocation.
12611 * configure: Regenerated.
12613 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12615 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12618 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12619 bit from old_res_options.
12621 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12623 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12624 value type for setfct.
12626 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12628 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12629 __gettimeofday instead of gettimeofday.
12631 2011-06-26 Ulrich Drepper <drepper@gmail.com>
12633 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12635 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12637 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12639 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12642 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12645 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12646 strcpy-sse2-unaligned strncpy-sse2-unaligned
12647 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12648 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12649 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12650 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12651 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12652 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12653 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12654 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12655 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12656 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12657 (STRCPY): Support SSE2 and SSSE3 versions.
12659 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12662 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12663 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12664 kernels which artificially limit size of requests.
12666 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12669 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12670 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12671 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12672 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12673 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12674 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12675 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12676 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12677 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12678 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12679 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12680 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12681 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12682 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12684 Enable unaligned load optimization for Intel Core i3, i5 and i7
12686 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12688 (index_Fast_Unaligned_Load): Define.
12689 (HAS_FAST_UNALIGNED_LOAD): Define.
12691 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12693 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12695 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12698 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12699 until it is clear that the information is realy needed.
12700 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12702 2011-06-22 Andreas Schwab <schwab@redhat.com>
12704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12706 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12708 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12709 /sys/devices/system/cpu/online if it is usable.
12711 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12712 reading the information from the /proc filesystem to once a second.
12714 2011-06-21 Andreas Jaeger <aj@suse.de>
12716 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12717 NULL after inclusion of kernel headers.
12719 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12721 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12722 calls to internal_setent.
12725 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12726 addresses using gethostbyname4_r ignore IPv4 addresses.
12728 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12729 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12731 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12733 2011-06-20 David S. Miller <davem@davemloft.net>
12735 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12737 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12739 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12740 (elf_irel): Use it.
12741 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12742 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12743 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12744 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12745 * sysdeps/x86_64/dl-irel.h: Likewise.
12747 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12748 * elf/dl-sym.c: Likewise.
12750 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12752 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12753 need to dereference resplen2.
12755 2011-06-14 Andreas Schwab <schwab@redhat.com>
12757 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12759 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12761 * Makeconfig: Define vardbdir and inst_vardbdir.
12762 * nss/Makefile: Add rules to install db-Makefile.
12764 * nss/nss_db/db-XXX.c: Cleanup.
12766 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12767 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12769 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12770 * nss/makedb.c: Implement -g option to specify that value strings
12771 are generated and should not be added to table iterated over for
12773 * nss/nss_db/db-initgroups.c: New file.
12775 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12778 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12779 (internal_getgrouplist): Adjust to name change.
12780 Update use_initgroups_entry if this is not the first call.
12781 * nss/databases.def: Add initgroups entry.
12783 * nss/makedb.c (compute_tables): Check result of multiple hash table
12784 sizes to minimize maximum chain length.
12786 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12788 * Versions.def: Add entry for libnss_db.
12789 * shlib-versions: Likewise.
12790 * nss/Makefile: Add rules to build libnss_db.
12791 * nss/Versions: Add libnss_db information. Organize libnss_files
12793 * nss/db-Makefile: Add gshadow support. Change rules for the new
12794 makedb progra. Some minor improvements to generate smaller files.
12795 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12797 * nss/makedb.c: ...here.
12798 Improve database format to be smaller and require less memory at
12800 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12802 * nss/nss_db/db-netgrp.c: Likewise.
12803 * nss/nss_db/db-open.c: Likewise.
12804 * nss/nss_files/flies-XXX.x: Adjust comments.
12805 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12806 * nss/nss_files/files-grp.c: Likewise.
12807 * nss/nss_files/files-hosts.c: Likewise.
12808 * nss/nss_files/files-network.c: Likewise.
12809 * nss/nss_files/files-proto.c: Likewise.
12810 * nss/nss_files/files-pwd.c: Likewise.
12811 * nss/nss_files/files-rpc.c: Likewise.
12812 * nss/nss_files/files-service.c: Likewise.
12813 * nss/nss_files/files-sgrp.c: Likewise.
12814 * nss/nss_files/files-spwd.c: Likewise.
12815 * nss/nss_db/db-alias.c: Removed.
12816 * nss/nss_db/dummy-db.h: Removed.
12818 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12820 * nss/makedb.c: Rewritten to not use database library.
12821 * nss/Makefile: Update to build new makedb program.
12823 2011-06-14 Andreas Jaeger <aj@suse.de>
12825 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12826 memset declaration.
12828 2011-06-10 Andreas Schwab <schwab@redhat.com>
12830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12833 2011-06-10 Roland McGrath <roland@hack.frob.com>
12835 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12836 * elf/Makefile ($(objpfx)ld.so): Likewise.
12838 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12839 Don't list ld.so twice in dependencies.
12841 * posix/bug-regex31.c: Include <stdlib.h>.
12843 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12845 * nis/nss_compat/compat-spwd.c
12846 (getspent_next_nss_netgr): Remove unused variable.
12847 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12849 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12850 nonmembers" output to use the right array.
12852 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12854 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12856 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12857 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12858 * catgets/gencat.c (read_input_file): Likewise.
12859 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12861 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12862 variable definition inside #if's controlling its use.
12864 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12866 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12868 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12870 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12873 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12875 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12876 * configure: Regenerated.
12878 * Makerules: Revert last change.
12879 * elf/Makefile: Likewise.
12881 2011-06-09 Roland McGrath <roland@hack.frob.com>
12883 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12884 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12885 (reloc-link): Likewise.
12887 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12889 * elf/Makefile: Add rules to build pldd.
12890 * elf/pldd.c: New file.
12891 * elf/pldd-xx.c: New file.
12893 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12895 * version.h: Update for 2.15 development version.
12897 2011-06-07 David S. Miller <davem@davemloft.net>
12899 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12901 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12902 elf_machine_lazy_rel): Likewise.
12903 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12904 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12905 elf_machine_lazy_rel): Likewise.
12906 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12907 dl_hwcap via passed in argument.
12908 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12911 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12913 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12915 2011-06-06 Roland McGrath <roland@hack.frob.com>
12918 * manual/fdl-1.1.texi: New file, verbatim from:
12919 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12920 * manual/lgpl-2.1.texi: New file, verbatim from:
12921 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12922 * manual/Makefile (licenses): New variable, list those new file names.
12924 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12926 * manual/fdl.texi: File removed.
12927 * manual/lesser.texi: File removed.
12928 * manual/libc.texinfo (Copying, Documentation License):
12929 Use new @include file names, put @appendix directive before @include.
12931 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12934 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12935 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12936 (mq_open): Add __NTH.
12938 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12941 Assume Intel Core i3/i5/i7 processor if AVX is available.
12943 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12945 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12948 2011-05-31 Andreas Schwab <schwab@redhat.com>
12950 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12951 memory. Use alloca_account. Fix memory leak when retrying.
12953 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12955 * version.h (RELEASE): Bump for 2.14 release.
12956 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12958 * config.make.in (RANLIB): Remove entry.
12960 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12962 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12963 (libc.pot): Work around missing support for .ksh extension in xgettext.
12966 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12967 if both request failed.
12968 (send_dg): In case of server errors clear resplen or *resplen2.
12971 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12972 when there are multiple maps.
12973 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12974 (_dl_fini): Remove test here.
12976 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12978 2011-05-29 Ulrich Drepper <drepper@gmail.com>
12981 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12982 bit from old_res_options.
12983 (gaih_inet): Likewise.
12986 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12989 * resolv/res_init.c (res_setoptions): Make the code more compact.
12992 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12996 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12998 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13001 * malloc/malloc.h: Declare malloc hook variables as volatile.
13003 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13007 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13008 raise in the comment.
13009 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13010 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13011 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13013 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13016 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13017 grow the buffers more if it already has to be sufficient.
13018 (build_wcs_upper_buffer): Likewise.
13019 * posix/regexec.c (check_matching): Likewise.
13020 (clean_state_log_if_needed): Likewise.
13021 (extend_buffers): Don't enlarge buffers beyond size of the input
13023 Patches mostly by Emil Wojak <emil@wojak.eu>.
13024 * posix/bug-regex32.c: New file.
13025 * posix/Makefile (tests): Add bug-regex32.
13027 * locale/findlocale.c (_nl_find_locale): Return right away if
13028 _nl_explode_name failed.
13029 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13031 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13033 * debug/xtrace.sh: Unify messages.
13034 * malloc/memusage.sh: Likewise.
13037 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13038 time symbol from vDSO. Substitute with vsyscall if not available.
13039 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13042 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13043 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13044 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13045 Add sendmmsg and internal_sendmmsg.
13046 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13047 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13048 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13050 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13051 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13052 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13054 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13057 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13058 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13060 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13064 * iconvdata/Makefile (tests): Add bug-iconv9.
13065 * iconvdata/bug-iconv9.c: New file.
13067 2011-05-27 Andreas Schwab <schwab@redhat.com>
13070 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13072 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13075 (struct user_regs_struct): Change intcs field back to cs.
13077 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13079 * po/ja.po: Update from translation team.
13081 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13084 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13085 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13087 2011-05-20 Andreas Schwab <schwab@redhat.com>
13089 * stdlib/longlong.h: Update from GCC.
13091 2011-05-23 Andreas Schwab <schwab@redhat.com>
13093 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13095 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13096 Add parameter name.
13097 (__sysconf): Pass it down.
13099 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13102 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13104 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13105 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13106 add in in __libc_use_alloca calls. Adjust callers.
13107 (glob): Use malloc in some situations.
13109 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13110 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13113 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13115 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13116 and CLOCK_BOOTTIME_ALARM.
13119 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13122 * string/_strerror.c (__strerror_r): Print negative errors as signed
13126 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13127 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13128 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13130 * configure.in: Fix typo in redirection and correct removal of test
13131 files in two cases.
13134 * locale/setlocale.c (new_composite_name): Fix test to check for
13135 identical name of all categories.
13138 * libio/filedoalloc.c (local_isatty): New function.
13139 (_IO_file_doallocate): Use local_isatty.
13140 * stdio-common/perror.c (perror): In case a new stream is used
13141 forward the stream error.
13142 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13145 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13150 * include/alloca.h (extend_alloca_account): Define.
13153 * posix/regex.h: Fix comments with documentation of user-accessible
13154 fields after compilation and describe correct free'ing of pattern
13155 after re_compile_pattern.
13156 Patch by Reuben Thomas <rrt@sc3d.org>.
13158 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13160 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13161 and -mno-altivec to prevent the compiler from using Altivec and/or
13162 VSX instructions when the corresponding registers are not available.
13164 2011-05-19 Andreas Schwab <schwab@redhat.com>
13166 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13168 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13170 * libio/freopen.c (freopen): Use __dup2, not dup2.
13171 * libio/freopen64.c (freopen64): Likewise.
13173 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13176 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13177 * math/Makefile (tests): Add test-powl.
13178 (CFLAGS-test-powl.c): Define.
13179 * math/test-powl.c: New file.
13181 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13183 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13185 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13188 * iconvdata/gb18030.c: Update to GB18020-2005.
13190 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13192 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13193 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13194 Patch by Aharon Robbins <arnold@skeeve.com>.
13197 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13201 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13202 through underflows.
13205 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13206 point to strings before performing equality test for error_one_per_line
13210 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13213 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13214 (struct user_fpregs_struct): Avoid __uint*_t types.
13217 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13218 symbol info. Use it instead of calling _dl_addr locally.
13219 (lock_and_info): New function.
13220 (tr_freehook): Call lock_and_info and pass symbol info as additional
13221 parameter to tr_where.
13222 (tr_mallochook): Likewise.
13223 (tr_reallochook): Likewise.
13224 (tr_memalignhook): Likewise.
13226 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13227 used and couldn't be at all thread-safe.
13229 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13231 * libio/freopen.c (freopen): Don't close old file descriptor
13232 before the new one is opened. Instead dup the new file descriptor
13233 to the old one after the new stream is created.
13234 * libio/freopen64.c (freopen64): Likewise.
13235 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13236 * libio/fileops.c (_IO_new_file_close_it): Handle new
13237 _IO_FLAGS2_NOCLOSE flag.
13238 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13239 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13240 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13241 _IO_FLAGS2_NOCLOSE flag.
13242 * include/unistd.h: Add hidden_proto for dup3.
13243 Define __have_dup3.
13244 * io/dup3.c: Define hidden symbol.
13245 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13248 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13249 when an incomplete long option is used.
13250 * posix/tst-getopt_long1.c: New file.
13251 * posix/Makefile (tests): Add tst-getopt_long1.
13254 * scripts/config.guess: Update from autoconf-2.68.
13255 * scripts/config.sub: Likewise.
13258 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13260 (has_cpuclock): ...this. New function.
13261 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13262 macro here based on has_cpuclock code.
13265 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13266 First byte (not low byte) is now always NUL.
13267 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13269 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13270 Use non-cancelable interfaces.
13273 * locale/iso-639.def: Add entry for Sorani.
13276 * include/stdlib.h: Move include protection to the right place.
13277 Define abort_msg_s. Declare __abort_msg with it.
13278 * stdlib/abort.c (__abort_msg): Adjust type.
13279 * assert/assert.c (__assert_fail_base): New function. Majority
13280 of code from __assert_fail. Allocate memory for __abort_msg with
13282 (__assert_fail): Now call __assert_fail_base.
13283 * assert/assert-perr.c: Remove bulk of implementation. Use
13284 __assert_fail_base.
13285 * include/assert.hL Declare __assert_fail_base.
13286 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13288 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13290 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13294 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13295 until all modules are registered in the DTV.
13296 * elf/Makefile: Add rules to build and run tst-tls19.
13297 * elf/tst-tls19.c: New file.
13298 * elf/tst-tls19mod1.c: New file.
13299 * elf/tst-tls19mod2.c: New file.
13300 * elf/tst-tls19mod3.c: New file.
13301 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13304 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13308 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13309 two-byte sequence errors.
13310 * iconvdata/Makefile (tests): Add bug-iconv8.
13311 * iconvdata/bug-iconv8.c: New file.
13314 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13317 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13320 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13321 (dummy_getcfa): New function.
13322 (init): Get _Unwind_GetCFA address, use dummy if not found.
13323 (backtrace_helper): In recursion check, also check whether CFA changes.
13324 (__backtrace): Completely initialize arg.
13326 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13327 storing incomplete byte sequence in state object. Avoid testing for
13328 guaranteed too small input if we know there is enough data available.
13330 2011-05-11 Andreas Schwab <schwab@redhat.com>
13332 * Makeconfig (+link-pie): Indent.
13333 * Rules (binaries-pie): Define if $(have-fpie) and
13335 (binaries-shared): Also filter out $(binaries-pie).
13336 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13337 * nscd/Makefile (others-pie): Add nscd.
13338 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13339 ($(objpfx)nscd): Remove command override.
13340 * login/Makefile (others-pie): Add pt_chown.
13341 ($(objpfx)pt_chown): Remove command override.
13342 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13343 remove command overrides.
13345 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13347 * libio/tst_putwc.c: Fix error messages.
13350 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13351 currently writing and seek to current position when not.
13352 * libio/Makefile (tests): Add bug-fclose1.
13353 * libio/bug-fclose1.c: New file.
13355 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13358 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13359 don't set DF_1_NODELETE here.
13360 (do_lookup_x): When entering new entry test for copy relocation
13361 and if necessary set DF_1_NODELETE flag.
13362 * elf/tst-unique4.cc: New file.
13363 * elf/tst-unique4.h: New file.
13364 * elf/tst-unique4lib.cc: New file.
13365 * elf/Makefile: Add rules to build and run tst-unique4.
13366 Patch by Piotr Bury <pbury@goahead.com>.
13368 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13371 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13374 * misc/mntent_r.c (addmntent): Flush the stream after the output
13377 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13378 (is_trusted_path_normalize): Skip initial colon. Append slash
13379 to empty buffer. Duplicate is_trusted_path code but allow
13380 constructed patch to be prefix.
13381 (is_dst): Allow $ORIGIN followed by /.
13382 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13383 Correct testing of result of is_trusted_path_normalize
13384 (decompose_rpath): Fix warning.
13386 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13389 * grp/initgroups.c (internal_getgrouplist): When we found the service
13390 list through the initgroups entry in nsswitch.conf do not always
13391 continue on a successful lookup. Don't always use the
13392 __nss_group_database value if it is set.
13393 * nss/nsswitch.conf (initgroups): Change action for successful db
13394 lookup to continue for compatibility.
13396 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13399 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13401 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13403 * iconvdata/tst-tables.sh: Likewise.
13404 * iconvdata/cp770.c: New file.
13405 * iconvdata/cp771.c: New file.
13406 * iconvdata/cp772.c: New file.
13407 * iconvdata/cp773.c: New file.
13408 * iconvdata/cp774.c: New file.
13409 * iconvdata/testdata/CP770: New file.
13410 * iconvdata/testdata/CP770..UTF8: New file.
13411 * iconvdata/testdata/CP771: New file.
13412 * iconvdata/testdata/CP771..UTF8: New file.
13413 * iconvdata/testdata/CP772: New file.
13414 * iconvdata/testdata/CP772..UTF8: New file.
13415 * iconvdata/testdata/CP773: New file.
13416 * iconvdata/testdata/CP773..UTF8: New file.
13417 * iconvdata/testdata/CP774: New file.
13418 * iconvdata/testdata/CP774..UTF8: New file.
13420 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13422 * iconvdata/gen-8bit-gap.sh: Likewise.
13423 * iconvdata/gen-8bit.sh: Likewise.
13425 * locale/iso-639.def: Add ary entry.
13428 * locale/C-translit.h.in: Add U20A1 transliteration.
13431 * locale/iso-639.def: Add wae entry.
13432 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13435 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13439 * locale/C-translit.h.in: Add entry for U20B9.
13440 Patch by pravin.d.s@gmail.com.
13442 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13445 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13446 ENAMETOOLONG use generic getcwd.
13447 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13448 in rtld. Use *stat64.
13449 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13450 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13451 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13452 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13453 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13454 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13455 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13456 __fstatat64 macros.
13457 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13458 * dirent/rewinddir.c: Add libc_hidden_def.
13459 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13460 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13462 * include/dirent.h (__alloc_dir): Add flags parameter.
13463 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13464 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13466 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13467 from fdopendir if O_CLOEXEC is already set.
13469 2011-03-15 Alan Modra <amodra@gmail.com>
13471 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13472 l_tls_firstbyte_offset non-zero. Save padding offset in
13473 l_tls_firstbyte_offset for later use.
13474 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13475 freeing static tls block.
13477 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13479 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13480 where #ifdef was intended. The intent is to prevent ARG_MAX from
13481 being defined by the kernel headers.
13483 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13486 * resolv/resolv.h: Define RES_NOTLDQUERY.
13487 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13488 no-tld-query and set RES_NOTLDQUERY.
13489 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13490 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13491 modern BIND to search name as TLD unless forbidden.
13493 2011-05-07 Petr Baudis <pasky@suse.cz>
13494 Ulrich Drepper <drepper@gmail.com>
13497 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13498 (is_trusted_path): ...to here.
13499 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13500 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13501 using is_trusted_path_normalize() in setuid scripts.
13503 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13505 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13506 __BEGIN/__END_DECLS.
13508 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13510 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13511 NSS_STATUS_NOTFOUND if no record was found.
13513 2011-05-05 Andreas Schwab <schwab@redhat.com>
13515 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13516 (headers-not-in-tirpc): Remove rpc/netdb.h
13517 * resolv/netdb.h: Revert last change.
13519 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13521 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13522 circular dependency between libgcc.a and libc.a.
13524 2011-05-05 Andreas Schwab <schwab@redhat.com>
13526 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13527 * nis/Makefile: Don't install rpcsvc/*.
13528 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13529 instead of <rpc/types.h>.
13530 (MAXHOSTNAMELEN): Define.
13532 2011-05-03 Andreas Schwab <schwab@redhat.com>
13534 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13536 2011-04-28 Maciej Babinski <mbabinski@google.com>
13539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13540 gethostbyname4_r when IPv6 results are possible.
13542 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13545 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13546 _PC_PIPE_BUF handling.
13548 2011-04-30 Bruno Haible <bruno@clisp.org>
13551 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13552 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13554 * inet/getnameinfo.c (getnameinfo): Likewise.
13556 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13558 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13559 to groups setting in database lookup.
13560 * nss/nsswitch.conf: Add initgroups entry.
13562 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13565 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13567 Patch by Eric Blake <eblake@redhat.com>.
13569 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13571 * sunrpc/Makefile (need-export-routines): Add svc_run.
13572 (routines): Remove svc_run.
13573 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13574 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13575 * sunrpc/svc_run.c (svc_run): Likewise.
13576 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13578 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13580 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13581 problem in reallocation in last patch.
13583 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13585 * sunrpc/Makefile: Move inclusion of Rules.
13587 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13589 * nss/nss_files/files-initgroups.c: New file.
13590 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13591 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13592 _nss_files_initgroups_dyn.
13594 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13596 * elf/elf.h (R_ARM_IRELATIVE): Define.
13598 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13600 * po/ru.po: Update from translation team.
13602 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13604 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13607 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13610 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13611 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13612 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13613 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13614 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13616 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13618 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13620 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13621 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13622 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13624 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13627 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13629 * stdlib/bug-getcontext.c: New file.
13630 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13632 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13634 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13635 instructions into .machine "z9-109".
13636 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13637 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13639 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13641 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13642 between environment variables and auxiliary vector.
13644 2011-04-16 Ulrich Drepper <drepper@gmail.com>
13646 * Makefile: Add rules to build linkobj/libc.so.
13647 * include/libc-symbols.h: Define libc_hidden_nolink.
13648 * include/rpc/auth.h: Mark functions which are to be hidden.
13649 * include/rpc/auth_des.h: Likewise.
13650 * include/rpc/auth_unix.h: Likewise.
13651 * include/rpc/clnt.h: Likewise.
13652 * include/rpc/des_crypt.h: Likewise.
13653 * include/rpc/key_prot.h: Likewise.
13654 * include/rpc/pmap_clnt.h: Likewise.
13655 * include/rpc/pmap_prot.h: Likewise.
13656 * include/rpc/pmap_rmt.h: Likewise.
13657 * include/rpc/rpc_msg.h: Likewise.
13658 * include/rpc/svc.h: Likewise.
13659 * include/rpc/svc_auth.h: Likewise.
13660 * include/rpc/xdr.h: Likewise.
13661 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13662 * nss/Makefile: Likewise.
13663 * sunrpc/Makefile: Don't install headers. Build library with normal
13664 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13665 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13666 for the compat linking library. Remove use of INTDEF/INTUSE.
13667 * sunrpc/auth_none.c: Likewise.
13668 * sunrpc/auth_unix.c: Likewise.
13669 * sunrpc/authdes_prot.c: Likewise.
13670 * sunrpc/authuxprot.c: Likewise.
13671 * sunrpc/clnt_gen.c: Likewise.
13672 * sunrpc/clnt_perr.c: Likewise.
13673 * sunrpc/clnt_raw.c: Likewise.
13674 * sunrpc/clnt_simp.c: Likewise.
13675 * sunrpc/clnt_tcp.c: Likewise.
13676 * sunrpc/clnt_udp.c: Likewise.
13677 * sunrpc/clnt_unix.c: Likewise.
13678 * sunrpc/des_crypt.c: Likewise.
13679 * sunrpc/des_soft.c: Likewise.
13680 * sunrpc/get_myaddr.c: Likewise.
13681 * sunrpc/key_call.c: Likewise.
13682 * sunrpc/key_prot.c: Likewise.
13683 * sunrpc/netname.c: Likewise.
13684 * sunrpc/pm_getmaps.c: Likewise.
13685 * sunrpc/pm_getport.c: Likewise.
13686 * sunrpc/pmap_clnt.c: Likewise.
13687 * sunrpc/pmap_prot.c: Likewise.
13688 * sunrpc/pmap_prot2.c: Likewise.
13689 * sunrpc/pmap_rmt.c: Likewise.
13690 * sunrpc/publickey.c: Likewise.
13691 * sunrpc/rpc_cmsg.c: Likewise.
13692 * sunrpc/rpc_common.c: Likewise.
13693 * sunrpc/rpc_dtable.c: Likewise.
13694 * sunrpc/rpc_prot.c: Likewise.
13695 * sunrpc/rpc_thread.c: Likewise.
13696 * sunrpc/rtime.c: Likewise.
13697 * sunrpc/svc.c: Likewise.
13698 * sunrpc/svc_auth.c: Likewise.
13699 * sunrpc/svc_authux.c: Likewise.
13700 * sunrpc/svc_raw.c: Likewise.
13701 * sunrpc/svc_run.c: Likewise.
13702 * sunrpc/svc_simple.c: Likewise.
13703 * sunrpc/svc_tcp.c: Likewise.
13704 * sunrpc/svc_udp.c: Likewise.
13705 * sunrpc/svc_unix.c: Likewise.
13706 * sunrpc/svcauth_des.c: Likewise.
13707 * sunrpc/xcrypt.c: Likewise.
13708 * sunrpc/xdr.c: Likewise.
13709 * sunrpc/xdr_array.c: Likewise.
13710 * sunrpc/xdr_float.c: Likewise.
13711 * sunrpc/xdr_intXX_t.c: Likewise.
13712 * sunrpc/xdr_mem.c: Likewise.
13713 * sunrpc/xdr_rec.c: Likewise.
13714 * sunrpc/xdr_ref.c: Likewise.
13715 * sunrpc/xdr_sizeof.c: Likewise.
13716 * sunrpc/xdr_stdio.c: Likewise.
13718 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13721 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13722 * sysdeps/ia64/dl-tls.h: Likewise.
13723 * sysdeps/powerpc/dl-tls.h: Likewise.
13724 * sysdeps/s390/dl-tls.h: Likewise.
13725 * sysdeps/sh/dl-tls.h: Likewise.
13726 * sysdeps/sparc/dl-tls.h: Likewise.
13727 * sysdeps/x86_64/dl-tls.h: Likewise.
13728 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13730 2011-03-14 Andreas Schwab <schwab@redhat.com>
13732 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13733 rpath element also skip the following colon.
13734 (expand_dynamic_string_token): Add is_path parameter and pass
13735 down to DL_DST_REQUIRED and _dl_dst_substitute.
13736 (decompose_rpath): Call expand_dynamic_string_token with
13737 non-zero is_path. Ignore empty rpaths.
13738 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13741 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13746 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13749 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13750 Patch by Filipe David Manana <fdmanana@apache.org>.
13752 2011-04-07 Andreas Schwab <schwab@redhat.com>
13754 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13755 Maintain aligned stack.
13756 (CHECK_RSP): Remove unused macro.
13758 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13760 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13761 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13763 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13765 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13767 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13769 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13772 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13773 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13774 * sysdeps/x86_64/memmove.c: New file.
13775 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13776 (memcpy): Renamed to ...
13777 (__new_memcpy): This.
13778 (memcpy): Provide GLIBC_2_14 memcpy.
13779 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13780 (memcpy): Provide GLIBC_2_2_5 memcpy.
13782 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13785 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13787 2011-03-30 Andreas Schwab <schwab@redhat.com>
13789 * misc/syncfs.c: New file.
13790 * misc/Makefile (routines): Add syncfs.
13791 * posix/unistd.h: Declare syncfs.
13792 * sysdeps/unix/syscalls.list: Add syncfs.
13794 2011-04-01 Andreas Schwab <schwab@redhat.com>
13796 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13798 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13799 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13800 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13801 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13803 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13804 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13806 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13808 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13809 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13810 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13811 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13812 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13814 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13816 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13817 sync_file_range.c with -fexceptions.
13818 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13819 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13820 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13821 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13822 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13823 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13824 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13825 sync_file_range as cancellation point
13826 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13827 now a wrapper around __call_sync_file_range with cancellation handling.
13828 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13829 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13830 function name to __call_sync_file_range.
13831 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13832 Add call_sync_file_range.
13834 2011-04-01 Andreas Schwab <schwab@redhat.com>
13836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13839 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13841 * iconv/iconv.h: Fix typo in comment.
13842 * io/fcntl.h: Likewise.
13843 * libio/stdio.h: Likewise.
13844 * posix/spawn.h: Likewise.
13845 * posix/unistd.h: Likewise.
13846 * stdlib/stdlib.h: Likewise.
13847 * time/time.h: Likewise.
13848 * wcsmbs/wchar.h: Likewise.
13850 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13851 open_by_handle): Add.
13852 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13853 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13854 Augment a few comments.
13855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13857 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13858 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13859 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13860 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13863 * io/fcntl.h (AT_EMPTY_PATH): Define.
13865 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13867 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13868 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13869 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13871 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13872 * Versions.def: Add GLIBC_2.14.
13873 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13876 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13878 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13880 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13882 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13885 * string/test-strncmp.c (do_page_test): New function.
13886 (check2): Likewise.
13887 (test_main): Call check2.
13888 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13890 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13893 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13894 Handle cache information in CPU leaf 4.
13895 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13897 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13900 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13901 character representation.
13902 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13904 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13906 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13907 END(__isnan) to END(__isnanf) to match function entry point/label
13908 EALIGN(__isnanf,...).
13910 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13912 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13914 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13917 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13918 copy from the symbol referenced in the relocation to initialize the
13920 Patch by Piotr Bury <pbury@goahead.com>.
13921 * elf/Makefile: Add rules to build and tst-unique3.
13922 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13923 * elf/tst-unique3.cc: New file.
13924 * elf/tst-unique3.h: New file.
13925 * elf/tst-unique3lib.cc: New file.
13926 * elf/tst-unique3lib2.cc: New file.
13928 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13930 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13932 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13933 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13936 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13938 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13939 to-be-loaded object along a path to loader is ld.so.
13941 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13942 Ulrich Drepper <drepper@gmail.com>
13944 * sysdeps/x86_64/memset.S: After aligning destination, code
13945 branches to different locations depending on the value of
13946 misalignment, when multiarch is enabled. Fix this.
13948 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13950 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13951 Set _x86_64_preferred_memory_instruction for AMD processsors.
13952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13953 Set bit_Prefer_SSE_for_memop for AMD processors.
13955 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13957 * libio/fmemopen.c (fmemopen): Optimize a bit.
13959 2011-03-03 Andreas Schwab <schwab@redhat.com>
13961 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13963 2011-03-03 Roland McGrath <roland@redhat.com>
13965 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13967 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13969 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13970 __bzero_ultra1 instead of __memset_ultra1.
13972 2011-02-23 Andreas Schwab <schwab@redhat.com>
13973 Ulrich Drepper <drepper@gmail.com>
13976 * include/link.h (struct link_map): Add l_orig_initfini.
13977 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13978 returning unsuccessfully.
13979 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13980 close of a file loaded at startup, restore the original l_initfini
13982 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13983 list, store the pointer.
13984 * elf/Makefile ($(objpfx)noload-mem): New rule.
13985 (noload-ENV): Define.
13986 (tests): Add $(objpfx)noload-mem.
13987 * elf/noload.c: Include <memcheck.h>.
13988 (main): Call mtrace. Close all opened handles.
13990 2011-02-17 Andreas Schwab <schwab@redhat.com>
13993 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13994 dependencies are missing.
13996 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13998 Fix __if_freereq crash: Unlike the generic version which uses free,
14000 * sysdeps/mach/hurd/ifreq.h: New file.
14002 2011-01-27 Petr Baudis <pasky@suse.cz>
14003 Ulrich Drepper <drepper@gmail.com>
14006 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14007 to extend_alloca().
14008 * stdio-common/bug23.c: New file.
14009 * stdio-common/Makefile (tests): Add bug23.
14011 2010-09-28 Andreas Schwab <schwab@redhat.com>
14012 Ulrich Drepper <drepper@gmail.com>
14015 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14016 before performing relro protection. At old place add assertion
14017 to make sure nothing changed.
14019 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14020 Glauber de Oliveira Costa <glommer@gmail.com>
14022 * elf/elf.h: Add new ARM TLS relocs.
14024 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14027 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14029 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14031 * sysdeps/wordsize-64/tst-writev.c: New file.
14033 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14035 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14036 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14037 insns in _dl_start to prevent a TOC reference before relocs are
14040 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14043 * Makeconfig: Remove RANLIB definition.
14044 * Makerules: Don't use RANLIB.
14045 * aclocal.m4: Remove ranlib test.
14046 * configure.in: No need to check for ranlib.
14047 * elf/rtld-Rules: Don't use RANLIB.
14049 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14051 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14053 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14054 inclusion protection macro.
14056 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14057 SIGRTMIN and SIGRTMAX and print information in that case only when
14058 SIGRTMIN is defined.
14060 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14062 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14063 arginfo fn returning -1.
14065 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14066 and thousands string is zero terminated.
14068 2011-02-03 Andreas Schwab <schwab@redhat.com>
14070 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14071 sysdeps/unix/sysv/linux/bits/socket.h.
14073 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14075 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14076 (__CPU_COUNT): Remove old macros.
14077 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14078 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14079 (__CPU_ALLOC, __CPU_FREE): Add macros.
14080 (__sched_cpualloc, __sched_cpufree): Add declarations.
14082 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14084 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14085 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14086 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14087 (readdhstai): Return value of addhstaiX call.
14088 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14089 (addgrbyX): Return value returned by cache_addgr.
14090 (readdgrbyname): Return value returned by addgrbyX.
14091 (readdgrbygid): Likewise.
14092 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14093 (addpwbyX): Return value returned by cache_addpw.
14094 (readdpwbyname): Return value returned by addhstbyX.
14095 (readdpwbyuid): Likewise.
14096 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14097 (addservbyX): Return value returned by cache_addserv.
14098 (readdservbyname): Return value returned by addservbyX:
14099 (readdservbyport): Likewise.
14100 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14101 (addhstbyX): Return value returned by cache_addhst.
14102 (readdhstbyname): Return value returned by addhstbyX.
14103 (readdhstbyaddr): Likewise.
14104 (readdhstbynamev6): Likewise.
14105 (readdhstbyaddrv6): Likewise.
14106 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14107 (readdinitgroups): Return value returned by addinitgroupsX.
14108 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14109 (prune_cache): Keep track of timeout value of re-added entries.
14110 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14111 * nscd/nscd.h: Adjust prototypes of readd* functions.
14113 2011-02-04 Roland McGrath <roland@redhat.com>
14115 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14116 (nis_stats): Likewise.
14117 * nis/nis_modify.c (nis_modify): Likewise.
14118 * nis/nis_remove.c (nis_remove): Likewise.
14119 * nis/nis_add.c (nis_add): Likewise.
14121 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14123 * posix/fnmatch_loop.c: Add some consts.
14125 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14127 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14130 * config.make.in (config-cflags-novzeroupper): Define.
14131 * configure.in: Substitute libc_cv_cc_novzeroupper.
14132 * elf/Makefile (AVX-CFLAGS): Define.
14133 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14134 (CFLAGS-tst-auditmod4a.c): Likewise.
14135 (CFLAGS-tst-auditmod4b.c): Likewise.
14136 (CFLAGS-tst-auditmod6b.c): Likewise.
14137 (CFLAGS-tst-auditmod6c.c): Likewise.
14138 (CFLAGS-tst-auditmod7b.c): Likewise.
14139 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14141 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14143 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14144 function to the callback.
14145 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14147 2011-02-02 Andreas Schwab <schwab@redhat.com>
14149 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14152 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14155 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14157 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14159 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14162 * elf/Makefile: Add rules to build and run new test.
14163 * elf/tst-initorder.c: New file.
14164 * elf/tst-initorder.exp: New file.
14165 * elf/tst-initordera1.c: New file.
14166 * elf/tst-initordera2.c: New file.
14167 * elf/tst-initordera3.c: New file.
14168 * elf/tst-initordera4.c: New file.
14169 * elf/tst-initorderb1.c: New file.
14170 * elf/tst-initorderb2.c: New file.
14171 * elf/tst-order-a1.c: New file.
14172 * elf/tst-order-a2.c: New file.
14173 * elf/tst-order-a3.c: New file.
14174 * elf/tst-order-a4.c: New file.
14175 * elf/tst-order-b1.c: New file.
14176 * elf/tst-order-b2.c: New file.
14177 * elf/tst-order-main.c: New file.
14178 New test case by George Gensure <werkt0@gmail.com>.
14180 2010-10-01 Andreas Schwab <schwab@redhat.com>
14182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14183 decoding ACE if AI_CANONIDN.
14185 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14187 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14189 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14191 * version.h (RELEASE): Bump for 2.13 release.
14192 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14194 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14196 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14198 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14199 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14200 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14201 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14202 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14203 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14205 * posix/getconf.c: Update copyright year.
14206 * catgets/gencat.c: Likewise.
14207 * csu/version.c: Likewise.
14208 * debug/catchsegv.sh: Likewise.
14209 * debug/xtrace.sh: Likewise.
14210 * elf/ldconfig.c: Likewise.
14211 * elf/ldd.bash.in: Likewise.
14212 * elf/sprof.c (print_version): Likewise.
14213 * iconv/iconv_prog.c: Likewise.
14214 * iconv/iconvconfig.c: Likewise.
14215 * locale/programs/locale.c: Likewise.
14216 * locale/programs/localedef.c: Likewise.
14217 * malloc/memusage.sh: Likewise.
14218 * malloc/mtrace.pl: Likewise.
14219 * nscd/nscd.c (print_version): Likewise.
14220 * nss/getent.c: Likewise.
14222 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14223 PF_CAIF, and PF_ALG.
14224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14226 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14228 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14229 (modules-names): Use them.
14230 (ifunc-test-modules, ifunc-pie-tests): Define.
14231 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14232 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14233 (test-extras): Likewise.
14234 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14235 $(compile-command.c).
14236 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14237 (all-built-dso): Define.
14238 (check-textrel.out, check-execstack.out): Depend on it.
14240 * configure.in: Don't override --enable-multi-arch.
14242 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14245 * nscd/hstcache.c (tryagain): Define.
14246 (cache_addhst): Return tryagain not notfound for temporary errors.
14247 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14250 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14253 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14254 to make the syscall.
14255 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14258 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14259 and fall back to matching as normal character if the string ends before
14260 the matching ']' is found. This is what POSIX requires.
14261 * posix/testfnm.c: Adjust test result.
14262 * posix/globtest.sh: Adjust test result. Add new test.
14263 * posix/tst-fnmatch.input: Likewise.
14264 * posix/tst-fnmatch2.c: Add new test.
14266 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14268 * elf/Makefile (check-execstack): Revert last change. Depend on
14270 (check-execstack.h): New target.
14271 (generated): Add check-execstack.h.
14272 * elf/check-execstack.c: Include "check-execstack.h".
14273 (main): Revert last change.
14274 (handle_file): Return zero if GNU_STACK is absent and
14275 DEFAULT_STACK_PERMS doesn't include PF_X.
14277 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14279 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14280 in child fails because the descriptor is already closed.
14281 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14282 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14283 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14286 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14290 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14291 temporary buffer used to handle multi lookups locally.
14292 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14294 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14296 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14299 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14301 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14302 alignment for SSE2.
14304 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14307 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14308 characters. When rounding increased number of integer digits recompute
14310 * stdio-common/tst-grouping.c: New file.
14311 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14313 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14315 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14316 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14318 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14320 * bits/select.h: Likewise.
14322 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14324 * po/ja.po: Update from translation team.
14326 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14329 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14330 implementation just like for lxstat, fxstatat, et al.
14332 2010-12-27 Jim Meyering <meyering@redhat.com>
14335 * posix/regexec.c (build_trtable): Return failure indication upon
14336 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14338 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14341 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14342 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14343 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14344 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14347 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14350 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14351 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14353 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14355 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14356 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14357 script has SORT_BY_INIT_PRIORITY.
14358 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14359 NO_CTORS_DTORS_SECTIONS is defined.
14360 * elf/soinit.c: Likewise.
14361 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14362 NO_CTORS_DTORS_SECTIONS is defined.
14363 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14364 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14365 * sysdeps/sh/init-first.c: Likewise.
14366 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14368 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14370 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14371 always use the slow path.
14373 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14375 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14376 similar rule which adds the sysdep directories to the header search in
14377 order to pick up the correct platform stackinfo.h.
14378 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14379 perform test if it is, otherwise return successfully without testing.
14380 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14381 DEFAULT_STACK_PERMS define in stackinfo.h.
14382 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14383 defined in stackinfo.h.
14384 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14385 DEFAULT_STACK_PERMS defined in stackinfo.h.
14386 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14387 * sysdeps/ia64/stackinfo.h: Likewise.
14388 * sysdeps/s390/stackinfo.h: Likewise.
14389 * sysdeps/sh/stackinfo.h: Likewise.
14390 * sysdeps/sparc/stackinfo.h: Likewise.
14391 * sysdeps/x86_64/stackinfo.h: Likewise.
14392 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14393 PF_X for powerpc64. Retain PF_X for powerpc32.
14395 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14397 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14399 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14400 GETDENTS_64BIT_ALIGNED.
14402 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14404 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14406 2010-12-10 Andreas Schwab <schwab@redhat.com>
14408 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14411 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14412 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14414 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14415 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14417 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14420 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14423 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14425 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14427 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14429 * po/it.po: Update from translation team.
14431 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14436 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14438 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14440 2010-11-24 Andreas Schwab <schwab@redhat.com>
14442 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14444 (gaih_getanswer_slice): Likewise.
14446 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14450 2010-05-31 Petr Baudis <pasky@suse.cz>
14453 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14454 silently even in the chroot mode.
14456 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14458 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14459 last patch a bit. Pretty printing
14461 2010-05-31 Petr Baudis <pasky@suse.cz>
14464 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14465 initialization of skip_initgroups_dyn.
14467 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14469 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14470 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14472 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14474 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14476 2010-11-11 Andreas Schwab <schwab@redhat.com>
14478 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14479 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14480 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14481 ($(objpfx)tst-fnmatch-mem): New rule.
14482 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14483 * posix/tst-fnmatch.c (main): Call mtrace.
14485 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14488 Support Intel processor model 6 and model 0x2c.
14490 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14492 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14495 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14498 * string/test-strncasecmp.c (check_result): New function.
14499 (do_one_test): Use it.
14500 (check1): New function.
14501 (test_main): Use it.
14502 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14503 Support strcasecmp and strncasecmp.
14505 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14508 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14509 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14511 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14513 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14517 * sysdeps/x86_64/multiarch/bzero.S: New file.
14518 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14519 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14520 * sysdeps/x86_64/multiarch/memset.S: New file.
14521 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14523 Set bit_Prefer_SSE_for_memop for Intel processors.
14524 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14526 (index_Prefer_SSE_for_memop): Define.
14527 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14529 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14531 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14532 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14534 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14537 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14538 (__x86_64_raw_data_cache_size_half): Likewise.
14539 (__x86_64_raw_shared_cache_size): Likewise.
14540 (__x86_64_raw_shared_cache_size_half): Likewise.
14542 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14543 (__x86_64_raw_data_cache_size_half): Likewise.
14544 (__x86_64_raw_shared_cache_size): Likewise.
14545 (__x86_64_raw_shared_cache_size_half): Likewise.
14546 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14547 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14548 and __x86_64_raw_shared_cache_size_half. Round
14549 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14550 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14551 to multiple of 256 bytes.
14553 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14556 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14557 of inacessible symlinks. Verify result of symlink before returning it.
14558 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14559 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14561 2010-10-28 Erich Ritz <erichritz@gmail.com>
14563 * math/math.h (isinf): Fix typo in comment.
14565 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14567 * po/da.po: Update from translation team.
14569 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14571 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14572 is added to the list.
14574 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14575 Ulrich Drepper <drepper@gmail.com>
14577 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14578 the global list here. Move code to...
14579 (_dl_add_to_namespace_list): ...here. New function.
14580 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14581 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14582 * elf/dl-load.c (lose): Don't remove the element from the list.
14583 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14584 (_dl_map_object): Likewise.
14586 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14589 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14590 into all bytes of SSE register.
14591 Patch by Richard Li <richardpku@gmail.com>.
14593 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14596 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14599 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14601 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14602 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14603 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14604 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14609 2010-10-22 Andreas Schwab <schwab@redhat.com>
14611 * include/dlfcn.h (__RTLD_SECURE): Define.
14612 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14613 mode & __RTLD_SECURE instead.
14614 (open_path): Rename preloaded parameter to secure.
14615 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14616 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14617 * elf/dl-deps.c (openaux): Likewise.
14618 * elf/rtld.c (struct map_args): Remove is_preloaded.
14619 (map_doit): Don't use it.
14620 (dl_main): Likewise.
14621 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14622 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14624 2010-09-09 Andreas Schwab <schwab@redhat.com>
14626 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14627 (sysd-rules-targets): Remove duplicates.
14628 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14629 rtld-%.$o dependency.
14631 2010-10-18 Andreas Schwab <schwab@redhat.com>
14633 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14634 _dl_map_object do it.
14636 2010-10-19 Ulrich Drepper <drepper@gmail.com>
14638 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14639 fast fma builtins, define the macros in the C99 standard.
14640 (FP_FAST_FMAF): Likewise.
14641 (FP_FAST_FMAL): Likewise.
14642 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14644 * bits/mathdef.h: Update copyright year.
14645 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14647 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14649 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14650 builtins, define the macros in the C99 standard.
14651 (FP_FAST_FMAF): Likewise.
14652 (FP_FAST_FMAL): Likewise.
14653 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14655 (FP_FAST_FMAF): Likewise.
14657 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14660 * math/libm-test.inc (fma_test): Some new testcases.
14661 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14662 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14663 y and infinite z. Do multiplication by C already in long double.
14664 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14666 y and infinite z. Do bitwise or of inexact bit into u.d.
14667 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14668 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14669 * sysdeps/i386/fpu/s_fma.S: Removed.
14670 * sysdeps/i386/fpu/s_fmal.S: Removed.
14672 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14675 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14677 computation is not scheduled after fetestexcept. Fix value
14678 of minimum denormal long double.
14680 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14683 * math/libm-test.inc (fma_test): Add some more tests.
14684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14687 2010-10-15 Andreas Schwab <schwab@redhat.com>
14689 * scripts/data/localplt-s390-linux-gnu.data: New file.
14690 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14692 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14695 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14696 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14698 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14700 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14701 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14702 if one of x and y is very large and the other is subnormal.
14703 * sysdeps/s390/fpu/s_fmaf.c: New file.
14704 * sysdeps/s390/fpu/s_fma.c: New file.
14705 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14706 * sysdeps/powerpc/fpu/s_fma.S: New file.
14707 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14708 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14709 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14711 2010-10-12 Jakub Jelinek <jakub@redhat.com>
14714 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14716 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14717 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14718 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14719 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14720 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14721 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14722 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14724 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14727 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14728 * posix/bug-regex31.input: Add test case.
14730 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14732 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14733 * posix/bug-regex31.input: New file.
14736 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14737 (parse_sub_exp): Fix last change, use postorder.
14739 * posix/bug-regex31.c: New file.
14740 * posix/Makefile: Add rules to build and run bug-regex31.
14742 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14745 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14748 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14749 to have entries in sys_siglist.
14752 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14755 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14758 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14759 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14760 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14761 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14762 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14763 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14764 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14765 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14766 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14767 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14768 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14769 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14770 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14771 * math/ftestexcept.c (fetestexcept): Likewise.
14772 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14773 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14774 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14775 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14776 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14777 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14778 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14780 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14783 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14786 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14788 * string/bug-strstr1.c: New file.
14789 * string/Makefile: Add rules to build and run bug-strstr1.
14791 2010-10-05 Eric Blake <eblake@redhat.com>
14794 * string/str-two-way.h (two_way_long_needle): Always clear memory
14795 when skipping input due to the shift table.
14797 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14800 * malloc/mcheck.c: Handle large requests.
14803 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14804 for strncmp and strncasecmp.
14805 * string/stratcliff.c: Add tests for strcmp and strncmp.
14806 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14808 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14810 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14813 2010-09-30 Andreas Jaeger <aj@suse.de>
14815 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14816 (CGROUP_SUPER_MAGIC): Define.
14817 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14818 Handle btrfs and cgroup file systems.
14819 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14822 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14824 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14825 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14827 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14830 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14831 trying to locate the ELF header.
14833 2010-09-27 Andreas Schwab <schwab@redhat.com>
14836 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14837 Mask out sign-bit copies when constructing f_fsid.
14839 2010-09-24 Petr Baudis <pasky@suse.cz>
14841 * debug/stack_chk_fail_local.c: Add missing licence exception.
14842 * debug/warning-nop.c: Likewise.
14844 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14846 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14847 implementing getdents64 using getdents syscall, set d_type if
14848 __ASSUME_GETDENTS32_D_TYPE.
14850 2010-09-16 Andreas Schwab <schwab@redhat.com>
14852 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14853 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14855 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14858 * posix/unistd.h: Undo change of feature selection for ftruncate from
14861 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14863 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14866 2010-09-20 Andreas Schwab <schwab@redhat.com>
14868 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14870 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14872 2010-09-14 Andreas Schwab <schwab@redhat.com>
14874 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14875 variables after CHECK_SP call.
14876 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14878 2010-09-13 Andreas Schwab <schwab@redhat.com>
14879 Ulrich Drepper <drepper@redhat.com>
14881 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14882 re-relocationg ld.so.
14883 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14884 _dl_init_paths call.
14885 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14888 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14890 * resolv/res_init.c (__res_vinit): Count the default server we added.
14892 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14893 Ulrich Drepper <drepper@redhat.com>
14896 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14897 (____longjmp_chk): Use %ebx for saving value across system call.
14900 2010-09-06 Andreas Schwab <schwab@redhat.com>
14902 * manual/Makefile: Don't mix pattern rules with normal rules.
14904 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14906 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14908 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14909 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14910 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14911 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14912 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14915 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14918 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14919 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14921 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14923 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14924 * sysdeps/x86_64/addmul_1.S: Likewise.
14925 * sysdeps/x86_64/lshift.S: Likewise.
14926 * sysdeps/x86_64/mul_1.S: Likewise.
14927 * sysdeps/x86_64/rshift.S: Likewise.
14928 * sysdeps/x86_64/sub_n.S: Likewise.
14929 * sysdeps/x86_64/submul_1.S: Likewise.
14931 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14933 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14934 Define __sched_param instead of SCHED_* and sched_param when
14935 <bits/sched.h> is included with __need_schedparam defined.
14936 * bits/sched.h [__need_schedparam]
14937 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14938 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14939 (__defined_schedparam): Define to 1.
14940 (__sched_param): New structure, identical to sched_param.
14941 (__need_schedparam): Undefine.
14943 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14945 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14946 (epoll_create1): Declare.
14948 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14950 2010-08-31 Andreas Schwab <schwab@redhat.com>
14953 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14954 shifting retval into place.
14956 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14958 * nis/rpcsvc/nis.h: Update copyright notice.
14959 * nis/rpcsvc/nis.x: Likewise.
14960 * nis/rpcsvc/nis_callback.h: Likewise.
14961 * nis/rpcsvc/nis_callback.x: Likewise.
14962 * nis/rpcsvc/nis_object.x: Likewise.
14963 * nis/rpcsvc/nis_tags.h: Likewise.
14964 * nis/rpcsvc/yp.h: Likewise.
14965 * nis/rpcsvc/yp.x: Likewise.
14966 * nis/rpcsvc/ypupd.h: Likewise.
14967 * nis/yp_xdr.c: Likewise.
14968 * nis/ypupdate_xdr.c: Likewise.
14970 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14971 mainly the body of pmap_getport. Add parameters to specify timeouts.
14972 (pmap_getport): Use __libc_rpc_getport.
14973 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14974 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14975 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14977 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14982 2010-08-27 Roland McGrath <roland@redhat.com>
14984 * sysdeps/i386/i686/multiarch/Makefile
14985 (CFLAGS-varshift.c): New variable.
14987 2010-08-27 Ulrich Drepper <drepper@redhat.com>
14989 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14990 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14992 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14994 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14996 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14998 * sysdeps/x86_64/strlen.S: Unroll the loop.
14999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15000 strlen-sse2 strlen-sse2-bsf.
15001 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15002 __strlen_no_bsf if bit_Slow_BSF is set.
15003 (__strlen_sse42): Removed.
15004 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15005 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15007 2010-08-25 Roland McGrath <roland@redhat.com>
15009 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15010 * sysdeps/x86_64/multiarch/varshift.c: New file.
15011 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15012 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15013 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15014 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15016 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15018 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15019 strlen-sse2 strlen-sse2-bsf.
15020 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15021 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15022 (__strlen_sse2): Removed.
15023 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15024 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15026 bit_Slow_BSF for Atom.
15027 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15028 (index_Slow_BSF): Define.
15029 (HAS_SLOW_BSF): Define.
15031 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15034 * resolv/res_init.c (__res_vinit): When no server address at all
15035 is given default to loopback.
15037 2010-08-24 Roland McGrath <roland@redhat.com>
15039 * configure.in: Remove config-name.h generation.
15040 * configure: Regenerated.
15041 * config-name.in: File removed.
15042 * scripts/config-uname.sh: New file.
15043 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15044 ($(objdir)config-name.h): New target.
15046 * sunrpc/rpc_parse.h: Avoid nested comment.
15048 2010-08-24 Richard Henderson <rth@redhat.com>
15049 Ulrich Drepper <drepper@redhat.com>
15050 H.J. Lu <hongjiu.lu@intel.com>
15052 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15054 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15055 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15056 _mm_alignr_epi8 with _mm_loadu_si128.
15057 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15058 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15059 (__m128i_shift_right): Removed.
15060 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15061 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15062 * sysdeps/x86_64/multiarch/varshift.h: New file.
15063 * sysdeps/x86_64/multiarch/varshift.S: New file.
15065 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15067 * configure.in: Move assembler checks to before sysdep dir checking.
15069 2010-08-20 Petr Baudis <pasky@suse.cz>
15071 * LICENSES: Sync the sunrpc license.
15073 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15075 * sunrpc/auth_des.c: Update copyright notice once again.
15076 * sunrpc/auth_none.c: Likewise.
15077 * sunrpc/auth_unix.c: Likewise.
15078 * sunrpc/authdes_prot.c: Likewise.
15079 * sunrpc/authuxprot.c: Likewise.
15080 * sunrpc/bindrsvprt.c: Likewise.
15081 * sunrpc/clnt_gen.c: Likewise.
15082 * sunrpc/clnt_perr.c: Likewise.
15083 * sunrpc/clnt_raw.c: Likewise.
15084 * sunrpc/clnt_simp.c: Likewise.
15085 * sunrpc/clnt_tcp.c: Likewise.
15086 * sunrpc/clnt_udp.c: Likewise.
15087 * sunrpc/clnt_unix.c: Likewise.
15088 * sunrpc/des_crypt.c: Likewise.
15089 * sunrpc/des_soft.c: Likewise.
15090 * sunrpc/get_myaddr.c: Likewise.
15091 * sunrpc/getrpcport.c: Likewise.
15092 * sunrpc/key_call.c: Likewise.
15093 * sunrpc/key_prot.c: Likewise.
15094 * sunrpc/openchild.c: Likewise.
15095 * sunrpc/pm_getmaps.c: Likewise.
15096 * sunrpc/pm_getport.c: Likewise.
15097 * sunrpc/pmap_clnt.c: Likewise.
15098 * sunrpc/pmap_prot.c: Likewise.
15099 * sunrpc/pmap_prot2.c: Likewise.
15100 * sunrpc/pmap_rmt.c: Likewise.
15101 * sunrpc/rpc/auth.h: Likewise.
15102 * sunrpc/rpc/auth_unix.h: Likewise.
15103 * sunrpc/rpc/clnt.h: Likewise.
15104 * sunrpc/rpc/des_crypt.h: Likewise.
15105 * sunrpc/rpc/key_prot.h: Likewise.
15106 * sunrpc/rpc/netdb.h: Likewise.
15107 * sunrpc/rpc/pmap_clnt.h: Likewise.
15108 * sunrpc/rpc/pmap_prot.h: Likewise.
15109 * sunrpc/rpc/pmap_rmt.h: Likewise.
15110 * sunrpc/rpc/rpc.h: Likewise.
15111 * sunrpc/rpc/rpc_des.h: Likewise.
15112 * sunrpc/rpc/rpc_msg.h: Likewise.
15113 * sunrpc/rpc/svc.h: Likewise.
15114 * sunrpc/rpc/svc_auth.h: Likewise.
15115 * sunrpc/rpc/types.h: Likewise.
15116 * sunrpc/rpc/xdr.h: Likewise.
15117 * sunrpc/rpc_clntout.c: Likewise.
15118 * sunrpc/rpc_cmsg.c: Likewise.
15119 * sunrpc/rpc_common.c: Likewise.
15120 * sunrpc/rpc_cout.c: Likewise.
15121 * sunrpc/rpc_dtable.c: Likewise.
15122 * sunrpc/rpc_hout.c: Likewise.
15123 * sunrpc/rpc_main.c: Likewise.
15124 * sunrpc/rpc_parse.c: Likewise.
15125 * sunrpc/rpc_parse.h: Likewise.
15126 * sunrpc/rpc_prot.c: Likewise.
15127 * sunrpc/rpc_sample.c: Likewise.
15128 * sunrpc/rpc_scan.c: Likewise.
15129 * sunrpc/rpc_scan.h: Likewise.
15130 * sunrpc/rpc_svcout.c: Likewise.
15131 * sunrpc/rpc_tblout.c: Likewise.
15132 * sunrpc/rpc_util.c: Likewise.
15133 * sunrpc/rpc_util.h: Likewise.
15134 * sunrpc/rpcinfo.c: Likewise.
15135 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15136 * sunrpc/rpcsvc/key_prot.x: Likewise.
15137 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15138 * sunrpc/rpcsvc/mount.x: Likewise.
15139 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15140 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15141 * sunrpc/rpcsvc/rex.x: Likewise.
15142 * sunrpc/rpcsvc/rstat.x: Likewise.
15143 * sunrpc/rpcsvc/rusers.x: Likewise.
15144 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15145 * sunrpc/rpcsvc/spray.x: Likewise.
15146 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15147 * sunrpc/rtime.c: Likewise.
15148 * sunrpc/svc.c: Likewise.
15149 * sunrpc/svc_auth.c: Likewise.
15150 * sunrpc/svc_authux.c: Likewise.
15151 * sunrpc/svc_raw.c: Likewise.
15152 * sunrpc/svc_run.c: Likewise.
15153 * sunrpc/svc_simple.c: Likewise.
15154 * sunrpc/svc_tcp.c: Likewise.
15155 * sunrpc/svc_udp.c: Likewise.
15156 * sunrpc/svc_unix.c: Likewise.
15157 * sunrpc/svcauth_des.c: Likewise.
15158 * sunrpc/xcrypt.c: Likewise.
15159 * sunrpc/xdr.c: Likewise.
15160 * sunrpc/xdr_array.c: Likewise.
15161 * sunrpc/xdr_float.c: Likewise.
15162 * sunrpc/xdr_mem.c: Likewise.
15163 * sunrpc/xdr_rec.c: Likewise.
15164 * sunrpc/xdr_ref.c: Likewise.
15165 * sunrpc/xdr_sizeof.c: Likewise.
15166 * sunrpc/xdr_stdio.c: Likewise.
15168 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15171 2010-08-19 Andreas Schwab <schwab@redhat.com>
15173 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15175 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15177 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15178 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15179 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15180 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15181 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15182 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15183 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15184 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15185 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15186 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15187 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15188 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15189 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15190 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15192 2010-07-26 Anton Blanchard <anton@samba.org>
15194 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15195 * malloc/arena.c (heap_trim): Likewise.
15197 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15199 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15201 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15202 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15204 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15206 * sysdeps/i386/elf/Makefile: New file.
15208 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15210 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15211 from fanotify_init.
15212 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15215 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15217 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15219 * sysdeps/multiarch/strcmp.S: Likewise.
15221 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15223 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15224 strncase_l-nonascii.
15225 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15226 Add strncase_l-ssse3.
15227 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15228 * sysdeps/x86_64/strcmp.S: Likewise.
15229 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15230 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15231 * sysdeps/x86_64/strncase.S: New file.
15232 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15233 * sysdeps/x86_64/strncase_l.S: New file.
15234 * string/Makefile (strop-tests): Add strncasecmp.
15235 * string/test-strncasecmp.c: New file.
15237 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15240 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15241 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15243 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15245 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15247 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15249 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15250 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15251 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15253 2010-05-01 Alan Modra <amodra@gmail.com>
15255 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15256 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15257 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15258 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15259 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15260 tidying. Don't tail-call __sigjmp_save for static lib.
15261 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15263 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15264 (CALL_MCOUNT): Add eh info, and nop after bl.
15265 (TAIL_CALL_SYSCALL_ERROR): New macro.
15266 (PSEUDO_RET): Use it.
15267 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15268 Correct save location of integer regs and cr.
15269 (_dl_profile_resolve): Correct cr save location. Delete nops
15270 after bl when SHARED. Reduce cfi size a little by better
15271 placement of cfi directives.
15272 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15273 make a stack frame. Instead use parm save area as a temp.
15274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15275 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15277 Don't make a stack frame for parent, use parm save area.
15278 Increase child stack frame to 112 bytes. Don't save unused reg,
15279 and adjust reg usage. Set up cfi on error recovery and
15280 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15282 (__makecontext): Add dummy nop after jump to exit.
15283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15284 Use correct parm save area and cr save, reduce stack frame.
15285 Correct cfi for possible PSEUDO_RET frame setup.
15286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15287 Branch to local label emitted by PSEUDO_RET rather than
15290 2010-08-12 Andreas Schwab <schwab@redhat.com>
15293 * locale/programs/locale.c (print_assignment): New function.
15294 (show_locale_vars): Use it.
15296 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15298 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15300 (struct statfs64): Likewise.
15301 (_STATFS_F_FLAGS): Define.
15302 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15303 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15304 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15305 (ST_VALID): Define locally.
15306 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15307 __statvfs_getflags, use the provided value.
15308 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15309 __ASSUME_STATFS_F_FLAGS.
15311 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15313 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15314 Add sys/fanotify.h.
15315 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15316 fanotify_mask for GLIBC_2.13.
15317 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15318 fanotify_init and fanotify_mark.
15319 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15320 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15322 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15324 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15325 prlimit64 for GLIBC_2.13.
15326 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15328 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15331 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15332 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15333 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15334 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15336 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15339 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15340 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15342 * nss/Makefile: Add rules to build and run tst-nss-test1.
15343 * shlib-versions: Add entry for libnss_test1.
15344 * nss/nss_test1.c: New file.
15345 * nss/tst-nss-test1.c: New file.
15347 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15348 (__nss_configure_lookup): Set appropriate entry in
15349 __nss_configure_lookup to true.
15350 * nss/nsswitch.h: Define enum with indeces of databases in
15351 databases and __nss_database_custom arrays. Declare
15352 __nss_database_custom.
15353 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15354 to avoid using nscd when custom rules are installed.
15355 * nss/getXXbyYY_r.c: Likewise.
15356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15358 * nss/nss_files/files-parse.c: Whitespace fixes.
15360 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15363 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15364 * posix/fnmatch_loop.c: Likewise.
15366 2010-07-17 Andi Kleen <ak@linux.intel.com>
15368 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15369 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15370 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15371 * Versions.def [GLIBC_2.13]: Add.
15373 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15375 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15376 Also fail if tpwd after pwuid call is NULL.
15378 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15380 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15381 when converting to ms.
15383 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15385 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15386 EOPNOTSUPP errors with ENOTTY.
15387 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15388 EOPNOTSUPP errors with ENOTTY.
15390 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15392 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15393 Add strcasecmp_l-ssse3.
15394 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15396 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15397 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15398 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15400 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15402 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15404 * string/Makefile (strop-tests): Add strcasecmp.
15405 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15406 strcasecmp_l-nonascii.
15407 (gen-as-const-headers): Add locale-defines.sym.
15408 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15409 * sysdeps/x86_64/strcasecmp.S: New file.
15410 * sysdeps/x86_64/strcasecmp_l.S: New file.
15411 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15412 * sysdeps/x86_64/locale-defines.sym: New file.
15413 * string/test-strcasecmp.c: New file.
15415 * string/test-strcasestr.c: Test both ends of the range of characters.
15416 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15418 2010-07-29 Roland McGrath <roland@redhat.com>
15421 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15423 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15425 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15428 2010-07-27 Andreas Schwab <schwab@redhat.com>
15430 * manual/memory.texi (Malloc Tunable Parameters): Document
15433 2010-07-26 Roland McGrath <roland@redhat.com>
15436 * configure.in (-fgnu89-inline check): Set and substitute
15437 gnu89_inline, not libc_cv_gnu89_inline.
15438 * configure: Regenerated.
15439 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15441 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15443 * string/test-strnlen.c: New file.
15444 * string/Makefile (strop-tests): Add strnlen.
15445 * string/tester.c (test_strnlen): Add a few more test cases.
15446 * string/tst-strlen.c: Better error reporting.
15448 * sysdeps/x86_64/strnlen.S: New file.
15450 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15452 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15453 lower-latency instructions.
15455 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15457 * string/test-strcasestr.c: New file.
15458 * string/test-strstr.c: New file.
15459 * string/Makefile (strop-tests): Add strstr and strcasestr.
15460 * string/str-two-way.h: Don't undefine MAX.
15461 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15463 2010-07-21 Andreas Schwab <schwab@redhat.com>
15465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15466 strcasestr-nonascii.
15467 (CFLAGS-strcasestr-nonascii.c): Define.
15468 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15469 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15470 Remove unused attribute.
15472 2010-07-20 Roland McGrath <roland@redhat.com>
15474 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15475 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15476 ld.so.cache was broken. With it, there is no way to disable dsocaps
15477 like LD_HWCAP_MASK can disable hwcaps.
15479 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15481 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15483 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15485 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15486 call in strcasestr.
15487 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15488 __strcasestr_sse42_nonascii.
15489 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15490 strcasestr-nonascii.c.
15491 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15493 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15495 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15496 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15497 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15498 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15500 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15502 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15505 2010-07-06 Andreas Schwab <schwab@redhat.com>
15508 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15511 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15513 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15514 _PC_PIPE_BUF using F_GETPIPE_SZ.
15516 2010-07-05 Roland McGrath <roland@redhat.com>
15518 * manual/arith.texi (Rounding Functions): Fix rint description
15519 implicit in round description.
15521 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15523 * elf/Makefile: Fix linking for a few tests to make recent linker
15526 2010-06-30 Andreas Schwab <schwab@redhat.com>
15528 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15529 $(common-objpfx)libc_nonshared.a.
15531 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15533 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15534 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15535 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15536 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15537 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15538 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15539 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15540 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15555 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15556 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15557 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15558 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15559 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15560 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15561 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15562 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15563 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15564 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15565 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15566 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15582 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15584 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15585 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15586 * string/memmove.c (memmove): Renamed to ...
15587 (MEMMOVE): ...this. Default to memmove.
15588 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15589 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15592 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15593 mempcpy-ssse3-back memmove-ssse3-back.
15594 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15595 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15596 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15597 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15598 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15599 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15600 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15601 * sysdeps/x86_64/multiarch/memmove.c: New file.
15602 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15603 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15604 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15605 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15606 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15607 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15609 (index_Fast_Copy_Backward): Define.
15610 (HAS_ARCH_FEATURE): Define.
15611 (HAS_FAST_REP_STRING): Define.
15612 (HAS_FAST_COPY_BACKWARD): Define.
15614 2010-06-21 Andreas Schwab <schwab@redhat.com>
15616 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15617 Restore proper fallback handling.
15619 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15622 * posix/group_member.c (__group_member): Correct checking loop.
15624 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15625 OOM in getpwuid_r correctly. Return error number when the caller
15626 should return, otherwise -1.
15627 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15628 call returning > 0 value.
15629 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15631 2010-06-07 Andreas Schwab <schwab@redhat.com>
15633 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15634 libc_nonshared.a from targets in modules-names.
15636 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15638 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15641 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
15643 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15644 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15645 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15646 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15648 2010-06-02 Andreas Schwab <schwab@redhat.com>
15650 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15652 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15654 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15656 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15657 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15659 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15660 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15661 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15663 2010-06-14 Roland McGrath <roland@redhat.com>
15665 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15667 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15669 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15670 __REDIRECT followed by __THROW.
15671 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15672 * posix/getopt.h (getopt): Likewise.
15674 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15676 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15677 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15678 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15680 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15681 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15683 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15685 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15687 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15691 Properly check family and model.
15693 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15695 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15697 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15699 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15701 2010-05-21 Ulrich Drepper <drepper@redhat.com>
15703 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15706 2010-05-19 Andreas Schwab <schwab@redhat.com>
15708 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15711 2010-05-21 Andreas Schwab <schwab@redhat.com>
15713 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15714 and internal_recvmmsg.
15715 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15716 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15717 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15718 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15720 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15721 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15722 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15724 2010-05-20 Andreas Schwab <schwab@redhat.com>
15726 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15728 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15730 POWER7 optimizations.
15731 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15732 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15734 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15736 * version.h: Update for 2.13 development version.
15738 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15740 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15741 exceptions. Return 0.
15743 2010-05-07 Roland McGrath <roland@redhat.com>
15745 * elf/ldconfig.c (main): Add a const.
15747 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15749 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15750 (args_options): Add no-idn option.
15751 (ahosts_keys_int): Add idn_flags to ai_flags.
15752 (parse_option): Handle 'i' option to clear idn_flags.
15754 * malloc/malloc.c (_int_free): Possible race in the most recently
15755 added check. Only act on the data if no current modification
15758 See ChangeLog.17 for earlier changes.