1 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4 the temporary FPU control word.
5 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
25 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33 2012-05-27 Ulrich Drepper <drepper@gmail.com>
35 * po/h.po: Update from translation team.
37 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42 handling of denormals.
43 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
52 2012-05-26 Marek Polacek <polacek@redhat.com>
55 * math/libm-test.inc (fma_test): Don't always expect underflow
58 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
61 * elf/tst-execstack.c: Include stackinfo.h.
62 (do_test): Adjust test case to ensure that pthread_getattr_np
63 behaviour remains the same after marking stack executable.
65 2012-05-25 Joseph Myers <joseph@codesourcery.com>
67 * sysdeps/unix/sysv/linux/kernel-features.h
68 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
71 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
75 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80 * configure.in: Define the default includes to being none.
81 * configure: Regenerated.
83 2012-05-25 Roland McGrath <roland@hack.frob.com>
85 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
86 * sysdeps/x86_64/setjmp.S: Likewise.
87 * sysdeps/i386/bsd-setjmp.S: Likewise.
88 * sysdeps/i386/bsd-_setjmp.S: Likewise.
89 * sysdeps/i386/setjmp.S: Likewise.
90 * sysdeps/i386/__longjmp.S: Likewise.
91 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
92 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
94 * include/stap-probe.h: New file.
95 * configure.in: Handle --enable-systemtap.
96 * configure: Regenerated.
97 * config.h.in (USE_STAP_PROBE): New #undef.
98 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
99 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
100 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
102 2012-05-25 Joseph Myers <joseph@codesourcery.com>
105 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
106 to 2.4.0 where earlier.
107 * sysdeps/unix/sysv/linux/configure: Regenerated.
108 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
110 [__ASSUME_32BITUIDS]: Make code unconditional.
111 [!__ASSUME_32BITUIDS]: Remove conditional code.
112 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
114 [__ASSUME_32BITUIDS]: Make code unconditional.
115 [!__ASSUME_32BITUIDS]: Remove conditional code.
116 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
117 [__ASSUME_32BITUIDS]: Make code unconditional.
118 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
119 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
121 [__ASSUME_32BITUIDS]: Make code unconditional.
122 [!__ASSUME_32BITUIDS]: Remove conditional code.
123 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
125 [__ASSUME_32BITUIDS]: Make code unconditional.
126 [!__ASSUME_32BITUIDS]: Remove conditional code.
127 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
129 [__ASSUME_32BITUIDS]: Make code unconditional.
130 [!__ASSUME_32BITUIDS]: Remove conditional code.
131 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
133 [__ASSUME_32BITUIDS]: Make code unconditional.
134 [!__ASSUME_32BITUIDS]: Remove conditional code.
135 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
137 [__ASSUME_32BITUIDS]: Make code unconditional.
138 [!__ASSUME_32BITUIDS]: Remove conditional code.
139 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
141 [__ASSUME_32BITUIDS]: Make code unconditional.
142 [!__ASSUME_32BITUIDS]: Remove conditional code.
143 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
145 [__ASSUME_32BITUIDS]: Make code unconditional.
146 [!__ASSUME_32BITUIDS]: Remove conditional code.
147 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
149 [__ASSUME_32BITUIDS]: Make code unconditional.
150 [!__ASSUME_32BITUIDS]: Remove conditional code.
151 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
153 [__ASSUME_32BITUIDS]: Make code unconditional.
154 [!__ASSUME_32BITUIDS]: Remove conditional code.
155 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
157 [__ASSUME_32BITUIDS]: Make code unconditional.
158 [!__ASSUME_32BITUIDS]: Remove conditional code.
159 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
161 [__NR_setresgid] (__setresgid): Do not declare.
162 [__ASSUME_32BITUIDS]: Make code unconditional.
163 [!__ASSUME_32BITUIDS]: Remove conditional code.
164 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
166 [__NR_setresuid] (__setresuid): Do not declare.
167 [__ASSUME_32BITUIDS]: Make code unconditional.
168 [!__ASSUME_32BITUIDS]: Remove conditional code.
169 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
171 [__ASSUME_32BITUIDS]: Make code unconditional.
172 [!__ASSUME_32BITUIDS]: Remove conditional code.
173 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
175 [__ASSUME_32BITUIDS]: Make code unconditional.
176 [!__ASSUME_32BITUIDS]: Remove conditional code.
177 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
179 [__ASSUME_32BITUIDS]: Make code unconditional.
180 [!__ASSUME_32BITUIDS]: Remove conditional code.
181 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
183 [__ASSUME_32BITUIDS]: Make code unconditional.
184 [!__ASSUME_32BITUIDS]: Remove conditional code.
185 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
187 [__ASSUME_32BITUIDS]: Make code unconditional.
188 [!__ASSUME_32BITUIDS]: Remove conditional code.
189 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
191 [__ASSUME_32BITUIDS]: Make code unconditional.
192 [!__ASSUME_32BITUIDS]: Remove conditional code.
193 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
195 [__ASSUME_32BITUIDS]: Make code unconditional.
196 [!__ASSUME_32BITUIDS]: Remove conditional code.
197 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
199 [__ASSUME_32BITUIDS]: Make code unconditional.
200 [!__ASSUME_32BITUIDS]: Remove conditional code.
201 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
203 [__ASSUME_32BITUIDS]: Make code unconditional.
204 [!__ASSUME_32BITUIDS]: Remove conditional code.
205 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
207 [__ASSUME_32BITUIDS]: Make code unconditional.
208 [!__ASSUME_32BITUIDS]: Remove conditional code.
209 * sysdeps/unix/sysv/linux/kernel-features.h
210 (__ASSUME_SETRESUID_SYSCALL): Remove.
211 (__ASSUME_SETRESGID_SYSCALL): Likewise.
212 (__ASSUME_32BITUIDS): Likewise.
213 (__ASSUME_LDT_WORKS): Likewise.
214 (__ASSUME_O_DIRECTORY): Likewise.
215 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
216 architecture but not kernel version.
217 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
218 (__ASSUME_MMAP2_SYSCALL): Likewise.
219 (__ASSUME_STAT64_SYSCALL): Likewise.
220 (__ASSUME_IPC64): Likewise.
221 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
223 [__ASSUME_32BITUIDS]: Make code unconditional.
224 [!__ASSUME_32BITUIDS]: Remove conditional code.
225 * sysdeps/unix/sysv/linux/opendir.c: Do not include
227 [__ASSUME_O_DIRECTORY]: Make code unconditional.
228 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
229 132096]: Remove conditional code.
230 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
231 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
233 [__ASSUME_32BITUIDS]: Make code unconditional.
234 [!__ASSUME_32BITUIDS]: Remove conditional code.
235 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
237 [__ASSUME_32BITUIDS]: Make code unconditional.
238 [!__ASSUME_32BITUIDS]: Remove conditional code.
239 * sysdeps/unix/sysv/linux/setegid.c: Do not include
241 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
243 (__setresgid): Do not declare.
244 [__ASSUME_32BITUIDS]: Make code unconditional.
245 [!__ASSUME_32BITUIDS]: Remove conditional code.
246 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
248 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
250 (__setresuid): Do not declare.
251 [__ASSUME_32BITUIDS]: Make code unconditional.
252 [!__ASSUME_32BITUIDS]: Remove conditional code.
253 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
255 [__ASSUME_32BITUIDS]: Make code unconditional.
256 [!__ASSUME_32BITUIDS]: Remove conditional code.
257 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
259 [__ASSUME_32BITUIDS]: Make code unconditional.
260 [!__ASSUME_32BITUIDS]: Remove conditional code.
262 2012-05-25 Richard Henderson <rth@twiddle.net>
264 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
265 dl_hwcap to ifunc resolver.
266 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
268 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
269 dl_hwcap to ifunc resolver.
270 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
272 2012-05-24 Joseph Myers <joseph@codesourcery.com>
275 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
276 for |x| <= 2**-26, not 2**-57.
277 * math/libm-test.inc (acos_test): Do not allow spurious underflow
280 2012-05-24 Jeff Law <law@redhat.com>
282 * stdio-common/Makefile (tests): Add bug25.
283 * stdio-common/bug25.c: New test.
285 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
288 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
289 multiple of MALLOC_ALIGNMENT in size.
290 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
292 2012-05-24 Joseph Myers <joseph@codesourcery.com>
294 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
296 (FILENAME_MAX): Use macro-int-constant.
297 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
298 (_IOFBF): Use macro-int-constant.
301 (SEEK_CUR): Likewise.
302 (SEEK_END): Likewise.
303 (SEEK_SET): Likewise.
305 (EOF): Use macro-int-constant. Require < 0.
306 (NULL): Use macro-constant. Require == 0.
307 (stdin): Require type to be FILE *.
310 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
312 (EXIT_SUCCESS): Likewise.
313 (NULL): Use macro-constant. Require == 0.
314 (RAND_MAX): Use macro-int-constant.
315 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
316 [C99-based standards] (strtof): Require function.
317 [C99-based standards] (strtold): Likewise.
318 [C99-based standards] (strtoll): Likewise.
319 [C99-based standards] (strtoull): Likewise.
320 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
321 [ISO || ISO99 || ISO11] (limits.h): Likewise.
322 [ISO || ISO99 || ISO11] (math.h): Likewise.
323 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
324 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
325 [ISO || ISO99 || ISO11] (*_t): Do not allow.
327 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
330 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
331 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
332 * intl/dgettext.c (DCGETTEXT): Likewise.
333 * intl/gettext.c (DCGETTEXT): Likewise.
334 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
335 * posix/regex_internal.h (gettext): Likewise.
336 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
338 * include/argz.h (__argz_count_internal)
339 (__argz_stringify_internal): Remove declaration.
340 (__argz_count, __argz_stringify): Declare hidden proto.
341 * intl/dcgettext.c: Remove use of INTDEF.
342 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
343 * string/argz-stringify.c: Likewise.
344 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
345 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
346 Declare hidden proto.
347 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
348 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
349 Declare hidden proto.
350 * include/stdio.h (__asprintf_internal): Don't declare.
351 (__asprintf): Don't define as macro. Declare hidden proto.
352 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
353 (__fsetlocking): Declare hidden proto.
354 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
355 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
357 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
358 (_IO_setlinebuf): Remove use of INTUSE.
359 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
360 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
361 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
363 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
364 (_IO_do_flush): Remove use of INTUSE.
365 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
366 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
367 (_IO_adjust_column, _IO_least_wmarker)
368 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
369 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
370 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
371 (_IO_default_doallocate, _IO_wdefault_doallocate)
372 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
373 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
374 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
375 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
376 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
377 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
378 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
379 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
380 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
381 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
382 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
383 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
384 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
386 (_IO_flush_all_internal, _IO_adjust_column_internal)
387 (_IO_default_uflow_internal, _IO_default_finish_internal)
388 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
389 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
390 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
391 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
392 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
393 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
394 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
395 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
396 (_IO_file_close_internal, _IO_file_close_it_internal)
397 (_IO_file_underflow_internal, _IO_file_overflow_internal)
398 (_IO_file_init_internal, _IO_file_attach_internal)
399 (_IO_file_fopen_internal, _IO_file_read_internal)
400 (_IO_file_sync_internal, _IO_file_seek_internal)
401 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
402 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
403 (_IO_str_underflow_internal, _IO_str_overflow_internal)
404 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
405 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
406 (_IO_list_all_internal, _IO_link_in_internal)
407 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
408 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
409 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
410 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
411 (_IO_do_write_internal, _IO_padn_internal)
412 (_IO_getline_info_internal, _IO_getline_internal)
413 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
414 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
415 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
416 (_IO_vfscanf_internal, _IO_vfprintf_internal)
417 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
418 (_IO_init_internal, _IO_un_link_internal): Don't declare.
419 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
420 with libc_hidden_ver, remove use of INTUSE.
421 * libio/genops.c: Likewise.
422 * libio/freopen.c: Likewise.
423 * libio/freopen64.c: Likewise.
424 * libio/iofclose.c: Likewise.
425 * libio/iofdopen.c: Likewise.
426 * libio/iofflush.c: Likewise.
427 * libio/iofflush_u.c: Likewise.
428 * libio/iofgets.c: Likewise.
429 * libio/iofgets_u.c: Likewise.
430 * libio/iofopen.c: Likewise.
431 * libio/iofopncook.c: Likewise.
432 * libio/iofread.c: Likewise.
433 * libio/iofread_u.c: Likewise.
434 * libio/ioftell.c: Likewise.
435 * libio/iofwrite.c: Likewise.
436 * libio/iogetline.c: Likewise.
437 * libio/iogets.c: Likewise.
438 * libio/iogetwline.c: Likewise.
439 * libio/iopadn.c: Likewise.
440 * libio/iopopen.c: Likewise.
441 * libio/ioseekoff.c: Likewise.
442 * libio/ioseekpos.c: Likewise.
443 * libio/iosetbuffer.c: Likewise.
444 * libio/iosetvbuf.c: Likewise.
445 * libio/ioungetc.c: Likewise.
446 * libio/ioungetwc.c: Likewise.
447 * libio/iovdprintf.c: Likewise.
448 * libio/iovsprintf.c: Likewise.
449 * libio/iovsscanf.c: Likewise.
450 * libio/memstream.c: Likewise.
451 * libio/obprintf.c: Likewise.
452 * libio/oldfileops.c: Likewise.
453 * libio/oldiofclose.c: Likewise.
454 * libio/oldiofdopen.c: Likewise.
455 * libio/oldiofopen.c: Likewise.
456 * libio/oldiopopen.c: Likewise.
457 * libio/oldstdfiles.c: Likewise.
458 * libio/putc.c: Likewise.
459 * libio/setbuf.c: Likewise.
460 * libio/setlinebuf.c: Likewise.
461 * libio/stdfiles.c: Likewise.
462 * libio/strops.c: Likewise.
463 * libio/vasprintf.c: Likewise.
464 * libio/vscanf.c: Likewise.
465 * libio/vsnprintf.c: Likewise.
466 * libio/vswprintf.c: Likewise.
467 * libio/wfiledoalloc.c: Likewise.
468 * libio/wfileops.c: Likewise.
469 * libio/wgenops.c: Likewise.
470 * libio/wmemstream.c: Likewise.
471 * libio/wstrops.c: Likewise.
472 * libio/__fpurge.c: Likewise.
473 * libio/__fsetlocking.c: Likewise.
474 * assert/assert.c: Likewise.
475 * debug/fgets_chk.c: Likewise.
476 * debug/fgets_u_chk.c: Likewise.
477 * debug/fread_chk.c: Likewise.
478 * debug/fread_u_chk.c: Likewise.
479 * debug/gets_chk.c: Likewise.
480 * debug/obprintf_chk.c: Likewise.
481 * debug/vasprintf_chk.c: Likewise.
482 * debug/vdprintf_chk.c: Likewise.
483 * debug/vsnprintf_chk.c: Likewise.
484 * debug/vsprintf_chk.c: Likewise.
485 * malloc/mtrace.c: Likewise.
486 * misc/error.c: Likewise.
487 * misc/syslog.c: Likewise.
488 * stdio-common/asprintf.c: Likewise.
489 * stdio-common/fxprintf.c: Likewise.
490 * stdio-common/getw.c: Likewise.
491 * stdio-common/isoc99_fscanf.c: Likewise.
492 * stdio-common/isoc99_scanf.c: Likewise.
493 * stdio-common/isoc99_vfscanf.c: Likewise.
494 * stdio-common/isoc99_vscanf.c: Likewise.
495 * stdio-common/isoc99_vsscanf.c: Likewise.
496 * stdio-common/printf-prs.c: Likewise.
497 * stdio-common/printf_fp.c: Likewise.
498 * stdio-common/printf_fphex.c: Likewise.
499 * stdio-common/printf_size.c: Likewise.
500 * stdio-common/putw.c: Likewise.
501 * stdio-common/scanf.c: Likewise.
502 * stdio-common/sprintf.c: Likewise.
503 * stdio-common/tmpfile.c: Likewise.
504 * stdio-common/vfprintf.c: Likewise.
505 * stdio-common/vfscanf.c: Likewise.
506 * stdlib/strfmon_l.c: Likewise.
507 * sunrpc/openchild.c: Likewise.
508 * sunrpc/xdr_stdio.c: Likewise.
509 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
510 * sysdeps/mach/hurd/tmpfile.c: Likewise.
512 2012-05-24 Roland McGrath <roland@hack.frob.com>
514 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
516 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
517 in the third column, to generate for the shared library an IFUNC
518 that uses _dl_vdso_vsym.
519 * Makerules (COMPILE.c, compile-stdin.c): New variables.
520 * Makeconfig (object-suffixes-noshared): New variable.
522 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
523 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
524 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
525 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
528 * include/sys/time.h (__gettimeofday): Remove macro.
529 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
530 * time/gettimeofday.c (__gettimeofday): Remove #undef.
532 (__gettimeofday): Add libc_hidden_def.
533 (gettimeofday): Add libc_hidden_weak.
534 * sysdeps/mach/gettimeofday.c: Likewise.
535 * sysdeps/posix/gettimeofday.c: Likewise.
536 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
537 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
538 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
539 (__gettimeofday_internal): Remove strong_alias.
540 (__gettimeofday): Add libc_hidden_def.
541 (gettimeofday): Add libc_hidden_weak.
542 * sysdeps/unix/syscalls.list (gettimeofday):
543 Remove __gettimeofday_internal alias.
545 2012-05-24 Daniel Jacobowitz <drow@false.org>
546 H.J. Lu <hongjiu.lu@intel.com>
549 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
550 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
551 (largebin_index_32_big): New.
552 (largebin_index): Use it for 16-byte alignment.
553 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
554 correction with front_misalign.
556 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
584 * scripts/data/c++-types-x32-linux-gnu.data: New file.
585 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
587 2012-05-24 Joseph Myers <joseph@codesourcery.com>
591 * math/libm-test.inc (exp_test): Add test from bug 14036.
592 (pow_test): Add test from bug 10846.
594 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
596 (special_function): Do not include flags in test name.
597 (parse_args): Likewise.
598 * sysdeps/i386/fpu/libm-test-ulps: Update.
599 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
600 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
601 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
604 * math/gen-libm-test.pl (%beautify): Add entries for underflow
606 * math/libm-test.inc ("Philosophy"): Update comment about
608 (UNDERFLOW_EXCEPTION): New macro.
609 (UNDERFLOW_EXCEPTION_OK): Likewise.
610 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
611 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
612 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
613 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
614 (INVALID_EXCEPTION_OK): Update value.
615 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
616 (OVERFLOW_EXCEPTION_OK): Likewise.
617 (IGNORE_ZERO_INF_SIGN): Likewise.
618 (test_exceptions): Handle underflow exceptions.
619 (acos_test): Update for underflow exception expectations.
620 (cexp_test): Likewise.
621 (clog_test): Likewise.
622 (clog10_test): Likewise.
623 (csqrt_test): Likewise.
624 (ctan_test): Likewise.
625 (ctanh_test): Likewise.
626 (exp_test): Likewise.
627 (exp10_test): Likewise.
628 (exp2_test): Likewise.
629 (expm1_test): Likewise.
630 (fma_test): Likewise.
633 (nexttoward_test): Likewise.
634 (pow_test): Likewise.
635 (scalbn_test): Likewise.
636 (scalbln_test): Likewise.
637 (tan_test): Likewise.
639 * sysdeps/i386/fpu/libm-test-ulps: Update.
640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
642 2012-05-23 David S. Miller <davem@davemloft.net>
644 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
645 (__libc_sigaction): Remove unused local variables.
647 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
649 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
651 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
653 mktime: avoid signed integer overflow
654 * time/mktime.c (__mktime_internal): Do not mishandle the case
655 where diff == INT_MIN.
657 mktime: simplify computation of average
658 * time/mktime.c (ranged_convert): Use new time_t_avg function
659 instead of rolling our own (probably-slower) code.
661 mktime: do not assume signed right shift propagates sign bit
662 * time/mktime.c (isdst_differ): New static function.
663 (__mktime_internal): No need to normalize tm_isdst now.
664 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
667 mktime: merge another wrapv change from gnulib
668 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
671 mktime: remove incorrect attempt at unusual arithmetics
672 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
673 The code didn't really work on such machines anyway.
674 (TYPE_MINIMUM): Assume two's complement.
675 (twos_complement_arithmetic): Verify that long_int and time_t
676 are two's complement (or unsigned, in the latter case).
678 mktime: check signed shifts on long_int and time_t, too
679 * time/mktime.c (SHR): Check that shifts work as desired
680 on the types long_int and time_t too, as SHR is used on
683 mktime: do not assume 'long' is wide enough
684 * time/mktime.c (verify): Move decl up.
685 (long_int): New type.
686 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
687 to remove assumption in the code that 'long' is wide enough to
688 store year values. This assumption is not true on x32 and on
689 some non-glibc platforms.
691 mktime: merge wrapv change from gnulib
692 * time/mktime.c (WRAPV): New macro.
693 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
694 (guess_time_tm, __mktime_internal): Do not assume that signed
695 integer overflow wraps around; modern compilers generate code
696 where this assumption is no longer valid.
698 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
700 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
701 Replace "jmp L(pseudo_end)" with "ret".
702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
705 2012-05-23 Andreas Jaeger <aj@suse.de>
707 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
708 * sysdeps/unix/sysv/linux/poll.c: Remove file.
710 2012-05-23 Andreas Jaeger <aj@suse.de>
711 Maximilian Attems <max@stro.at>
713 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
716 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
718 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
719 code so that pseudo_end is just ret and the stack pointer is
720 correct also for static library in error case.
722 2012-05-23 Joseph Myers <joseph@codesourcery.com>
724 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
725 move to syscalls.list.
726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
731 * manual/install.texi (Running make install): Do not mention Linux
732 kernel version for which pt_chown is not needed.
733 (Linux): Do not mention problems with nscd with 2.0 kernels.
734 * INSTALL: Regenerated.
736 2012-05-23 Andreas Jaeger <aj@suse.de>
738 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
739 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
741 * sysdeps/unix/sysv/linux/s390/bits/mman.h
742 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
743 * sysdeps/unix/sysv/linux/sh/bits/mman.h
744 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
745 * sysdeps/unix/sysv/linux/i386/bits/mman.h
746 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
747 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
748 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
749 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
750 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
751 * sysdeps/unix/sysv/linux/bits/in.h
752 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
754 2012-05-22 Roland McGrath <roland@hack.frob.com>
756 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
757 (PREPARE_VERSION): Just use assert instead, it will be elided
758 under [NDEBUG] anyway.
760 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
762 * sysdeps/unix/sysv/linux/Makefile: Include
763 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
764 (sysdep_routines): Remove sysctl.
765 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
766 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
767 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
768 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
769 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
771 2012-05-22 Andreas Jaeger <aj@suse.de>
773 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
774 that pseudo_end is just ret and the stack pointer is correct also
775 for static library in error case.
777 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
780 * nss/nsswitch.c (defconfig_entries): New variable.
781 (__nss_database_lookup): Don't leak defconfig entries.
782 (nss_parse_service_list): Don't leak on error paths.
783 (free_database_entries): New function.
784 (free_defconfig): New function.
785 (free_mem): Move common code to free_database_entries.
787 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
789 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
791 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
793 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
794 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
797 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
798 (INTERNAL_SYSCALL_TYPES): Likewise.
799 (LOAD_ARGS_TYPES_[1-6]): Likewise.
800 (LOAD_REGS_TYPES_[1-6]): Likewise.
801 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
802 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
804 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
806 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
807 copysignl for GLIBC_2_0.
808 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
809 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
812 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
813 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
815 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
817 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
818 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
820 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
823 * time/mktime.c: Update copyright years.
825 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
827 mktime: merge comment-quoting-style change from gnulib
828 * time/mktime.c: Quote 'like this' in comments.
829 The GNU coding standards suggest that we no longer quote `like this',
830 as "`" and "'" are typically rendered asymmetrically nowadays.
831 The typical gnulib style is to quote 'like this' when quoting
832 code, and "like this" when quoting English.
834 * time/mktime.c (compile-command): Add "-I.".
836 mktime: merge mktime-internal.h change from gnulib
837 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
839 mktime: merge time_r change from gnulib
840 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
842 mktime: merge DEBUG change from gnulib
843 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
844 case system <time.h> has a #define.
846 mktime: merge <sys/types.h> change from gnulib
847 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
848 since <time.t> is now guaranteed to define time_t.
850 mktime: merge HAVE_CONFIG_H change from gnulib
851 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
853 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
855 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
858 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
860 (struct rusage): Use anonymous union to pad each field to
863 2012-05-21 David S. Miller <davem@davemloft.net>
865 * Makefules (o-iterator): Remove .s cases.
866 (compile-command.s): Delete.
868 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
870 2012-05-21 Joseph Myers <joseph@codesourcery.com>
872 * configure.in (libc_cv_predef_stack_protector): Only consider
873 "foobar" and "__stack_chk_fail" lines in libc_undefs.
874 * configure: Regenerated.
876 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
879 New macro. Use R*LP on int and pointer.
880 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
881 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
882 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
883 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
885 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
886 [__WORDSIZE_TIME64_COMPAT32] instead of
887 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
888 (struct utmp): Likewise.
889 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
890 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
892 (__WORDSIZE_TIME64_COMPAT32): This.
893 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
894 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
895 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
896 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
897 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
898 (__WORDSIZE_TIME64_COMPAT32): New macro.
900 2012-05-21 Andreas Jaeger <aj@suse.de>
902 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
903 only if [SHARED]. Add prototype for __wcschr_ia32.
905 2012-05-21 Roland McGrath <roland@hack.frob.com>
907 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
908 of %rbp unmolested in the jmp_buf while mangling the low bits.
909 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
910 unmolested high bits of %rbp while demangling the low bits.
911 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
913 2012-05-21 Andreas Jaeger <aj@suse.de>
915 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
916 * sunrpc/svc_simple.c: Use it for registerrpc.
917 * sunrpc/xcrypt.c: Use it for passwd2des.
919 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
921 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
923 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
924 Don't define if [__SYSCALL_WORDSIZE != 32].
925 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
928 2012-05-21 Bruno Haible <bruno@clisp.org>
929 Andreas Jaeger <aj@suse.de>
931 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
932 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
933 inptr and inend for must_buffer_ch.
934 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
935 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
936 * stdio-common/Makefile (tests): Remove bug15.
937 (bug15-ENV): Remove macro.
938 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
941 2012-05-19 Andreas Jaeger <aj@suse.de>
942 Roland McGrath <roland@hack.frob.com>
944 * manual/contrib.texi: Completely rewritten. It contains now an
945 alphabetical list of contributors and their contributions.
947 2012-05-21 Richard Henderson <rth@twiddle.net>
949 * misc/getauxval.c (__getauxval): Use unsigned long int.
950 * misc/sys/auxv.h: Include <sys/cdefs.h>.
951 (getauxval): Use unsigned long int.
953 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
955 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
957 2012-05-21 Roland McGrath <roland@hack.frob.com>
959 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
960 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
961 __alignof__ (long double).
963 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
967 2012-05-20 Richard Henderson <rth@twiddle.net>
969 * misc/getauxval.c: New file.
970 * misc/sys/auxv.h: New file.
971 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
972 (routines): Add getauxval.
973 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
974 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
975 * elf/dl-sysdep.c (_dl_auxv): Remove.
976 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
977 * elf/dl-support.c (_dl_auxv): New variable.
978 (_dl_aux_init): Initialize it.
979 * manual/startup.texi (Auxiliary Vector): New node.
980 * sysdeps/generic/bits/hwcap.h: New file.
981 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
982 * sysdeps/powerpc/sysdep.h: ... here. Include it.
983 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
984 * sysdeps/sparc/sysdep.h: ... here. Include it.
985 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
986 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
992 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
998 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1002 2012-05-19 David S. Miller <davem@davemloft.net>
1004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1006 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1009 * math/s_ccosh.c: Include <float.h>
1010 (__ccosh): Avoid internal overflow calculating sinh and cosh
1011 values before multiplying by sin and cos values.
1012 * math/s_ccoshf.c: Likewise.
1013 * math/s_ccoshl.c: Likewise.
1014 * math/s_csin.c: Likewise.
1015 * math/s_csinf.c: Likewise.
1016 * math/s_csinl.c: Likewise.
1017 * math/s_csinh.c: Likewise.
1018 * math/s_csinhf.c: Likewise.
1019 * math/s_csinhl.c: Likewise.
1020 * math/libm-test.inc (ccos_test): Add more tests.
1021 (ccosh_test): Likewise.
1022 (csin_test): Likewise.
1023 (csinh_test): Likewise.
1024 * sysdeps/i386/fpu/libm-test-ulps: Update.
1025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1027 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1029 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1030 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1032 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1034 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1036 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1037 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1038 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1039 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1040 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1041 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1042 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1043 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1044 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1045 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1046 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1047 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1048 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1049 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1050 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1051 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1052 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1053 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1054 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1055 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1056 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1057 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1058 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1059 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1060 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1061 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1062 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1063 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1064 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1065 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1066 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1068 2012-05-18 Andreas Jaeger <aj@suse.de>
1070 * csu/.gitignore: Delete.
1072 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1074 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1075 (timex): Use __syscall_slong_t.
1077 2012-05-18 Andreas Jaeger <aj@suse.de>
1078 Carlos O'Donell <carlos_odonell@mentor.com>
1080 * manual/install.texi (Configuring and compiling): Update
1081 description about files modified in the source directory.
1082 * INSTALL: Regenerated.
1084 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1086 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1087 value. Use "or" to set return value to -1.
1088 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1089 negate return value.
1091 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1093 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1094 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1095 failure if the compiler has Graphite support disabled.
1096 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1098 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1099 CFLAGS-memmove.c): Likewise.
1100 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1103 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1105 * sysdeps/x86_64/x32/_itoa.h: New file.
1107 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1108 getdents system call only if kernel and user dirents have the
1109 same d_ino and d_off.
1111 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1112 LLONG_MAX != LONG_MAX.
1113 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1114 (_fitoa_word): Likewise.
1116 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1118 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1119 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1120 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1122 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1123 include <bits/wordsize.h>. Check __x86_64__ instead of
1125 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1126 if __x86_64__ is defined. Use anonymous union on fpstate.
1128 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1131 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1133 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1134 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1135 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1136 Refer to _rtld_local_ro instead of _rtld_global_ro.
1137 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1139 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1141 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1143 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1144 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1145 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1147 * sysdeps/powerpc/powerpc32/dl-machine.c
1148 (__elf_machine_runtime_setup) [PROF]: Don't reference
1151 2012-05-18 Andreas Jaeger <aj@suse.de>
1153 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1154 function only available for GCCs before 3.4 since GCC 3.4
1155 introduced a builtin.
1157 (llrintf): Likewise.
1165 (nearbyint): Likewise.
1166 (nearbyintf): Likewise.
1172 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1174 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1175 on both fields and cast pointer to __syscall_ulong_t.
1177 * bits/types.h (__fsword_t): New type.
1178 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1179 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1181 (__FSWORD_T_TYPE): Likewise.
1182 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1183 (__FSWORD_T_TYPE): Likewise.
1184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1185 (__FSWORD_T_TYPE): Likewise.
1186 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1187 (__FSWORD_T_TYPE): Likewise.
1188 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1189 __SWORD_TYPE with __fsword_t.
1190 (statfs64): Likewise.
1192 2012-05-17 David S. Miller <davem@davemloft.net>
1194 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1196 2012-05-17 Andreas Jaeger <aj@suse.de>
1198 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1201 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1203 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1205 2012-05-17 Andreas Jaeger <aj@suse.de>
1207 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1210 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1212 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1214 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1216 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1217 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1219 2012-05-17 Andreas Jaeger <aj@suse.de>
1220 Carlos O'Donell <carlos_odonell@mentor.com>
1223 * sysdeps/x86_64/multiarch/init-arch.h
1224 (bit_YMM_Usable): Rename to...
1225 (bit_AVX_Usable): ... this.
1226 (bit_FMA4_Usable): New macro.
1227 (bit_XMM_state): New macro.
1228 (bit_YMM_state): New macro.
1229 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1230 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1231 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1232 (CPUID_OSXSAVE): New macro.
1233 (CPUID_AVX): New macro.
1234 (CPUID_FMA4): New macro.
1235 (index_YMM_Usable): Rename to...
1236 (index_AVX_Usable): ... this.
1237 (HAS_AVX): Use HAS_ARCH_FEATURE.
1238 (HAS_FMA4): Likewise.
1239 (HAS_YMM_USABLE): Remove.
1240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1241 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1243 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1244 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1245 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1246 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1247 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1249 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1251 * math/libm-test.c: Support platforms without multiple rounding modes.
1252 * math/bug-nextafter.c: Support platforms without FP exceptions.
1253 * math/bug-nexttoward.c: Likewise.
1254 * math/test-fenv.c: Likewise.
1255 * math/test-misc.c: Likewise.
1256 * stdlib/bug-getcontext.c: Likewise.
1258 2012-05-17 Andreas Jaeger <aj@suse.de>
1260 * manual/examples/search.c (critter_cmp): Change signature to
1262 * manual/string.texi (Collation Functions): Likewise.
1264 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1266 * bits/types.h: Fold copyright years.
1267 * bits/typesizes.h: Likewise.
1268 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1270 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1271 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1272 * time/time.h: Likewise.
1274 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1277 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1278 in instead of returning them. Return void.
1279 (__libc_mallinfo): Accumulate over all arenas.
1280 (__malloc_stats): Adjust for change in int_mallinfo interface.
1282 2012-05-16 Roland McGrath <roland@hack.frob.com>
1285 * configure.in (NM): Add AC_CHECK_TOOL for it.
1286 (libc_extra_cflags): New substituted variable.
1287 Check for -fstack-protector being used implicitly.
1288 * configure: Regenerated.
1289 * config.make.in (config-extra-cflags): New variable,
1290 gets @libc_extra_cflags@.
1291 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1294 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1295 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1296 * configure: Regenerated.
1297 * config.make.in (CPPUNDEFS): New substituted variable.
1298 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1299 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1300 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1302 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1304 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1305 (mq_attr): Use __syscall_slong_t.
1307 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1309 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1310 Check __x86_64__ instead of __WORDSIZE.
1311 (_STAT_VER_LINUX): Likewise.
1312 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1313 __syscall_ulong_t and __syscall_slong_t.
1316 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1318 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1320 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1322 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1324 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1326 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1329 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1330 include <bits/wordsize.h>. Check __x86_64__ instead of
1332 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1334 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1336 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1337 include <bits/wordsize.h>. Check __x86_64__ instead of
1339 (user_regs_struct): Use "__extension__ unsigned long long"
1340 instead of "unsigned long" if __x86_64__ is defined.
1341 (user): Likewise. Pad after pointer field if __ILP32__ is
1344 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1346 * configure.in (makeinfo): Require version 4.5 or later. Allow
1348 * configure: Regenerated.
1349 * manual/install.texi (texinfo): Increase version requirement to
1351 * INSTALL: Regenerated.
1353 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1355 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1357 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1359 * sysdeps/x86_64/x32/ffs.c: New file.
1361 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1363 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1364 defined. Use __syscall_ulong_t.
1365 (shminfo): Use __syscall_ulong_t.
1366 (shm_info): Likewise.
1368 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1371 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1373 (msgqnum_t): Use __syscall_ulong_t.
1374 (msglen_t): Likewise.
1375 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1378 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1379 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1381 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1383 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1384 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1386 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1389 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1390 include <bits/wordsize.h>. Check __x86_64__ instead of
1393 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1394 "unsigned long long int" if __x86_64__ is defined.
1395 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1397 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1398 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1399 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1401 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1403 (GET_PC): Cast to uintptr_t first.
1404 (GET_FRAME): Likewise.
1405 (GET_STACK): Likewise.
1407 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1408 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1409 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1410 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1411 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1412 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1413 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1414 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1415 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1416 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1417 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1418 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1419 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1420 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1421 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1422 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1423 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1424 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1425 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1426 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1427 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1428 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1429 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1430 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1431 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1432 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1433 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1434 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1435 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1437 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1439 * Makerules (+depfiles): Also collect depfiles from .oS in
1441 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1442 .oS, $(libnldbl-routines)).
1444 * Makerules (native-compile-mkdep-flags): Define.
1445 * sunrpc/Makefile (extra-objs): Add $(addprefix
1446 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1447 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1448 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1449 calling $(make-target-directory).
1451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1453 * bits/types.h (__snseconds_t): Removed.
1454 * time/time.h (struct timespec): Replace __snseconds_t with
1456 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1457 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1459 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1460 (__SNSECONDS_T_TYPE): Likewise.
1461 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1462 (__SNSECONDS_T_TYPE): Likewise.
1463 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1464 (__SNSECONDS_T_TYPE): Likewise.
1466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1468 * sysdeps/mach/hurd/bits/typesizes.h
1469 (__SYSCALL_SLONG_TYPE): New macro.
1470 (__SYSCALL_ULONG_TYPE): Likewise.
1472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1474 * bits/types.h (__syscall_slong_t): New type.
1475 (__syscall_ulong_t): Likewise.
1477 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1478 (__SYSCALL_ULONG_TYPE): Likewise.
1479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1480 (__SYSCALL_SLONG_TYPE): Likewise.
1481 (__SYSCALL_ULONG_TYPE): Likewise.
1482 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1483 (__SYSCALL_SLONG_TYPE): Likewise.
1484 (__SYSCALL_ULONG_TYPE): Likewise.
1485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1486 (__SYSCALL_SLONG_TYPE): Likewise.
1487 (__SYSCALL_ULONG_TYPE): Likewise.
1489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1491 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1492 Add sigaltstack-offsets.sym.
1493 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1494 <sigaltstack-offsets.h>.
1495 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1496 longjmp_msg pointer.
1497 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1498 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1500 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1502 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1504 * elf/stackguard-macros.h: Remove file.
1505 * sysdeps/generic/stackguard-macros.h: New file.
1506 * sysdeps/i386/stackguard-macros.h: Likewise.
1507 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1508 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1509 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1510 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1511 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1512 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1513 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1514 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1515 <elf/stackguard-macros.h>.
1518 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1519 __aligned__ in attribute.
1520 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1521 (gregset_t): Likewise.
1523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1525 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1526 * sysdeps/x86_64/64/Implies-after: Here. New file.
1527 * sysdeps/x86_64/x32/Implies-after: New file.
1529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1531 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1532 and access return value for _dl_profile_fixup. Use R10_LP to
1535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1537 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1541 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1542 * sysdeps/x86_64/x32/sysdep.h: New file.
1544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1546 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1547 * sysdeps/x86_64/setjmp.S: Likewise.
1549 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1551 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1552 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1553 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1554 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1555 remove unused global constant.
1557 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1559 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1560 include of <not-cancel.h>.
1562 2012-05-15 Roland McGrath <roland@hack.frob.com>
1564 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1566 2012-05-15 Jeff Law <law@redhat.com>
1567 Andreas Jaeger <aj@suse.de>
1570 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1572 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1573 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1574 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1575 code changing __hst_map_handle.map.
1577 2012-05-15 Roland McGrath <roland@hack.frob.com>
1579 * configure.in (sysnames): Look for Implies-before and Implies-after
1581 * configure: Regenerated.
1583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1585 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1586 8-byte data alignment with LP_SIZE alignment.
1588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1590 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1595 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1597 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1599 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1600 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1601 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1603 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1607 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1608 (stackinfo_sub_sp): Likewise.
1610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1612 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1617 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1622 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1627 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1629 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1631 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1632 into R11_LP and load __x86_64_shared_cache_size_half into
1635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1637 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1640 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1644 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1646 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1648 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1649 powerpc32/power7/fpu/s_logb.c via #include.
1650 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1651 powerpc32/power7/fpu/s_logbf.c via #include.
1652 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1653 powerpc32/power7/fpu/s_logbl.c via #include.
1655 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1657 * README.libm: Remove file.
1659 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1661 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1662 count for x32. Use R*_LP and omit operand-size suffix.
1664 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1666 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1667 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1668 * sysdeps/x86_64/x32/shlib-versions: New file.
1670 2012-05-14 Roland McGrath <roland@hack.frob.com>
1672 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1673 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1674 Use _dl_fatal_printf instead.
1676 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1678 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1679 set if not set by the user. Do not allow for being unset.
1680 * sysdeps/unix/sysv/linux/configure: Regenerated.
1682 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1684 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1685 the `q' suffix from lea and replace .quad with ASM_ADDR.
1687 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1689 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1690 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1692 (PTR_DEMANGLE): Likewise.
1694 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1696 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1698 (ASM_ADDR): Likewise.
1716 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1718 * sysdeps/x86_64/x32/dl-machine.h: New file.
1720 2012-05-14 Andreas Jaeger <aj@suse.de>
1722 * manual/Makefile (subdir): Remove export of subdir.
1723 (all): Remove target.
1724 (.PHONY): Remove all from list.
1725 (mkinstalldirs): Remove.
1726 (.PHONY): Remove installdirs from list.
1727 ($(inst_infodir)/libc.info): Use make-target-directory.
1728 (installdirs): Remove.
1730 (glibc-targets): Remove.
1733 ($(objpfx)stubs ../po/manual.pot): Remove.
1734 ($(objpfx)stamp%): Remove.
1735 (make-target-directory): Remove.
1736 (subdir_install): Remove.
1744 * manual/.gitignore: Remove, it's not needed anymore.
1745 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1747 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1749 (texis): Renamed to $(objpfx)texis.
1750 (texis-path): New, contains path to generated files.
1751 (chapters.%): Use texis-path for complete path, add extra argument
1753 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1754 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1755 (summary,texi, stamp-summary): Use complete path of
1756 files. Generate files in build dir.
1757 (dir-add.texi): Build in build dir.
1758 (libm-err.texi,stamp-libm-err): Likewise.
1759 (version.texi, stamp-version): Likewise.
1760 (.%c.texi): Likewise.
1761 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1762 (mostlyclean): Remove target.
1763 (realclean): Remove target.
1764 (generated): Add new variable with contents from mostlyclean and
1765 realclean, remove entries duplicated in common-mostlyclean, add
1766 stamp-libm-err and stamp-version.
1767 (generated-dirs): Add libc directory.
1768 ($(inst_infodir)/libc.info): Install files from build dir.
1770 * manual/install.texi (Configuring and compiling): Adjust since
1771 the info files are not part of the tar ball anymore.
1773 2012-05-14 Andreas Jaeger <aj@suse.de>
1775 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1778 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1781 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1782 to 2.2.0 where earlier.
1783 * sysdeps/unix/sysv/linux/configure: Regenerated.
1784 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1785 Remove conditional code.
1786 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1787 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1788 Remove conditional code.
1789 [!__NR_lchown]: Likewise.
1790 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1791 [__NR_lchown]: Likewise.
1792 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1793 comment referencing __ASSUME_LCHOWN_SYSCALL.
1794 * sysdeps/unix/sysv/linux/i386/sigaction.c
1795 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1796 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1797 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1798 Remove conditional code.
1799 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1800 (__protocol_available): Remove #if 0 code.
1801 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1803 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1804 * sysdeps/unix/sysv/linux/kernel-features.h
1805 (__ASSUME_GETCWD_SYSCALL): Don't define.
1806 (__ASSUME_REALTIME_SIGNALS): Likewise.
1807 (__ASSUME_PREAD_SYSCALL): Likewise.
1808 (__ASSUME_PWRITE_SYSCALL): Likewise.
1809 (__ASSUME_POLL_SYSCALL): Likewise.
1810 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1811 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1813 (__ASSUME_SIOCGIFNAME): Don't define.
1814 (__ASSUME_MSG_NOSIGNAL): Likewise.
1815 (__ASSUME_SENDFILE): Define unconditionally.
1816 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1817 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1819 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1820 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1821 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1822 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1823 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1824 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1825 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1827 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1828 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1830 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1833 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1834 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1836 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1839 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1840 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1842 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1843 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1845 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1848 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1849 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1850 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1851 Remove conditional code.
1852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1853 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1854 Remove conditional code.
1855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1856 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1857 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1858 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1859 Remove conditional code.
1860 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1861 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1862 Remove conditional code.
1863 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1864 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1865 Remove conditional code.
1866 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1867 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1868 Remove conditional code.
1869 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1870 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1871 Remove conditional code.
1872 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1873 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1874 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1875 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1876 * sysdeps/unix/sysv/linux/sigaction.c
1877 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1878 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1879 * sysdeps/unix/sysv/linux/sigpending.c
1880 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1881 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1882 * sysdeps/unix/sysv/linux/sigprocmask.c
1883 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1884 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1885 * sysdeps/unix/sysv/linux/sigsuspend.c
1886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1888 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1889 (__libc_missing_rt_sigs): Remove.
1890 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1891 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1892 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1893 Remove conditional code.
1894 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1895 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1897 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1898 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1899 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1900 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1902 2012-05-14 Andreas Jaeger <aj@suse.de>
1904 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1905 it's not used in glibc.
1906 (__coshm1): Likewise.
1907 (__acosh1p): Likewise.
1910 * manual/string.texi (Copying and Concatenation): Add missing
1911 variable in concat example.
1912 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1914 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1917 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1918 __builtin_clzl with __builtin_clzll.
1920 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1923 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1926 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1928 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1929 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1930 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1931 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1933 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1935 * NEWS: Update ia64 info.
1937 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1939 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1942 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1944 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1945 * sysdeps/unix/syscalls.list (dup3): Likewise.
1946 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1947 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1949 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1951 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1952 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1954 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1956 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1958 (TLS_IE): Use mov/add instead of movq/addq to load thread
1960 (TLS_GD_PREFIX): New.
1963 2012-05-11 David S. Miller <davem@davemloft.net>
1965 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1966 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1967 (_FPU_SETCW): Likewise.
1969 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1971 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1974 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1977 * iconvdata/gb18030.c: Update tables.
1978 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1979 characters specially.
1980 (BODY for TO_LOOP): Add encoding of missing ranges.
1982 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1985 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1986 * sysdeps/mach/hurd/dup3.c: Likewise.
1987 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1988 * sysdeps/powerpc/memmove.c:: Likewise.
1990 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1992 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1993 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1995 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1997 * elf/elf.h (R_X86_64_RELATIVE64): New.
1998 (R_X86_64_NUM): Updated.
1999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2000 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2001 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2002 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2003 tst-quad1pie tst-quad2pie
2004 (modules-names): Add tst-quadmod1 tst-quadmod2.
2005 ($(objpfx)tst-quad1): New dependency.
2006 ($(objpfx)tst-quad2): Likewise.
2007 ($(objpfx)tst-quad1pie): Likewise.
2008 ($(objpfx)tst-quad2pie): Likewise.
2009 * sysdeps/x86_64/tst-quad1.c: New file.
2010 * sysdeps/x86_64/tst-quad1pie.c: New file.
2011 * sysdeps/x86_64/tst-quad2.c: Likewise.
2012 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2013 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2014 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2015 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2016 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2018 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2020 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2021 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2022 * streams/stropts.h (t_scalar_t): Define type.
2024 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2025 (_PATH_PRESERVE): Set to "/var/lib".
2026 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2028 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2031 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2032 if __dir_mkfile succeeded.
2034 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2035 checking for _hurd_dtablesize. Unlock it right after having
2036 finished _hurd_dtable allocation.
2038 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2040 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2041 * sysdeps/mach/hurd/configure: Regenerated.
2042 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2043 special-casing to...
2044 * sysdeps/gnu/configure.in: ... this new file.
2045 * sysdeps/unix/sysv/linux/configure: Regenerated.
2046 * sysdeps/gnu/configure: New generated file.
2048 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2049 for Linux: use nsec instead of usec, as well as:
2050 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2051 members of type struct timespec.
2052 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2054 (struct stat64): Likewise.
2055 (_STATBUF_ST_NSEC): New macro.
2056 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2058 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2059 __strtoul_internal rather than strtoul.
2061 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2063 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2066 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2068 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2069 which preserves existing values.
2070 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2072 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2074 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2075 TIMEOUT values. Return EINVAL for NFDS values either negative or
2076 greater than FD_SETSIZE.
2078 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2080 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2081 allocated, call __vm_protect to finish enabling the existing space, and
2082 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2083 allocate the remainder.
2085 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2087 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2088 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2090 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2092 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2093 sysdeps/mach/hurd/readlink.c.
2095 * posix/tst-sysconf.c (posix_options): Only use
2096 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2097 _POSIX_SYNCHRONIZED_IO when they are defined
2098 * sysdeps/mach/hurd/bits/posix_opt.h:
2099 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2100 (_XOPEN_REALTIME): Undefine macro.
2101 (_XOPEN_REALTIME_THREADS): Undefine macro.
2102 (_XOPEN_SHM): Undefine macro.
2103 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2105 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2107 (_POSIX_ASYNC_IO): Undefine macro.
2108 (_POSIX_PRIORITIZED_IO): Undefine macro.
2109 (_POSIX_SPIN_LOCKS): Define macro to -1.
2111 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2112 SA_NODEFER, SA_RESETHAND.
2113 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2114 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2117 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2119 * elf/Makefile (pldd-modules): Define unconditionally.
2121 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2123 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2125 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2127 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2128 Return ENOENT when name is empty.
2129 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2131 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2133 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2135 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2137 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2139 Fix mlock in all cases except non-readable pages.
2140 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2141 instead of VM_PROT_ALL as parameter to __vm_wire function.
2143 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2144 (__mkdir): When path is `/', just fail with EEXIST.
2145 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2147 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2149 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2150 <sys/uio.h> (for writev).
2151 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2152 and <sys/param.h> (for MIN).
2154 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2156 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2157 REQUESTED_TIME. Properly set the remaining time and return EINTR
2160 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2162 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2163 Depend on against $(link-rpcuserlibs).
2165 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2167 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2168 (__libc_stack_end): Do not use attribute_relro.
2169 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2170 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2171 to libthread-provided value.
2172 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2175 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2178 * bits/libc-lock.h (__libc_once_get): New macro.
2179 * sysdeps/mach/bits/libc-lock.h: Likewise.
2180 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2181 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2182 instead of using implementation details.
2184 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2185 * libio/freopen.c: Likewise.
2186 * libio/freopen64.c: Likewise.
2187 * misc/syslog.c: Likewise.
2188 * nscd/connections.c: Likewise.
2189 * nscd/netgroupcache.c: Likewise.
2190 * sysdeps/posix/getcwd.c: Likewise.
2192 2012-05-10 Roland McGrath <roland@hack.frob.com>
2194 * math/w_ilogbf.c: Add #include <limits.h>.
2196 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2198 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2199 path instead of returning without unlocking.
2201 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2202 immediate-write ioctls.
2203 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2205 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2207 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2208 __builtin_frame_address instead of making assumptions about the
2209 location of the return address relative to DATA. Force early load of
2211 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2212 __builtin_frame_address.
2215 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2216 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2217 implement dup3 and do some further code clean-ups.
2218 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2219 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2221 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2223 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2225 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2226 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2227 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2228 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2229 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2232 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2233 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2234 when handler == SIG_ERR, not when handler != SIG_ERR.
2236 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2238 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2239 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2242 accept4 for GNU Hurd.
2243 * include/sys/socket.h (__libc_accept4): New prototype.
2244 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2245 to implement __libc_accept4.
2246 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2248 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2250 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2251 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2252 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2255 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2257 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2259 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2261 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2262 assertion on O_CLOEXEC flag.
2263 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2264 * hurd/intern-fd.c: Likewise.
2265 * hurd/port2fd.c: Likewise.
2267 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2270 * bits/in.h (IPV6_PKTINFO): Define new macro.
2271 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2273 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2278 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2279 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2280 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2281 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2282 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2283 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2284 * math/libm-test.inc (logb_test) : Additional logb tests.
2286 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2287 Andreas Jaeger <aj@suse.de>
2289 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2290 * configure: Regenerated.
2291 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2292 * config.make.in (link-obsolete-rpc): New substituted variable.
2293 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2294 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2295 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2296 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2297 so that libc.a contains the symbols.
2298 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2299 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2300 * sunrpc/auth_none.c: Likewise.
2301 * sunrpc/auth_unix.c: Likewise.
2302 * sunrpc/authdes_prot.c: Likewise.
2303 * sunrpc/authuxprot.c: Likewise.
2304 * sunrpc/clnt_gen.c: Likewise.
2305 * sunrpc/clnt_perr.c: Likewise.
2306 * sunrpc/clnt_raw.c: Likewise.
2307 * sunrpc/clnt_simp.c: Likewise.
2308 * sunrpc/clnt_tcp.c: Likewise.
2309 * sunrpc/clnt_udp.c: Likewise.
2310 * sunrpc/clnt_unix.c: Likewise.
2311 * sunrpc/des_crypt.c: Likewise.
2312 * sunrpc/des_soft.c: Likewise.
2313 * sunrpc/get_myaddr.c: Likewise.
2314 * sunrpc/key_call.c: Likewise.
2315 * sunrpc/key_prot.c: Likewise.
2316 * sunrpc/netname.c: Likewise.
2317 * sunrpc/pm_getmaps.c: Likewise.
2318 * sunrpc/pm_getport.c: Likewise.
2319 * sunrpc/pmap_clnt.c: Likewise.
2320 * sunrpc/pmap_prot.c: Likewise.
2321 * sunrpc/pmap_prot2.c: Likewise.
2322 * sunrpc/pmap_rmt.c: Likewise.
2323 * sunrpc/publickey.c: Likewise.
2324 * sunrpc/rpc_cmsg.c: Likewise.
2325 * sunrpc/rpc_common.c: Likewise.
2326 * sunrpc/rpc_dtable.c: Likewise.
2327 * sunrpc/rpc_prot.c: Likewise.
2328 * sunrpc/rpc_thread.c: Likewise.
2329 * sunrpc/rtime.c: Likewise.
2330 * sunrpc/svc.c: Likewise.
2331 * sunrpc/svc_auth.c: Likewise.
2332 * sunrpc/svc_raw.c: Likewise.
2333 * sunrpc/svc_run.c: Likewise.
2334 * sunrpc/svc_tcp.c: Likewise.
2335 * sunrpc/svc_udp.c: Likewise.
2336 * sunrpc/svc_unix.c: Likewise.
2337 * sunrpc/svcauth_des.c: Likewise.
2338 * sunrpc/xcrypt.c: Likewise.
2339 * sunrpc/xdr.c: Likewise.
2340 * sunrpc/xdr_array.c: Likewise.
2341 * sunrpc/xdr_float.c: Likewise.
2342 * sunrpc/xdr_intXX_t.c: Likewise.
2343 * sunrpc/xdr_mem.c: Likewise.
2344 * sunrpc/xdr_rec.c: Likewise.
2345 * sunrpc/xdr_ref.c: Likewise.
2346 * sunrpc/xdr_sizeof.c: Likewise.
2347 * sunrpc/xdr_stdio.c: Likewise.
2349 2012-05-10 Roland McGrath <roland@hack.frob.com>
2351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2352 change. Update copyright years.
2354 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2356 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2358 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2359 Joseph Myers <joseph@codesourcery.com>
2360 Paul Pluzhnikov <ppluzhnikov@google.com>
2363 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2365 [cross-compiling] (extra-libs): Likewise.
2366 [cross-compiling] (extra-libs-others): Likewise.
2367 [cross-compiling] (librpcsvc-routines): Likewise.
2368 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2369 [cross-compiling] (omit-deps): Likewise.
2370 (sunrpc-CPPFLAGS): New variable.
2371 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2372 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2373 (cross-rpcgen-objs): New variable.
2374 (extra-objs): Append $(cross-rpcgen-objs).
2375 ($(cross-rpcgen-objs)): New rule.
2376 ($(objpfx)cross-rpcgen): Likewise.
2377 (rpcgen-cmd): Define to use $(built-program-file). Expand
2379 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2380 ($(objpfx)x%.stmp): Likewise.
2381 * sunrpc/proto.h [IS_IN_build] (_): Define.
2382 [IS_IN_build] (_libc_intl_domainname): Likewise.
2384 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2386 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2387 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2388 and R_X86_64_TPOFF64.
2390 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2392 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2393 sysdeps/unix/sysv/syscalls.list.
2396 * sysdeps/unix/sysv/syscalls.list: Remove file.
2398 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2401 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2402 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2403 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2404 (__LC_IDENTIFICATION): Make these macros useful in #if
2405 expressions, as required by C99.
2407 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2409 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2410 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2413 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2415 * stdlib/longlong.h: Updated from GCC.
2417 2012-05-09 Andreas Jaeger <aj@suse.de>
2419 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2420 default is first entry.
2421 (run_mode): Set type.
2422 (main): Remove informal message about syslog.
2423 (options): Fix typo.
2426 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2429 (llrintf): Likewise.
2433 (nearbyint): Likewise.
2434 (nearbyintf): Likewise.
2436 2012-05-09 Andreas Jaeger <aj@suse.de>
2437 Pedro Alves <palves@redhat.com>
2439 * nscd/nscd.c (run_mode): Use enum.
2440 (main): Cleanup coding style issue.
2442 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2443 Andreas Jaeger <aj@suse.de>
2445 * nscd/nscd.c (go_background): Replaced with...
2446 (run_mode): ... this.
2447 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2448 (options): Add -F --foreground.
2449 (main): Implement it.
2450 (parse_opt): Parse it.
2452 2012-05-09 Andreas Jaeger <aj@suse.de>
2455 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2456 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2457 -Wconversion warning.
2458 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2461 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2463 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2465 (LC_ALL): Use macro-int-constant.
2466 (LC_COLLATE): Likewise.
2467 (LC_CTYPE): Likewise.
2468 (LC_MESSAGES): Likewise.
2469 (LC_MONETARY): Likewise.
2470 (LC_NUMERIC): Likewise.
2471 (LC_TIME): Likewise.
2472 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2473 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2474 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2475 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2477 [C99-based standards] (float_t): Expect type.
2478 [C99-based standards] (double_t): Expect type.
2479 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2481 [C99-based standards] (HUGE_VALL): Likewise.
2482 [C99-based standards] (INFINITY): Likewise.
2483 [C99-based standards] (NAN): Likewise.
2484 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2485 [C99-based standards] (FP_NAN): Likewise.
2486 [C99-based standards] (FP_NORMAL): Likewise.
2487 [C99-based standards] (FP_SUBNORMAL): Likewise.
2488 [C99-based standards] (FP_ZERO): Likewise.
2489 [C99-based standards] (FP_FAST_FMA): Use
2490 optional-macro-int-constant. Specify type. Require == 1.
2491 [C99-based standards] (FP_FAST_FMAF): Likewise.
2492 [C99-based standards] (FP_FAST_FMAL): Likewise.
2493 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2494 [C99-based standards] (FP_ILOGBNAN): Likewise.
2495 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2497 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2498 [C99-based standards] (math_errhandling): Specify type.
2499 [ISO99 || ISO11] (signgam): Do not allow.
2500 [non-C99-based standards] (copysignf): Do not allow.
2501 [non-C99-based standards] (exp2f): Likewise.
2502 [non-C99-based standards] (log2f): Likewise.
2503 [non-C99-based standards] (modff): Allow.
2504 [non-C99-based standards] (erff): Do not allow.
2505 [non-C99-based standards] (erfcf): Likewise.
2506 [non-C99-based standards] (gammaf): Likewise.
2507 [non-C99-based standards] (hypotf): Likewise.
2508 [non-C99-based standards] (j0f): Likewise.
2509 [non-C99-based standards] (j1f): Likewise.
2510 [non-C99-based standards] (jnf): Likewise.
2511 [non-C99-based standards] (lgammaf): Likewise.
2512 [non-C99-based standards] (tgammaf): Likewise.
2513 [non-C99-based standards] (y0f): Likewise.
2514 [non-C99-based standards] (y1f): Likewise.
2515 [non-C99-based standards] (ynf): Likewise.
2516 [non-C99-based standards] (isnanf): Likewise.
2517 [non-C99-based standards] (acoshf): Likewise.
2518 [non-C99-based standards] (asinhf): Likewise.
2519 [non-C99-based standards] (atanhf): Likewise.
2520 [non-C99-based standards] (cbrtf): Likewise.
2521 [non-C99-based standards] (expm1f): Likewise.
2522 [non-C99-based standards] (ilogbf): Likewise.
2523 [non-C99-based standards] (log1pf): Likewise.
2524 [non-C99-based standards] (logbf): Likewise.
2525 [non-C99-based standards] (nextafterf): Likewise.
2526 [non-C99-based standards] (remainderf): Likewise.
2527 [non-C99-based standards] (rintf): Likewise.
2528 [non-C99-based standards] (scalbf): Likewise.
2529 [non-C99-based standards] (copysignl): Likewise.
2530 [non-C99-based standards] (exp2l): Likewise.
2531 [non-C99-based standards] (log2l): Likewise.
2532 [non-C99-based standards] (modfl): Allow.
2533 [non-C99-based standards] (erfl): Do not allow.
2534 [non-C99-based standards] (erfcl): Likewise.
2535 [non-C99-based standards] (gammal): Likewise.
2536 [non-C99-based standards] (hypotl): Likewise.
2537 [non-C99-based standards] (j0l): Likewise.
2538 [non-C99-based standards] (j1l): Likewise.
2539 [non-C99-based standards] (jnl): Likewise.
2540 [non-C99-based standards] (lgammal): Likewise.
2541 [non-C99-based standards] (tgammal): Likewise.
2542 [non-C99-based standards] (y0l): Likewise.
2543 [non-C99-based standards] (y1l): Likewise.
2544 [non-C99-based standards] (ynl): Likewise.
2545 [non-C99-based standards] (isnanl): Likewise.
2546 [non-C99-based standards] (acoshl): Likewise.
2547 [non-C99-based standards] (asinhl): Likewise.
2548 [non-C99-based standards] (atanhl): Likewise.
2549 [non-C99-based standards] (cbrtl): Likewise.
2550 [non-C99-based standards] (expm1l): Likewise.
2551 [non-C99-based standards] (ilogbl): Likewise.
2552 [non-C99-based standards] (log1pl): Likewise.
2553 [non-C99-based standards] (logbl): Likewise.
2554 [non-C99-based standards] (nextafterl): Likewise.
2555 [non-C99-based standards] (remainderl): Likewise.
2556 [non-C99-based standards] (rintl): Likewise.
2557 [non-C99-based standards] (scalbl): Likewise.
2558 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2559 [non-C99-based standards] (FP_*): Do not allow.
2560 [C99-based standards] (FP_*): Change to
2561 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2562 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2564 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2565 (SIG_ERR): Likewise.
2566 [X/Open-based standards] (SIG_HOLD): Likewise.
2567 (SIG_IGN): Likewise.
2568 (SIGABRT): Use macro-int-constant. Specify type. Require
2573 (SIGSEGV): Likewise.
2575 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2576 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2577 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2578 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2579 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2580 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2581 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2582 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2583 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2584 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2585 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2586 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2587 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2588 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2589 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2590 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2591 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2592 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2593 [X/Open-based standards] (SIGTRAP): Likewise.
2594 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2595 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2596 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2597 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2598 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2601 2012-05-08 Ian Wienand <ianw@vmware.com>
2604 * time/tzset.c (__tzset_parse_tz): Update default rules for
2605 daylight time changes in the Energy Policy Act of 2005.
2607 2012-05-09 Andreas Jaeger <aj@suse.de>
2610 * elf/ldconfig.c (parse_conf): Change string to make clear that
2611 ldconfig only issued a warning if ld.so.conf does not exist.
2613 2012-05-08 David S. Miller <davem@davemloft.net>
2615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2616 movxtod instead of popping the value on the stack.
2618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2620 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2622 * config.h.in: Add HAVE_ARM_PCS_VFP.
2624 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2627 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2628 checking but the checks are disabled for any reason.
2630 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2632 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2633 and ELF64_R_TYPE with ELFW(R_TYPE).
2635 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2637 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2640 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2641 (settimeofday): Likewise.
2643 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2645 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2646 a struct th_u2 inside the union, and move tu_block/tu_code into
2647 a new th_u3 union of tu_block/tu_code inside of that. Move
2648 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2649 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2650 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2651 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2652 (th_stuff): Change to th_u1.tu_stuff.
2654 (th_msg): Change to th_u1.th_u2.tu_data.
2656 2012-05-07 David S. Miller <davem@davemloft.net>
2658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2661 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2662 (SETUP_PIC_REG): Use it.
2663 (SETUP_PIC_REG_LEAF): Use it.
2665 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2669 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2671 (EXPL_FINITE): Likewise.
2673 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2674 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2676 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2678 (EXPL_FINITE): Likewise.
2680 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2681 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2683 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2684 test of -max_value argument for long double.
2685 * sysdeps/i386/fpu/libm-test-ulps: Update.
2686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2688 2012-05-06 David S. Miller <davem@davemloft.net>
2690 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2691 quad soft-float symbols whose references which are compiler
2693 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2695 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2699 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2701 (EXPL_FINITE): Likewise.
2705 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2706 Adjust comments for base varying.
2707 (__expl_finite): Change alias to EXPL_FINITE.
2708 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2710 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2711 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2712 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2713 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2714 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2716 (EXPL_FINITE): Likewise.
2720 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2721 Adjust comments for base varying.
2722 (__expl_finite): Change alias to EXPL_FINITE.
2723 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2728 * math/libm-test.inc (check_float_internal): Correct ulp
2729 calculation for subnormal expected results.
2731 2012-05-06 Andreas Jaeger <aj@suse.de>
2733 * Makeconfig (+math-flags): New, set to -frounding-math.
2734 (+cflags): Add +math-flags so that all of glibc gets compiled with
2737 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2739 2012-05-05 Joseph Myers <joseph@codesourcery.com>
2741 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2747 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2748 (__ieee754_expl): Allow for and saturate large arguments.
2749 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2750 (u_threshold): Likewise.
2751 (__exp): Call __ieee754_exp before checking for overflow and
2753 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2754 (u_threshold): Likewise.
2755 (__expf): Call __ieee754_expf before checking for overflow and
2757 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2758 (u_threshold): Likewise.
2759 (__expl): Call __ieee754_expl before checking for overflow and
2761 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2762 (__ieee754_expl): Allow for and saturate large arguments.
2763 * math/libm-test.inc (exp_test): Add another test. Do not allow
2764 missing overflow exception on overflow.
2765 (expm1_test): Do not allow missing overflow exception on overflow.
2767 * sysdeps/i386/fpu/e_expl.c: Move to ...
2768 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2769 rather than using inline asm.
2770 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2771 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2772 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2774 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2781 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2783 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2784 sysdeps/unix/common/syscalls.list.
2787 (ftruncate): Likewise.
2788 (getrusage): Likewise.
2789 (gettimeofday): Likewise.
2790 (setpgid): Likewise.
2791 (setregid): Likewise.
2792 (setreuid): Likewise.
2793 (sigaction): Likewise.
2794 (truncate): Likewise.
2795 (vhangup): Likewise.
2796 * sysdeps/unix/common/syscalls.list: Remove file.
2797 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2798 * sysdeps/unix/sysv/linux/Implies: Likewise.
2800 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2802 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2804 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2808 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2811 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2814 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2817 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2820 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2823 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2826 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2830 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2834 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2837 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2841 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2845 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2847 * sysdeps/unix/common/bits/dirent.h: Remove file.
2848 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2850 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2851 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2852 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2853 * sysdeps/unix/bsd/isatty.c: Likewise.
2854 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2855 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2856 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2858 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2861 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2862 long double comparison inaccuracies.
2863 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2866 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2868 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2869 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2871 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2874 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2875 nonzero digits before rounding a hex value.
2876 * stdlib/tst-strtod.c (tests): Add another test.
2878 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2880 * sysdeps/s390/fpu/libm-test-ulps: Update.
2882 2012-05-03 Andreas Jaeger <aj@suse.de>
2884 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2885 does not get optimized out.
2886 (malloc_opt_barrier): New.
2888 2012-05-03 Andreas Jaeger <aj@suse.de>
2889 Roland McGrath <roland@hack.frob.com>
2891 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2892 intermediate file deletion.
2893 (generated): Add .symlist files.
2895 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2898 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2899 Redirect under this condition.
2900 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2901 [__USE_GNU] (__dprintf_chk): Not under this condition.
2902 [__USE_GNU] (__vdprintf_chk): Likewise.
2903 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2904 under this condition.
2905 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2906 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2907 [__USE_XOPEN2K8] (vdprintf): Likewise.
2908 [__USE_GNU] (__dprintf_chk): Not under this condition.
2909 [__USE_GNU] (__vdprintf_chk): Likewise.
2910 [__USE_GNU] (dprintf): Likewise.
2911 [__USE_GNU] (vdprintf): Likewise.
2913 2012-05-03 Roland McGrath <roland@hack.frob.com>
2915 * elf/Makefile (common-generated): Set this instead of generated for
2916 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2917 $(all-built-dso)-derived lists.
2919 2012-05-03 Andreas Jaeger <aj@suse.de>
2921 * sysdeps/i386/fpu/libm-test-ulps: Update.
2925 * scripts/gen-FAQ.pl: Likewise.
2926 * manual/install.texi (Installation): Point to online location of
2928 * Makefile (files-for-dist): Remove FAQ.
2931 2012-05-02 Allan McRae <allan@archlinux.org>
2933 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2934 (LDFLAGS-reldepmod5.so): Likewise.
2935 (LDFLAGS-reldep6mod1.so): Likewise.
2936 (LDFLAGS-reldep6mod4.so): Likewise.
2937 (LDFLAGS-reldep8mod3.so): Likewise.
2938 (LDFLAGS-unload4mod1.so): Likewise.
2939 (LDFLAGS-unload4mod2.so): Likewise.
2940 (LDFLAGS-tst-initorder): Likewise.
2941 (LDFLAGS-tst-initordera2.so): Likewise.
2942 (LDFLAGS-tst-initordera3.so): Likewise.
2943 (LDFLAGS-tst-initordera4.so): Likewise.
2944 (LDFLAGS-tst-initorderb2.so): Likewise.
2945 (LDFLAGS-noload): Likewise.
2946 (LDFLAGS-next): Likewise.
2947 (LDFLAGS-order2mod1.so): Likewise.
2948 (LDFLAGS-order2mod2.so): Likewise.
2949 (LDFLAGS-tst-initorder2): Likewise.
2950 (LDFLAGS-tst-initorder2a.so): Likewise.
2951 (LDFLAGS-tst-initorder2b.so): Likewise.
2952 (LDFLAGS-tst-initorder2c.so): Likewise.
2953 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2955 2012-05-02 David S. Miller <davem@davemloft.net>
2957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2959 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2962 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2964 2012-05-02 Andreas Jaeger <aj@suse.de>
2966 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2967 since we manipulate rounding mode.
2968 (CPPFLAGS-test-idouble.c): Likewise.
2969 (CPPFLAGS-test-ifloat.c): Likewise.
2970 (CFLAGS-test-ldouble.c): Likewise.
2971 (CFLAGS-test-double.c): Likewise.
2972 (CFLAGS-test-float.c): Likewise.
2973 (CFLAGS-test-misc.c): Likewise.
2974 (CFLAGS-test-test-fenv.c): Likewise.
2976 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2980 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2981 comparisons to determine direction to adjust input.
2983 2012-05-01 Roland McGrath <roland@hack.frob.com>
2985 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2986 output to the target.
2988 * scripts/localplt.awk: New file.
2989 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2990 (check-localplt-CFLAGS): Variable removed.
2991 ($(all-built-dso:=.jmprel)): New static pattern rule.
2992 (generated): Add those targets.
2993 (localplt-built-dso): New variable.
2994 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2996 * elf/check-localplt.c: File removed.
2998 * scripts/check-execstack.awk: New file.
2999 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3000 (check-execstack-CFLAGS): Variable removed.
3001 ($(objpfx)check-execstack.h): Target removed.
3002 ($(objpfx)execstack-default): New target.
3003 (generated): Add that instead of check-execstack.h.
3004 ($(all-built-dso:=.phdr)): New static pattern rule.
3005 (generated): Add those targets.
3006 * elf/check-execstack.c: File removed.
3008 * scripts/check-textrel.awk: New file.
3009 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3010 (check-textrel-CFLAGS): Variable removed.
3011 (all-built-dso): Use := to define.o
3012 ($(all-built-dso:=.dyn)): New static pattern rule.
3013 (generated): Add those targets.
3014 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3015 * config.make.in (READELF): New substituted variable.
3016 * elf/check-textrel.c: File removed.
3018 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3020 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3022 * conform/data/ctype.h-data [C99-based standards] (isblank):
3024 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3025 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3026 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3027 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3028 Specify type. Require positive value.
3031 [ISO || POSIX] (EILSEQ): Do not expect.
3032 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3033 Specify type. Require positive value.
3034 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3035 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3036 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3037 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3038 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3039 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3040 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3041 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3042 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3043 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3044 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3045 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3046 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3047 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3048 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3049 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3050 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3051 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3052 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3053 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3054 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3055 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3056 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3057 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3058 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3059 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3060 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3061 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3062 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3063 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3064 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3065 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3066 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3067 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3068 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3069 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3070 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3071 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3072 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3073 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3074 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3075 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3076 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3077 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3078 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3079 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3080 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3081 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3082 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3083 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3084 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3085 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3086 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3087 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3088 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3089 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3090 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3091 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3092 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3093 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3094 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3095 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3096 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3097 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3098 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3099 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3100 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3101 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3102 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3103 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3104 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3105 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3106 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3107 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3108 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3109 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3110 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3112 (FLT_ROUNDS): Expect as macro, not constant.
3113 (FLT_MANT_DIG): Use macro-int-constant.
3114 (DBL_MANT_DIG): Likewise.
3115 (LDBL_MANT_DIG): Likewise.
3116 (FLT_DIG): Likewise.
3117 (DBL_DIG): Likewise.
3118 (LDBL_DIG): Likewise.
3119 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3120 (DBL_MIN_EXP): Likewise.
3121 (LDBL_MIN_EXP): Likewise.
3122 (FLT_MAX_EXP): Use macro-int-constant.
3123 (DBL_MAX_EXP): Likewise.
3124 (LDBL_MAX_EXP): Likewise.
3125 (FLT_MAX_10_EXP): Likewise.
3126 (DBL_MAX_10_EXP): Likewise.
3127 (LDBL_MAX_10_EXP): Likewise.
3128 (FLT_MAX): Use macro-constant.
3129 (DBL_MAX): Likewise.
3130 (LDBL_MAX): Likewise.
3131 (FLT_EPSILON): Use macro-constant. Give upper bound.
3132 (DBL_EPSILON): Likewise.
3133 (LDBL_EPSILON): Likewise.
3134 (FLT_MIN): Likewise.
3135 (DBL_MIN): Likewise.
3136 (LDBL_MIN): Likewise.
3137 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3138 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3139 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3140 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3141 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3142 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3143 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3144 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3145 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3146 [ISO11] (FLT_TRUE_MIN): Likewise.
3147 [ISO11] (LDBL_TRUE_MIN): Likewise.
3148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3149 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3150 (SCHAR_MIN): Use macro-int-constant. Specify type.
3151 (SCHAR_MAX): Likewise.
3152 (UCHAR_MAX): Likewise.
3153 (CHAR_MIN): Likewise.
3154 (CHAR_MAX): Likewise.
3155 (MB_LEN_MAX): Use macro-int-constant.
3156 (SHRT_MIN): Use macro-int-constant. Specify type.
3157 (SHRT_MAX): Likewise.
3158 (USHRT_MAX): Likewise.
3159 (INT_MAX): Likewise.
3160 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3162 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3164 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3166 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3167 bound negative. Suffix upper bound with "L".
3168 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3170 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3172 [C99-based standards] (LLONG_MAX): Likewise.
3173 [C99-based standards] (ULLONG_MAX): Likewise.
3174 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3176 [ISO11] (max_align_t): Require type.
3177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3179 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3180 from $CFLAGS, without defining away __attribute__ calls.
3181 (checknamespace): Use $CFLAGS_namespace.
3183 * conform/conformtest.pl (@keywords): Only include C99 keywords
3184 for standards based on C99 or C11.
3186 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3188 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3191 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3192 usability of symbols in #if.
3194 * conform/conformtest.pl: If macro or constant types start
3195 "promoted:", expect the symbol to be of the following type
3196 promoted by the integer promotions.
3198 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3199 in one place. Also handle "macro-constant".
3201 * conform/conformtest.pl: Only accept expected macro values with
3202 "==". Parse all "macro" lines in one place.
3203 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3205 * conform/conformtest.pl: Handle braced types on "constant" lines
3206 instead of handling "typed-constant".
3207 * conform/data/signal.h-data: Use "constant" instead of
3210 * conform/conformtest.pl: Handle "optional-" at start of lines in
3211 one place rather than duplicating several cases. Handle each
3212 format of "macro" line with initial "optional-".
3214 * conform/conformtest.pl: Only accept expected constant or
3215 optional-constant values with "==". Parse all "constant" lines in
3216 one place. Parse all "optional-constant" lines in one place.
3217 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3218 * conform/data/fmtmsg.h-data: Likewise.
3219 * conform/data/netinet/in.h-data: Likewise.
3220 * conform/data/tar.h-data: Likewise.
3221 * conform/data/limits.h-data: Use "==" form on "constant" and
3222 "optional-constant" lines.
3224 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3225 Use -std=c99 for XOPEN2K.
3226 (@knownproblems): Remove.
3227 (newtoken): Don't check %isknown.
3229 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3230 Do not expect macro.
3231 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3232 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3233 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3234 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3235 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3236 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3237 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3238 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3239 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3240 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3241 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3242 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3243 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3244 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3245 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3246 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3247 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3248 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3249 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3250 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3251 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3252 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3253 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3254 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3255 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3256 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3257 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3258 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3259 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3260 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3261 [XPG3] (acosh): Likewise.
3262 [XPG3] (asinh): Likewise.
3263 [XPG3] (atanh): Likewise.
3264 [XPG3] (cbrt): Likewise.
3265 [XPG3] (expm1): Likewise.
3266 [XPG3] (ilogb): Likewise.
3267 [XPG3] (log1p): Likewise.
3268 [XPG3] (logb): Likewise.
3269 [XPG3] (nextafter): Likewise.
3270 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3271 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3272 [XPG3] (remainder): Likewise.
3273 [XPG3] (rint): Likewise.
3274 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3275 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3276 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3277 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3278 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3279 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3280 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3281 [UNIX98 || XOPEN2K] (scalb): Expect.
3282 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3283 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3284 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3285 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3286 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3287 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3288 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3289 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3290 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3291 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3292 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3293 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3294 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3295 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3296 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3297 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3298 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3299 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3300 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3301 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3302 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3303 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3304 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3305 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3306 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3307 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3308 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3309 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3310 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3311 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3312 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3313 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3314 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3315 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3316 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3317 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3318 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3319 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3320 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3321 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3322 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3323 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3324 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3325 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3326 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3327 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3328 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3329 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3330 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3331 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3332 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3333 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3334 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3335 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3336 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3337 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3338 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3339 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3340 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3341 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3342 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3343 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3344 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3345 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3346 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3347 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3348 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3349 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3350 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3351 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3352 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3353 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3354 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3355 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3356 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3357 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3358 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3359 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3360 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3361 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3362 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3363 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3364 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3365 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3366 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3367 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3368 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3369 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3370 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3371 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3372 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3373 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3374 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3375 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3376 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3377 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3378 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3379 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3380 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3381 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3382 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3383 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3384 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3385 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3386 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3387 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3388 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3389 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3390 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3391 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3392 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3393 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3394 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3395 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3396 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3397 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3398 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3399 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3400 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3401 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3402 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3403 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3404 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3405 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3406 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3407 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3408 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3409 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3410 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3411 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3412 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3413 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3414 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3415 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3416 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3417 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3418 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3420 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3421 _XOPEN_SOURCE_EXTENDED for XPG4.
3423 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3425 * Makeconfig (localtime): Remove variable.
3426 (inst_localtime-file): Likewise.
3428 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3449 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3453 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3454 comparisons to determine direction to adjust input.
3455 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3456 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3457 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3459 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3461 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3463 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3464 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3466 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3468 * math/libm-test.inc (nexttoward_test): Add more tests.
3470 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3473 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3474 in version GLIBC_2.1, not GLIBC_2.0.
3475 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3478 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3481 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3483 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3484 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3485 * math/libm-test.inc (acos_test): Add more tests.
3486 (asin_test): Likewise.
3487 * sysdeps/i386/fpu/libm-test-ulps: Update.
3488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3491 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3493 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3494 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3495 * math/libm-test.inc (acos_test_tonearest): New function.
3496 (acos_test_towardzero): Likewise.
3497 (acos_test_downward): Likewise.
3498 (acos_test_upward): Likewise.
3499 (asin_test_tonearest): Likewise.
3500 (asin_test_towardzero): Likewise.
3501 (asin_test_downward): Likewise.
3502 (asin_test_upward): Likewise.
3503 (main): Call the new functions.
3504 * sysdeps/i386/fpu/libm-test-ulps: Update.
3505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3509 * math/e_exp10.c: Include <float.h>.
3510 (__ieee754_exp10): Handle underflow here rather than multiplying
3511 large negative argument by M_LN10.
3512 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3514 * math/e_exp10l.c: Include <float.h>.
3515 (__ieee754_exp10l): Handle underflow here rather than multiplying
3516 large negative argument by M_LN10l.
3517 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3518 spurious overflow exception on underflow.
3520 2012-04-29 Marek Polacek <polacek@redhat.com>
3522 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3523 (__fortify_function): New macro.
3524 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3525 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3526 __extern_always_inline.
3527 * libio/bits/stdio2.h: Likewise.
3528 * libio/bits/stdio.h: Likewise.
3529 * string/string.h: Likewise.
3530 * string/bits/string3.h: Likewise.
3531 * include/stdio.h: Likewise.
3532 * stdlib/bits/stdlib.h: Likewise.
3533 * stdlib/stdlib.h: Likewise.
3534 * rt/bits/mqueue2.h: Likewise.
3535 * rt/mqueue.h: Likewise.
3536 * posix/bits/unistd.h: Likewise.
3537 * posix/unistd.h: Likewise.
3538 * io/bits/poll2.h: Likewise.
3539 * io/bits/fcntl2.h: Likewise.
3540 * io/fcntl.h: Likewise.
3541 * io/sys/poll.h: Likewise.
3542 * misc/bits/syslog.h: Likewise.
3543 * misc/bits/syslog-ldbl.h: Likewise.
3544 * misc/sys/syslog.h: Likewise.
3545 * socket/bits/socket2.h: Likewise.
3546 * socket/sys/socket.h: Likewise.
3547 * debug/tst-chk1.c: Likewise.
3548 * wcsmbs/bits/wchar2.h: Likewise.
3549 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3550 * wcsmbs/wchar.h: Likewise.
3552 2012-04-29 Andreas Jaeger <aj@suse.de>
3554 * Makerules (tests): Remove enable-check-abi protection.
3555 (check-abi-warn): Remove.
3556 (check-abi-%): Remove check-abi-warn usage.
3558 * configure.in: Remove check-abi configure option.
3559 * configure: Regenerated.
3560 * config.make.in (enable-check-abi): Remove.
3562 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3565 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3566 double functions to double *_finite functions.
3569 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3570 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3572 * stdio-common/Makefile (tests): Add tst-sprintf3.
3573 * stdio-common/tst-sprintf3.c: New file.
3575 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3576 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3578 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3580 * conform/conformtest.pl: Remove duplicate typed-constant
3583 2012-04-28 David S. Miller <davem@davemloft.net>
3585 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3586 (check-abi-%): Remove AWK script prerequisite and explicit
3588 (check-abi): Rewrite to just diff the symlist with the abilist.
3589 (config-tls, config-abi-config): Delete, no longer used.
3590 (update-abi-%): Remove AWK script and explicit abilist directory.
3591 (update-abi): Rewrite to simply compare and conditionally copy the
3592 symlist and the sysdep abilist file. Remove update-abi-config
3594 * abilist/ld.abilist: Remove.
3595 * abilist/libBrokenLocale.abilist: Remove.
3596 * abilist/libanl.abilist: Remove.
3597 * abilist/libcrypt.abilist: Remove.
3598 * abilist/libdl.abilist: Remove.
3599 * abilist/librt.abilist: Remove.
3600 * abilist/libthread_db.abilist: Remove.
3601 * abilist/libutil.abilist: Remove.
3602 * scripts/extract-abilist.awk: Remove.
3603 * scripts/merge-abilist.awk: Remove.
3604 * sysdeps/generic/libcidn.abilist: New file.
3605 * sysdeps/generic/libnss_compat.abilist: New file.
3606 * sysdeps/generic/libnss_db.abilist: New file.
3607 * sysdeps/generic/libnss_dns.abilist: New file.
3608 * sysdeps/generic/libnss_files.abilist: New file.
3609 * sysdeps/generic/libnss_hesiod.abilist: New file.
3610 * sysdeps/generic/libnss_nis.abilist: New file.
3611 * sysdeps/generic/libnss_nisplus.abilist: New file.
3612 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3613 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3614 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3616 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3617 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3618 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3619 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3620 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3621 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3622 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3623 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3624 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3626 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3627 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3628 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3629 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3631 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3632 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3633 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3634 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3635 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3636 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3638 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3639 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3640 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3642 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3643 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3645 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3647 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3649 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3651 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3659 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3661 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3663 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3745 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3746 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3747 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3749 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3750 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3751 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3752 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3753 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3754 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3755 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3756 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3757 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3758 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3810 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3812 * conform/conformtest.pl: Fix typo in handling typed-constant from
3815 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3817 * README: Cut down references to pre-2.6 Linux kernels and
3818 Linuxthreads. Update lists of configurations in libc and ports
3819 and sort alphabetically. Say "or newer" with Linux kernel version
3822 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3824 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3827 * math/libm-test.inc (logb_test_downward): New test to expose
3828 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3831 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3834 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3836 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3837 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3839 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3841 * sysdeps/unix/i386/brk.S: Remove file.
3842 * sysdeps/unix/i386/dl-brk.S: Likewise.
3843 * sysdeps/unix/i386/pipe.S: Likewise.
3844 * sysdeps/unix/i386/sigreturn.S: Likewise.
3845 * sysdeps/unix/i386/syscall.S: Likewise.
3846 * sysdeps/unix/i386/vfork.S: Likewise.
3847 * sysdeps/unix/i386/wait.S: Likewise.
3849 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3850 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3852 * configure.in (arm*-none*): Do not allow without
3853 --enable-hacker-mode.
3854 (netbsd*): Remove case setting base_os.
3855 (386bsd*): Likewise.
3856 (freebsd*): Likewise.
3860 (ultrix*): Likewise.
3861 (newsos*): Likewise.
3871 (solaris[2-9]*): Likewise.
3873 * configure: Regenerated.
3875 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3878 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3879 overflow or cancellation in calculating denominator.
3880 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3881 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3882 down expression to avoid unexpected rounding in newer GCCs.
3883 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3885 2012-04-26 David S. Miller <davem@davemloft.net>
3887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3888 long-double compat symbols.
3889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3903 2012-04-25 David S. Miller <davem@davemloft.net>
3905 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3906 HWCAP_* values only after the memory barriers have been defined.
3907 (atomic_full_barrier): Define.
3908 (atomic_read_barrier): Define.
3909 (atomic_write_barrier): Define.
3911 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3913 * shlib-versions: Add libgcc_s version information.
3914 * sysdeps/generic/libgcc_s.h: Remove.
3915 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3917 * sysdeps/gnu/unwind-resume.c: Likewise.
3918 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3920 2012-04-25 David S. Miller <davem@davemloft.net>
3922 * sysdeps/unix/sparc/brk.S: Delete.
3923 * sysdeps/unix/sparc/dl-brk.S: Delete.
3924 * sysdeps/unix/sparc/pipe.S: Delete.
3925 * sysdeps/unix/sparc/sysdep.S: Delete.
3926 * sysdeps/unix/sparc/sysdep.h: Delete.
3927 * sysdeps/unix/sparc/vfork.S: Delete.
3928 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3929 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3930 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3931 ret_ERRVAL, r0, r1, MOVE): Define.
3932 (JUMPTARGET): Remove.
3933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3934 sysdeps/unix/sparc/sysdep.h
3935 (ENTRY, END): Remove.
3936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3938 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3940 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3941 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3944 * timezone/README: Update upstream location and email address for
3946 * timezone/zdump.c: Update from tzcode 2012b.
3947 * timezone/zic.c: Likewise.
3949 * configure.in (libc_cv_as_needed): Remove test.
3950 * configure: Regenerated.
3951 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3952 conditional definition.
3953 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3954 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3955 * config.make.in (have-as-needed): Remove variable.
3957 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3958 Paul Pluzhnikov <ppluzhnikov@google.com>
3960 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3963 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3965 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3966 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3967 * sysdeps/sh/strlen.S: Likewise.
3969 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3971 * sysdeps/unix/fork.S: Remove file.
3972 * sysdeps/unix/i386/fork.S: Likewise.
3973 * sysdeps/unix/sparc/fork.S: Likewise.
3975 * sysdeps/unix/system.c: Remove file.
3976 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3978 * sysdeps/unix/getegid.S: Remove file.
3979 * sysdeps/unix/geteuid.S: Likewise.
3981 2012-04-24 Roland McGrath <roland@hack.frob.com>
3983 * scripts/check-localplt.awk: New file.
3984 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3986 * scripts/data/localplt-generic.data: Add a comment.
3988 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3989 NODE when __dir_mkfile failed.
3990 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3991 Reported by Ludovic Courtès <ludo@gnu.org>.
3993 2012-04-24 Andreas Jaeger <aj@suse.de>
3995 * Makerules (common-clean): Also remove gen-as-const-headers
3998 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4000 * Makerules (native-compile): Do not change working directory for
4001 build. Use $(OUTPUT_OPTION) in command.
4002 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4004 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4007 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4008 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4009 * math/libm-test.inc (floor_test): Add more tests.
4010 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4012 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4014 * sysdeps/unix/getdents.c: Remove file.
4015 * sysdeps/unix/sysv/getdents.c: Likewise.
4016 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4018 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4019 sysdeps/unix/mman/syscalls.list.
4021 (mprotect): Likewise.
4024 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4025 * sysdeps/unix/mman/syscalls.list: Remove.
4026 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4028 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4029 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4030 * configure: Regenerated.
4031 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4033 * config.make.in (libgcc_s_suffix): Remove variable.
4035 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4037 * sysdeps/unix/sysv/gethostname.c: Move to ...
4038 * sysdeps/posix/gethostname.c: ... here.
4040 * sysdeps/unix/execve.S: Remove file.
4042 * sysdeps/unix/_exit.S: Remove file.
4044 2012-04-23 Andreas Jaeger <aj@suse.de>
4047 * manual/Makefile: Remove make dist support, there's no
4048 need for a stand-alone documentation tar ball.
4049 (TEXI2DVI): Define always, it's not in Makeconfig.
4053 (glibc-doc-$(edition).tar): Removed
4057 (ETAGS): Remove, it's in Makeconfig.
4058 (move-if-change): Remove, it's in Makeconfig.
4060 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4063 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4064 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4065 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4066 (strtod_l, strtof_l, strtold_l): Remove __wur.
4067 It is not necessarily an error to ignore strtol's return value.
4068 One can reliably look at the stored endptr to decide whether
4069 the number had valid syntax.
4071 2012-04-21 Andreas Jaeger <aj@suse.de>
4074 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4076 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4078 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4079 * sysdeps/unix/sysv/Versions: Remove file.
4081 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4086 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4089 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4090 version from __vm86.
4092 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4094 * sysdeps/unix/common/lxstat.c: Remove file.
4095 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4097 * sysdeps/unix/sysv/Makefile: Remove file.
4099 * sysdeps/unix/sysv/direct.h: Remove file.
4101 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4102 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4103 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4104 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4105 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4106 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4107 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4109 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4111 * sysdeps/unix/xmknod.c: Remove file.
4112 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4114 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4116 * sysdeps/unix/sysv/i386/time.S: Remove file.
4118 * sysdeps/unix/fxstat.c: Remove file.
4119 * sysdeps/unix/xstat.c: Likewise.
4120 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4122 * sysdeps/unix/sysv/sigaction.c: Remove file.
4124 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4125 (sysdep_headers): Remove variable.
4126 [termio.h not in sysdep_headers] (generated): Likewise.
4127 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4128 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4129 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4130 * sysdeps/unix/sysv/tcflow.c: Likewise.
4131 * sysdeps/unix/sysv/tcflush.c: Likewise.
4132 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4133 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4134 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4135 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4136 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4138 * sysdeps/unix/siglist.c: Remove file.
4140 * sysdeps/unix/getppid.S: Remove file.
4142 * sysdeps/unix/mkdir.c: Remove file.
4143 * sysdeps/unix/rmdir.c: Likewise.
4145 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4147 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4149 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4150 errlist-compat value.
4152 2012-04-18 David S. Miller <davem@davemloft.net>
4154 * sysdeps/generic/memcopy.h (reg_char): Delete.
4155 * debug/strcat_chk.c: Use char, not reg_char.
4156 * debug/strcpy_chk.c: Likewise.
4157 * debug/strncat_chk.c: Likewise.
4158 * debug/strncpy_chk.c: Likewise.
4159 * string/memchr.c: Likewise.
4160 * string/memrchr.c: Likewise.
4161 * string/rawmemchr.c: Likewise.
4162 * string/strcat.c: Likewise.
4163 * string/strchr.c: Likewise.
4164 * string/strchrnul.c: Likewise.
4165 * string/strcmp.c: Likewise.
4166 * string/strcpy.c: Likewise.
4167 * string/strncat.c: Likewise.
4168 * string/strncmp.c: Likewise.
4169 * string/strncpy.c: Likewise.
4171 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4173 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4174 __builtin_memcopy is called when src and dest ranges are known to not
4177 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4179 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4180 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4181 fwd_align_merge macro call.
4182 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4183 bwd_align_merge macro call.
4184 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4186 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4188 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4189 bwd_align_merge macros.
4190 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4191 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4192 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4194 2012-04-18 David S. Miller <davem@davemloft.net>
4196 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4198 2012-04-18 Andreas Jaeger <aj@suse.de>
4201 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4202 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4203 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4205 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4206 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4207 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4209 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4210 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4211 Adjust for changed ldbl-128 files.
4213 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4214 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4215 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4217 2012-04-17 David S. Miller <davem@davemloft.net>
4219 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4221 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4223 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4224 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4225 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4226 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4227 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4228 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4230 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4233 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4234 * math/libm-test.inc: Add ilogb errno and exception tests.
4235 * math/w_ilogb.c: New file: ilogb wrapper.
4236 * math/w_ilogbf.c: New file: ilogbf wrapper.
4237 * math/w_ilogbl.c: New file: ilogbl wrapper.
4238 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4239 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4240 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4241 exception being thrown with 0.0 as argument.
4242 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4243 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4244 exception being thrown with 0.0 as argument.
4245 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4246 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4247 exception being thrown with 0.0 as argument.
4248 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4249 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4250 exception being thrown with 0.0 as argument.
4251 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4252 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4253 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4254 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4255 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4256 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4257 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4258 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4259 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4261 2012-04-17 Petr Baudis <pasky@ucw.cz>
4263 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4266 2012-04-16 Marek Polacek <polacek@redhat.com>
4268 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4270 2012-04-16 Marek Polacek <polacek@redhat.com>
4272 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4273 operands of fdivp instruction.
4275 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4277 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4278 * elf/tst-auditmod3b.c: Likewise.
4279 * elf/tst-auditmod4b.c: Likewise.
4280 * elf/tst-auditmod5b.c: Likewise.
4281 * elf/tst-auditmod6b.c: Likewise.
4282 * elf/tst-auditmod6c.c: Likewise.
4283 * elf/tst-auditmod7b.c: Likewise.
4284 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4285 * sysdeps/x86_64/preconfigure.in: Likewise.
4286 * sysdeps/x86_64/preconfigure: Regenerated.
4288 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4290 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4293 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4295 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4296 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4298 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4301 * locale/iso-639.def: Fix gl language name. Spotted by
4304 2012-04-12 Roland McGrath <roland@hack.frob.com>
4307 * libio/libio.h (__io_write_fn): Update comment.
4309 2012-04-12 Petr Baudis <pasky@ucw.cz>
4312 * stdio.texi (Hook Functions): The user provided writer function
4313 is not allowed to return -1.
4315 2012-04-11 David S. Miller <davem@davemloft.net>
4317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4319 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4321 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4322 Add a leading slash to rtkaio.
4324 2012-04-11 Jim Meyering <meyering@redhat.com>
4327 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4328 It is not necessarily an error to ignore fwrite's return
4329 value. One can reliably use ferror to test for errors after
4332 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4334 * bits/types.h (__snseconds_t): New type.
4335 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4337 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4338 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4339 (__SNSECONDS_T_TYPE): Likewise.
4340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4341 (__SNSECONDS_T_TYPE): Likewise.
4342 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4343 (__SNSECONDS_T_TYPE): Likewise.
4345 2012-04-10 Andreas Jaeger <aj@suse.de>
4348 * manual/time.texi (Processor Time): Return type of times is
4349 elapsed real time since an arbitrary point in the past.
4350 (CPU Time): Move CLK_TCK from here...
4351 (Processor Time): ...to here. Correct description.
4352 * manual/conf.texi (Constants for Sysconf): Correct description of
4355 2012-04-10 David S. Miller <davem@davemloft.net>
4358 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4359 where the is a gap between DT_REL(A) and DT_JMPREL.
4361 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4363 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4364 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4365 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4367 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4369 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4370 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4371 (dl_main): Handle --inhibit-cache.
4372 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4374 * elf/dl-load.c (_dl_map_object): Use it.
4375 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4377 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4380 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4381 (__ieee754_powl): Saturate large exponents rather than testing for
4382 overflow of y*log2(x).
4383 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4384 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4388 * math/s_ctan.c: Include <float.h>.
4389 (__ctan): Avoid internal overflow or cancellation in calculating
4391 * math/s_ctanf.c: Likewise.
4392 * math/s_ctanl.c: Likewise.
4393 * math/s_ctanh.c: Likewise.
4394 * math/s_ctanhf.c: Likewise.
4395 * math/s_ctanhl.c: Likewise.
4396 * math/libm-test.inc (ctan_test): Add more tests.
4397 (ctanh_test): Likewise.
4398 * sysdeps/i386/fpu/libm-test-ulps: Update.
4399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4401 2012-04-09 Andreas Jaeger <aj@suse.de>
4404 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4405 is an optional BSD extension.
4408 * manual/stdio.texi (Opening Streams): Document additional fopen
4411 2012-04-09 Roland McGrath <roland@hack.frob.com>
4413 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4414 %eax without telling the compiler.
4416 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4419 * manual/install.texi: Use sourceware.org.
4421 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4424 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4425 (__ieee754_pow): Generate overflow and underflow using huge*huge
4426 and tiny*tiny rather than just returning constant infinity or zero
4427 for large exponents.
4428 * math/libm-test.inc (pow_test): Require overflow exceptions for
4429 applicable cases of large exponents.
4432 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4433 (__ieee754_pow): Use iterative multiplication algorithm only for
4434 integer exponents with absolute value below 1024. Check for odd
4435 integer exponents when using algorithm for real exponents.
4436 * math/libm-test.inc (pow_test): Add more tests.
4437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4439 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4442 * math/libm-test.inc (exp_test): Do not allow overflow exception
4445 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4448 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4449 instead of __kernel_standard_f.
4451 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4453 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4454 * sysdeps/x86_64/memset_chk.S: Likewise.
4456 2012-04-08 Andreas Jaeger <aj@suse.de>
4459 * manual/startup.texi (Environment Access): Describe return value
4460 for putenv and setenv.
4463 * manual/filesys.texi (Directory Entries): Add description for
4467 * manual/filesys.texi (Directory Entries): Clarify that it's file
4468 system not operating system in the description of DT_UNKNOWN.
4471 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4473 2012-04-08 Stephen Compall <s11@member.fsf.org>
4476 * manual/llio.texi (Opening and Closing Files): Add cross
4477 reference to explain mode argument.
4479 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4481 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4482 * sysdeps/x86_64/memset_chk.S: Likewise.
4484 2012-04-07 David S. Miller <davem@davemloft.net>
4486 * elf/elf.h (R_SPARC_WDISP10): Define.
4487 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4489 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4490 R_SPARC_SIZE64 and R_SPARC_H34.
4492 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4494 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4495 conditions and remove no longer applicable assertion.
4497 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4499 * bits/byteswap.h: Include <features.h>.
4500 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4501 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4503 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4505 * bits/byteswap.h (__bswap_16): Removed.
4506 Include <bits/byteswap-16.h> to get __bswap_16.
4507 * sysdeps/i386/bits/byteswap.h: Likewise.
4508 * sysdeps/s390/bits/byteswap.h: Likewise.
4509 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4510 * bits/byteswap-16.h: New file.
4511 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4512 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4513 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4514 * string/Makefile (headers): Add bits/byteswap-16.h.
4516 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4519 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4521 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4522 * nss/tst-nss-static.c: New.
4524 2012-04-06 Robert Millan <rmh@gnu.org>
4527 * manual/llio.texi (File Position Primitive): lseek
4528 refers to WHENCE when it really means OFFSET.
4530 2012-04-06 Andreas Jaeger <aj@suse.de>
4532 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4533 strncmp declarations.
4535 * abilist/libc.abilist: Add __poll and __ppoll.
4537 2012-04-05 David S. Miller <davem@davemloft.net>
4539 * scripts/check-local-headers.sh: Accept a host triplet in the
4540 path matched by the exclude regexp.
4542 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4544 * sysdeps/powerpc/powerpc32/dl-machine.h
4545 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4546 * sysdeps/s390/s390-32/dl-machine.h
4547 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4548 * sysdeps/sparc/sparc32/dl-machine.h
4549 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4550 * sysdeps/sparc/sparc64/dl-machine.h
4551 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4553 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4555 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4556 undefined symbol errors.
4558 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4561 2012-04-05 Michael Matz <matz@suse.de>
4564 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4566 2012-04-05 Andreas Jaeger <aj@suse.de>
4569 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4572 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4574 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4575 which ROUND is no valid rounding mode.
4577 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4579 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4581 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4583 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4585 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4586 an exception using FPU order intentionally.
4588 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4590 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4591 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4592 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4593 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4595 2012-04-05 Simon Josefsson <simon@josefsson.org>
4598 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4599 EINVAL when BUFLEN is too smal.
4601 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4604 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4605 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4607 2012-04-03 Andreas Jaeger <aj@suse.de>
4610 * manual/setjmp.texi (System V contexts): Fix sentence.
4613 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4614 New macro for this case.
4615 [!__GNUC__] (__bswap_64): New inline function for this case.
4616 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4617 * bits/byteswap.h: Likewise.
4618 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4619 ull, guard with __GLIBC_HAVE_LONG_LONG.
4621 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4622 __GLIBC_HAVE_LONG_LONG.
4624 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4625 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4627 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4630 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4631 inptr and inend, rather than using last_ch.
4633 2012-04-02 David S. Miller <davem@davemloft.net>
4635 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4636 * stdio-common/printf-parse.h (read_int): Change return type to
4637 'int', return -1 on INT_MAX overflow.
4638 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4639 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4640 overflows INT_MAX. Check for overflow of in-format-string precision
4641 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4642 SIZE_MAX not INT_MAX for integer overflow test.
4643 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4644 skip the construct in the format string but do not record anything.
4645 * stdio-common/bug22.c: Adjust to test both width/prevision
4646 INT_MAX overflow as well as total length INT_MAX overflow. Check
4647 explicitly for proper errno values.
4649 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4651 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4653 * string/test-strcmp.c [! WIDE]: Likewise.
4654 * time/tst-mktime2.c: Likewise for INT_MAX.
4655 * string/test-string.h: #include <sys/param.h> for MIN.
4657 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4658 * sysdeps/i386/init-first.c (init): Likewise.
4659 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4660 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4661 * sysdeps/sh/init-first.c (init): Likewise.
4663 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4665 * po/ru.po: Update from translation team.
4666 * po/vi.po: Likewise.
4668 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4670 * resolv/nss_dns/dns-host.c: Merge copyright years.
4672 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4674 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4675 Optimize memcpy with prefetch if
4676 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4677 src, dst pointers have unequal 16 byte alignments.
4679 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4682 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4683 from a CNAME entry and return the minimum ttl for the query.
4684 (gaih_getanswer_slice): Likewise.
4686 2012-03-30 Jeff Law <law@redhat.com>
4688 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4690 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4691 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4693 * resolv/nss_dns/dns-host.c: Update copyright year.
4695 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4697 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4698 requests to save a system call. Fix check that all bytes are sent.
4700 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4701 comments for sendmmsg.
4703 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4706 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4707 with only 1 character between 0x0041 and 0x01b0.
4708 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4709 * wcsmbs/tst-mbsnrtowcs.c: New file.
4711 2012-03-29 David S. Miller <davem@davemloft.net>
4713 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4714 small copies by hand.
4716 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4719 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4720 _nss_compat_initgroups_dyn): Fall back to malloc/free
4721 for large group memberships.
4723 2012-03-28 David S. Miller <davem@davemloft.net>
4725 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4726 that branches into memcpy.
4727 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4729 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4730 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4733 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4735 * sysdeps/sparc/mempcpy.S: New file.
4737 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4738 the IFUNC routine in the libc case.
4739 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4741 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4742 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4743 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4744 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4745 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4746 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4747 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4748 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4750 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4751 loop to 256 bytes instead of 64 bytes and fix test signedness.
4753 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4754 * sysdeps/sparc/sparc32/Makefile: rather than here...
4755 * sysdeps/sparc/sparc64/Makefile: and here.
4757 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4759 * malloc/mallocbug.c: Avoid warnings about unused variables.
4761 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4764 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4765 in the right place. Discard and retry query if response is
4766 larger than input buffer size.
4768 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4773 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4774 x for large integer exponent.
4775 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4776 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4777 sign of result as needed afterwards.
4778 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4779 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4780 result for underflowing pow the same as for overflow.
4781 (__kernel_standard_l): Handle powl overflow and underflow here
4782 rather than calling __kernel_standard.
4783 * math/libm-test.inc (pow_test): Add more tests.
4798 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4799 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4800 (__kernel_standard_l): New function.
4801 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4803 * math/w_acosl.c (__acosl): Likewise.
4804 * math/w_asinl.c (__asinl): Likewise.
4805 * math/w_atan2l.c (__atan2l): Likewise.
4806 * math/w_atanhl.c (__atanhl): Likewise.
4807 * math/w_coshl.c (__coshl): Likewise.
4808 * math/w_exp10l.c (__exp10l): Likewise.
4809 * math/w_exp2l.c (__exp2l): Likewise.
4810 * math/w_fmodl.c (__fmodl): Likewise.
4811 * math/w_hypotl.c (__hypotl): Likewise.
4812 * math/w_j0l.c (__j0l, __y0l): Likewise.
4813 * math/w_j1l.c (__j1l, __y1l): Likewise.
4814 * math/w_jnl.c (__jnl, __ynl): Likewise.
4815 * math/w_lgammal.c (__lgammal): Likewise.
4816 * math/w_log10l.c (__log10l): Likewise.
4817 * math/w_log2l.c (__log2l): Likewise.
4818 * math/w_logl.c (__logl): Likewise.
4819 * math/w_powl.c (__powl): Likewise.
4820 * math/w_remainderl.c (__remainderl): Likewise.
4821 * math/w_scalbl.c (sysv_scalbl): Likewise.
4822 * math/w_sinhl.c (__sinhl): Likewise.
4823 * math/w_sqrtl.c (__sqrtl): Likewise.
4824 * math/w_tgammal.c (__tgammal): Likewise.
4825 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4826 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4827 * math/libm-test.inc (acos_test): Add more tests.
4828 (acosh_test): Likewise.
4829 (asin_test): Likewise.
4830 (atanh_test): Likewise.
4831 (exp_test): Likewise.
4832 (exp10_test): Likewise.
4833 (exp2_test): Likewise.
4834 (expm1_test): Likewise.
4835 (lgamma_test): Likewise.
4836 (log_test): Likewise.
4837 (log10_test): Likewise.
4838 (log1p_test): Likewise.
4839 (log2_test): Likewise.
4840 (pow_test): Do not allow some spurious overflow exceptions.
4841 (sqrt_test): Add more tests.
4842 (tgamma_test): Likewise.
4843 (y0_test): Likewise.
4844 (y1_test): Likewise.
4845 (yn_test): Likewise.
4847 2012-03-27 Anton Blanchard <anton@samba.org>
4849 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4851 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4852 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4853 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4855 2012-03-27 David S. Miller <davem@davemloft.net>
4857 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4859 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4862 2012-03-27 Andreas Jaeger <aj@suse.de>
4864 * sysdeps/x86_64/elf/configure.in: Moved to ...
4865 * sysdeps/x86_64/configure.in: ... here.
4866 * sysdeps/x86_64/elf/start.S: Moved to ...
4867 * sysdeps/x86_64/start.S: ... here.
4868 * sysdeps/x86_64/elf/configure: Delete.
4870 * sysdeps/x86_64/configure.in: Merge contents from
4871 sysdeps/i386/configure.in (without i686 check).
4873 * sysdeps/i386/elf/Versions: Merge into ...
4874 * sysdeps/i386/Versions: ... this.
4875 * sysdeps/i386/elf/Versions: Delete file.
4876 * sysdeps/i386/elf/start.S: Moved to ...
4877 * sysdeps/i386/start.S: ...here.
4878 * sysdeps/i386/elf/configure.in: Merge into...
4879 * sysdeps/i386/configure.in: ...here.
4880 * sysdeps/i386/elf/configure.in: Delete file.
4881 * sysdeps/i386/elf/configure: Delete file.
4883 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4884 * debug/backtracesyms.c: ... here.
4885 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4886 * debug/backtracesymsfd.c: ... here.
4887 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4888 * sysdeps/generic/ifunc-sel.h: ... here.
4890 * sysdeps/unix/i386/start.c: Delete file.
4891 * sysdeps/unix/sparc/start.c: Delete file.
4892 * sysdeps/unix/start.c: Delete file.
4894 * sysdeps/sh/elf/configure.in: Moved to ...
4895 * sysdeps/sh/configure.in: ... here.
4896 * sysdeps/sh/elf/start.S: Moved to ...
4897 * sysdeps/sh/start.S: ... here.
4898 * sysdeps/sh/elf/configure: Delete file.
4900 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4901 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4902 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4903 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4904 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4905 * sysdeps/powerpc/powerpc64/start.S: here.
4906 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4907 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4908 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4909 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4910 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4912 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4913 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4914 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4915 * sysdeps/powerpc/powerpc32/start.S: ... here.
4916 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4917 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4918 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4920 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4921 * sysdeps/powerpc/ifunc-sel.h: ... here.
4922 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4923 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4925 * sysdeps/sparc/elf/configure.in: Moved to ...
4926 * sysdeps/sparc/configure.in: ... here.
4927 * sysdeps/sparc/elf/configure: Delete file.
4928 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4929 * sysdeps/sparc/sparc32/start.S: ... here.
4930 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4931 * sysdeps/sparc/sparc64/start.S: ... here.
4932 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4933 * sysdeps/sparc/sparc32/Makefile: ... this.
4934 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4935 * sysdeps/sparc/sparc64/Makefile: ... this.
4937 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4938 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4939 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4940 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4941 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4942 * sysdeps/s390/s390-32/setjmp.S: ... here.
4943 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4944 * sysdeps/s390/s390-32/configure.in: ... here.
4945 * sysdeps/s390/s390-32/elf/configure: Delete file.
4946 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4947 * sysdeps/s390/s390-32/start.S: ... here.
4949 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4950 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4951 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4952 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4953 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4954 * sysdeps/s390/s390-64/setjmp.S: ... here.
4955 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4956 * sysdeps/s390/s390-64/configure.in: ... here
4957 * sysdeps/s390/s390-64/elf/configure: Delete file.
4958 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4959 * sysdeps/s390/s390-64/start.S: ... here.
4960 * sysdeps/s390/s390-64/elf/configure: Delete.
4962 * configure.in: Remove support for elf directories in sysdeps.
4964 * configure: Regenerated.
4965 * sysdeps/i386/configure: Regenerated.
4966 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4967 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4968 * sysdeps/s390/s390-32/configure: Regenerated.
4969 * sysdeps/s390/s390-64/configure: Regenerated.
4970 * sysdeps/sh/configure: Regenerated.
4971 * sysdeps/sparc/configure: Regenerated.
4972 * sysdeps/x86_64/configure: Regenerated.
4974 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4978 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4979 denormal result into account.
4981 2012-03-25 Roland McGrath <roland@hack.frob.com>
4983 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4984 Reported by Allan McRae <allan@archlinux.org>.
4986 2012-03-23 Jeff Law <law@redhat.com>
4988 * nss/getnssent.c (__nss_getent): Fix typo.
4990 2012-03-23 David S. Miller <davem@davemloft.net>
4992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4994 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4996 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4997 to pad to uint64_t for each field.
4998 (dl_tls_index): Replace unsigned long with uint64_t.
5000 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5001 Paul Pluzhnikov <ppluzhnikov@google.com>
5004 * grp/Makefile (otherlibs): Don't set it.
5005 * inet/Makefile (otherlibs): Likewise.
5006 * login/Makefile (otherlibs): Likewise.
5007 * nscd/Makefile (otherlibs): Likewise.
5008 * posix/Makefile (otherlibs): Likewise.
5009 * pwd/Makefile (otherlibs): Likewise.
5010 * rt/Makefile (otherlibs): Likewise.
5011 * sunrpc/Makefile (otherlibs): Likewise.
5012 * nss/Makefile (otherlibs): Likewise.
5013 Add libnss_files to routines and static-only-routines.
5014 ($(objpfx)getent): Remove rule.
5015 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5016 static-only-routines.
5018 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5021 * math/s_cexp.c: Include <float.h>.
5022 (__cexp): Handle exp result overflowing not necessarily
5023 overflowing both real and imaginary parts of result.
5024 * math/s_cexpf.c: Likewise.
5025 * math/s_cexpl.c: Likewise.
5026 * math/libm-test.inc (cexp_test): Add more tests.
5027 * sysdeps/i386/fpu/libm-test-ulps: Update.
5028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5030 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5032 * include/link.h (ELFW): New macro.
5033 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5034 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5036 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5038 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5041 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5043 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5045 (struct La_x32_retval): Likewise.
5047 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5049 * sysdeps/x86_64/preconfigure.in: New file.
5050 * sysdeps/x86_64/preconfigure: New generated file.
5052 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5055 * math/e_exp2l.c: Include <float.h>.
5056 (__ieee754_exp2l): Handle overflow and underflow cases
5057 separately. Only pass fractional part of argument to
5059 * math/libm-test.inc (exp2_test): Add more tests.
5061 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5062 negating x to take absolute value.
5063 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5065 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5066 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5068 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5069 computing low part if x was negated.
5070 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5072 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5074 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5076 (pltexit): Cast int_retval to ptrdiff_t.
5077 * elf/tst-auditmod3b.c: Likewise.
5078 * elf/tst-auditmod4b.c: Likewise.
5079 * elf/tst-auditmod5b.c: Likewise.
5080 * elf/tst-auditmod6b.c: Likewise.
5081 * elf/tst-auditmod6c.c: Likewise.
5082 * elf/tst-auditmod7b.c: Likewise.
5084 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5085 and x32_gnu_pltexit.
5087 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5089 (La_x32_regs): New macro.
5090 (La_x32_retval): Likewise.
5091 (la_x32_gnu_pltenter): New function prototype.
5092 (la_x32_gnu_pltexit): Likewise.
5094 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5096 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5101 * configure.in (libc_cv_cc_nofma): Check for option to disable
5102 generation of FMA instructions.
5103 * configure: Regenerate.
5104 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5105 * sysdeps/ieee754/dbl-64/Makefile: New file.
5106 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5107 Remove brandred-fma4.
5108 (CFLAGS-brandred-fma4.c): Remove.
5109 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5110 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5112 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5115 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5117 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5118 LLONG_MAX != LONG_MAX.
5119 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5120 (_fitoa_word): Likewise.
5121 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5122 LLONG_MAX != LONG_MAX.
5123 * stdio-common/_itowa.h: Include <_itoa.h>.
5124 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5125 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5126 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5127 only if not defined.
5128 (_ITOA_WORD_TYPE): Likewise.
5129 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5130 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5132 2012-03-21 David S. Miller <davem@davemloft.net>
5134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5136 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5138 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5139 of x86_64 when setting libc_cv_slibdir, libdir and
5141 * sysdeps/unix/sysv/linux/configure: Regenerated.
5143 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5145 * manual/lang.texi (Old Varargs): Remove section.
5146 (How Variadic): Update menu.
5147 (va_start): Do not mention varargs.h.
5149 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5150 Joseph Myers <joseph@codesourcery.com>
5152 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5154 * configure: Regenerated.
5156 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5158 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5159 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5162 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5165 * Makefile (files-for-dist): Remove NOTES.
5166 (NOTES): Remove rule.
5167 * README: Don't refer to NOTES.
5168 * manual/creature.texi: Don't include macros.texi.
5169 * manual/intro.texi (creature.texi): Remove comment referring to
5172 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5173 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5174 * configure: Regenerated.
5175 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5177 (libc_cv_as_i686): Likewise.
5178 (libc_cv_cc_avx): Likewise.
5179 (libc_cv_cc_sse2avx): Likewise.
5180 (libc_cv_cc_fma4): Likewise.
5181 (libc_cv_cc_novzeroupper): Likewise.
5182 * sysdeps/i386/configure: Regenerated.
5185 * sysdeps/i386/fpu/s_cexp.S: Remove.
5186 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5187 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5188 * math/libm-test.inc (cexp_test): Add more tests.
5189 * sysdeps/i386/fpu/libm-test-ulps: Update.
5190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5192 2012-03-21 Allan McRae <allan@archlinux.org>
5194 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5196 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5199 * math/w_exp2.c: Do not include <float.h>.
5200 (o_threshold, u_threshold): Remove.
5201 (__exp2): Calculate result before checking finiteness and calling
5203 * math/w_exp2f.c: Likewise.
5204 * math/w_exp2l.c: Likewise.
5205 * math/libm-test.inc (exp2_test): Require overflow exception for
5209 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5210 range of signed 64-bit integers before using fistpll. Remove
5211 checks for whether integers fit in mantissa bits.
5212 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5213 the range of signed 32-bit integers before using fistpl. Remove
5214 checks for whether integers fit in mantissa bits.
5215 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5216 (__ieee754_powl): Test for y outside the range of signed 64-bit
5217 integers before using fistpll. Reduce 64-bit values to 63-bit
5219 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5220 divide-by-zero is raised for zero to large negative powers.
5221 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5222 (__ieee754_powl): Test for y outside the range of signed 64-bit
5223 integers before using fistpll. Reduce 64-bit values to 63-bit
5225 * math/libm-test.inc (pow_test): Add more tests.
5227 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5229 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5230 <stdio-common/_itoa.h>.
5231 * debug/segfault.c: Likewise.
5232 * elf/dl-cache.c: Likewise.
5233 * elf/dl-minimal.c: Likewise.
5234 * elf/dl-misc.c: Likewise.
5235 * elf/dl-sysdep.c: Likewise.
5236 * elf/dl-version.c: Likewise.
5237 * elf/rtld.c: Likewise.
5238 * hurd/hurdsock.c: Likewise.
5239 * hurd/lookup-retry.c: Likewise.
5240 * malloc/malloc.c: Likewise.
5241 * malloc/mtrace.c: Likewise.
5242 * nscd/nscd_getgr_r.c: Likewise.
5243 * nscd/nscd_getpw_r.c: Likewise.
5244 * nscd/nscd_getserv_r.c: Likewise.
5245 * posix/getopt_init.c: Likewise.
5246 * posix/wordexp.c: Likewise.
5247 * stdio-common/_itoa.c: Likewise.
5248 * stdio-common/printf_fphex.c: Likewise.
5249 * stdio-common/vfprintf.c: Likewise.
5250 * string/_strerror.c: Likewise.
5251 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5252 * sysdeps/i386/i686/hp-timing.h: Likewise.
5253 * sysdeps/mach/_strerror.c: Likewise.
5254 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5255 * sysdeps/mach/hurd/sethostid.c: Likewise.
5256 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5257 * sysdeps/mach/xpg-strerror.c: Likewise.
5258 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5259 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5260 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5261 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5262 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5263 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5264 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5265 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5266 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5267 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5268 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5269 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5270 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5271 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5272 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5273 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5274 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5275 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5276 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5277 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5278 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5280 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5282 * stdio-common/_itoa.h: Moved to ...
5283 * sysdeps/generic/_itoa.h: Here.
5285 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5287 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5288 instead of "_itoa.h" and "_itowa.h".
5289 * stdio-common/vfprintf.: Likewise.
5291 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5293 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5295 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5296 (__signbit): Likwise.
5300 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5302 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5305 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5307 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5308 OVERFLOW_EXCEPTION_OK.
5309 * math/libm-test.inc ("Philosophy"): Update comment about
5311 (OVERFLOW_EXCEPTION): Define.
5312 (OVERFLOW_EXCEPTION_OK): Likewise.
5313 (INVALID_EXCEPTION_OK): Renumber.
5314 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5315 (IGNORE_ZERO_INF_SIGN): Likewise.
5316 (test_exceptions): Handle FE_OVERFLOW.
5317 (exp10_test): Expect overflow exceptions.
5318 (exp2_test): Likewise.
5319 (expm1_test): Likewise.
5320 (nextafter_test): Likewise.
5321 (pow_test): Likewise.
5322 (scalbn_test): Likewise.
5323 (scalbln_test): Likewise.
5325 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5327 * sysdeps/x86_64/bits/atomic.h
5328 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5330 (atomic_exchange_acq): Likewise.
5331 (__arch_exchange_and_add_body): Likewise.
5332 (__arch_add_body): Likewise.
5333 (atomic_add_negative): Likewise.
5334 (atomic_add_zero): Likewise.
5336 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5338 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5339 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5341 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5343 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5344 Check __x86_64__ instead of __WORDSIZE.
5346 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5348 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5350 2012-03-19 David S. Miller <davem@davemloft.net>
5352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5354 * sysdeps/sparc/fpu/fenv_private.h: New file.
5355 * sysdeps/sparc/fpu/math_private.h: Use it.
5356 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5358 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5359 (libc_feholdexcept_setroundl): Remove.
5360 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5362 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5363 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5365 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5367 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5368 int64_t instead of long int.
5369 (INSERT_WORDS64): Likwise.
5371 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5373 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5374 _Unwind_GetCFA return to _Unwind_Ptr first.
5376 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5379 * math/s_clog.c: Include <float.h>.
5380 (__clog): Scale large or subnormal inputs.
5381 * math/s_clogf.c: Likewise.
5382 * math/s_clogl.c: Likewise.
5383 * math/s_clog10.c: Include <float.h>.
5384 (M_LOG10_2): Define.
5385 (__clog10): Scale large or subnormal inputs.
5386 * math/s_clog10f.c: Likewise.
5387 * math/s_clog10l.c: Likewise.
5388 * math/libm-test.inc (clog_test): Add more tests.
5389 (clog10_test): Likewise.
5390 * sysdeps/i386/fpu/libm-test-ulps: Update.
5391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5394 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5396 * math/libm-test.inc (atan2_test): Add another test.
5398 * Makerules (common-objdir-compile): Remove.
5399 * sysdeps/unix/Makefile (config-generated): Do not add
5400 $(unix-generated) to variable.
5401 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5402 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5404 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5406 [generic bits/local_lim.h] (before-compile): Do not append to
5408 [generic bits/local_lim.h] (common-generated): Likewise.
5409 [generic sys/param.h] (before-compile): Do not append to variable.
5410 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5411 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5412 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5413 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5415 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5416 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5417 [generic sys/param.h] ($(addprefix
5418 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5419 [generic sys/param.h] (common-generated): Do not append to
5421 [generic sys/param.h] (sysdep_headers): Likewise.
5422 [generic bits/errno.h] (before-compile): Do not append to
5424 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5426 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5427 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5428 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5429 [generic bits/errno.h] (common-generated): Do not append to
5431 [generic bits/ioctls.h] (before-compile): Do not append to
5433 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5435 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5436 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5437 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5439 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5440 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5441 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5442 [generic bits/ioctls.h] (common-generated): Do not append to
5444 [generic sys/syscall.h] (syscall.h): Remove variable.
5445 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5447 [generic sys/syscall.h] (before-compile): Do not append to
5449 [generic sys/syscall.h] (common-generated): Likewise.
5450 * sysdeps/unix/errnos-tmpl.c: Remove file.
5451 * sysdeps/unix/errnos.awk: Likewise.
5452 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5453 * sysdeps/unix/ioctls.awk: Likewise.
5454 * sysdeps/unix/mk-local_lim.c: Likewise.
5455 * sysdeps/unix/snarf-ioctls: Likewise.
5457 2012-03-19 Richard Henderson <rth@twiddle.net>
5459 * sysdeps/i386/fpu/fenv_private.h: New file.
5460 * sysdeps/i386/fpu/math_private.h: Use it.
5461 (math_opt_barrier, math_force_eval): Remove.
5462 (libc_feholdexcept_setround_53bit): Remove.
5463 (libc_feupdateenv_53bit): Remove.
5464 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5465 (math_opt_barrier, math_force_eval): Remove.
5466 (libc_feholdexcept): Remove.
5467 (libc_feholdexcept_setround): Remove.
5468 (libc_fetestexcept, libc_fesetenv): Remove.
5469 (libc_feupdateenv_test): Remove.
5470 (libc_feupdateenv, libc_feholdsetround): Remove.
5471 (libc_feresetround): Remove.
5473 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5474 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5476 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5477 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5478 (libc_feupdateenv_testl): New.
5479 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5480 (libc_feupdateenv_testf): New.
5481 (libc_feupdateenv): Use libc_feupdateenv_test.
5482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5483 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5485 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5486 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5487 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5488 (libc_feresetround_noex): New.
5489 (libc_feresetround_noexf): New.
5490 (libc_feresetround_noexl): New.
5491 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5492 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5493 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5494 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5497 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5499 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5500 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5501 SET_RESTORE_ROUND_NOEX.
5502 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5503 SET_RESTORE_ROUND_NOEXF.
5504 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5505 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5506 (libc_feholdsetroundf): New.
5507 (libc_feresetround, libc_feresetroundf): New.
5509 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5510 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5511 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5513 * sysdeps/generic/math_private.h: Include <fenv.h>.
5514 (default_libc_feholdexcept): New.
5515 (default_libc_feholdexcept_setround): New.
5516 (default_libc_fesetenv, default_libc_feupdateenv): New.
5517 (libc_feholdexcept): Only define if undefined.
5518 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5519 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5520 (libc_feholdexcept_setroundl): Likewise.
5521 (libc_feholdexcept_setround_53bit): Likewise.
5522 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5523 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5524 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5525 (libc_feupdateenv_53bit): Likewise.
5526 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5527 (libc_feholdexcept): Convert from macro to inline function.
5528 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5529 (libc_fesetenv, libc_feupdateenv): Likewise.
5531 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5532 not previously defined.
5533 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5534 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5535 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5536 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5537 * sysdeps/ieee754/flt-32/math_private.h: New file.
5538 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5539 math_private.h below SET_FLOAT_WORD.
5540 (__isnan, __isinf_ns, __finite): Remove.
5541 (__isnanf, __isinf_nsf, __finitef): Remove.
5543 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5547 2012-03-17 David S. Miller <davem@davemloft.net>
5550 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5553 2012-03-16 David S. Miller <davem@davemloft.net>
5555 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5559 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5561 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5562 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5563 sysdep_routines when subdir is sysvipc.
5564 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5567 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5569 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5571 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5574 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5576 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5577 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5578 (__lround): Renamed to ...
5579 (__llround): This. Replace long int with long long int.
5580 Define lround functions as aliases of llround functions.
5581 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5583 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5585 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5586 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5587 adresses to uintptr_t. Replace "long int" and "unsigned long
5588 int" with "greg_t" on va_arg.
5590 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5592 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5593 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5595 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5596 Move e_machine check before EI_CLASS check. Handle x32
5597 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5598 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5599 SKIP_EM_IA_64 and include
5600 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5602 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5603 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5604 (add_system_dir): New macro.
5606 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5607 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5609 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5620 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5622 * math/w_j0f.c (j0f): Likewise.
5624 * math/w_j0l.c (__j0l): Likewise.
5626 * math/w_j1.c (j1): Likewise.
5628 * math/w_j1f.c (j1f): Likewise.
5630 * math/w_j1l.c (__j1l): Likewise.
5632 * math/w_jn.c (jn): Likewise.
5634 * math/w_jnf.c (jnf): Likewise.
5636 * math/w_jnl.c (__jnl): Likewise.
5638 * math/libm-test.inc (j0_test): Add more tests.
5639 (j1_test): Likewise.
5640 (jn_test): Likewise. Add trailing semicolon to existing test.
5641 (y0_test): Likewise.
5642 (y1_test): Likewise.
5643 * sysdeps/i386/fpu/libm-test-ulps: Update.
5644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5648 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5649 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5650 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5651 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5652 (__tanl): Set errno for infinite argument.
5653 * sysdeps/i386/fpu/mptan.c: Remove.
5654 * sysdeps/i386/fpu/s_tan.S: Likewise.
5655 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5656 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5657 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5658 * math/libm-test.inc (tan_test): Add more tests and enable more
5659 tests for double and long double.
5660 * sysdeps/i386/fpu/libm-test-ulps: Update.
5661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5663 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5665 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5666 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5668 2012-03-16 Roland McGrath <roland@hack.frob.com>
5670 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5671 * configure.in: Use it for both main tree and add-ons.
5672 * configure: Regenerated.
5674 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5676 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5678 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5680 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5684 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5685 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5687 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5688 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5690 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5691 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5693 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5694 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5695 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5696 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5697 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5698 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5699 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5700 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5701 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5702 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5703 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5704 * math/libm-test.inc (cos_test): Add more tests and enable more
5705 tests for long double.
5706 (sin_test): Likewise.
5707 (sincos_test): Likewise.
5708 * sysdeps/i386/fpu/libm-test-ulps: Update.
5709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5711 2012-03-16 David S. Miller <davem@davemloft.net>
5713 * sysdeps/sparc/fpu/math_private.h: New file.
5715 2012-03-15 David S. Miller <davem@davemloft.net>
5717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5731 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5732 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5734 * sysdeps/sparc/sparc-ifunc.h: New file.
5735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5774 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5780 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5782 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5786 2012-03-15 Andreas Jaeger <aj@suse.de>
5789 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5790 ieee754/flt-32 implementation for sin, cos and sincos.
5791 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5792 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5793 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5794 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5795 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5796 ieee754/flt-32 implementation for tan.
5798 * math/libm-test.inc (cos_test): Enable some large input tests for
5800 (sin_test): Likewise.
5801 (sincos_test): Likewise.
5802 (tan_test): Add tests for large input.
5804 * sysdeps/i386/fpu/libm-test-ulps: Update.
5806 2012-03-15 Andreas Jaeger <aj@suse.de>
5809 * math/libm-test.inc (cos_test): Add more test cases.
5810 (sin_test): Likewise.
5811 (sincos_test): Likewise.
5813 2012-03-15 Andreas Jaeger <aj@suse.de>
5816 * math/libm-test.inc (cos_test): Add a test case for large input
5818 (sin_test): Likewise.
5819 (sincos_test): Likewise.
5821 2012-03-15 Andreas Jaeger <aj@suse.de>,
5822 Joseph Myers <joseph@codesourcery.com>
5825 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5826 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5827 * sysdeps/i386/fpu/branred.c: Likewise.
5828 * sysdeps/i386/fpu/dosincos.c: Likewise.
5829 * sysdeps/i386/fpu/mpa.c: Likewise.
5830 * sysdeps/i386/fpu/s_cos.S: Likewise.
5831 * sysdeps/i386/fpu/s_sin.S: Likewise.
5832 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5833 * sysdeps/i386/fpu/sincos32.c: Likewise.
5835 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5837 (libc_feupdateenv_53bit): Define.
5838 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5840 (libc_feupdateenv_53bit): Define.
5842 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5843 53 bit (without extend i386 double precision).
5845 * math/libm-test.inc (sincos_test): Add tests for large input.
5849 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5851 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5855 2012-03-15 David S. Miller <davem@davemloft.net>
5857 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5858 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5859 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5860 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5884 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5885 fmin/fmax sysdep routines.
5886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5888 2012-03-14 David S. Miller <davem@davemloft.net>
5890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5894 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5895 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5896 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5897 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5902 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5910 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5911 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5913 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5917 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5962 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5967 * sysdeps/sparc/configure.in: New file.
5968 * sysdeps/sparc/configure: Generate.
5969 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5970 * configure: Regenerate.
5971 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5972 * config.make.in (have-as-vis3): New.
5973 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5974 available use -Av9d instead of -Av9a.
5975 * sysdeps/sparc/sparc64/Makefile: Likewise.
5976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5985 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5986 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5991 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5992 fzeros/fnegs to load 0x80000000 into a float register instead of
5994 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5996 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6000 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6001 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6002 ($(inst_includedir)/bits/syscall.h): Remove rule.
6003 ($(objpfx)bits/syscall.d): Include instead of
6004 $(objpfx)syscall-list.d.
6005 (generated): Change syscall-list.h and syscall-list.d to
6006 bits/syscall.h and bits/syscall.d.
6008 2012-03-14 Roland McGrath <roland@hack.frob.com>
6011 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6013 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6016 * math/s_csqrt.c: Include <float.h>.
6017 (__csqrt): Scale large or subnormal inputs.
6018 * math/s_csqrtf.c: Likewise.
6019 * math/s_csqrtl.c: Likewise.
6020 * math/libm-test.inc (csqrt_test): Add more tests.
6021 * sysdeps/i386/fpu/libm-test-ulps: Update.
6022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6025 * math/libm-test.inc (hypot_test): Add more tests.
6027 2012-03-13 David S. Miller <davem@davemloft.net>
6030 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6031 double-precision for the calculation instead of scaling.
6033 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6035 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6036 manipulate bits before adding and subtracting TWO52[sx].
6037 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6038 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6040 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6042 2012-03-13 David S. Miller <davem@davemloft.net>
6044 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6045 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6046 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6047 rtld-global-offsets.h
6048 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6050 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6053 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6055 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6056 'err' in the ifdef scope in which it is actually used.
6058 * nss/nss_db/db-init.c: Include string.h
6060 2012-03-12 David S. Miller <davem@davemloft.net>
6062 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6063 masking out of the most significant byte of random value used.
6064 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6065 Fix coding style in previous change.
6067 * sysdeps/unix/sysv/linux/kernel-features.h
6068 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6069 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6071 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6074 2012-03-11 David S. Miller <davem@davemloft.net>
6076 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6077 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6078 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6079 for 'resultvar' otherwise things get truncated on 64-bit.
6081 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6082 Fix masking out of the most significant byte of random value used.
6084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6086 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6090 2012-03-09 David S. Miller <davem@davemloft.net>
6092 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6093 variables with appropriate CPP guards.
6094 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6095 frame pointer, not the stack pointer. Correct layout comments. Fix test
6096 on resulting framesize and the management of the outregs buffer for pltexit.
6097 Preserve floating point return values across _dl_call_pltexit call.
6098 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6099 framesize and the management of the outregs buffer for pltexit.
6100 Preserve floating point return values across _dl_call_pltexit
6102 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6103 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6104 (print_exit): Fix format string for return register value.
6106 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6108 * sunrpc/Makefile (others): Add rpcgen.
6109 ($(objpfx)rpcgen): Remove special build rule and dependency on
6111 * sunrpc/rpcgen.c: New file.
6113 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6116 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6117 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6118 * sysdeps/i386/crti.S: Likewise.
6119 * sysdeps/i386/crtn.S: Likewise.
6120 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6121 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6122 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6123 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6124 * sysdeps/sh/crti.S: Likewise.
6125 * sysdeps/sh/crtn.S: Likewise.
6126 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6129 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6131 * locale/programs/locfile-kw.gperf: Likewise.
6132 * locale/programs/charmap-kw.h: Regenerated.
6133 * locale/programs/locfile-kw.h: Likewise.
6136 * intl/plural.y: Replace FSF snail mail address with URL.
6137 * intl/plural.c: Regenerated.
6139 2012-03-09 Richard Henderson <rth@twiddle.net>
6141 * include/math_private.h: Remove file.
6142 * math/math_private.h: Move file ...
6143 * sysdeps/generic/math_private.h: ... here.
6145 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6146 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6147 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6149 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6150 and <math_private.h>.
6151 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6152 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6153 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6154 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6155 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6157 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6159 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6160 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6162 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6163 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6164 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6165 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6167 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6168 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6169 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6170 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6172 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6173 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6175 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6176 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6177 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6178 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6180 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6181 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6182 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6183 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6184 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6185 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6186 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6187 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6188 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6189 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6190 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6192 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6193 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6194 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6199 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6200 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6201 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6202 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6203 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6204 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6205 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6206 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6207 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6208 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6209 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6210 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6212 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6213 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6214 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6215 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6216 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6217 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6218 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6219 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6220 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6221 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6222 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6223 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6224 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6225 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6226 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6228 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6230 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6231 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6232 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6233 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6234 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6235 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6236 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6237 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6238 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6239 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6240 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6241 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6242 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6243 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6244 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6245 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6246 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6247 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6248 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6249 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6250 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6251 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6252 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6253 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6254 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6255 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6256 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6257 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6258 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6259 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6260 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6261 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6262 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6263 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6264 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6265 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6266 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6267 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6268 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6269 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6270 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6271 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6272 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6273 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6274 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6275 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6276 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6277 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6278 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6279 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6280 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6281 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6282 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6283 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6284 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6285 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6286 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6287 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6288 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6289 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6290 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6291 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6292 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6293 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6294 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6295 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6296 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6297 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6298 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6299 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6300 * sysdeps/ieee754/k_standard.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6382 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6385 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6386 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6387 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6392 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6394 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6395 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6396 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6397 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6398 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6399 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6400 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6401 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6402 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6404 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6405 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6406 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6408 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6409 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6412 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6413 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6414 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6415 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6416 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6417 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6418 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6420 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6421 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6423 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6428 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6433 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6445 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6449 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6450 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6451 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6461 * sysdeps/ieee754/s_lib_version.c: Likewise.
6462 * sysdeps/ieee754/s_matherr.c: Likewise.
6463 * sysdeps/ieee754/s_signgam.c: Likewise.
6464 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6465 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6466 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6467 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6468 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6469 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6470 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6471 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6472 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6473 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6474 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6475 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6476 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6477 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6478 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6479 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6480 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6481 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6482 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6483 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6486 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6488 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6489 * sunrpc/rpc_main.c: Likewise.
6490 * sunrpc/rpc_svcout.c: Likewise.
6492 2012-03-09 David S. Miller <davem@davemloft.net>
6494 * include/math_private.h: New file.
6496 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6498 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6499 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6500 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6501 from <bits/socket_type.h>.
6502 (enum __socket_type): Don't define here.
6503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6504 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6508 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6511 * Makerules ($(inst_includedir)/%.h): New rule.
6512 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6513 (install-others): Remove variable setting.
6514 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6516 2012-03-08 Richard Henderson <rth@twiddle.net>
6518 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6519 from macro to inline function; merge with the
6520 !__LIBC_INTERNAL_MATH_INLINES version.
6521 (__ieee754_sqrtf): Likewise.
6523 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6525 (__rintf, __floor, __floorf): Likewise.
6527 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6528 macro to inline function.
6529 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6531 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6532 not <math/math_private.h>.
6534 2012-03-08 David S. Miller <davem@davemloft.net>
6536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6538 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6540 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6542 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6544 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6545 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6547 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6549 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6550 be defined individually, they must be defined as a block. Define
6551 S for printing a string instead of hidint the different by using a
6552 macro for adding the 'l'.
6553 * stdio-common/tst-fphex-wide.c: Adjust.
6555 2012-03-07 Marek Polacek <polacek@redhat.com>
6557 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6559 2012-03-08 Marek Polacek <polacek@redhat.com>
6562 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6563 * stdio-common/tst-fphex.c: Define a few macros to make the
6564 test reusable. Use them.
6565 * stdio-common/tst-fphex-wide.c: New file.
6567 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6570 * manual/macros.texi (gnusystems): New macro.
6571 (nongnusystems): Likewise.
6572 (gnulinuxhurdsystems): Likewise.
6573 (gnuhurdsystems): Likewise..
6574 (gnulinuxsystems): Likewise.
6575 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6576 variants of the GNU system, not "GNU system".
6577 * manual/conf.texi: Likewise.
6578 * manual/errno.texi: Likewise. Update example of errno macro
6580 * manual/filesys.texi: Likewise.
6581 (getumask): Document as specific to GNU/Hurd.
6582 * manual/install.texi: Likewise. Reword some references to
6584 * manual/intro.texi: Likewise.
6585 * manual/io.texi: Likewise.
6586 (File Name Portability): Detail which constraints are inapplicable
6587 to all GNU systems and which are only inapplicable to GNU/Hurd.
6588 * manual/job.texi: Likewise.
6589 * manual/llio.texi: Likewise.
6590 (O_NOCTTY): Document as present on GNU/Linux.
6591 * manual/maint.texi: Likewise.
6592 * manual/memory.texi: Likewise.
6593 * manual/pattern.texi: Likewise.
6594 * manual/pipe.texi: Likewise.
6595 * manual/process.texi: Likewise.
6596 * manual/resource.texi: Likewise.
6597 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6599 * manual/setjmp.texi: Likewise.
6600 * manual/signal.texi: Likewise.
6601 * manual/startup.texi: Likewise.
6602 * manual/stdio.texi: Likewise.
6603 * manual/terminal.texi: Likewise.
6604 (ONLCR): Document as POSIX.
6605 (OXTABS): Document availability on GNU/Linux as XTABS.
6606 (ONOEOT): Document availability separately from other bits.
6607 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6608 * manual/time.texi: Likewise.
6609 * manual/users.texi: Likewise.
6610 * INSTALL: Regenerated.
6611 * sysdeps/gnu/errlist.c: Regenerated.
6613 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6614 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6615 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6617 * configure: Regenerated.
6619 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6621 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6622 default includes instead of AC_HEADER_CHECK.
6623 * sysdeps/i386/configure: Regenerated.
6626 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6627 * math/s_cacoshf.c (__cacoshf): Likewise.
6628 * math/s_cacoshl.c (__cacoshl): Likewise.
6629 * math/s_casinh.c (__casinh): Set signs of result from argument.
6630 * math/s_casinhf.c (__casinhf): Likewise.
6631 * math/s_casinhl.c (__casinhl): Likewise.
6632 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6633 (casinh_test): Add more tests.
6634 * sysdeps/i386/fpu/libm-test-ulps: Update.
6635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6637 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6639 * po/zh_TW.po: Update from translation team.
6641 * login/Makefile (distribute): Remove variable.
6642 * catgets/Makefile: Likewise.
6643 * mach/Makefile: Likewise.
6644 * malloc/Makefile: Likewise.
6645 * misc/Makefile: Likewise.
6646 * iconv/Makefile: Likewise.
6647 * nscd/Makefile: Likewise.
6648 * hurd/Makefile: Likewise.
6649 * manual/Makefile: Likewise.
6650 * locale/Makefile: Likewise.
6651 * intl/Makefile: Likewise.
6652 * conform/Makefile: Likewise.
6653 * nss/Makefile: Likewise.
6654 * time/Makefile: Likewise.
6655 * soft-fp/Makefile: Likewise.
6656 * dirent/Makefile: Likewise.
6657 * gmon/Makefile: Likewise.
6658 * po/Makefile: Likewise.
6659 * rt/Makefile: Likewise.
6660 * socket/Makefile: Likewise.
6661 * math/Makefile: Likewise.
6662 * signal/Makefile: Likewise.
6663 * debug/Makefile: Likewise.
6664 * elf/Makefile: Likewise.
6665 * timezone/Makefile: Likewise.
6666 * stdlib/Makefile: Likewise.
6667 * iconvdata/Makefile: Likewise.
6668 * sunrpc/Makefile: Likewise.
6669 * io/Makefile: Likewise.
6670 * argp/Makefile: Likewise.
6671 * inet/Makefile: Likewise.
6672 * hesiod/Makefile: Likewise.
6673 * grp/Makefile: Likewise.
6674 * csu/Makefile: Likewise.
6675 * wctype/Makefile: Likewise.
6676 * crypt/Makefile: Likewise.
6677 * libio/Makefile: Likewise.
6678 * string/Makefile: Likewise.
6679 * nis/Makefile: Likewise.
6680 * resolv/Makefile: Likewise.
6681 * stdio-common/Makefile: Likewise.
6682 * wcsmbs/Makefile: Likewise.
6683 * dlfcn/Makefile: Likewise.
6684 * posix/Makefile: Likewise.
6687 * timezone/Makefile: Don't install timezone files, just the programs
6690 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6692 * nss/databases.def: Add missing gshadow entry.
6694 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6696 2012-03-06 Marek Polacek <polacek@redhat.com>
6699 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6700 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6701 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6702 * stdio-common/tst-long-dbl-fphex.c: New file.
6704 2012-03-06 David S. Miller <davem@davemloft.net>
6706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6707 (set_obp_int): New function.
6708 (get_obp_int): New function.
6709 (__get_clockfreq_via_dev_openprom): Likewise.
6710 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6711 Avoid unused variable warnings on 'val' and use builtin_expect.
6712 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6714 (INLINE_CLONE_SYSCALL): Likewise.
6716 2012-03-05 David S. Miller <davem@davemloft.net>
6718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6720 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6724 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6726 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6728 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
6730 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6731 Replace gettimeofday with __vdso_gettimeofday.
6733 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6734 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6735 __vdso_clock_gettime and __vdso_getcpu.
6737 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6738 time with __vdso_time.
6740 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6742 * manual/lang.texi (size_t): Note types to which size_t may be
6743 equivalent with the GNU C Library, but do not describe when
6744 differences between them are significant.
6746 2012-03-05 Andreas Jaeger <aj@suse.de>
6748 * sysdeps/i386/fpu/libm-test-ulps: Update.
6750 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6753 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6754 (__ieee754_pow): Save and restore rounding mode and use
6755 round-to-nearest for main computations.
6756 * math/libm-test.inc (pow_test_tonearest): New function.
6757 (pow_test_towardzero): Likewise.
6758 (pow_test_downward): Likewise.
6759 (pow_test_upward): Likewise.
6760 (main): Call the new functions.
6761 * sysdeps/i386/fpu/libm-test-ulps: Update.
6762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6765 * math/libm-test.inc (cosh_test_tonearest): New function.
6766 (cosh_test_towardzero): Likewise.
6767 (cosh_test_downward): Likewise.
6768 (cosh_test_upward): Likewise.
6769 (sinh_test_tonearest): Likewise.
6770 (sinh_test_towardzero): Likewise.
6771 (sinh_test_downward): Likewise.
6772 (sinh_test_upward): Likewise.
6773 (main): Call the new functions.
6774 * sysdeps/i386/fpu/libm-test-ulps: Update.
6775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6777 2012-03-05 Tom de Vries <tom@codesourcery.com>
6779 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6780 default stack guard is set in last bytes.
6781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6783 2012-03-05 Kees Cook <keescook@chromium.org>
6785 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6788 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6789 possibly allocate from heap instead of stack.
6790 * stdio-common/bug-vfprintf-nargs.c: New file.
6791 * stdio-common/Makefile (tests): Add nargs overflow test.
6793 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6797 2012-03-03 Marek Polacek <polacek@redhat.com>
6799 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6800 * math/math_private.h: Likewise.
6801 * stdlib/tst-strtod.c: Likewise.
6802 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6803 * sysdeps/x86_64/bits/atomic.h: Likewise.
6805 2012-03-02 David S. Miller <davem@davemloft.net>
6807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6811 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6812 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6813 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6814 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6816 2012-03-02 Roland McGrath <roland@hack.frob.com>
6819 * manual/examples/README: New file, says the example source files
6820 can be used under GPL>=2.
6821 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6822 line containing just "*/".
6823 * manual/examples/add.c: Add copyright header (GPL>=2).
6824 * manual/examples/argp-ex1.c: Likewise.
6825 * manual/examples/argp-ex2.c: Likewise.
6826 * manual/examples/argp-ex3.c: Likewise.
6827 * manual/examples/argp-ex4.c: Likewise.
6828 * manual/examples/atexit.c: Likewise.
6829 * manual/examples/db.c: Likewise.
6830 * manual/examples/dir.c: Likewise.
6831 * manual/examples/dir2.c: Likewise.
6832 * manual/examples/execinfo.c: Likewise.
6833 * manual/examples/filecli.c: Likewise.
6834 * manual/examples/filesrv.c: Likewise.
6835 * manual/examples/fmtmsgexpl.c: Likewise.
6836 * manual/examples/genpass.c: Likewise.
6837 * manual/examples/inetcli.c: Likewise.
6838 * manual/examples/inetsrv.c: Likewise.
6839 * manual/examples/isockad.c: Likewise.
6840 * manual/examples/longopt.c: Likewise.
6841 * manual/examples/memopen.c: Likewise.
6842 * manual/examples/memstrm.c: Likewise.
6843 * manual/examples/mkfsock.c: Likewise.
6844 * manual/examples/mkisock.c: Likewise.
6845 * manual/examples/mygetpass.c: Likewise.
6846 * manual/examples/pipe.c: Likewise.
6847 * manual/examples/popen.c: Likewise.
6848 * manual/examples/rprintf.c: Likewise.
6849 * manual/examples/search.c: Likewise.
6850 * manual/examples/select.c: Likewise.
6851 * manual/examples/setjmp.c: Likewise.
6852 * manual/examples/sigh1.c: Likewise.
6853 * manual/examples/sigusr.c: Likewise.
6854 * manual/examples/stpcpy.c: Likewise.
6855 * manual/examples/strdupa.c: Likewise.
6856 * manual/examples/strftim.c: Likewise.
6857 * manual/examples/strncat.c: Likewise.
6858 * manual/examples/subopt.c: Likewise.
6859 * manual/examples/swapcontext.c: Likewise.
6860 * manual/examples/termios.c: Likewise.
6861 * manual/examples/testopt.c: Likewise.
6862 * manual/examples/testpass.c: Likewise.
6863 * manual/examples/timeval_subtract.c: Likewise.
6866 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6868 * manual/timeval_subtract.c.texi: ... here, new file.
6870 2012-03-02 David S. Miller <davem@davemloft.net>
6872 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6874 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6877 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6878 (__sin): Save and restore rounding mode and use round-to-nearest
6879 for all computations.
6880 (__cos): Save and restore rounding mode and use round-to-nearest
6881 for all computations.
6882 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6884 (tan): Save and restore rounding mode and use round-to-nearest for
6886 * math/libm-test.inc (cos_test_tonearest): New function.
6887 (cos_test_towardzero): Likewise.
6888 (cos_test_downward): Likewise.
6889 (cos_test_upward): Likewise.
6890 (sin_test_tonearest): Likewise.
6891 (sin_test_towardzero): Likewise.
6892 (sin_test_downward): Likewise.
6893 (sin_test_upward): Likewise.
6894 (tan_test_tonearest): Likewise.
6895 (tan_test_towardzero): Likewise.
6896 (tan_test_downward): Likewise.
6897 (tan_test_upward): Likewise.
6898 (main): Call the new functions.
6899 * sysdeps/i386/fpu/libm-test-ulps: Update.
6900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6903 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6904 small n, then large n, before computing and testing k+n.
6905 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6906 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6910 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6911 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6916 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6917 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6918 * math/libm-test.inc (scalbn_test): Add more tests.
6919 (scalbln_test): Likewise.
6921 * manual/filesys.texi (mode_t): Describe constraints on size and
6922 signedness, not exact equivalence to a particular type.
6924 (ino64_t): Likewise.
6926 (nlink_t): Likewise.
6927 (blkcnt_t): Likewise.
6928 (blkcnt64_t): Likewise.
6929 * manual/llio.texi (off_t): Likewise.
6932 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6933 (__ieee754_exp): Save and restore rounding mode and use
6934 round-to-nearest for all computations.
6935 * math/libm-test.inc (exp_test_tonearest): New function.
6936 (exp_test_towardzero): Likewise.
6937 (exp_test_downward): Likewise.
6938 (exp_test_upward): Likewise.
6939 (main): Call the new functions.
6940 * sysdeps/i386/fpu/libm-test-ulps: Update.
6941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6943 2012-03-01 Chris Demetriou <cgd@google.com>
6945 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6946 have predictable order.
6948 2012-03-01 David S. Miller <davem@davemloft.net>
6950 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6952 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6953 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6954 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6955 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6957 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6958 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6959 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6961 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6962 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6963 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6964 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6965 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6969 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6970 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6971 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6973 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6974 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6975 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6976 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6977 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6978 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6979 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6980 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6981 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6982 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6983 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6984 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6985 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6986 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6987 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6989 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6990 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6991 * sysdeps/sparc/elf/configure: Regenerated.
6993 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6995 * configure.in (AS, LD): Require binutils 2.20 or later.
6996 * configure: Regenerated.
6997 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6998 as required minimum version.
6999 * INSTALL: Regenerated.
7003 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7004 before squaring exponent.
7005 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7006 bottom long double and 27 bits of top long double before squaring
7008 * math/libm-test.inc (erfc_test): Add more tests.
7009 * sysdeps/i386/fpu/libm-test-ulps: Update.
7010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7013 2012-03-01 Kai Tietz <ktietz@redhat.com>
7015 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7016 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7017 containing bit-fields.
7018 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7019 * soft-fp/single.h (_FP_UNION_S): Likewise.
7020 * soft-fp/double.h (_FP_UNION_D): Likewise.
7022 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7025 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7026 not include ../strcmp.S.
7027 [USE_AS_STRNCASECMP_L]: Likewise.
7028 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7029 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7030 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7031 (__strncasecmp_l_ia32): Define as alias to
7032 __strncasecmp_l_nonascii.
7035 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7036 * sysdeps/i386/fpu/libm-test-ulps: Update.
7037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7039 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7042 2012-02-29 Jeff Law <law@redhat.com>
7044 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7047 2012-02-29 Marek Polacek <polacek@redhat.com>
7050 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7051 * elf/Makefile: Add rules to run tst-unused-dep.out.
7053 2012-02-28 David S. Miller <davem@davemloft.net>
7055 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7056 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7057 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7058 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7059 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7060 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7062 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7064 * math/libm-test.inc (llround_test): Move one test from
7065 lround_test. Use TEST_f_L in moved test.
7066 (lround_test): Move misplaced test to llround_test. Add testcase
7069 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7071 * sysdeps/x86_64/fpu/e_expf.S: New file.
7072 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7074 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7077 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7078 of remain_len that may cause incomplete multi-byte character and
7080 * posix/bug-regex33.c: New file.
7081 * posix/Makefile (tests): Add bug-regex33.
7083 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7085 * manual/macros.texi: New file.
7086 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7087 * manual/libc.texinfo: Include macros.texi.
7088 * manual/creatute.texi: Likewise.
7089 * manual/install.texi: Likewise.
7090 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7091 @glibcadj{} in references to the GNU C Library.
7092 * manual/charset.texi: Likewise.
7093 * manual/conf.texi: Likewise.
7094 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7095 when not using those macros.
7096 * manual/creature.texi: Likewise.
7097 * manual/crypt.texi: Likewise.
7098 * manual/errno.texi: Likewise.
7099 * manual/filesys.texi: Likewise.
7100 * manual/header.texi: Likewise.
7101 * manual/install.texi: Likewise.
7102 * manual/intro.texi: Likewise.
7103 * manual/io.texi: Likewise.
7104 * manual/job.texi: Likewise.
7105 * manual/lang.texi: Likewise.
7106 * manual/libc.texiinfo: Likewise.
7107 * manual/llio.texi: Likewise.
7108 * manual/locale.texi: Likewise.
7109 * manual/maint.texi: Likewise.
7110 * manual/math.texi: Likewise.
7111 * manual/memory.texi: Likewise.
7112 * manual/message.texi: Likewise.
7113 * manual/nss.texi: Likewise.
7114 * manual/pattern.texi: Likewise.
7115 * manual/process.texi: Likewise.
7116 * manual/resource.texi: Likewise.
7117 * manual/search.texi: Likewise.
7118 * manual/setjmp.texi: Likewise.
7119 * manual/signal.texi: Likewise.
7120 * manual/socket.texi: Likewise.
7121 * manual/startup.texi: Likewise.
7122 * manual/stdio.texi: Likewise.
7123 * manual/string.texi: Likewise.
7124 * manual/sysinfo.texi: Likewise.
7125 * manual/syslog.texi: Likewise.
7126 * manual/terminal.texi: Likewise.
7127 * manual/time.texi: Likewise.
7128 * manual/users.texi: Likewise.
7129 * INSTALL: Regenerated.
7130 * NOTES: Regenerated.
7131 * sysdeps/gnu/errlist.c: Regenerated.
7133 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7135 * include/dirent.h: Include <dirstream.h> before
7138 2012-02-28 David S. Miller <davem@davemloft.net>
7140 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7141 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7142 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7143 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7145 2012-02-27 David S. Miller <davem@davemloft.net>
7147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7149 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7150 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7153 frame pointer instead of stack pointer relative arg slot.
7154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7155 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7156 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7158 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7161 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7163 2012-02-27 David S. Miller <davem@davemloft.net>
7165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7169 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7170 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7171 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7172 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7174 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7176 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7177 later. Allow versions 5-9.
7178 * configure: Regenerated.
7179 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7180 required minimum version and 4.6 as recommended version. Do not
7181 mention bugs in GCC 2.7 and 2.8.
7182 * INSTALL: Regenerated.
7184 2012-02-27 David S. Miller <davem@davemloft.net>
7186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7190 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7191 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7192 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7193 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7195 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7196 manipulate bits before adding and subtracting TWO112[sx].
7197 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7199 2012-02-27 Roland McGrath <roland@hack.frob.com>
7202 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7203 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7204 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7205 being in POSIX, because they are in 1003.1-2008.
7207 * rt/tst-aio.c: Include <fcntl.h>.
7208 * rt/tst-aio7.c: Likewise.
7209 * rt/tst-aio64.c: Likewise.
7211 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7213 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7215 * manual/install.texi (--with-headers): Describe headers as
7216 interface headers, not private headers.
7217 (Specific advice for GNU/Linux systems): Describe use of headers
7218 from "make headers_install", not private headers from older
7220 * INSTALL: Regenerated.
7221 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7223 * sysdeps/unix/sysv/linux/configure: Regenerated.
7225 * manual/llio.texi (fclean): Remove documentation.
7227 * manual/Makefile (libc-texi-generated): New variable. Include
7229 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7230 $(libc-texi-generated), not duplicated list of files.
7231 (version.texi, stamp-version): New rules.
7232 (realclean): Remove $(libc-texi-generated), not individual files
7233 from that list. Do not remove dir-add.texinfo.
7234 * manual/libc.texinfo: Comment out uses of edition numbers and
7235 references to printed manual. Remove last-updated dates.
7236 (EDITION): Comment out.
7238 (VERSION, UPDATED): Remove.
7239 (version.texi): Include.
7241 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7243 * sysdeps/posix/spawni.c: Include <signal.h>.
7244 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7245 * sysdeps/pthread/aio_fsync.c: Likewise.
7247 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7249 * conform/Makefile (tests): Run only when not cross-compiling and
7250 when fast-check is not defined.
7252 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7253 * conform/data/limits.h-data: Fixes for POSIX2008.
7254 * conform/run-conformtest.sh: Run all tests.
7255 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7257 * include/bits/dlfcn.h: Likewise.
7258 * include/langinfo.h: Likewise.
7259 * include/monetary.h: Likewise.
7260 * include/sys/poll.h: Likewise.
7262 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7264 * posix/spawn.h: Define __need_sigset_t.
7265 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7266 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7267 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7268 to get sigevent_t only.
7269 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7272 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7273 process_vm_writev only for __USE_GNU.
7274 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7276 * conform/Makefile: For now ignore errors from run-conformtest.
7277 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7278 POSIX to avoid namespace pollution. Don't prepend headers.
7279 * conform/data/aio.h-data: Fixes for POSIX testing.
7280 * conform/data/fcntl.h-data: Likewise.
7281 * conform/data/glob.h-data: Likewise.
7282 * conform/data/grp.h-data: Likewise.
7283 * conform/data/pthread.h-data: Likewise.
7284 * conform/data/pwd.h-data: Likewise.
7285 * conform/data/signal.h-data: Likewise.
7286 * conform/data/spawn.h-data: Likewise.
7287 * conform/data/stdio.h-data: Likewise.
7288 * conform/data/stdlib.h-data: Likewise.
7289 * conform/data/stropts.h-data: Likewise.
7290 * conform/data/sys/mman.h-data: Likewise.
7291 * conform/data/sys/stat.h-data: Likewise.
7292 * conform/data/sys/types.h-data: Likewise.
7293 * conform/data/sys/wait.h-data: Likewise.
7294 * conform/data/time.h-data: Likewise.
7295 * conform/data/unistd.h-data: Likewise.
7296 * conform/data/utime.h-data: Likewise.
7298 * io/sys/stat.h: fchmod was always in POSIX.
7299 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7300 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7301 * rt/aio.h: Define __need_timespec before including <time.h>.
7302 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7303 struct. Add forward declaration of pthread_attr_t and use it in
7305 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7306 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7307 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7308 always remove CLK_TCK definition.
7310 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7312 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7314 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7316 * conform/run-conformtest.sh: New file.
7317 * conform/Makefile: Run run-conformtest for tests.
7318 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7321 * conform/data/uchar.h-data: New file.
7322 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7323 * conform/data/arpa/inet.h-data: Likewise.
7324 * conform/data/assert.h-data: Likewise.
7325 * conform/data/complex.h-data: Likewise.
7326 * conform/data/cpio.h-data: Likewise.
7327 * conform/data/ctype.h-data: Likewise.
7328 * conform/data/dirent.h-data: Likewise.
7329 * conform/data/dlfcn.h-data: Likewise.
7330 * conform/data/errno.h-data: Likewise.
7331 * conform/data/fcntl.h-data: Likewise.
7332 * conform/data/float.h-data: Likewise.
7333 * conform/data/fmtmsg.h-data: Likewise.
7334 * conform/data/fnmatch.h-data: Likewise.
7335 * conform/data/ftw.h-data: Likewise.
7336 * conform/data/glob.h-data: Likewise.
7337 * conform/data/grp.h-data: Likewise.
7338 * conform/data/iconv.h-data: Likewise.
7339 * conform/data/inttypes.h-data: Likewise.
7340 * conform/data/langinfo.h-data: Likewise.
7341 * conform/data/libgen.h-data: Likewise.
7342 * conform/data/limits.h-data: Likewise.
7343 * conform/data/locale.h-data: Likewise.
7344 * conform/data/math.h-data: Likewise.
7345 * conform/data/monetary.h-data: Likewise.
7346 * conform/data/mqueue.h-data: Likewise.
7347 * conform/data/ndbm.h-data: Likewise.
7348 * conform/data/net/if.h-data: Likewise.
7349 * conform/data/netdb.h-data: Likewise.
7350 * conform/data/netinet/in.h-data: Likewise.
7351 * conform/data/nl_types.h-data: Likewise.
7352 * conform/data/poll.h-data: Likewise.
7353 * conform/data/pthread.h-data: Likewise.
7354 * conform/data/pwd.h-data: Likewise.
7355 * conform/data/regex.h-data: Likewise.
7356 * conform/data/sched.h-data: Likewise.
7357 * conform/data/search.h-data: Likewise.
7358 * conform/data/semaphore.h-data: Likewise.
7359 * conform/data/setjmp.h-data: Likewise.
7360 * conform/data/signal.h-data: Likewise.
7361 * conform/data/spawn.h-data: Likewise.
7362 * conform/data/stdarg.h-data: Likewise.
7363 * conform/data/stdio.h-data: Likewise.
7364 * conform/data/stdlib.h-data: Likewise.
7365 * conform/data/string.h-data: Likewise.
7366 * conform/data/strings.h-data: Likewise.
7367 * conform/data/stropts.h-data: Likewise.
7368 * conform/data/sys/ipc.h-data: Likewise.
7369 * conform/data/sys/mman.h-data: Likewise.
7370 * conform/data/sys/msg.h-data: Likewise.
7371 * conform/data/sys/resource.h-data: Likewise.
7372 * conform/data/sys/select.h-data: Likewise.
7373 * conform/data/sys/sem.h-data: Likewise.
7374 * conform/data/sys/shm.h-data: Likewise.
7375 * conform/data/sys/socket.h-data: Likewise.
7376 * conform/data/sys/stat.h-data: Likewise.
7377 * conform/data/sys/statvfs.h-data: Likewise.
7378 * conform/data/sys/time.h-data: Likewise.
7379 * conform/data/sys/timeb.h-data: Likewise.
7380 * conform/data/sys/times.h-data: Likewise.
7381 * conform/data/sys/types.h-data: Likewise.
7382 * conform/data/sys/uio.h-data: Likewise.
7383 * conform/data/sys/un.h-data: Likewise.
7384 * conform/data/sys/utsname.h-data: Likewise.
7385 * conform/data/sys/wait.h-data: Likewise.
7386 * conform/data/syslog.h-data: Likewise.
7387 * conform/data/tar.h-data: Likewise.
7388 * conform/data/termios.h-data: Likewise.
7389 * conform/data/utime.h-data: Likewise.
7390 * conform/data/utmpx.h-data: Likewise.
7391 * conform/data/varargs.h-data: Likewise.
7392 * conform/data/wchar.h-data: Likewise.
7393 * conform/data/wctype.h-data: Likewise.
7394 * conform/data/wordexp.h-data: Likewise.
7396 * include/stropts.h: New file.
7397 * include/uchar.h: New file.
7398 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7399 * include/assert.h: Likewise.
7400 * include/ctype.h: Likewise.
7401 * include/dirent.h: Likewise.
7402 * include/dlfcn.h: Likewise.
7403 * include/fcntl.h: Likewise.
7404 * include/fnmatch.h: Likewise.
7405 * include/glob.h: Likewise.
7406 * include/grp.h: Likewise.
7407 * include/libio.h: Likewise.
7408 * include/locale.h: Likewise.
7409 * include/math.h: Likewise.
7410 * include/net/if.h: Likewise.
7411 * include/netdb.h: Likewise.
7412 * include/netinet/in.h: Likewise.
7413 * include/pthread.h: Likewise.
7414 * include/pwd.h: Likewise.
7415 * include/regex.h: Likewise.
7416 * include/sched.h: Likewise.
7417 * include/search.h: Likewise.
7418 * include/setjmp.h: Likewise.
7419 * include/signal.h: Likewise.
7420 * include/stdio.h: Likewise.
7421 * include/stdlib.h: Likewise.
7422 * include/string.h: Likewise.
7423 * include/sys/cdefs.h: Likewise.
7424 * include/sys/mman.h: Likewise.
7425 * include/sys/msg.h: Likewise.
7426 * include/sys/resource.h: Likewise.
7427 * include/sys/select.h: Likewise.
7428 * include/sys/socket.h: Likewise.
7429 * include/sys/stat.h: Likewise.
7430 * include/sys/statvfs.h: Likewise.
7431 * include/sys/time.h: Likewise.
7432 * include/sys/times.h: Likewise.
7433 * include/sys/uio.h: Likewise.
7434 * include/sys/utsname.h: Likewise.
7435 * include/sys/wait.h: Likewise.
7436 * include/termios.h: Likewise.
7437 * include/time.h: Likewise.
7438 * include/ulimit.h: Likewise.
7439 * include/unistd.h: Likewise.
7440 * include/utime.h: Likewise.
7441 * include/wchar.h: Likewise.
7442 * include/wctype.h: Likewise.
7443 * include/wordexp.h: Likewise.
7445 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7447 * time/time.h: TIME_UTC must be a macro.
7448 Make timespec_get available for ISO C11 only as well.
7450 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7452 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7453 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7455 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7457 * configure.in: Use -o not -a in test for unsupported multi-arch.
7459 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7461 * manual/texinfo.tex: Update to version 2012-01-19.16.
7463 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7465 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7467 2012-02-24 Roland McGrath <roland@hack.frob.com>
7470 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7471 * manual/fdl-1.3.texi: New file.
7472 * manual/fdl-1.1.texi: File removed.
7475 * manual/libc.texinfo (FDL_VERSION): New @set.
7476 Use it for mention of FDL in cover text.
7477 (Documentation License): Use it in @include file name.
7479 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7480 Roland McGrath <roland@hack.frob.com>
7483 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7484 not LONG_LONG_MAX and LONG_LONG_MIN.
7485 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7486 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7488 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7490 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7494 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7495 manipulate bits before adding and subtracting TWO23[sx].
7496 * math/libm-test.inc (nearbyint_test): Add more tests.
7498 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7501 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7502 bits before adding and subtracting TWO23[sx].
7503 * math/libm-test.inc (rint_test): Add more tests.
7504 (rint_test_tonearest): Likewise.
7505 (rint_test_towardzero): Likewise.
7506 (rint_test_downward): Likewise.
7507 (rint_test_upward: Likewise.
7509 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7512 * include/stdc-predef.h: New file. Extracted from features.h.
7513 * include/features.h: Include stdc-predef.h.
7514 * Makefile (headers): Add stdc-predef.h.
7515 * CONFORMANCE (Compiler limitations): Update.
7517 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7519 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7521 2012-02-21 David S. Miller <davem@davemloft.net>
7523 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7524 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7526 2012-02-20 David S. Miller <davem@davemloft.net>
7528 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7529 using a normal save/restore sequence, rather than allocating a
7530 dummy stack frame just to store a frame pointer and restore.
7531 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7533 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7535 * manual/install.texi: Fix stray word in line-wrapped comment.
7537 2012-02-20 David S. Miller <davem@davemloft.net>
7539 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7540 both binutils and gcc support GOTDATA.
7542 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7543 "rd %pc" in the PIC register setup sequences.
7545 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7546 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7547 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7548 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7549 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7551 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7552 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7554 (SYSCALL_ERROR_HANDLER): Likewise.
7555 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7556 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7557 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7558 (SYSCALL_ERROR_HANDLER): Likewise.
7560 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7561 (HAVE_GCC_GOTDATA): New.
7562 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7563 relocation support in both binutils and gcc.
7564 * sysdeps/sparc/elf/configure: Regenerate.
7566 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7567 * sysdeps/sparc/sparc32/elf/configure: Delete.
7568 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7569 * sysdeps/sparc/sparc64/elf/configure: Delete.
7570 * sysdeps/sparc/elf/configure.in: New file.
7571 * sysdeps/sparc/elf/configure: Generate.
7573 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7574 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7575 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7576 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7577 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7579 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7581 * manual/install.texi: Do not mention specific glibc version
7583 * manual/libc.texinfo (VERSION, UPDATED): Update.
7584 (@copying): Use @copyright{} and range of years.
7586 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7589 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7590 [crti.S not in sysdirs] (generated): Do not append.
7591 [crti.S not in sysdirs] (omit-deps): Likewise.
7592 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7593 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7594 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7595 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7596 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7598 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7599 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7600 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7601 * csu/defs.awk: Remove file.
7602 * sysdeps/generic/initfini.c: Likewise.
7603 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7605 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7608 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7610 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7611 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7612 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7613 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7614 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7615 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7617 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7618 (__EPOLL_PACKED): Define to empty if not defined by
7620 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7624 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7626 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7627 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7628 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7629 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7631 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7635 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7637 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7639 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7640 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7641 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7644 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7649 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7651 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7652 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7654 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7656 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7659 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7661 * math/w_acos.c: Use non-signaling floating-point comparisons.
7662 * math/w_acosf.c: Likewise.
7663 * math/w_acosh.c: Likewise.
7664 * math/w_acoshf.c: Likewise.
7665 * math/w_acoshl.c: Likewise.
7666 * math/w_acosl.c: Likewise.
7667 * math/w_asin.c: Likewise.
7668 * math/w_asinf.c: Likewise.
7669 * math/w_asinl.c: Likewise.
7670 * math/w_atanh.c: Likewise.
7671 * math/w_atanhf.c: Likewise.
7672 * math/w_atanhl.c: Likewise.
7673 * math/w_exp2.c: Likewise.
7674 * math/w_exp2f.c: Likewise.
7675 * math/w_exp2l.c: Likewise.
7676 * math/w_j0.c: Likewise.
7677 * math/w_j0f.c: Likewise.
7678 * math/w_j0l.c: Likewise.
7679 * math/w_j1.c: Likewise.
7680 * math/w_j1f.c: Likewise.
7681 * math/w_j1l.c: Likewise.
7682 * math/w_jn.c: Likewise.
7683 * math/w_jnf.c: Likewise.
7684 * math/w_log.c: Likewise.
7685 * math/w_log10.c: Likewise.
7686 * math/w_log10f.c: Likewise.
7687 * math/w_log10l.c: Likewise.
7688 * math/w_log2.c: Likewise.
7689 * math/w_log2f.c: Likewise.
7690 * math/w_log2l.c: Likewise.
7691 * math/w_logf.c: Likewise.
7692 * math/w_logl.c: Likewise.
7693 * math/w_sqrt.c: Likewise.
7694 * math/w_sqrtf.c: Likewise.
7695 * math/w_sqrtl.c: Likewise.
7696 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7697 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7698 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7699 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7700 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7702 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7705 * manual/string.texi (strnlen): Use correct parameter name in
7706 equivalent expression.
7708 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7711 * manual/users.texi (seteuid): Consistently use neweuid for
7714 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7717 * manual/nss.texi (Services in the NSS configuration): Correct
7718 list of services in example configuration file.
7720 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7723 * manual/arith.texi: Remove statements about negative zero
7724 behaving identically to zero.
7726 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7729 * manual/install.texi: Do not document upgrading from libc5.
7731 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7734 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7736 2012-02-18 David S. Miller <davem@davemloft.net>
7738 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7739 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7740 %o7 across the call.
7741 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7743 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7746 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7747 * sysdeps/sparc/crtn.S: Likewise.
7749 2012-02-17 Ulrich Drepper <drepper@gmail.com>
7751 * aout/Makefile: Remove.
7753 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7756 * manual/examples/argp-ex1.c (main): Format definition in GNU
7758 * manual/examples/argp-ex2.c (main): Likewise.
7759 * manual/examples/argp-ex3.c (main): Likewise.
7760 * manual/examples/argp-ex4.c (main): Likewise.
7761 * manual/examples/longopt.c (main): Use new-style prototype
7763 * manual/examples/strncat.c (main): Specify return type and use
7764 (void) for arguments.
7765 * manual/examples/subopt.c (main): Use char **argv argument.
7767 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7770 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7773 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7776 * manual/string.texi (strchr): Change when strchrnul is
7779 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7782 * manual/locale.texi (setlocale): Document LOCPATH.
7784 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7787 * manual/process.texi (execle): Move @dots{} before last argument.
7789 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7792 * manual/charset.texi (Generic Charset Conversion): Fix typo
7793 (LC_TYPE -> LC_CTYPE).
7795 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7798 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7799 (scalbnf): Likewise.
7800 (scalbnl): Likewise.
7801 (scalbln): Likewise.
7802 (scalblnf): Likewise.
7803 (scalblnl): Likewise.
7804 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7808 * manual/filesys.texi (telldir): Use braces around return type.
7809 * manual/llio.texi (mmap): Add space after comma.
7811 * manual/math.texi (jn): Use @var{} on parameter names.
7817 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7819 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7821 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7822 (sched_get_priority_max): Likewise.
7823 * manual/signal.texi (sigvec): Add space after comma.
7824 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7826 (if_indextoname): Likewise.
7827 (if_freenameindex): Likewise.
7828 (sendto): Use ',' instead of '.' in prototype.
7829 * manual/startup.texi (syscall): Use @dots{} instead of literal
7831 * manual/stdio.texi (__fpending): Separate initial words of
7832 paragraph from @deftypefun line.
7833 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7835 (vsyslog): Use @var{} on parameter names.
7836 * manual/terminal.texi (stty): Use @var{} on parameter names.
7837 * manual/users.texi (getutmp): Use @var{} on parameter names.
7838 (getutmpx): Likewise.
7840 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7843 * manual/stdio.texi (fopen): Fix typos in description of
7846 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7849 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7850 get clock_id definition.
7852 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7855 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7856 (madvise): Cast every argument to void on its own.
7858 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7861 * manual/startup.texi (Exit Status): Fix typo.
7863 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7866 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7867 * manual/examples/argp-ex2.c: Likewise.
7868 * manual/examples/argp-ex3.c: Likewise.
7870 2012-02-16 Richard Henderson <rth@redhat.com>
7872 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7873 * sysdeps/s390/s390-32/initfini.c: Remove.
7874 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7875 * sysdeps/s390/s390-64/initfini.c: Remove.
7877 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7879 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7880 compiler output for sysdeps/generic/initfini.c.
7881 * sysdeps/sh/elf/initfini.c: Remove file.
7883 2012-02-16 David S. Miller <davem@davemloft.net>
7886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7888 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7889 * sysdeps/sparc/crti.S: New file.
7890 * sysdeps/sparc/crtn.S: New file.
7891 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7892 * sysdeps/sparc/sparc64/Makefile: Likewise.
7894 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7897 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7899 2012-02-15 Roland McGrath <roland@hack.frob.com>
7902 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7904 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7905 (write, read, close): Likewise.
7906 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7908 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7910 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7911 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7912 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7913 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7915 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7919 2012-02-14 Marek Polacek <polacek@redhat.com>
7921 * sysdeps/x86_64/crti.S: New file.
7922 * sysdeps/x86_64/crtn.S: New file.
7923 * sysdeps/x86_64/elf/initfini.c: Remove file.
7925 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7927 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7928 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7929 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7930 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7932 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7936 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7938 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7939 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7940 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7941 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7943 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7947 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7949 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7950 __feraiseexcept instead of feraiseexcept.
7952 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7953 nanosleep invocations.
7954 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7955 strings, and add error checking for a nanosleep invocations.
7957 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7959 Replace FSF snail mail address with URLs, as per GNU coding standards.
7960 Most of the snail mail addresses were wrong anyway, and omitting
7961 them makes the source code easier to maintain. Almost all of the
7962 changes are to license notices and to locale LC_IDENTIFICATION
7963 addresses, except for this one:
7964 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7965 not its snail mail address.
7967 2012-02-09 Richard Henderson <rth@twiddle.net>
7969 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7970 of kernel-features.h.
7972 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7974 2012-02-08 Marek Polacek <polacek@redhat.com>
7976 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7977 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7978 * sysdeps/gnu/_G_config.h: Likewise.
7979 * sysdeps/generic/_G_config.h: Likewise.
7981 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7983 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7987 * sysdeps/powerpc/powerpc32/crti.S: New file.
7988 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7989 * sysdeps/powerpc/powerpc64/crti.S: New file.
7990 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7992 * Makeconfig (have-initfini): Don't set.
7993 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7994 * configure.in (nopic_initfini): Don't substitute.
7995 * config.h.in (HAVE_INITFINI): Don't #undef.
7996 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7997 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7999 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8001 Support crti.S and crtn.S provided directly by architectures.
8002 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8003 [crti.S in sysdirs] (omit-deps): Likewise.
8004 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8005 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8006 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8007 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8008 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8009 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8010 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8011 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8012 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8013 compiler output for sysdeps/generic/initfini.c.
8014 * sysdeps/i386/elf/Makefile: Remove file.
8015 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8017 2012-02-07 Marek Polacek <polacek@redhat.com>
8019 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8020 * sysdeps/gnu/_G_config.h: Likewise.
8021 * sysdeps/mach/hurd/_G_config.h: Likewise.
8023 2012-02-07 Marek Polacek <polacek@redhat.com>
8025 * math/Makefile (tests): Add tst-CMPLX2.
8026 * math/tst-CMPLX2.c: New file.
8028 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8030 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8032 * math/libm-test.inc (jn_test): Add missing L suffix.
8034 2012-02-06 Marek Polacek <polacek@redhat.com>
8036 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8037 * sysdeps/i386/fpu/e_powf.S: Likewise.
8038 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8039 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8040 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8041 * sysdeps/i386/fpu/e_pow.S: Likewise.
8042 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8043 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8044 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8045 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8046 * sysdeps/i386/fpu/e_log2.S: Likewise.
8047 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8048 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8049 * sysdeps/i386/fpu/e_powl.S: Likewise.
8050 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8051 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8052 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8053 * sysdeps/i386/fpu/e_logl.S: Likewise.
8054 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8055 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8056 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8057 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8058 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8059 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8060 * sysdeps/i386/fpu/e_log.S: Likewise.
8061 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8062 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8063 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8064 * sysdeps/i386/fpu/e_logf.S: Likewise.
8065 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8066 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8067 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8068 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8069 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8070 * sysdeps/i386/fpu/e_log10.S: Likewise.
8071 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8072 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8073 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8074 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8075 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8076 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8077 * sysdeps/i386/asm-syntax.h: Likewise.
8078 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8079 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8080 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8081 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8082 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8083 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8084 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8085 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8086 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8087 * sysdeps/powerpc/sysdep.h: Likewise.
8088 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8089 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8091 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8094 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8096 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8098 * sysdeps/i386/sysdep.h: Include <features.h>.
8099 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8102 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8104 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8106 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8109 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8111 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8112 (SETUP_PIC_REG): Use GET_PC_THUNK.
8113 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8116 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8118 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8119 for non-PIC compilation.
8120 (SETUP_PIC_REG): Add .p2align directive.
8121 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8122 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8123 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8124 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8125 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8126 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8127 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8128 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8129 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8130 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8131 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8132 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8133 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8134 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8135 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8136 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8137 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8138 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8139 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8140 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8141 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8142 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8143 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8144 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8145 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8147 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8149 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8150 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8151 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8152 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8153 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8154 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8155 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8156 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8157 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8158 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8159 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8160 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8161 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8163 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8165 * math/tst-CMPLX.c: Include <stdio.h>.
8167 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8169 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8171 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8172 * sysdeps/sparc/bits/mathdef.h: Likewise.
8174 2012-01-31 Marek Polacek <polacek@redhat.com>
8176 * libio/libio.h: Don't define _PARAMS.
8177 * locale/programs/config.h: Don't define PARAMS.
8178 * stdlib/strtol_l.c: Likewise.
8179 (__strtol_l): Remove PARAMS from the prototype.
8181 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8183 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8184 names. Just use the correct names. Remove unnecessary wrapper
8186 * malloc/arena.c: Likewise.
8187 * malloc/hooks.c: Likewise.
8189 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8190 ARENA_TEST says not to. Simplify test for creation of a new arena.
8191 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8193 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8195 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8197 (update_get_addr): New function.
8198 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8199 GET_ADDR_MODULE parameter.
8201 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8203 * crypt/cert.c: Remove __STDC__ conditionals.
8204 * crypt/crypt-entry.c: Likewise.
8205 * crypt/crypt_util.c: Likewise.
8206 * libio/filedoalloc.c: Likewise.
8207 * libio/fileops.c: Likewise.
8208 * libio/genops.c: Likewise.
8209 * libio/iofclose.c: Likewise.
8210 * libio/iofdopen.c: Likewise.
8211 * libio/iofopen.c: Likewise.
8212 * libio/iofopen64.c: Likewise.
8213 * libio/iogetdelim.c: Likewise.
8214 * libio/iopopen.c: Likewise.
8215 * libio/obprintf.c: Likewise.
8216 * libio/oldfileops.c: Likewise.
8217 * libio/oldiofclose.c: Likewise.
8218 * libio/oldiofdopen.c: Likewise.
8219 * libio/oldiofopen.c: Likewise.
8220 * libio/oldiopopen.c: Likewise.
8221 * libio/wfiledoalloc.c: Likewise.
8222 * libio/wgenops.c: Likewise.
8223 * locale/programs/xmalloc.c: Likewise.
8224 * misc/syslog.c: Likewise.
8225 * stdio-common/xbug.c: Likewise.
8226 * string/memchr.c: Likewise.
8227 * string/memcmp.c: Likewise.
8228 * string/memrchr.c: Likewise.
8229 * string/rawmemchr.c: Likewise.
8230 * sysdeps/posix/getcwd.c: Likewise.
8231 * time/strftime_l.c: Likewise.
8233 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8235 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8236 * config.make.in (config-cflags-sse2avx): Define.
8237 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8240 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8242 * scripts/config.guess: Update from upstream config git repository.
8243 * scripts/config.sub: Likewise.
8245 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8247 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8249 (R_TILEPRO_*, R_TILEGX_*): New macros.
8251 * scripts/firstversions.awk: Fix bug in version range handling.
8253 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8255 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8257 * include/sys/epoll.h: New file.
8258 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8261 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8263 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8264 Avoid unnecessary __WORDSIZE == 64 test.
8265 (fmaxf): Use VEX format if possible.
8270 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8271 * math/math_private.h: Remove libc_fegetround* and
8273 * sysdeps/i386/configure.in: Check for -msse2avx.
8274 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8275 also if SSE2AVX is defined.
8276 Remove libc_fegetround* and libc_fesetround*.
8277 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8278 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8279 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8281 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8282 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8283 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8284 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8285 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8287 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8289 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8291 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8293 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8295 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8298 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8300 * Makeconfig (libm): Define.
8301 * elf/Makefile: Add rules to build and run tst-relsort1.
8302 * elf/tst-relsort1.c: New file.
8303 * elf/tst-relsort1mod1.c: New file.
8304 * elf/tst-relsort1mod2.c: New file.
8306 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8308 * math/s_ldexp.c: Remove __STDC__ conditionals.
8309 * math/s_ldexpf.c: Likewise.
8310 * math/s_ldexpl.c: Likewise.
8311 * math/s_nextafter.c: Likewise.
8312 * math/s_nexttowardf.c: Likewise.
8313 * math/s_significand.c: Likewise.
8314 * math/s_significandf.c: Likewise.
8315 * math/s_significandl.c: Likewise.
8316 * math/w_jnl.c: Likewise.
8317 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8318 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8319 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8320 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8321 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8322 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8324 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8325 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8327 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8329 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8330 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8331 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8332 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8333 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8334 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8335 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8336 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8337 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8338 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8339 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8340 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8341 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8342 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8343 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8344 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8345 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8346 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8347 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8348 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8349 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8350 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8351 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8352 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8353 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8354 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8355 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8356 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8357 * sysdeps/ieee754/k_standard.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8362 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8363 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8367 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8369 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8374 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8376 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8377 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8383 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8384 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8387 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8388 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8390 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8392 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8401 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8402 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8410 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8416 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8418 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8419 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8420 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8421 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8423 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8424 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8425 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8426 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8428 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8429 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8430 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8431 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8432 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8433 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8436 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8437 * sysdeps/ieee754/s_matherr.c: Likewise.
8438 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8439 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8440 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8441 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8443 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8445 * crypt/md5.h: Remove __STDC__ conditionals.
8446 * libio/libioP.h: Likewise.
8447 * locale/programs/config.h: Likewise.
8448 * sysdeps/generic/sysdep.h: Likewise.
8449 * sysdeps/i386/asm-syntax.h: Likewise.
8450 * sysdeps/s390/asm-syntax.h: Likewise.
8451 * sysdeps/unix/sysdep.h: Likewise.
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8455 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8457 * libio/libio.h: Remove __STDC__ conditionals.
8458 * malloc/obstack.h: Likewise.
8459 * math/complex.h: Likewise.
8460 * math/math.h: Likewise.
8461 * sysdeps/generic/_G_config.h: Likewise.
8462 * sysdeps/gnu/_G_config.h: Likewise.
8463 * sysdeps/mach/hurd/_G_config.h: Likewise.
8464 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8465 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8466 * sysdeps/sparc/bits/mathdef.h: Likewise.
8468 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8471 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8472 Clean up HAS_* macros.
8473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8474 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8476 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8478 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8479 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8480 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8481 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8484 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8486 * elf/tst-unique3.cc (gets): Remove declaration.
8487 * elf/tst-unique3lib.cc (gets): Likewise.
8488 * elf/tst-unique3lib2.cc (gets): Likewise.
8489 * elf/tst-unique4.cc (gets): Likewise.
8491 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8493 * include/stdio.h: Add C++ protection. Add gets declarations and
8495 * debug/tst-chk1.c: Don't declare gets here.
8496 * stdio-common/tst-gets.c: Likewise.
8498 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8500 * posix/glob: Remove directory.
8502 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8504 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8506 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8508 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8509 of the non-standard EPFNOSUPPORT.
8511 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8513 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8514 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8515 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8517 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8519 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8521 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8523 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8525 * nscd/grpcache.c (cache_addgr): Likewise.
8526 * nscd/hstcache.c (cache_addhst): Likewise.
8527 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8528 * nscd/pwdcache.c (cache_addpw): Likewise.
8529 * nscd/servicescache.c (cache_addserv): Likewise.
8531 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8533 * malloc/malloc.c: Various cleanups.
8534 * malloc/hooks.c: Likewise.
8536 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8537 * stdlib/bug-fmtmsg1.c: New file.
8539 * stdlib/fmtmsg.c (init): Add missing unlock.
8540 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8542 2012-01-12 Marek Polacek <polacek@redhat.com>
8544 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8547 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8549 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8550 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8551 macro to ensure uniqueness of label name.
8552 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8553 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8555 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8557 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8559 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8560 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8561 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8564 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8566 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8568 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8569 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8570 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8572 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8574 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8575 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8576 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8579 * math/bits/math-finite.h: Add ldexp support.
8581 2012-01-10 Marek Polacek <polacek@redhat.com>
8583 * locale/programs/localedef.h (show_archive_content): Add noreturn
8586 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8588 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8590 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8592 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8594 * io/Makefile (headers): Add bits/poll2.h.
8596 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8599 typo #include statement.
8601 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8603 * include/sys/cdefs.h: Define __attribute_alloc_size.
8604 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8605 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8606 * elf/pldd.c: Likewise.
8607 * iconv/iconv_charmap.c: Likewise.
8608 * iconv/iconvconfig.c: Likewise.
8609 * iconv/strtab.c: Likewise.
8610 * locale/programs/locale.c: Likewise.
8611 * locale/programs/localedef.h: Likewise.
8612 * locale/programs/simple-hash.c: Likewise.
8613 * nscd/nscd.h: Likewise.
8614 * nss/makedb.c: Likewise.
8615 * sysdeps/generic/ldconfig.h: Likewise.
8616 * locale/programs/localedef.c: Remove xmalloc prototype.
8617 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8619 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8621 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8624 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8626 * math/Makefile (tests): Add tst-CMPLX.
8627 * math/tst-CMPLX.c: New file.
8629 * math/complex.h (CMPLXL): Fix typo.
8631 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8632 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8634 * debug/tst-chk1.c: Add poll and ppoll tests.
8635 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8636 * include/sys/poll.h: Add hidden proto for ppoll.
8637 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8638 * sysdeps/mach/hurd/ppoll.c: Likewise.
8639 * io/ppoll.c: Likewise.
8640 * debug/poll_chk.c: New file.
8641 * debug/ppoll_chk.c: New file.
8642 * include/bits/poll2.h: New file.
8643 * io/bits/poll2.h: New file.
8646 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8648 * configure.in: static is always set to yes. Remove.
8649 * config.make.in: Don't set build-static.
8650 * Makeconfig: Remove use of build-static.
8651 * dlfcn/Makefile: Likewise.
8652 * elf/Makefile: Likewise.
8653 * math/Makefile: Likewise.
8654 * misc/Makefile: Likewise.
8655 * nptl/Makefile: Likewise.
8656 * sysdeps/mach/hurd/Makefile: Likewise.
8658 * configure.in: PWD_P is not used anymore.
8659 * config.make.in: Remove PWD_P entry.
8661 * configure.in: Remove last remnants of RANLIB.
8662 No need to check for signed size_t anymore.
8663 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8665 Remove __builtin_expect test because we require at least gcc 3.4.
8666 * aclocal.m4: Likewise.
8668 * wcsmbs/mbrtoc16.c: Implement using towc function.
8669 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8670 * wcsmbs/wcsmbsload.c: Likewise.
8671 * iconv/gconv_simple.c: Likewise.
8672 * iconv/gconv_int.h: Likewise.
8673 * iconv/gconv_builtin.h: Likewise.
8674 * iconv/iconv_prog.c: Remove CHAR16 handling.
8676 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8678 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8680 * configure.in: Remove --with-elf and --enable-bounded options.
8681 Dont set base_machine for ia64. More non-ELF conditions removed.
8682 Remove testing and setting of leading underscore information.
8683 * config.make.in (build-bounded): Set to no.
8684 * config.h.in: Remove NO_UNDERSCORES entry.
8685 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8687 * csu/start.c: Remove !NO_UNDERSCORE code.
8688 * locale/localeinfo.h: Likewise.
8689 * sysdeps/generic/machine-gmon.h: Likewise.
8690 * sysdeps/generic/sysdep.h: Likewise.
8691 * sysdeps/i386/sysdep.h: Likewise.
8692 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8693 * sysdeps/mach/sysdep.h: Likewise.
8694 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8695 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8696 * sysdeps/sh/sysdep.h: Likewise.
8697 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8698 * sysdeps/unix/i386/sysdep.S: Likewise.
8699 * sysdeps/unix/sparc/start.c: Likewise.
8700 * sysdeps/unix/sparc/sysdep.S: Likewise.
8701 * sysdeps/unix/sparc/sysdep.h: Likewise.
8702 * sysdeps/unix/start.c: Likewise.
8703 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8704 * sysdeps/x86_64/sysdep.h: Likewise.
8706 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8709 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8711 * argp/argp-fmtstream.h: Use const instead __const.
8712 * argp/argp.h: Likewise.
8713 * assert/assert.h: Likewise.
8714 * bits/fenv.h: Likewise.
8715 * bits/sched.h: Likewise.
8716 * bits/sigset.h: Likewise.
8717 * bits/sigthread.h: Likewise.
8718 * catgets/nl_types.h: Likewise.
8719 * conform/data/pthread.h-data: Likewise.
8720 * crypt/crypt-private.h: Likewise.
8721 * crypt/crypt.h: Likewise.
8722 * crypt/crypt_util.c: Likewise.
8723 * ctype/ctype.h: Likewise.
8724 * debug/execinfo.h: Likewise.
8725 * debug/mbsnrtowcs_chk.c: Likewise.
8726 * debug/mbsrtowcs_chk.c: Likewise.
8727 * debug/wcsnrtombs_chk.c: Likewise.
8728 * debug/wcsrtombs_chk.c: Likewise.
8729 * debug/wcstombs_chk.c: Likewise.
8730 * dirent/dirent.h: Likewise.
8731 * dlfcn/dlfcn.h: Likewise.
8732 * elf/neededtest4.c: Likewise.
8733 * grp/grp.h: Likewise.
8734 * gshadow/gshadow.h: Likewise.
8735 * iconv/gconv.h: Likewise.
8736 * iconv/gconv_int.h: Likewise.
8737 * iconv/gconv_simple.c: Likewise.
8738 * iconv/iconv.h: Likewise.
8739 * iconv/loop.c: Likewise.
8740 * iconv/skeleton.c: Likewise.
8741 * include/aio.h: Likewise.
8742 * include/aliases.h: Likewise.
8743 * include/argz.h: Likewise.
8744 * include/arpa/inet.h: Likewise.
8745 * include/assert.h: Likewise.
8746 * include/dirent.h: Likewise.
8747 * include/dlfcn.h: Likewise.
8748 * include/execinfo.h: Likewise.
8749 * include/fcntl.h: Likewise.
8750 * include/fenv.h: Likewise.
8751 * include/glob.h: Likewise.
8752 * include/grp.h: Likewise.
8753 * include/libintl.h: Likewise.
8754 * include/mntent.h: Likewise.
8755 * include/netdb.h: Likewise.
8756 * include/pwd.h: Likewise.
8757 * include/rpc/netdb.h: Likewise.
8758 * include/sched.h: Likewise.
8759 * include/search.h: Likewise.
8760 * include/shadow.h: Likewise.
8761 * include/signal.h: Likewise.
8762 * include/stdio.h: Likewise.
8763 * include/stdlib.h: Likewise.
8764 * include/string.h: Likewise.
8765 * include/sys/socket.h: Likewise.
8766 * include/sys/stat.h: Likewise.
8767 * include/sys/statfs.h: Likewise.
8768 * include/sys/statvfs.h: Likewise.
8769 * include/sys/syslog.h: Likewise.
8770 * include/sys/time.h: Likewise.
8771 * include/sys/uio.h: Likewise.
8772 * include/time.h: Likewise.
8773 * include/unistd.h: Likewise.
8774 * include/utmp.h: Likewise.
8775 * include/wchar.h: Likewise.
8776 * include/wctype.h: Likewise.
8777 * inet/aliases.h: Likewise.
8778 * inet/arpa/inet.h: Likewise.
8779 * inet/netinet/ether.h: Likewise.
8780 * inet/netinet/in.h: Likewise.
8781 * intl/libintl.h: Likewise.
8782 * io/bits/fcntl2.h: Likewise.
8783 * io/fcntl.h: Likewise.
8784 * io/ftw.h: Likewise.
8785 * io/sys/poll.h: Likewise.
8786 * io/sys/stat.h: Likewise.
8787 * io/sys/statfs.h: Likewise.
8788 * io/sys/statvfs.h: Likewise.
8789 * io/utime.h: Likewise.
8790 * libio/bits/stdio.h: Likewise.
8791 * libio/bits/stdio2.h: Likewise.
8792 * libio/libio.h: Likewise.
8793 * libio/libioP.h: Likewise.
8794 * libio/stdio.h: Likewise.
8795 * locale/lc-ctype.c: Likewise.
8796 * locale/locale.h: Likewise.
8797 * login/utmp.h: Likewise.
8798 * malloc/arena.c: Likewise.
8799 * malloc/malloc.c: Likewise.
8800 * malloc/malloc.h: Likewise.
8801 * malloc/mcheck.c: Likewise.
8802 * malloc/mtrace.c: Likewise.
8803 * math/bits/mathcalls.h: Likewise.
8804 * math/fenv.h: Likewise.
8805 * math/math_private.h: Likewise.
8806 * misc/bits/error.h: Likewise.
8807 * misc/bits/syslog.h: Likewise.
8808 * misc/err.h: Likewise.
8809 * misc/error.h: Likewise.
8810 * misc/fstab.h: Likewise.
8811 * misc/mntent.h: Likewise.
8812 * misc/regexp.h: Likewise.
8813 * misc/search.h: Likewise.
8814 * misc/sgtty.h: Likewise.
8815 * misc/sys/mman.h: Likewise.
8816 * misc/sys/syslog.h: Likewise.
8817 * misc/sys/uio.h: Likewise.
8818 * misc/sys/xattr.h: Likewise.
8819 * misc/ttyent.h: Likewise.
8820 * nis/rpcsvc/ypclnt.h: Likewise.
8821 * nss/nss.h: Likewise.
8822 * posix/bits/unistd.h: Likewise.
8823 * posix/fnmatch.h: Likewise.
8824 * posix/glob.h: Likewise.
8825 * posix/sched.h: Likewise.
8826 * posix/spawn.h: Likewise.
8827 * posix/sys/wait.h: Likewise.
8828 * posix/unistd.h: Likewise.
8829 * posix/wordexp.h: Likewise.
8830 * pwd/pwd.h: Likewise.
8831 * resolv/netdb.h: Likewise.
8832 * resource/sys/resource.h: Likewise.
8833 * rt/aio.h: Likewise.
8834 * rt/bits/mqueue2.h: Likewise.
8835 * rt/mqueue.h: Likewise.
8836 * shadow/shadow.h: Likewise.
8837 * signal/signal.h: Likewise.
8838 * socket/send.c: Likewise.
8839 * socket/sendto.c: Likewise.
8840 * socket/sys/socket.h: Likewise.
8841 * stdio-common/printf.h: Likewise.
8842 * stdlib/bits/stdlib.h: Likewise.
8843 * stdlib/fmtmsg.h: Likewise.
8844 * stdlib/monetary.h: Likewise.
8845 * stdlib/stdlib.h: Likewise.
8846 * stdlib/ucontext.h: Likewise.
8847 * streams/stropts.h: Likewise.
8848 * string/argz.h: Likewise.
8849 * string/bits/string2.h: Likewise.
8850 * string/string.h: Likewise.
8851 * string/strings.h: Likewise.
8852 * sunrpc/rpc/auth.h: Likewise.
8853 * sunrpc/rpc/auth_des.h: Likewise.
8854 * sunrpc/rpc/clnt.h: Likewise.
8855 * sunrpc/rpc/netdb.h: Likewise.
8856 * sunrpc/rpc/pmap_clnt.h: Likewise.
8857 * sunrpc/rpc/xdr.h: Likewise.
8858 * sysdeps/generic/inttypes.h: Likewise.
8859 * sysdeps/generic/net/if.h: Likewise.
8860 * sysdeps/generic/sys/swap.h: Likewise.
8861 * sysdeps/gnu/net/if.h: Likewise.
8862 * sysdeps/gnu/utmpx.h: Likewise.
8863 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8864 * sysdeps/i386/i486/bits/string.h: Likewise.
8865 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8866 * sysdeps/s390/bits/string.h: Likewise.
8867 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8868 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8869 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8870 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8871 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8872 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8873 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8874 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8875 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8876 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8877 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8878 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8879 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8880 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8881 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8882 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8883 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8885 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8886 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8887 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8888 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8889 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8890 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8891 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8892 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8893 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8894 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8895 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8896 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8897 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8898 * sysvipc/sys/ipc.h: Likewise.
8899 * sysvipc/sys/msg.h: Likewise.
8900 * sysvipc/sys/sem.h: Likewise.
8901 * sysvipc/sys/shm.h: Likewise.
8902 * termios/termios.h: Likewise.
8903 * time/sys/time.h: Likewise.
8904 * time/time.h: Likewise.
8905 * wcsmbs/bits/wchar2.h: Likewise.
8906 * wcsmbs/uchar.h: Likewise.
8907 * wcsmbs/wchar.h: Likewise.
8908 * wctype/wctype.h: Likewise.
8911 * Makeconfig: Remove all but ELF support including AIX support.
8912 * Makerules: Likewise.
8913 * config.h.in: Likewise.
8914 * config.make.in: Likewise.
8915 * configure: Likewise.
8916 * configure.in: Likewise.
8917 * csu/Makefile: Likewise.
8918 * csu/version.c: Likewise.
8919 * debug/Makefile: Likewise.
8920 * dlfcn/Makefile: Likewise.
8921 * elf/Makefile: Likewise.
8922 * extra-lib.mk: Likewise.
8923 * iconv/Makefile: Likewise.
8924 * include/libc-symbols.h: Likewise.
8925 * include/shlib-compat.h: Likewise.
8926 * resolv/Makefile: Likewise.
8927 * resolv/res_libc.c: Likewise.
8928 * rt/Makefile: Likewise.
8929 * sysdeps/i386/asm-syntax.h: Likewise.
8930 * sysdeps/i386/sysdep.h: Likewise.
8931 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8932 * sysdeps/mach/sysdep.h: Likewise.
8933 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8934 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8935 * sysdeps/s390/asm-syntax.h: Likewise.
8936 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8937 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8938 * sysdeps/sh/sysdep.h: Likewise.
8939 * sysdeps/unix/sparc/sysdep.h: Likewise.
8940 * sysdeps/wordsize-32/divdi3.c: Likewise.
8941 * sysdeps/x86_64/sysdep.h: Likewise.
8943 * argp/Versions: Remove _argp_unlock_xxx.
8946 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8947 * abilist/libBrokenLocale.abilist: Likewise.
8948 * abilist/libanl.abilist: Likewise.
8949 * abilist/libc.abilist: Likewise.
8950 * abilist/libcrypt.abilist: Likewise.
8951 * abilist/libdl.abilist: Likewise.
8952 * abilist/libm.abilist: Likewise.
8953 * abilist/libnsl.abilist: Likewise.
8954 * abilist/libpthread.abilist: Likewise.
8955 * abilist/libresolv.abilist: Likewise.
8956 * abilist/librt.abilist: Likewise.
8957 * abilist/libthread_db.abilist: Likewise.
8958 * abilist/libutil.abilist: Likewise.
8959 * abilist/libnss_db.abilist: New file.
8961 * scripts/abilist.awk: Add support for indirect functions.
8963 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8965 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8967 * shlib-versions: Remove entries for ports architectures.
8969 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8971 * elf/stackguard-macros.h: Remove support for IA-64.
8972 * elf/tst-auditmod1.c: Likewise.
8973 * sysdeps/generic/ldsodefs.h: Likewise.
8975 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8976 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8980 * configure.in: Remove --enable-omitfp support.
8982 * config.make.in: Likewise.
8983 * Makeconfig: Likewise.
8984 * manual/install.texi: Likewise.
8986 In case anyone cares, the IA-64 architecture could move to ports.
8987 * sysdeps/ia64/*: Removed.
8988 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8989 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8992 * configure.in: Remove entries for unsupported architectures.
8995 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8996 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8998 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8999 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9000 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9001 fall back to using wcrtomb.
9002 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9003 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9005 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9006 * wcsmbs/tst-c16c32-1.c: New file.
9008 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9011 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9013 * elf/tst-unique3.cc: Add explicit declaration of gets.
9014 * elf/tst-unique3lib.cc: Likewise.
9015 * elf/tst-unique3lib2.cc: Likewise.
9016 * elf/tst-unique4.cc: Likewise.
9018 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9020 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9023 * assert/assert.h (static_assert): Don't define for C++.
9024 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9025 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9027 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9029 * iconv/loop.c (single loop): Fix assertion in storing of
9032 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9034 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9036 * posix/getconf.c: Update copyright year.
9037 * nss/getent.c: Likewise.
9038 * nss/makedb.c: Likewise.
9039 * iconv/iconvconfig.c: Likewise.
9040 * iconv/iconv_prog.c: Likewise.
9041 * elf/ldconfig.c: Likewise.
9042 * elf/pldd.c: Likewise.
9043 * elf/sotruss.ksh: Likewise.
9044 * catgets/gencat.c: Likewise.
9045 * csu/version.c: Likewise.
9046 * elf/ldd.bash.in: Likewise.
9047 * elf/sprof.c (print_version): Likewise.
9048 * locale/programs/locale.c: Likewise.
9049 * locale/programs/localedef.c: Likewise.
9050 * login/programs/pt_chown.c: Likewise.
9051 * nscd/nscd.c (print_version): Likewise.
9052 * debug/xtrace.sh: Likewise.
9053 * malloc/memusage.sh: Likewise.
9054 * malloc/mtrace.pl: Likewise.
9055 * debug/catchsegv.sh: Likewise.
9057 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9059 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9062 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9065 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9066 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9068 * iconv/gconv_int.h: Likewise.
9069 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9070 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9071 from libc for GLIBC_2.16.
9072 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9073 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9074 * wcsmbs/uchar.h: Really define mbstate_t.
9075 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9076 * wcsmbs/c16rtomb.c: New file.
9077 * wcsmbs/mbrtoc16.c: New file.
9078 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9080 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9081 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9083 * wcsmbs/wchar.h: Add missing __restrict.
9085 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9088 * time/Makefile (routines): Add timespec_get.
9089 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9090 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9091 timespec for ISO C11.
9092 * time/timespec_get.c: New file.
9093 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9094 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9097 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9098 * stdlib/stdlib.h: Declare aligned_alloc.
9099 * Versions.def: Add GLIBC_2.16 for libc.
9100 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9103 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9106 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9110 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9113 * assert/assert.h (static_assert): Define.
9115 * version.h: Update for 2.16 development version.
9118 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9121 * version.h (RELEASE): Bump for 2.15 release.
9122 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9124 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9125 Patch by Marek Polacek <mpolacek@redhat.com>.
9127 * bits/byteswap.h: Protect long long constants with __extension__.
9128 * sysdeps/i386/bits/byteswap.h: Likewise.
9129 * sysdeps/ia64/bits/byteswap.h: Likewise.
9130 * sysdeps/s390/bits/byteswap.h: Likewise.
9131 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9133 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9136 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9138 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9140 2011-12-23 Marek Polacek <polacek@redhat.com>
9142 * elf/dl-addr.c (determine_info): Add inline keyword.
9143 * elf/tst-auditmod4b.c (check_avx): Likewise.
9144 * elf/tst-auditmod6b.c (check_avx): Likewise.
9145 * elf/tst-auditmod6c.c (check_avx): Likewise.
9146 * elf/tst-auditmod7b.c (check_avx): Likewise.
9148 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9150 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9153 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9156 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9157 processing for last bytes.
9159 2011-08-06 Bruno Haible <bruno@clisp.org>
9162 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9163 U+0385, not to U+1FEE.
9166 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9167 entry for U+00A5 U+0301.
9169 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9172 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9173 buffer for the output is too small.
9175 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9179 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9180 SSE flags if possible.
9182 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9185 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9186 processing for last bytes.
9188 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9190 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9191 (syscall-list-default-options, syscall-list-default-condition)
9192 (syscall-list-includes): Define.
9193 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9194 list of ABIs and options and #if conditions for each ABI. Do not
9195 handle common syscalls between ABIs specially.
9196 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9198 (syscall-list-variants, syscall-list-32bit-options)
9199 (syscall-list-32bit-condition, syscall-list-64bit-options)
9200 (syscall-list-64bit-condition): Define.
9201 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9202 (syscall-list-variants, syscall-list-32bit-options)
9203 (syscall-list-32bit-condition, syscall-list-64bit-options)
9204 (syscall-list-64bit-condition): Define.
9205 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9207 (syscall-list-variants, syscall-list-32bit-options)
9208 (syscall-list-32bit-condition, syscall-list-64bit-options)
9209 (syscall-list-64bit-condition): Define.
9210 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9212 (syscall-list-variants, syscall-list-32bit-options)
9213 (syscall-list-32bit-condition, syscall-list-64bit-options)
9214 (syscall-list-64bit-condition): Define.
9216 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9218 * locale/iso-639.def: Add brx entry.
9221 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9222 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9224 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9225 __feraiseexcept_renamed.
9227 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9230 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9231 EPOLLET with unsigned values.
9232 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9233 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9235 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9236 to large cancellation.
9237 * math/s_cacoshf.c: Likewise.
9238 * math/s_cacoshl.c: Likewise.
9240 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9244 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9245 * math/s_cacoshf.c: Likewise.
9246 * math/s_cacoshl.c: Likewise.
9248 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9251 * iconv/gconv.h: Define __GCONV_SWAP.
9252 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9253 * iconvdata/utf-16.c: Likewise.
9254 * iconvdata/utf-32.c: Likewise.
9256 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9260 numerator after shifting it by one limb.
9262 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9264 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9265 under [__USE_EXTERN_INLINES].
9267 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9270 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9272 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9274 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9275 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9277 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9278 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9279 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9280 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9281 for strncasecmp/strncasecmp_l compilation.
9282 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9283 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9285 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9288 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9291 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9294 * time/tzfile.c (__tzfile_read): Check values from file header.
9296 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9298 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9299 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9300 * powerpc/powerpc32/dl-start.S: Likewise.
9301 * powerpc/powerpc32/elf/start.S: Likewise.
9302 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9303 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9304 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9305 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9306 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9307 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9308 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9309 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9310 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9311 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9312 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9313 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9314 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9315 * powerpc/powerpc32/memset.S: Likewise.
9316 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9317 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9318 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9319 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9320 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9321 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9322 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9323 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9324 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9325 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9326 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9327 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9328 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9330 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9332 * math/libm-test.inc: Added more nearbyint tests.
9333 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9334 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9335 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9336 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9338 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9340 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9343 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9345 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9346 Add wcscpy-ssse3 wcscpy-c.
9347 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9348 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9349 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9350 * sysdeps/x86_64/wcschr.S: New file.
9351 * sysdeps/x86_64/wcsrchr.S: New file.
9352 * string/test-strcmp.c: Remove checking of wcscmp function for
9354 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9355 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9356 wcsrchr-sse2 wcsrchr-c.
9357 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9358 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9359 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9360 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9361 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9362 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9363 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9364 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9365 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9366 * wcsmbc/wcschr.c (WCSCHR): New macro.
9368 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9370 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9371 * wcsmbs/test-wcsrchr.c: New file.
9372 * string/test-strrchr.c: Add wcsrchr support.
9374 * wcsmbs/test-wcscpy.c: New file.
9375 * string/test-strcpy.c: Add wcscpy support.
9378 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9380 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9383 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9386 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9388 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9390 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9391 Minor optimizations.
9393 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9394 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9395 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9397 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9399 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9400 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9401 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9402 for gcc to avoid warnings.
9403 * inet/Makefile (tests): Add tst-checks.
9404 * inet/tst-checks.c: New file.
9406 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9409 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9412 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9413 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9415 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9417 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9419 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9422 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9424 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9426 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9427 conditional on GCC version.
9428 (__arch_compare_and_exchange_val_8_acq)
9429 (__arch_compare_and_exchange_val_16_acq)
9430 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9431 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9432 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9434 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9436 * sysdeps/sh/backtrace.c: New file.
9438 2011-12-02 Andreas Schwab <schwab@redhat.com>
9440 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9443 2011-12-01 Andreas Schwab <schwab@redhat.com>
9445 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9446 falling back to utime.
9448 2011-11-30 Andreas Schwab <schwab@redhat.com>
9450 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9451 expectations for float.
9453 2011-11-29 Andreas Schwab <schwab@redhat.com>
9455 * locale/weight.h (findidx): Add parameter len.
9456 * locale/weightwc.h (findidx): Likewise.
9457 * posix/fnmatch_loop.c (FCT): Adjust caller.
9458 * posix/regcomp.c (build_equiv_class): Likewise.
9459 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9460 * posix/regexec.c (check_node_accept_bytes): Likewise.
9461 * string/strcoll_l.c (STRCOLL): Likewise.
9462 * string/strxfrm_l.c (STRXFRM): Likewise.
9464 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9466 * Makefile.in: Remove CVSOPT handling.
9467 * configure.in: Remove use of AC_REVISION.
9468 * iconvdata/Makefile (distribute): No need to filter out CVS.
9469 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9472 2011-11-16 Andreas Schwab <schwab@redhat.com>
9474 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9475 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9476 [USE_AS_STRNCASECMP_L]: Likewise.
9477 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9478 NO_TLS_DIRECT_SEG_REFS.
9479 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9480 Fix argument offsets for non-PIC.
9481 [USE_AS_STRNCASECMP_L]: Likewise.
9482 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9483 NO_TLS_DIRECT_SEG_REFS.
9485 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9487 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9489 * locale/loadlocale.c (_nl_load_locale): Likewise.
9491 2011-11-15 Andreas Schwab <schwab@redhat.com>
9493 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9494 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9495 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9496 (SYSCALL_GETTIME): Set errno on error.
9498 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9499 count references to noai6ai_cached.
9501 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9503 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9505 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9506 FD_CLOEXEC for /proc/self/maps.
9508 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9509 FD_CLOEXEC for /proc/meminfo.
9511 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9514 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9515 FD_CLOEXEC for given file.
9517 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9519 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9520 FD_CLOEXEC for /etc/hosts.
9521 (_gethtent): Likewise.
9523 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9525 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9526 cancellation and set FD_CLOEXEC for /etc/netgroup.
9528 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9529 reading /etc/publickey.
9531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9532 allow cancellation when reading /etc/group.
9534 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9536 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9538 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9539 when using data file.
9541 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9543 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9544 (write_nis_obj): Use "c" and "e" in fopen.
9546 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9548 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9550 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9552 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9554 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9557 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9559 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9561 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9563 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9564 file parsing and set FD_CLOEXEC.
9566 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9568 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9570 2011-11-14 Andreas Schwab <schwab@redhat.com>
9572 * malloc/arena.c (arena_get2): Don't call reused_arena when
9573 _int_new_arena failed.
9575 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9577 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9578 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9579 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9580 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9581 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9582 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9583 to compile strcasecmp and strncasecmp.
9584 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9585 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9589 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9591 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9592 locale-defines.sym to gen-as-const-headers.
9593 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9594 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9595 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9596 to compile strcasecmp and strncasecmp.
9597 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9598 strcasecmp_l and strncasecmp_l.
9599 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9600 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9601 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9602 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9603 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9604 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9605 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9606 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9607 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9608 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9609 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9611 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9613 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9614 result of SYSDEP_GETTIME_CPU to retval.
9615 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9616 parameter list to macro. Remove trailing semicolon. Adjust users.
9618 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9621 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9623 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9625 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9626 from unused variable.
9628 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9630 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9633 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9636 * sunrpc/rpc_prot.c (rejected): Fix case value.
9638 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9639 unsigned long long int to avoid warnings in shift.
9641 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9643 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9646 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9647 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9648 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9650 * nis/nis_table.c (nis_list): Use variable of correct type for
9651 result of __follow_path call.
9653 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9655 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9656 of math functions ceil, trunc, floor, round, and sqrt, when
9657 avaliable on the platform.
9658 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9660 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9661 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9662 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9664 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9666 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9667 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9669 2011-11-11 Roland McGrath <roland@hack.frob.com>
9671 * include/unistd.h: Fix __readlink return type.
9672 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9674 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9676 * stdlib/ucontext.h: Undo last change for makecontext.
9678 2011-11-11 Andreas Schwab <schwab@redhat.com>
9680 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9682 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9683 * setjmp/setjmp.h: Mark functions as non-leaf.
9684 * setjmp/bits/setjmp2.h: Likewise.
9685 * stdlib/ucontext.h: Likewise.
9687 2011-11-10 Andreas Schwab <schwab@redhat.com>
9689 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9690 (reused_arena): Don't check arena limit.
9691 (arena_get2): Atomically check arena limit.
9693 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9695 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9696 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9701 2011-11-07 Andreas Schwab <schwab@redhat.com>
9703 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9704 handler when locking.
9706 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9707 Fix size of allocated buffer.
9709 2011-11-04 Andreas Schwab <schwab@redhat.com>
9712 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9713 declarations for long double functions.
9714 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9716 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9718 2011-11-03 Andreas Schwab <schwab@redhat.com>
9720 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9723 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9726 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9728 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9730 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9732 * include/alloca.h (stackinfo_alloca_round): Define.
9733 (extend_alloca): Use it.
9734 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9735 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9738 * scripts/check-local-headers.sh: Ignore libaudit.h.
9740 * nscd/Makefile (extra-objs): Make recursively expanded.
9742 2011-11-01 Ulrich Drepper <drepper@gmail.com>
9744 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9745 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9747 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9748 * posix/tst-rfc3484-2.c: Likewise.
9749 * posix/tst-rfc3484-3.c: Likewise.
9751 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9753 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9755 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9756 process_vm_writev from libc using GLIBC_2.15 version.
9758 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9760 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9762 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9765 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9768 * nss/getent.c (initgroups_keys): Show error message in case no group
9771 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9772 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9773 __bump_nl_timestamp.
9774 * nscd/connections (nscd_init): When host database is served open
9775 netlink socket and request notification about configuration changes.
9776 (main_loop_poll): Track netlink file descriptor and bump timestamp
9777 in case data becomes available.
9778 (main_loop_epoll): Likewise.
9779 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9780 (database_pers_head): Add extra_data fileds.
9781 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9782 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9783 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9785 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9786 in6ai data, call __free_in6ai.
9787 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9789 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9790 interface information. Reuse previous data if netlink timestamp
9792 (__bump_nl_timestamp): New function.
9793 (__free_in6ai): New function.
9795 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9797 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9798 close_not_cancel_no_status here.
9799 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9801 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9804 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9807 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9808 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9809 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9811 2011-07-03 Andreas Jaeger <aj@suse.de>
9814 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9815 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9816 * math/libm-test.inc (sin_test): Add test case.
9818 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9821 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9822 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9824 * elf/chroot_canon.c (chroot_canon): Cleanups.
9826 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9829 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9830 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9832 * string/test-strchr.c: Make usable for strchrnul testing.
9833 * string/test-strchrnul.c: New file.
9834 * string/Makefile (strop-tests): Add strchrnul.
9836 * po/it.po: Update from translation team.
9837 * po/es.po: Likewise.
9839 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9841 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9842 the three constants needed as parameters. Drop the others.
9843 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9844 __m128i_strloadu_tolower.
9845 Create and initialize variable zero and use it in all the places
9846 where _mm_setzero_si128 was used.
9848 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9849 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9850 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9851 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9853 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9854 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9855 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9856 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9857 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9858 __mpranred, __mptan.
9859 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9860 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9861 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9862 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9863 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9864 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9865 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9866 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9867 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9869 2011-10-28 Andreas Schwab <schwab@redhat.com>
9871 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9873 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9876 wide char related routines to wcsmbs subdir.
9878 2011-10-27 Andreas Schwab <schwab@redhat.com>
9881 * misc/sys/cdefs.h (__THROWNL): Define.
9882 * posix/unistd.h: Use __THREADNL instead of __THREAD
9883 for memory synchronization functions.
9885 2011-10-26 Roland McGrath <roland@hack.frob.com>
9888 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9890 * manual/stdio.texi (Obstack Streams): Node removed.
9892 2011-10-26 Andreas Schwab <schwab@redhat.com>
9894 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9895 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9896 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9898 * math/math_private.h (math_force_eval): Allow non-addressable
9900 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9902 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9904 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9907 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9908 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9909 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9910 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9914 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9916 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9917 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9918 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9919 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9920 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9921 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9922 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9923 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9924 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9925 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9926 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9927 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9928 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9929 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9930 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9931 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9932 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9933 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9934 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9936 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9937 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9939 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9940 place. Use VEX encoding when compiling for AVX.
9942 2011-10-25 Andreas Schwab <schwab@redhat.com>
9944 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9945 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9947 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9949 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9951 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9952 useless if() expression.
9953 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9954 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9955 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9956 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9957 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9958 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9959 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9960 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9962 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9963 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9964 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9965 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9966 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9967 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9968 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9969 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9971 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9973 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9975 2011-10-25 Andreas Schwab <schwab@redhat.com>
9977 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9979 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9981 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9983 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9984 .text section. Avoid duplicate constants.
9985 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9987 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9989 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9992 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9993 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9994 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9995 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9996 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9997 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9998 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9999 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10000 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10001 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10002 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10003 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10004 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10005 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10006 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10007 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10008 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10009 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10010 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10011 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10012 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10013 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10014 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10015 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10016 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10017 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10018 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10019 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10020 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10021 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10022 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10023 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10024 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10025 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10026 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10027 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10028 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10029 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10031 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10033 * sysdeps/x86_64/dla.h: Move to ...
10034 * sysdeps/x86_64/fpu/dla.h: ...here.
10035 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10036 situations. Use __builtin_fma only for gcc 4.6 and up.
10038 * config.make.in: Add have-mfma4 entry.
10039 * configure.in: Substitute libc_cv_cc_fma4.
10040 * math/Makefile (dbl-only-routines): Add sincostab.
10041 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10042 Use __sincostab not sincos.
10043 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10045 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10050 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10051 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10052 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10053 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10055 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10056 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10058 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10059 define aliases when function name is a macro.
10060 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10061 sysdeps/ieee754/dbl-64/sincos.tbl.
10062 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10063 fma4-enabled routines.
10064 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10065 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10066 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10067 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10068 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10069 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10070 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10071 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10072 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10073 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10074 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10075 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10076 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10077 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10078 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10079 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10080 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10081 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10082 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10083 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10084 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10085 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10086 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10087 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10088 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10089 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10090 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10091 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10092 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10093 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10095 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10097 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10106 2011-10-24 Andreas Schwab <schwab@redhat.com>
10108 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10110 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10112 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10114 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10116 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10118 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10119 Remove unused variable magic_bits.
10120 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10122 * string/strnlen.c: Define and use STRNLEN macro.
10123 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10124 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10126 * wcsmbs/wcslen.c: Define and use WCSLEN.
10127 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10128 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10129 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10130 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10131 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10132 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10133 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10135 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10138 strnlen-sse2-no-bsf.
10139 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10141 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10142 Add strnlen support.
10143 (USE_AS_STRNLEN): New macro.
10144 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10145 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10146 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10147 * sysdeps/x86_64/wcslen.S: New file.
10149 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10151 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10152 XMM-moves are used for copying on small sizes.
10154 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10156 * wcsmbs/Makefile (strop-tests): Add wcschr.
10157 * wcsmbs/test-wcschr.c: New file.
10158 * string/test-strchr.c: Update.
10159 Add wcschr support.
10162 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10164 * wcsmbs/Makefile (strop-tests): Add wcslen.
10165 * wcsmbs/test-wcslen.c: New file.
10166 * string/test-strlen.c: Update.
10167 Add wcslen support.
10170 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10172 * po/it.po: Update from translation team.
10174 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10176 * sysdeps/x86_64/wcscmp.S: Update.
10177 Fix wrong comparison semantics.
10178 wcscmp shall use signed comparison not unsigned.
10179 Don't use substraction to avoid overflow bug.
10180 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10181 * wcsmbc/wcscmp.c: Likewise.
10182 * string/test-strcmp.c: Likewise.
10183 Add new tests to check cases with negative values.
10185 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10187 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10188 * sysdeps/x86_64/dla.h: ...here. New file.
10189 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10194 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10197 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10199 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10202 __ynl_finite aliases.
10204 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10208 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10210 [DLA_FMA] (EMULV): Use DLA_FMA.
10211 [DLA_FMA] (MUL12): Use EMULV.
10212 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10213 that are not needed.
10214 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10216 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10217 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10218 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10219 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10222 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10224 * math/s_nan.c: Undef __nan.
10225 * math/s_nanf.c: Undef __nanf.
10226 * math/s_nanl.c: Undef __nanl.
10227 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10230 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10232 * math/s_catan.c: Add branch predictions.
10233 * math/s_catanf.c: Likewise.
10234 * math/s_catanh.c: Likewise.
10235 * math/s_catanhf.c: Likewise.
10236 * math/s_catanhl.c: Likewise.
10237 * math/s_catanl.c: Likewise.
10238 * math/s_cexp.c: Likewise.
10239 * math/s_cexpf.c: Likewise.
10240 * math/s_cexpl.c: Likewise.
10241 * math/s_clog.c: Likewise.
10242 * math/s_clog10.c: Likewise.
10243 * math/s_clog10f.c: Likewise.
10244 * math/s_clog10l.c: Likewise.
10245 * math/s_clogf.c: Likewise.
10246 * math/s_clogl.c: Likewise.
10247 * math/s_csqrt.c: Likewise.
10248 * math/s_csqrtf.c: Likewise.
10249 * math/s_csqrtl.c: Likewise.
10250 * math/s_ctanf.c: Likewise.
10251 * math/s_ctanh.c: Likewise.
10252 * math/s_ctanhf.c: Likewise.
10253 * math/s_ctanhl.c: Likewise.
10254 * math/s_ctanl.c: Likewise.
10256 * math/math_private.h: Define __nan, __nanf, __nanl.
10257 * math/s_cacosh.c: Include <math_private.h>.
10258 * math/s_cacoshl.c: Likewise.
10259 * math/s_casinh.c: Likewise.
10260 * math/s_casinhf.c: Likewise.
10261 * math/s_casinhl.c: Likewise.
10262 * math/s_ccos.c: Rely entire on ccosh.
10263 * math/s_ccosf.c: Rely entire on ccoshf.
10264 * math/s_ccosl.c: Rely entirely on ccoshl.
10265 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10266 Remove tests for FE_INVALID.
10267 * math/s_ccoshf.c: Likewise.
10268 * math/s_ccoshl.c: Likewise.
10269 * math/s_csin.c: Likewise.
10270 * math/s_csinf.c: Likewise.
10271 * math/s_csinh.c Likewise.
10272 * math/s_csinhf.c: Likewise.
10273 * math/s_csinhl.c: Likewise.
10274 * math/s_csinl.c: Likewise.
10275 * math/s_ctan.c: Likewise.
10276 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10277 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10278 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10280 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10283 compilation problems.
10285 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10288 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10290 * sysdeps/i386/configure.in: Test for -mfma4 option.
10291 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10292 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10293 COMMON_CPUID_INDEX_80000001.
10294 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10295 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10296 use it if FMA3 is not supported.
10297 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10299 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10300 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10302 2011-10-20 Andreas Schwab <schwab@redhat.com>
10305 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10306 it would create a cycle with a link time dependency.
10308 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10310 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10312 * string/Makefile (strop-tests): Add rawmemchr.
10313 * string/test-rawmemchr.c: New file.
10315 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10316 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10317 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10318 when compiling str{,n}casecmp and when AVX is available. Hook up
10319 new optimized code in initializers.
10321 2011-10-19 Andreas Schwab <schwab@redhat.com>
10323 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10324 __feraiseexcept instead of feraiseexcept.
10326 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10328 * math/math_private.h: Define defaults for libc_fetestexcept and
10330 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10331 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10332 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10333 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10334 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10335 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10336 libc_fetestexcept and libc_feupdateenv.
10338 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10339 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10340 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10341 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10342 libc_feholdexcept_setround.
10344 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10345 Add s_nearbyint-c and s_nearbyintf-c.
10346 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10347 nearbyintf inlines.
10348 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10349 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10350 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10351 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10353 * math/math_private.h: Define defaults for libc_fegetround,
10354 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10355 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10356 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10357 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10358 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10359 standard functions.
10360 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10361 Remove comments and hacks for old compiler versions.
10362 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10363 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10364 libc_feholdexceptl.
10366 2011-10-18 Andreas Schwab <schwab@redhat.com>
10368 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10369 (__feraiseexcept_renamed): Add __NTH.
10370 (feraiseexcept): Add __NTH. Rename local variables to fix
10371 namespace violations.
10373 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10375 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10377 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10379 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10380 recently added interfaces.
10381 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10383 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10384 about macro parameter expansion.
10386 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10387 __NO_MATH_INLINES is defined. Cleanups.
10389 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10390 and __floorf is target has SSE4.1.
10391 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10392 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10393 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10394 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10396 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10398 (floorf): Likewise.
10400 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10402 2011-10-17 Andreas Schwab <schwab@redhat.com>
10404 * misc/sys/cdefs.h: Fix last change.
10406 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10409 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10411 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10413 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10414 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10419 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10420 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10421 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10422 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10423 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10424 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10425 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10426 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10427 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10428 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10429 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10430 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10431 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10432 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10433 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10434 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10436 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10437 ceil, ceilf, floor, floorf.
10439 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10440 Perform IRELATIVE relocations last.
10442 * elf/do-rel.h: Add another parameter nrelative, replacing the
10443 local variable with the same name. Change name of the function
10444 to end in Rel or Rela (uppercase).
10445 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10446 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10447 elf_dynamic_do_##reloc function.
10449 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10451 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10452 is sufficient, at least on modern CPUs.
10454 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10456 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10457 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10459 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10461 * math/bits/math-finite.h: Add entries for exp.
10462 * math/e_expl.c: Add __*_finite alias.
10463 * sysdeps/i386/fpu/e_exp.S: Likewise.
10464 * sysdeps/i386/fpu/e_expf.S: Likewise.
10465 * sysdeps/i386/fpu/e_expl.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10467 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10469 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10470 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10471 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10472 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10474 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10475 is sufficient, at least on modern CPUs.
10477 * ctype/ctype-info.c (__ctype_init): Define.
10478 * include/ctype.h (__ctype_init): Declare.
10479 (__ctype_b_loc): The variable is always initialized.
10480 (__ctype_toupper_loc): Likewise.
10481 (__ctype_tolower_loc): Likewise.
10482 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10483 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10485 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10487 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10489 * configure.in: Also look in $cxxmachine/include for C++ system
10492 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10494 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10495 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10496 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10497 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10498 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10499 (USE_AS_WMEMCMP): New macro.
10501 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10502 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10503 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10504 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10506 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10507 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10508 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10509 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10510 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10511 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10512 (USE_AS_WMEMCMP): New macro.
10513 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10514 * sysdeps/string/test-memcmp.c: Update.
10515 Fix simple_wmemcmp.
10517 * wcsmbs/wmemcmp.c: Update.
10518 (WMEMCMP): New macro.
10521 2011-10-12 Andreas Jaeger <aj@suse.de>
10524 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10526 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10528 * libio/iofwide.c (do_length): Avoid warning.
10530 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10532 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10534 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10536 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10537 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10538 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10539 * sysdeps/i386/i686/fpu/e_log.S: New file.
10540 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10541 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10543 * ctype/ctype.h: Add support for inlined isXXX functions when
10544 compiling C++ code.
10546 2011-10-14 Andreas Schwab <schwab@redhat.com>
10548 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10550 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10552 2011-10-13 Roland McGrath <roland@hack.frob.com>
10555 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10557 2011-10-13 Andreas Schwab <schwab@redhat.com>
10559 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10560 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10563 * sysdeps/x86_64/memrchr.S: Check for zero size.
10565 * string/stratcliff.c: Add memrchr tests.
10567 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10570 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10571 rawmemchr-sse2 rawmemchr-sse2-bsf.
10572 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10573 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10574 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10575 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10576 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10577 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10578 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10579 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10580 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10581 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10582 * string/memrchr.c (MEMRCHR): New macro.
10584 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10586 Add integration with gcc's -ffinite-math-only and optimize wrapper
10588 * Versions.def: Define GLIBC_2.15 version for libm.
10589 * math/Makefile (headers): Add bits/math-finite.h.
10590 * math/bits/math-finite.h: New file.
10591 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10592 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10593 * math/e_acoshl.c: Add __*_finite alias.
10594 * math/e_acosl.c: Likewise.
10595 * math/e_asinl.c: Likewise.
10596 * math/e_atan2l.c: Likewise.
10597 * math/e_atanhl.c: Likewise.
10598 * math/e_coshl.c: Likewise.
10599 * math/e_exp10.c: Likewise.
10600 * math/e_exp10f.c: Likewise.
10601 * math/e_exp10l.c: Likewise.
10602 * math/e_exp2l.c: Likewise.
10603 * math/e_fmodl.c: Likewise.
10604 * math/e_gammal_r.c: Likewise.
10605 * math/e_hypotl.c: Likewise.
10606 * math/e_j0l.c: Likewise.
10607 * math/e_j1l.c: Likewise.
10608 * math/e_jnl.c: Likewise.
10609 * math/e_lgammal_r.c: Likewise.
10610 * math/e_log10l.c: Likewise.
10611 * math/e_log2l.c: Likewise.
10612 * math/e_logl.c: Likewise.
10613 * math/e_powl.c: Likewise.
10614 * math/e_sinhl.c: Likewise.
10615 * math/e_sqrtl.c: Likewise.
10616 * math/e_scalb.c: Completely rewritten and optimized.
10617 * math/e_scalbf.c: Likewise.
10618 * math/e_scalbl.c: Likewise.
10619 * math/w_acos.c: Likewise.
10620 * math/w_acosf.c: Likewise.
10621 * math/w_acosl.c: Likewise.
10622 * math/w_acosh.c: Likewise.
10623 * math/w_acoshf.c: Likewise.
10624 * math/w_acoshl.c: Likewise.
10625 * math/w_asin.c: Likewise.
10626 * math/w_asinf.c: Likewise.
10627 * math/w_asinl.c: Likewise.
10628 * math/w_atan2.c: Likewise.
10629 * math/w_atan2f.c: Likewise.
10630 * math/w_atan2l.c: Likewise.
10631 * math/w_atanh.c: Likewise.
10632 * math/w_atanhf.c: Likewise.
10633 * math/w_atanhl.c: Likewise.
10634 * math/w_exp10.c: Likewise.
10635 * math/w_exp10f.c: Likewise.
10636 * math/w_exp10l.c: Likewise.
10637 * math/w_fmod.c: Likewise.
10638 * math/w_fmodf.c: Likewise.
10639 * math/w_fmodl.c: Likewise.
10640 * math/w_j0.c: Likewise.
10641 * math/w_j0f.c: Likewise.
10642 * math/w_j0l.c: Likewise.
10643 * math/w_j1.c: Likewise.
10644 * math/w_j1f.c: Likewise.
10645 * math/w_j1l.c: Likewise.
10646 * math/w_jn.c: Likewise.
10647 * math/w_jnf.c: Likewise.
10648 * math/w_log.c: Likewise.
10649 * math/w_logf.c: Likewise.
10650 * math/w_logl.c: Likewise.
10651 * math/w_log10.c: Likewise.
10652 * math/w_log10f.c: Likewise.
10653 * math/w_log10l.c: Likewise.
10654 * math/w_log2.c: Likewise.
10655 * math/w_log2f.c: Likewise.
10656 * math/w_log2l.c: Likewise.
10657 * math/w_pow.c: Likewise.
10658 * math/w_powf.c: Likewise.
10659 * math/w_powl.c: Likewise.
10660 * math/w_remainder.c: Likewise.
10661 * math/w_remainderf.c: Likewise.
10662 * math/w_remainderl.c: Likewise.
10663 * math/w_scalb.c: Likewise.
10664 * math/w_scalbf.c: Likewise.
10665 * math/w_scalbl.c: Likewise.
10666 * math/w_sqrt.c: Likewise.
10667 * math/w_sqrtf.c: Likewise.
10668 * math/w_sqrtl.c: Likewise.
10669 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10670 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10672 * math/math_private.h: Declare __kernel_standard_f.
10673 * math/w_cosh.c: Remove cruft and optimize a bit.
10674 * math/w_coshf.c: Likewise.
10675 * math/w_coshl.c: Likewise.
10676 * math/w_exp2.c: Likewise.
10677 * math/w_exp2f.c: Likewise.
10678 * math/w_exp2l.c: Likewise.
10679 * math/w_hypot.c: Likewise.
10680 * math/w_hypotf.c: Likewise.
10681 * math/w_hypotl.c: Likewise.
10682 * math/w_lgamma.c: Likewise.
10683 * math/w_lgamma_r.c: Likewise.
10684 * math/w_lgammaf.c: Likewise.
10685 * math/w_lgammaf_r.c: Likewise.
10686 * math/w_lgammal.c: Likewise.
10687 * math/w_lgammal_r.c: Likewise.
10688 * math/w_sinh.c: Likewise.
10689 * math/w_sinhf.c: Likewise.
10690 * math/w_sinhl.c: Likewise.
10691 * math/w_tgamma.c: Likewise.
10692 * math/w_tgammaf.c: Likewise.
10693 * math/w_tgammal.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10695 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10696 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10697 Minor optimizations. Pretty printing. Remove cruft.
10698 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10699 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10700 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10701 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10702 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10703 * sysdeps/i386/fpu/e_asin.S: Likewise.
10704 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10705 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10706 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10707 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10708 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10709 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10710 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10711 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10712 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10713 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10714 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10715 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10716 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10717 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10718 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10719 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10720 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10721 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10722 * sysdeps/i386/fpu/e_log.S: Likewise.
10723 * sysdeps/i386/fpu/e_log10.S: Likewise.
10724 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10725 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10726 * sysdeps/i386/fpu/e_log2.S: Likewise.
10727 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10728 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10729 * sysdeps/i386/fpu/e_logf.S: Likewise.
10730 * sysdeps/i386/fpu/e_logl.S: Likewise.
10731 * sysdeps/i386/fpu/e_pow.S: Likewise.
10732 * sysdeps/i386/fpu/e_powf.S: Likewise.
10733 * sysdeps/i386/fpu/e_powl.S: Likewise.
10734 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10735 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10736 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10737 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10739 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10740 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10741 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10742 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10743 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10764 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10765 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10766 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10767 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10768 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10769 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10770 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10771 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10772 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10773 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10774 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10775 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10776 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10777 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10778 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10779 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10780 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10781 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10782 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10783 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10784 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10785 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10789 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10792 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10793 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10795 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10796 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10798 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10799 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10800 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10804 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10808 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10809 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10810 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10811 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10812 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10813 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10814 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10815 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10818 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10819 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10820 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10821 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10822 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10823 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10824 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10825 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10826 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10827 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10828 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10829 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10830 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10831 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10832 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10833 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10834 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10835 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10836 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10837 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10838 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10839 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10840 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10841 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10842 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10843 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10844 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10845 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10846 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10847 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10848 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10849 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10851 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10852 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10853 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10854 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10855 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10856 (__isnanf): Likewise.
10857 (__isinf_ns): Likewise.
10858 (__isinf_nsf): Likewise.
10859 (__finite): Likewise.
10860 (__finitef): Likewise.
10861 (__ieee754_sqrt): Define as macro.
10862 (__ieee754_sqrtf): Define as macro.
10863 (__ieee754_sqrtl): Define as macro.
10864 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10866 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10867 __FINITE_MATH_ONLY__ consistent.
10868 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10870 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10872 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10875 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10877 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10879 * po/ja.po: Update from translation team.
10881 2011-10-08 Roland McGrath <roland@hack.frob.com>
10883 * locale/programs/locarchive.c (prepare_address_space): New function.
10884 (create_archive, enlarge_archive, open_archive): Use it.
10886 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10887 inside [SHARED], where it is used.
10889 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10891 * nss/getent.c (netgroup_keys): Remove unused variable.
10892 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10894 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10896 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10897 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10899 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10900 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10901 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10902 * math/Makefile (libm-calls): Add s_isinf_ns.
10903 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10904 * math/multc3.c: Likewise.
10905 * math/s_casin.c: Likewise.
10906 * math/s_casinf.c: Likewise.
10907 * math/s_casinl.c: Likewise.
10908 * math/s_ccos.c: Likewise.
10909 * math/s_ccosf.c: Likewise.
10910 * math/s_ccosl.c: Likewise.
10911 * math/s_ctan.c: Likewise.
10912 * math/s_ctanf.c: Likewise.
10913 * math/s_ctanh.c: Likewise.
10914 * math/s_ctanhf.c: Likewise.
10915 * math/s_ctanhl.c: Likewise.
10916 * math/s_ctanl.c: Likewise.
10917 * math/w_fmod.c: Likewise.
10918 * math/w_fmodf.c: Likewise.
10919 * math/w_fmodl.c: Likewise.
10920 * math/w_remainder.c: Likewise.
10921 * math/w_remainderf.c: Likewise.
10922 * math/w_remainderl.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10924 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10925 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10926 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10927 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10928 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10929 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10930 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10932 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10934 * stdio-common/printf_fphex.c: Likewise.
10935 * stdio-common/printf_size.c: Likewise.
10937 * math/e_exp10.c: Include math_private.h using <...> not "...".
10938 * math/e_exp10f.c: Likewise.
10939 * math/e_exp10l.c: Likewise.
10940 * math/e_exp2l.c: Likewise.
10941 * math/e_j0l.c: Likewise.
10942 * math/e_j1l.c: Likewise.
10943 * math/e_jnl.c: Likewise.
10944 * math/e_lgammal_r.c: Likewise.
10945 * math/e_rem_pio2l.c: Likewise.
10946 * math/e_scalb.c: Likewise.
10947 * math/e_scalbf.c: Likewise.
10948 * math/e_scalbl.c: Likewise.
10949 * math/k_cosl.c: Likewise.
10950 * math/k_sinl.c: Likewise.
10951 * math/k_tanl.c: Likewise.
10952 * math/s_cacoshf.c: Likewise.
10953 * math/s_catan.c: Likewise.
10954 * math/s_catanf.c: Likewise.
10955 * math/s_catanh.c: Likewise.
10956 * math/s_catanhf.c: Likewise.
10957 * math/s_catanhl.c: Likewise.
10958 * math/s_catanl.c: Likewise.
10959 * math/s_ccosh.c: Likewise.
10960 * math/s_ccoshf.c: Likewise.
10961 * math/s_ccoshl.c: Likewise.
10962 * math/s_cexp.c: Likewise.
10963 * math/s_cexpf.c: Likewise.
10964 * math/s_cexpl.c: Likewise.
10965 * math/s_clog.c: Likewise.
10966 * math/s_clog10.c: Likewise.
10967 * math/s_clog10f.c: Likewise.
10968 * math/s_clog10l.c: Likewise.
10969 * math/s_clogf.c: Likewise.
10970 * math/s_clogl.c: Likewise.
10971 * math/s_csin.c: Likewise.
10972 * math/s_csinf.c: Likewise.
10973 * math/s_csinh.c: Likewise.
10974 * math/s_csinhf.c: Likewise.
10975 * math/s_csinhl.c: Likewise.
10976 * math/s_csinl.c: Likewise.
10977 * math/s_csqrt.c: Likewise.
10978 * math/s_csqrtf.c: Likewise.
10979 * math/s_csqrtl.c: Likewise.
10980 * math/s_ctan.c: Likewise.
10981 * math/s_ctanf.c: Likewise.
10982 * math/s_ctanh.c: Likewise.
10983 * math/s_ctanhf.c: Likewise.
10984 * math/s_ctanhl.c: Likewise.
10985 * math/s_ctanl.c: Likewise.
10986 * math/s_ldexp.c: Likewise.
10987 * math/s_ldexpf.c: Likewise.
10988 * math/s_ldexpl.c: Likewise.
10989 * math/s_significand.c: Likewise.
10990 * math/s_significandf.c: Likewise.
10991 * math/s_significandl.c: Likewise.
10992 * math/w_acos.c: Likewise.
10993 * math/w_acosf.c: Likewise.
10994 * math/w_acosh.c: Likewise.
10995 * math/w_acoshf.c: Likewise.
10996 * math/w_acoshl.c: Likewise.
10997 * math/w_acosl.c: Likewise.
10998 * math/w_asin.c: Likewise.
10999 * math/w_asinf.c: Likewise.
11000 * math/w_asinl.c: Likewise.
11001 * math/w_atan2.c: Likewise.
11002 * math/w_atan2f.c: Likewise.
11003 * math/w_atan2l.c: Likewise.
11004 * math/w_atanh.c: Likewise.
11005 * math/w_atanhf.c: Likewise.
11006 * math/w_atanhl.c: Likewise.
11007 * math/w_cosh.c: Likewise.
11008 * math/w_coshf.c: Likewise.
11009 * math/w_coshl.c: Likewise.
11010 * math/w_dremf.c: Likewise.
11011 * math/w_exp10.c: Likewise.
11012 * math/w_exp10f.c: Likewise.
11013 * math/w_exp10l.c: Likewise.
11014 * math/w_exp2.c: Likewise.
11015 * math/w_exp2f.c: Likewise.
11016 * math/w_fmod.c: Likewise.
11017 * math/w_fmodf.c: Likewise.
11018 * math/w_fmodl.c: Likewise.
11019 * math/w_hypot.c: Likewise.
11020 * math/w_hypotf.c: Likewise.
11021 * math/w_hypotl.c: Likewise.
11022 * math/w_j0.c: Likewise.
11023 * math/w_j0f.c: Likewise.
11024 * math/w_j0l.c: Likewise.
11025 * math/w_j1.c: Likewise.
11026 * math/w_j1f.c: Likewise.
11027 * math/w_j1l.c: Likewise.
11028 * math/w_jn.c: Likewise.
11029 * math/w_jnf.c: Likewise.
11030 * math/w_jnl.c: Likewise.
11031 * math/w_lgamma.c: Likewise.
11032 * math/w_lgamma_r.c: Likewise.
11033 * math/w_lgammaf.c: Likewise.
11034 * math/w_lgammaf_r.c: Likewise.
11035 * math/w_lgammal.c: Likewise.
11036 * math/w_lgammal_r.c: Likewise.
11037 * math/w_log.c: Likewise.
11038 * math/w_log10.c: Likewise.
11039 * math/w_log10f.c: Likewise.
11040 * math/w_log10l.c: Likewise.
11041 * math/w_log2.c: Likewise.
11042 * math/w_log2f.c: Likewise.
11043 * math/w_log2l.c: Likewise.
11044 * math/w_logf.c: Likewise.
11045 * math/w_logl.c: Likewise.
11046 * math/w_pow.c: Likewise.
11047 * math/w_powf.c: Likewise.
11048 * math/w_powl.c: Likewise.
11049 * math/w_remainder.c: Likewise.
11050 * math/w_remainderf.c: Likewise.
11051 * math/w_remainderl.c: Likewise.
11052 * math/w_scalb.c: Likewise.
11053 * math/w_scalbf.c: Likewise.
11054 * math/w_scalbl.c: Likewise.
11055 * math/w_sinh.c: Likewise.
11056 * math/w_sinhf.c: Likewise.
11057 * math/w_sinhl.c: Likewise.
11058 * math/w_sqrt.c: Likewise.
11059 * math/w_sqrtf.c: Likewise.
11060 * math/w_sqrtl.c: Likewise.
11061 * math/w_tgamma.c: Likewise.
11062 * math/w_tgammaf.c: Likewise.
11063 * math/w_tgammal.c: Likewise.
11065 * po/ja.po: Update from translation team.
11067 2011-09-29 Andreas Jaeger <aj@suse.de>
11070 * sunrpc/netname.c (netname2host): Fix logic.
11074 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11076 * math/w_remainder.c (__remainder): Likewise.
11077 * math/w_remainderf.c (__remainderf): Likewise.
11078 * math/libm-test.inc (remainder_test): Add test cases.
11080 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11082 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11085 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11087 * string/test-memcmp.c: Avoid unncessary #defines.
11088 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11090 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11092 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11093 Use new sse2 version for core i3 - i7 as it's faster
11094 than sse42 version.
11095 (bit_Prefer_PMINUB_for_stringop): New.
11096 * sysdeps/x86_64/rawmemchr.S: Update.
11097 Replace with faster SSE2 version.
11098 * sysdeps/x86_64/memrchr.S: New file.
11099 * sysdeps/x86_64/memchr.S: Update.
11100 Replace with faster SSE2 version.
11102 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11104 * elf/dl-load.c (lose): Add cast to avoid warning.
11106 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11108 * po/ca.po: Update from translation team.
11110 * inet/getnetgrent_r.c: Hook up nscd.
11111 * nscd/Makefile (routines): Add nscd_netgroup.
11112 (nscd-modules): Add netgroupcache.
11113 (CFLAGS-netgroupcache.c): Define.
11114 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11115 (cache_search): Add const to second parameter.
11116 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11118 (dbs): Add netgrdb entry.
11119 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11120 (verify_persistent_db): Handle netgrdb.
11121 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11122 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11124 (netgroup_response_header): Define.
11125 (innetgroup_response_header): Define.
11126 (datahead): Add netgroup_response_header and innetgroup_response_header
11128 * nscd/nscd.conf: Add entries for netgroup cache.
11129 * nscd/nscd.h (dbtype): Add netgrdb.
11130 (_PATH_NSCD_NETGROUP_DB): Define.
11131 (netgroup_iov_disabled): Declare.
11132 (xmalloc, xcalloc, xrealloc): Move declarations here.
11133 (cache_search): Adjust prototype.
11134 Add netgroup-related prototypes.
11135 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11136 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11137 (__nscd_innetgr): Declare.
11138 * nscd/selinux.c (perms): Use access_vector_t as element type and
11139 add netgroup-related initializers.
11140 * nscd/netgroupcache.c: New file.
11141 * nscd/nscd_netgroup.c: New file.
11142 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11143 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11144 For four parameters use innetgr.
11145 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11146 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11147 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11148 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11150 * nscd/connections.c (register_traced_file): Don't register file
11151 for disabled databases.
11153 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11155 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11157 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11158 from tree and freeing node.
11160 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11162 * nss/nsswitch.c (__nss_database_lookup): Handle
11163 nss_parse_service_list out of memory case.
11165 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11167 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11168 out of memory case.
11170 2011-10-04 Andreas Schwab <schwab@redhat.com>
11172 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11173 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11175 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11176 elf_machine_rela, elf_machine_lazy_rel.
11177 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11178 (ELF_DYNAMIC_DO_REL): Likewise.
11179 (ELF_DYNAMIC_DO_RELA): Likewise.
11180 (ELF_DYNAMIC_RELOCATE): Likewise.
11181 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11182 to ELF_DYNAMIC_DO_REL.
11183 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11184 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11185 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11187 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11188 skip_ifunc, don't call ifunc function if non-zero.
11189 (elf_machine_rela): Likewise.
11190 (elf_machine_lazy_rel): Likewise.
11191 (elf_machine_lazy_rela): Likewise.
11192 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11193 (elf_machine_lazy_rel): Likewise.
11194 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11196 (elf_machine_lazy_rel): Likewise.
11197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11199 (elf_machine_lazy_rel): Likewise.
11200 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11201 (elf_machine_lazy_rel): Likewise.
11202 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11203 (elf_machine_lazy_rel): Likewise.
11204 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11205 (elf_machine_lazy_rel): Likewise.
11206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11207 (elf_machine_lazy_rel): Likewise.
11208 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11209 (elf_machine_lazy_rel): Likewise.
11210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11211 (elf_machine_lazy_rel): Likewise.
11213 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11215 * nss/nss_files/files-init.c (_nss_files_init): Use static
11216 initialization for all the *_traced_file variables.
11218 2011-09-28 Andreas Schwab <schwab@redhat.com>
11220 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11222 2011-09-27 Roland McGrath <roland@hack.frob.com>
11225 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11227 2011-09-27 Andreas Schwab <schwab@redhat.com>
11229 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11230 Reread the line before reparsing it.
11232 2011-09-26 Andreas Schwab <schwab@redhat.com>
11234 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11236 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11237 Maxim Kuvyrkov <maxim@codesourcery.com>
11238 Joseph Myers <joseph@codesourcery.com>
11240 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11241 if needed for __stack_chk_guard.
11243 2011-09-19 Roland McGrath <roland@hack.frob.com>
11245 * sysdeps/posix/spawni.c (script_execute): Always define it.
11246 It will be optimized away if unused.
11247 (maybe_script_execute): New function.
11248 (__spawni): Call it.
11250 * Makerules: Don't include tls.make.
11251 (config-tls): Always set to thread.
11252 * tls.make.c: File removed.
11254 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11256 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11257 * config.make.in (CPPFLAGS-config): New substituted variable.
11259 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11261 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11264 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11265 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11267 2011-09-15 Roland McGrath <roland@hack.frob.com>
11269 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11270 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11272 (CALL_FAIL): Likewise.
11273 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11274 (CALL_FAIL): Macro removed.
11275 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11277 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11279 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11280 for __FINITE_MATH_ONLY__ == 1.
11282 2011-09-15 Andreas Schwab <schwab@redhat.com>
11284 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11285 __ieee754_sqrt instead of sqrt.
11286 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11287 __ieee754_sqrtf instead of sqrtf.
11288 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11289 __floorf instead of floorf.
11290 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11291 __floorf, __truncf instead of floorf, truncf.
11293 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11295 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11297 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11298 __extern_always_inline.
11299 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11302 2011-09-14 Andreas Schwab <schwab@redhat.com>
11304 * elf/rtld.c (dl_main): Also relocate in dependency order when
11305 doing symbol dependency testing.
11307 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11309 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11310 Always define `refsym'.
11312 2011-09-13 Andreas Schwab <schwab@redhat.com>
11314 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11315 (__FD_ELT): Renamed from __FDELT.
11316 * misc/bits/select2.h (__FD_ELT): Likewise.
11317 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11318 __FD_MASK instead of __FDELT, __FDMASK.
11319 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11321 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11324 * elf/Makefile (gen-ldd): Fix pattern.
11326 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11327 (init_tls): Likewise.
11329 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11331 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11333 2011-09-12 Andreas Schwab <schwab@redhat.com>
11335 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11336 `struct cmsghdr *' instead of `void *'.
11337 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11340 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11342 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11344 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11345 ldd_rewrite_script.
11347 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11349 * configure.in: Remove --with-tls option.
11350 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11351 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11352 out in case it is missing.
11353 * sysdeps/ia64/elf/configure.in: Likewise.
11354 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11355 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11356 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11357 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11358 * sysdeps/sh/elf/configure.in: Likewise.
11359 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11360 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11361 * sysdeps/x86_64/elf/configure.in: Likewise.
11362 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11363 * sysdeps/mach/hurd/tls.h: Likewise.
11366 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11369 * configure.in: Fix use of AC_INIT.
11371 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11373 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11375 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11377 * malloc/hooks.c: Likewise.
11380 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11381 variables statically.
11382 (narenas): Initialize.
11383 (list_lock): Initialize.
11384 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11385 initializtion of main_arena and list_lock. Small cleanups.
11386 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11387 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11388 Add initializers to main_arena and mp_.
11389 (malloc_state): Remove pagesize member. Change all users to use
11392 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11393 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11394 is always initialized.
11396 * malloc/malloc.c: Removed unused configurations and dead code.
11397 * malloc/arena.c: Likewise.
11398 * malloc/hooks.c: Likewise.
11399 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11401 * include/tls.h: Removed. USE___THREAD must always be defined.
11402 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11403 * elf/dl-libc.c: Likewise.
11404 * elf/dl-tsd.c: Likewise.
11405 * include/errno.h: Likewise.
11406 * include/netdb.h: Likewise.
11407 * include/resolv.h: Likewise.
11408 * inet/herrno-loc.c: Likewise.
11409 * inet/herrno.c: Likewise.
11410 * malloc/arena.c: Likewise.
11411 * malloc/hooks.c: Likewise.
11412 * malloc/malloc.c: Likewise.
11413 * resolv/res-state.c: Likewise.
11414 * resolv/res_libc.c: Likewise.
11415 * sysdeps/i386/dl-machine.h: Likewise.
11416 * sysdeps/ia64/dl-machine.h: Likewise.
11417 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11418 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11419 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11420 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11421 * sysdeps/sh/dl-machine.h: Likewise.
11422 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11423 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11424 * sysdeps/unix/i386/sysdep.S: Likewise.
11425 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11426 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11428 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11431 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11432 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11435 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11436 * sysdeps/x86_64/dl-machine.h: Likewise.
11437 * tls.make.c: Likewise.
11439 * configure.in: Remove --with-__thread option. Make tests for
11440 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11441 tls_model attribute fail if no support is available. Remove
11443 * Makeconfig: Adjust for dropped configure option. All features are
11445 * Makerules: Likewise.
11446 * Versions.def: Likewise.
11447 * argp/argp-fmtstream.c: Likewise.
11448 * argp/argp-fmtstream.h: Likewise.
11449 * argp/argp-help.c: Likewise.
11450 * assert/assert.c: Likewise.
11451 * config.h.in: Likewise.
11452 * config.make.in: Likewise.
11453 * configure: Likewise.
11454 * configure.in: Likewise.
11455 * csu/Versions: Likewise.
11456 * csu/init.c: Likewise.
11457 * elf/tst-audit2.c: Likewise.
11458 * elf/tst-tls10.c: Likewise.
11459 * elf/tst-tls10.h: Likewise.
11460 * elf/tst-tls11.c: Likewise.
11461 * elf/tst-tls12.c: Likewise.
11462 * elf/tst-tls14.c: Likewise.
11463 * elf/tst-tlsmod11.c: Likewise.
11464 * elf/tst-tlsmod12.c: Likewise.
11465 * elf/tst-tlsmod13.c: Likewise.
11466 * elf/tst-tlsmod13a.c: Likewise.
11467 * elf/tst-tlsmod14a.c: Likewise.
11468 * elf/tst-tlsmod15b.c: Likewise.
11469 * elf/tst-tlsmod16a.c: Likewise.
11470 * elf/tst-tlsmod16b.c: Likewise.
11471 * elf/tst-tlsmod7.c: Likewise.
11472 * elf/tst-tlsmod8.c: Likewise.
11473 * elf/tst-tlsmod9.c: Likewise.
11474 * gmon/gmon.c: Likewise.
11475 * grp/fgetgrent_r.c: Likewise.
11476 * grp/putgrent.c: Likewise.
11477 * hurd/fopenport.c: Likewise.
11478 * include/libc-symbols.h: Likewise.
11479 * include/tls.h: Likewise.
11480 * intl/gettextP.h: Likewise.
11481 * intl/loadinfo.h: Likewise.
11482 * locale/global-locale.c: Likewise.
11483 * locale/localeinfo.h: Likewise.
11484 * mach/devstream.c: Likewise.
11485 * malloc/arena.c: Likewise.
11486 * malloc/set-freeres.c: Likewise.
11487 * misc/err.c: Likewise.
11488 * misc/getttyent.c: Likewise.
11489 * misc/mntent_r.c: Likewise.
11490 * posix/getopt.c: Likewise.
11491 * posix/wordexp.c: Likewise.
11492 * pwd/fgetpwent_r.c: Likewise.
11493 * resolv/Versions: Likewise.
11494 * resolv/res_hconf.c: Likewise.
11495 * shadow/fgetspent_r.c: Likewise.
11496 * shadow/putspent.c: Likewise.
11497 * stdio-common/printf_fphex.c: Likewise.
11498 * stdio-common/tmpfile.c: Likewise.
11499 * stdlib/abort.c: Likewise.
11500 * stdlib/fmtmsg.c: Likewise.
11501 * sunrpc/auth_unix.c: Likewise.
11502 * sunrpc/clnt_perr.c: Likewise.
11503 * sunrpc/clnt_tcp.c: Likewise.
11504 * sunrpc/clnt_udp.c: Likewise.
11505 * sunrpc/clnt_unix.c: Likewise.
11506 * sunrpc/openchild.c: Likewise.
11507 * sunrpc/svc_simple.c: Likewise.
11508 * sunrpc/svc_tcp.c: Likewise.
11509 * sunrpc/svc_udp.c: Likewise.
11510 * sunrpc/svc_unix.c: Likewise.
11511 * sunrpc/xdr.c: Likewise.
11512 * sunrpc/xdr_array.c: Likewise.
11513 * sunrpc/xdr_rec.c: Likewise.
11514 * sunrpc/xdr_ref.c: Likewise.
11515 * sunrpc/xdr_stdio.c: Likewise.
11517 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11519 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11521 2011-07-03 Andreas Jaeger <aj@suse.de>
11523 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11524 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11525 regenerate with gen-libm-tests.pl.
11527 2010-05-12 Petr Baudis <pasky@suse.cz>
11530 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11531 around j0() zero points by switching to j1().
11532 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11537 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11539 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11541 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11544 Patch in part by Pavel Roskin <proski@gnu.org>.
11547 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11549 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11550 Free memory block if necessary.
11553 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11554 be NULL. Don't lock in this case.
11556 2011-09-09 Roland McGrath <roland@hack.frob.com>
11558 * elf/elf.h (ELFOSABI_GNU): New macro.
11559 (ELFOSABI_LINUX): Define to that.
11561 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11563 * string/strncat.c (strncat): Undef the symbol in case it has been
11564 defined in bits/string.h.
11566 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11568 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11570 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11573 2011-08-17 Andreas Jaeger <aj@suse.de>
11575 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11577 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11578 Ian Lance Taylor <iant@google.com>
11580 * math/libm-test.inc (lround_test): New testcase.
11581 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11583 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11585 * Makefile: Remove support for automatic cvs check-ins.
11586 * Makerules: Likewise.
11587 * config.make.in: Likewise.
11588 * configure.in: Likewise.
11589 * intl/Makefile: Likewise.
11590 * locale/Makefile: Likewise.
11591 * po/Makefile: Likewise.
11592 * posix/Makefile: Likewise.
11593 * sysdeps/gnu/Makefile: Likewise.
11594 * sysdeps/mach/hurd/Makefile: Likewise.
11595 * sysdeps/sparc/sparc32/Makefile: Likewise.
11598 * posix/Makefile (bug-regex32-ENV): Define.
11599 Patch by John Stanley <jpsinthemix@verizon.net>.
11601 * misc/Makefile (headers): Add bits/select2.h.
11602 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11603 * misc/bits/select2.h: New file.
11604 * include/bits/select2.h: New file.
11605 * debug/Makefile (routines): Add fdelt_chk.
11606 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11607 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11609 * debug/fdelt_chk.c: New file.
11611 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11612 * wcsmbs/test-wmemcmp.c: Likewise.
11613 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11614 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11616 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11618 * string/Makefile (strop-tests): Add memcmp.
11619 * string/test-wmemcmp.c: New file.
11620 * string/test-memcmp.c: Add wmemcmp support.
11622 2011-09-08 Roland McGrath <roland@hack.frob.com>
11625 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11628 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11629 garbage value in a __mach_port_mod_refs call in the cases of the
11630 task-self and thread-self ports.
11632 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11634 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11636 2011-09-08 Andreas Schwab <schwab@redhat.com>
11638 * elf/dl-load.c (lose): Check for non-null L.
11640 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11642 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11644 * elf/dl-libc.c (dlerror_run): Pass back error code from
11648 * elf/dl-load.c (lose): Free l_origin if it is valid.
11650 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11652 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11653 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11654 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11655 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11656 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11657 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11659 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11661 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11662 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11663 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11664 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11665 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11666 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11667 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11668 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11669 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11670 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11672 2011-08-15 Alan Modra <amodra@gmail.com>
11675 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11676 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11677 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11678 ppc_mcount to static-only-routines.
11679 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11681 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11682 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11684 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11686 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11687 for finite and infinity parameters.
11689 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11692 and add nop instructions for throughput optimization.
11693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11695 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11697 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11698 aligned copy for power7 with vector-scalar instructions.
11699 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11701 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11706 2011-09-07 Andreas Schwab <schwab@redhat.com>
11709 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11712 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11714 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11715 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11716 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11717 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11720 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11722 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11723 Forgot to demangle the pointer.
11725 * sysdeps/i386/sysdep.h: Define atom_text_section.
11726 * sysdeps/x86_64/sysdep.h: Likewise.
11727 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11728 section with atom_text_section.
11729 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11730 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11731 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11732 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11733 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11735 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11736 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11737 already be defined. Change to take two parameters and don't assign
11738 result to variable. Adjust all users.
11739 Define INTERNAL_GETTIME if not already defined.
11740 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11743 HAVE_CLOCK_GETTIME_VSYSCALL.
11744 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11746 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11747 gettimeofday vsyscall, just use time.
11749 2011-09-06 Andreas Schwab <schwab@redhat.com>
11751 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11754 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11756 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11758 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11760 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11761 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11762 syscall if possible.
11764 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11766 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11767 e_ident. Don't pass to find_mapsXX.
11768 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11770 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11773 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11774 * sysdeps/x86_64/multiarch/strchr.S: Update.
11775 Check bit_slow_BSF bit.
11776 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11777 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11778 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11780 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11783 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11785 (tryshell): Define.
11786 (__spawni): Change last parameter to be flag. Test
11787 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11788 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11789 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11790 * posix/spawni.c: Likewise.
11791 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11792 * posix/spawnp.c: Likewise. Change normal version to use
11793 SPAWN_XFLAGS_USE_PATH.
11794 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11795 SPAWN_XFLAGS_TRY_SHELL.
11798 * posix/glob.h: Remove gcc 1.x support.
11801 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11803 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11806 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11808 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11809 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11810 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11811 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11812 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11813 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11815 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11817 * sysdeps/x86_64/wcscmp.S: New file.
11819 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11820 wcscmp-c wcscmp-sse2
11821 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11822 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11823 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11824 * wcsmbs/wcscmp.c: Allow renaming.
11826 2011-09-05 David S. Miller <davem@davemloft.net>
11828 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11829 stack slot, rather than the struct return pointer slot.
11830 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11831 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11833 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11835 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11837 * po/ja.po: Update from translation team.
11840 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11841 kernel in 64-bit binaries.
11843 2011-09-01 David S. Miller <davem@davemloft.net>
11845 * elf/elf.h (HWCAP_SPARC_*): Move to..
11846 * sysdeps/sparc/sysdep.h: this new file and add new values.
11847 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11848 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11849 _DL_HWCAP_COUNT to 24.
11850 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11852 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11853 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11854 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11856 instead of magic constants.
11857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11859 2011-08-31 David S. Miller <davem@davemloft.net>
11861 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11863 Reimplement to do errno handling inline.
11864 (SYSCALL_ERROR_HANDLER): New macro.
11865 (__SYSCALL_STRING): Do not do errno handling in asm.
11866 (__CLONE_SYSCALL_STRING): Delete.
11867 (__INTERNAL_SYSCALL_STRING): Delete.
11868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11869 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11870 (PSEUDO): Reimplement to do errno handling inline.
11871 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11872 (SYSCALL_ERROR_HANDLER): New macro.
11873 (__SYSCALL_STRING): Do not do errno handling in asm.
11874 (__CLONE_SYSCALL_STRING): Delete.
11875 (__INTERNAL_SYSCALL_STRING): Delete.
11876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11877 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11879 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11880 (inline_syscall*): Add 'err' argument.
11881 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11882 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11883 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11884 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11886 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11887 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11889 2011-08-30 Andreas Schwab <schwab@redhat.com>
11891 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11893 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11895 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11898 2011-08-24 David S. Miller <davem@davemloft.net>
11900 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11902 2011-08-24 Andreas Schwab <schwab@redhat.com>
11904 * elf/Makefile: Add rules to build and run unload8 test.
11905 * elf/unload8.c: New file.
11906 * elf/unload8mod1.c: New file.
11907 * elf/unload8mod1x.c: New file.
11908 * elf/unload8mod2.c: New file.
11909 * elf/unload8mod3.c: New file.
11911 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11914 2011-08-23 David S. Miller <davem@davemloft.net>
11916 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11917 subtract stack bias.
11918 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11919 %sp not %fp in calculations.
11920 (_JMPBUF_UNWINDS_ADJ): Likewise.
11922 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11923 (aio_suspend): Call it to force an exception region around the
11924 AIO_MISC_WAIT() invocation.
11926 2011-08-23 Andreas Schwab <schwab@redhat.com>
11928 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11931 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11933 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11935 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11936 and <dl-machine.h>.
11937 (Elf64_FuncDesc): Remove.
11939 2011-08-22 David S. Miller <davem@davemloft.net>
11941 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11942 sigaltstack check, add missing cfi directives.
11943 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11944 missing cfi directives, and sigaltstack handling.
11946 2011-08-16 Andreas Schwab <schwab@redhat.com>
11949 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11950 object is seen twice.
11951 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11953 * elf/Makefile (distribute): Add tst-initorder2.c.
11954 (tests): Add tst-initorder2.
11955 (modules-names): Add tst-initorder2a tst-initorder2b
11956 tst-initorder2c tst-initorder2d. Add rules to build them.
11957 ($(objpfx)tst-initorder2.out): New rule.
11958 * elf/tst-initorder2.c: New file.
11959 * elf/tst-initorder2.exp: New file.
11961 2011-08-22 Andreas Schwab <schwab@redhat.com>
11963 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11965 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11966 dependencies back to end of function.
11968 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11969 $(elfobjdir)/ld.so.
11971 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11973 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11974 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11975 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11976 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11977 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11978 of __vdso_gettimeofday.
11979 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11980 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11982 (_libc_vdso_platform_setup): Remove initialization of
11983 __vdso_gettimeofday and __vdso_time.
11985 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11987 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11988 and fgetc_unlocked.
11989 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11992 * elf/dl-open.c (add_to_global): Report additions to the global scope
11993 for LD_DEBUG=scopes.
11994 (dl_open_worker): Also print scope of newly loaded dependencies.
11995 (_dl_show_scope): Indicate if there is no scope.
11998 * stdio-common/Makefile (tests): Add bug24.
11999 * stdio-common/bug24.c: New file.
12001 2011-08-19 Andreas Jaeger <aj@suse.de>
12004 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12005 non-existant file when using close-on-exec mode.
12007 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12010 the very first instruction.
12012 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12013 the CFI state in the end.
12014 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12015 inclusion of dl-trampoline.h.
12016 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12018 2011-08-19 Andreas Schwab <schwab@redhat.com>
12020 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12021 expectations for long double.
12023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12024 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12026 2011-08-14 David S. Miller <davem@davemloft.net>
12028 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12029 artificual limit depends upon the system page size.
12031 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12033 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12034 * resolv/Makefile: Define CFLAGS-libresolv.
12036 2011-08-17 Andreas Schwab <schwab@redhat.com>
12038 * nss/makedb.c (compute_tables): Make variables used in nested
12041 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12043 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12044 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12045 if buffer was too small.
12047 * elf/pldd.c (main): Attach to all threads in the process.
12048 Rewrite /proc handling to use *at functions.
12050 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12052 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12053 specifies first scope to show.
12054 (dl_open_worker): Update callers. Move printing scope of new
12055 object to before the relocation.
12056 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12057 * sysdeps/generic/ldsodefs.h: Update declaration.
12059 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12060 string for the scope number.
12062 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12064 * nscd/servicescache.c (cache_addserv): Make sure written is always
12067 2011-08-14 Roland McGrath <roland@hack.frob.com>
12069 * sysdeps/i386/i486/bits/atomic.h
12070 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12071 statement expression, so as to suppress "set but not used" warning.
12072 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12074 * string/strncat.c (STRNCAT): Use prototype definition.
12076 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12077 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12079 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12080 (localedef-modules): Add localedef.
12081 (locale-modules): Add locale.
12083 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12084 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12085 to avoid a warning.
12087 2011-08-14 David S. Miller <davem@davemloft.net>
12089 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12090 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12092 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12094 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12095 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12096 * elf/rtld.c (dl_main): Set l_name of vDSO.
12097 Call _dl_show_scope when DL_DEBUG_SCOPES.
12098 (process_dl_debug): Recognize scopes flag and also set it for all.
12099 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12100 Declare _dl_show_scope.
12102 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12103 (do_dlopen): Pass caller_dlopen to dl_open.
12104 (__libc_dlopen_mode): Initialize caller_dlopen.
12106 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12107 of libc. Make tolower call locale-independent. Optimize a bit by
12108 using isdigit instead of isalnum.
12109 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12111 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12113 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12114 was a dependency or dynamically loaded.
12116 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12118 * intl/l10nflist.c: Allow architecture-specific pop function.
12119 * sysdeps/x86_64/l10nflist.c: New file.
12121 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12124 2011-08-10 Andreas Schwab <schwab@redhat.com>
12126 * include/dirent.h: Add libc_hidden_proto for scandirat and
12127 scandirat64. Don't declare __scandirat64.
12128 * dirent/scandirat.c: Add libc_hidden_def.
12129 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12130 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12132 2011-08-10 David S. Miller <davem@davemloft.net>
12134 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12136 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12138 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12140 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12142 * Versions.def [libc]: Add GLIBC_2.15.
12143 * dirent/Makefile (routines): Add scandirat and scandirat64.
12144 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12146 * dirent/dirent.h: Declare scandirat and scandirat64.
12147 * dirent/scandirat.c: New file.
12148 * dirent/scandirat64.c: New file.
12149 * sysdeps/wordsize-64/scandirat.c: New file.
12150 * sysdeps/wordsize-64/scandirat64.c: New file.
12151 * dirent/opendir.c: Define opendirat.
12152 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12154 * dirent/scandir64.c: Adjust for scandir.c change.
12155 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12156 __scandirat64, and __scandir_cancel_handler.
12157 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12158 additional parameter and use openat instead of open (outside of ld.so).
12159 Add new __opendir as wrapper around __opendirat.
12160 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12161 here without requiring old scandirat implementation.
12163 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12165 * dirent/scandir.c (cancel_handler): Renamed to
12166 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12167 defined. Adjust users.
12168 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12169 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12171 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12173 * string/test-string.h (IMPL): Use __STRING to expand name and then
12176 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12179 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12181 * string/Makefile: Update.
12182 (strop-tests): Append strncat.
12183 * string/test-wcscmp.c: New file.
12184 New comprehensive test for wcscmp.
12185 * string/test-strcmp.c: Update.
12186 (WIDE): New define.
12188 2011-07-22 Andreas Schwab <schwab@redhat.com>
12190 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12193 2011-07-26 Andreas Schwab <schwab@redhat.com>
12195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12196 encoding to ACE if AI_IDN.
12198 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12200 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12201 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12203 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12205 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12206 Fix overflow bug in strncat.
12207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12209 * string/test-strncat.c: Update.
12210 Add new tests for checking overflow bugs.
12212 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12215 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12216 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12217 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12218 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12219 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12220 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12221 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12222 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12224 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12225 (USE_AS_STRCAT): Define.
12226 Add strcat and strncat support.
12227 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12229 2011-07-25 Andreas Schwab <schwab@redhat.com>
12231 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12232 __n bigger than INT_MAX+1.
12233 (__strncmp_g): Likewise.
12235 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12237 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12238 * libio/stido.h: Likewise.
12240 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12242 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12245 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12246 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12247 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12248 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12249 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12252 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12257 (_dl_x86_64_save_sse): Likewise.
12259 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12263 (_dl_x86_64_save_sse): Likewise.
12265 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12267 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12269 2011-07-21 Andreas Schwab <schwab@redhat.com>
12271 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12273 (_dl_x86_64_save_sse): Use correct AVX check.
12275 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12277 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12278 bug in strncpy/strncat.
12279 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12281 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12283 * string/tester.c (test_strcat): Add tests for different alignments
12284 of source and destination.
12285 (test_strncat): Likewise.
12287 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12290 * posix/glob.c (glob): Check passed in values before using them in
12291 expressions to avoid some overflows.
12292 (glob_in_dir): Likewise.
12295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12296 check for AVX enablement so that we don't crash with old kernels and
12298 * elf/tst-audit4.c: Add same checks here.
12299 * elf/tst-audit6.c: Likewise.
12301 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12303 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12305 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12307 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12309 * po/cs.po: Update from translation team.
12310 * po/bg.po: Likewise.
12312 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12314 * misc/sys/cdefs.h: Add support for const attribute.
12315 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12316 to gnu_dev_{major,minor,makedev} functions.
12318 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12320 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12322 2011-07-20 Andreas Schwab <schwab@redhat.com>
12324 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12327 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12329 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12330 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12331 register in order to avoid conflicts with the soft frame pointer
12332 being held in r11 when necessary.
12333 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12334 (INTERNAL_VSYSCALL_NCS): Likewise.
12336 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12338 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12339 * elf/dl-fini.c (_dl_fini): Adjust caller.
12340 * elf/dl-close.c (_dl_close_worker): Likewise.
12341 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12343 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12345 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12346 "aux_cache->nlibs < 0".
12348 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12349 in the reload-count case.
12351 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12354 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12355 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12356 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12357 * sysdeps/x86_64/multiarch/strcat.S: New file.
12358 * sysdeps/x86_64/multiarch/strncat.S: New file.
12359 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12360 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12361 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12362 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12363 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12364 (USE_AS_STRCAT): Define.
12365 Add strcat and strncat support.
12366 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12367 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12368 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12369 * string/strncat.c: Update.
12370 (USE_AS_STRNCAT): Define.
12371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12372 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12374 * sysdeps/x86_64/multiarch/init-arch.h
12375 (bit_Prefer_PMINUB_for_stringop): New.
12376 (index_Prefer_PMINUB_for_stringop): Likewise.
12377 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12378 bit_Prefer_PMINUB_for_stringop.
12380 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12382 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12384 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12385 of casting of buffer.
12386 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12387 buffer32 and buffer64.
12388 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12389 writes instead of casting of buffer.
12390 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12392 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12395 2011-07-19 Andreas Schwab <schwab@redhat.com>
12397 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12399 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12401 * nscd/nscd.c (termination_handler): Don't do anything for a database
12402 if it has not yet been initialized.
12404 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12406 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12408 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12410 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12412 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12414 * po/nl.po: Update from translation team.
12415 * po/sv.po: Likewise.
12417 2011-07-16 Roland McGrath <roland@hack.frob.com>
12419 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12420 now disallowed by GCC.
12422 * configure.in (use-default-link): Default to yes if a test -shared
12423 link meets our qualifications.
12424 * configure: Regenerated.
12426 * config.make.in (output-format): New variable.
12427 * configure.in: Check for ld --print-output-format support.
12428 * configure: Regenerated.
12429 * Makerules ($(common-objpfx)format.lds)
12430 [$(output-format) != unknown]: Just use $(output-format),
12431 instead of the linker-script munging.
12433 2011-07-14 Roland McGrath <roland@hack.frob.com>
12435 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12436 of $(common-objpfx)shlib.lds.
12437 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12439 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12440 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12442 * configure.in (-z relro check): Adjust test code to add a large
12443 writable data section after it.
12444 * configure: Regenerated.
12446 2011-07-11 Roland McGrath <roland@hack.frob.com>
12448 * configure.in (-z relro check): Fix test code to make the variable
12450 * configure: Regenerated.
12452 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12454 * nscd/nscd.h (struct traced_file): Define.
12455 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12456 elements. Add traced_files.
12457 (inotify_fd): Declare.
12458 (register_traced_file): Declare.
12459 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12460 (inotify_fd): Export.
12461 (resolv_conf_descr): Remove.
12462 (nscd_init): Move inotify descriptor creation to main.
12463 Don't register files for notification here.
12464 (register_traced_file): New function.
12465 (invalidate_cache): Don't use reset_res to determine whether to call
12466 res_init, go through the list of registered files.
12467 (main_loop_poll): The inotify descriptors are now stored in the
12468 structures for the traced files.
12469 (main_loop_epoll): Likewise
12470 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12471 to __nss_disable_nscd.
12472 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12473 for a database anymore. Check the records for all the registered
12475 * nss/Makefile (libnss_files-routines): Add files-init.
12476 (libnss_db-routines): Add db-init.
12477 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12478 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12479 * nss/nss_db/db-init.c: New file.
12480 * nss/nss_files/files-init.c: New file.
12481 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12482 __nss_lookup_function.
12483 (__nss_lookup_function): Call nss_load_library.
12484 (nss_load_all_libraries): New function.
12485 (__nss_disable_nscd): Take parameter with callback function for files
12486 to register. Set is_nscd. Load all the DSOs for the NSS modules
12487 used for the cached services.
12488 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12489 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12490 options for features to all the files in nscd.
12492 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12494 2011-07-10 Roland McGrath <roland@hack.frob.com>
12496 * csu/elf-init.c (__libc_csu_init): Comment typo.
12498 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12500 * po/pl.po: Update from translation team.
12501 * po/ja.po: Likewise.
12502 * po/ru.po: Likewise.
12503 * po/ko.po: Likewise.
12504 * po/fr.po: Likewise.
12506 2011-07-09 Roland McGrath <roland@hack.frob.com>
12508 * configure.in (.ctors/.dtors header and trailer check):
12509 Use an empirical test on a built program.
12510 * configure: Regenerated.
12512 * configure.in (-z relro check): Use an empirical test on a built DSO.
12513 Detect, but do not require, on ia64.
12514 * configure: Regenerated.
12516 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12517 Update tests that use readelf to use $READELF instead.
12518 * configure: Regenerated.
12520 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12522 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12523 if the result is not used.
12525 2011-07-05 Andreas Jaeger <aj@suse.de>
12528 * stdlib/tst-strtod.c: Add testcase.
12530 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12532 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12533 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12534 The latter has a higher limit. Take additional parameter to pass to
12536 (__pathconf): Pass file to __statfs_link_max.
12537 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12539 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12543 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12544 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12546 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12547 (__statfs_filesize_max): Likewise.
12548 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12550 2011-07-05 Andreas Jaeger <aj@suse.de>
12552 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12554 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12556 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12558 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12561 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12563 * Makefile (strop-tests): Add strncat.
12564 * string/test-strncat.c: New file.
12566 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12568 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12570 2011-06-21 Andreas Jaeger <aj@suse.de>
12572 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12573 Copy rule from iconvdata/Makefile.
12575 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12578 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12579 but no long options are defined, just return 'W'.
12581 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12584 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12586 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12588 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12590 (innetgr): Likewise.
12592 2011-07-05 Roland McGrath <roland@hack.frob.com>
12594 * config.make.in (install_root): Default to $(DESTDIR).
12596 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12598 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12600 2011-07-02 Roland McGrath <roland@hack.frob.com>
12602 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12604 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12605 containing directory rather than embedding absolute directory names.
12607 * scripts/check-local-headers.sh: Rewritten using awk.
12608 Match by word, not by line. Print error messages for matches.
12609 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12611 * Makerules [shlib-lds-flags empty]:
12612 ($(common-objpfx)libc_pic.opts): New target.
12613 ($(common-objpfx)libc_pic.os.clean): New target.
12614 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12616 * config.make.in (OBJCOPY): New variable.
12617 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12618 * configure: Regenerated.
12620 * config.make.in (use-default-link): New variable.
12621 * configure.in (use_default_link): Grok --with-default-link to set it.
12622 * configure: Regenerated.
12623 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12624 (shlib-lds, shlib-lds-flags): Define to empty.
12626 * Makerules (shlib-lds): New variable.
12627 (shlib-lds-flags): New variable.
12628 (build-shlib, build-moduile, build-module-asneeded): Use it.
12629 ($(common-objpfx)libc.so): Use $(shlib-lds).
12630 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12631 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12633 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12634 DT_FLAGS/DT_FLAGS_1 with zero flags.
12636 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12637 linker script munging.
12639 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12641 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12643 * crypt/sha512.c (sha512_process_block): Perform total addition using
12644 128-bit if possible.
12645 (__sha512_finish_ctx): Likewise.
12646 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12648 * crypt/sha256.c (SWAP64): Define.
12649 (sha256_process_block): Perform total addition using 64-bit if
12651 (__sha256_finish_ctx): Likewise.
12653 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12655 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12656 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12657 * nscd/hstcache.c (cache_addhst): Likewise.
12658 * nscd/grpcache.c (cache_addgr): Likewise.
12659 * nscd/aicache.c (addhstaiX): Likewise
12660 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12662 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12664 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12665 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12666 * nscd/hstcache.c (cache_addhst): Likewise.
12667 * nscd/grpcache.c (cache_addgr): Likewise.
12668 * nscd/aicache.c (addhstaiX): Likewise
12670 2011-07-01 Andreas Schwab <schwab@redhat.com>
12672 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12673 domain only when needed.
12675 2011-06-30 Andreas Schwab <schwab@redhat.com>
12677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12678 is always restored.
12680 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12682 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12683 are re-adding the entry.
12684 * nscd/servicescache.c (cache_addserv): Likewise.
12686 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12688 * sysdeps/generic/dl-irel.h: fix protection against multiple
12690 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12692 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12695 * malloc/memusage.sh: Fix quoting in message.
12696 * debug/xtrace.sh: Likewise.
12698 * configure.in: Remove support for --experimental-malloc option, make
12700 * config.make.in: Likewise.
12701 * malloc/Makefile: Likewise.
12703 2011-06-27 Andreas Schwab <schwab@redhat.com>
12705 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12706 two-byte characters.
12708 2011-06-27 Roland McGrath <roland@hack.frob.com>
12710 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12711 AC_CACHE_CHECK invocation.
12712 * configure: Regenerated.
12714 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12716 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12719 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12720 bit from old_res_options.
12722 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12724 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12725 value type for setfct.
12727 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12729 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12730 __gettimeofday instead of gettimeofday.
12732 2011-06-26 Ulrich Drepper <drepper@gmail.com>
12734 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12736 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12738 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12743 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12746 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12747 strcpy-sse2-unaligned strncpy-sse2-unaligned
12748 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12749 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12750 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12751 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12752 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12753 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12754 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12755 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12756 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12757 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12758 (STRCPY): Support SSE2 and SSSE3 versions.
12760 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12763 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12764 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12765 kernels which artificially limit size of requests.
12767 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12770 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12771 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12772 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12773 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12774 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12775 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12776 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12777 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12778 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12779 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12780 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12781 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12782 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12783 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12785 Enable unaligned load optimization for Intel Core i3, i5 and i7
12787 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12789 (index_Fast_Unaligned_Load): Define.
12790 (HAS_FAST_UNALIGNED_LOAD): Define.
12792 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12794 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12796 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12799 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12800 until it is clear that the information is realy needed.
12801 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12803 2011-06-22 Andreas Schwab <schwab@redhat.com>
12805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12807 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12809 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12810 /sys/devices/system/cpu/online if it is usable.
12812 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12813 reading the information from the /proc filesystem to once a second.
12815 2011-06-21 Andreas Jaeger <aj@suse.de>
12817 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12818 NULL after inclusion of kernel headers.
12820 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12822 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12823 calls to internal_setent.
12826 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12827 addresses using gethostbyname4_r ignore IPv4 addresses.
12829 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12830 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12832 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12834 2011-06-20 David S. Miller <davem@davemloft.net>
12836 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12838 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12840 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12841 (elf_irel): Use it.
12842 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12843 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12844 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12845 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12846 * sysdeps/x86_64/dl-irel.h: Likewise.
12848 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12849 * elf/dl-sym.c: Likewise.
12851 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12853 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12854 need to dereference resplen2.
12856 2011-06-14 Andreas Schwab <schwab@redhat.com>
12858 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12860 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12862 * Makeconfig: Define vardbdir and inst_vardbdir.
12863 * nss/Makefile: Add rules to install db-Makefile.
12865 * nss/nss_db/db-XXX.c: Cleanup.
12867 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12868 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12870 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12871 * nss/makedb.c: Implement -g option to specify that value strings
12872 are generated and should not be added to table iterated over for
12874 * nss/nss_db/db-initgroups.c: New file.
12876 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12879 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12880 (internal_getgrouplist): Adjust to name change.
12881 Update use_initgroups_entry if this is not the first call.
12882 * nss/databases.def: Add initgroups entry.
12884 * nss/makedb.c (compute_tables): Check result of multiple hash table
12885 sizes to minimize maximum chain length.
12887 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12889 * Versions.def: Add entry for libnss_db.
12890 * shlib-versions: Likewise.
12891 * nss/Makefile: Add rules to build libnss_db.
12892 * nss/Versions: Add libnss_db information. Organize libnss_files
12894 * nss/db-Makefile: Add gshadow support. Change rules for the new
12895 makedb progra. Some minor improvements to generate smaller files.
12896 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12898 * nss/makedb.c: ...here.
12899 Improve database format to be smaller and require less memory at
12901 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12903 * nss/nss_db/db-netgrp.c: Likewise.
12904 * nss/nss_db/db-open.c: Likewise.
12905 * nss/nss_files/flies-XXX.x: Adjust comments.
12906 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12907 * nss/nss_files/files-grp.c: Likewise.
12908 * nss/nss_files/files-hosts.c: Likewise.
12909 * nss/nss_files/files-network.c: Likewise.
12910 * nss/nss_files/files-proto.c: Likewise.
12911 * nss/nss_files/files-pwd.c: Likewise.
12912 * nss/nss_files/files-rpc.c: Likewise.
12913 * nss/nss_files/files-service.c: Likewise.
12914 * nss/nss_files/files-sgrp.c: Likewise.
12915 * nss/nss_files/files-spwd.c: Likewise.
12916 * nss/nss_db/db-alias.c: Removed.
12917 * nss/nss_db/dummy-db.h: Removed.
12919 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12921 * nss/makedb.c: Rewritten to not use database library.
12922 * nss/Makefile: Update to build new makedb program.
12924 2011-06-14 Andreas Jaeger <aj@suse.de>
12926 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12927 memset declaration.
12929 2011-06-10 Andreas Schwab <schwab@redhat.com>
12931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12934 2011-06-10 Roland McGrath <roland@hack.frob.com>
12936 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12937 * elf/Makefile ($(objpfx)ld.so): Likewise.
12939 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12940 Don't list ld.so twice in dependencies.
12942 * posix/bug-regex31.c: Include <stdlib.h>.
12944 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12946 * nis/nss_compat/compat-spwd.c
12947 (getspent_next_nss_netgr): Remove unused variable.
12948 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12950 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12951 nonmembers" output to use the right array.
12953 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12955 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12957 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12958 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12959 * catgets/gencat.c (read_input_file): Likewise.
12960 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12962 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12963 variable definition inside #if's controlling its use.
12965 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12967 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12969 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12971 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12974 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12976 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12977 * configure: Regenerated.
12979 * Makerules: Revert last change.
12980 * elf/Makefile: Likewise.
12982 2011-06-09 Roland McGrath <roland@hack.frob.com>
12984 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12985 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12986 (reloc-link): Likewise.
12988 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12990 * elf/Makefile: Add rules to build pldd.
12991 * elf/pldd.c: New file.
12992 * elf/pldd-xx.c: New file.
12994 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12996 * version.h: Update for 2.15 development version.
12998 2011-06-07 David S. Miller <davem@davemloft.net>
13000 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13003 elf_machine_lazy_rel): Likewise.
13004 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13005 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13006 elf_machine_lazy_rel): Likewise.
13007 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13008 dl_hwcap via passed in argument.
13009 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13012 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13014 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13016 2011-06-06 Roland McGrath <roland@hack.frob.com>
13019 * manual/fdl-1.1.texi: New file, verbatim from:
13020 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13021 * manual/lgpl-2.1.texi: New file, verbatim from:
13022 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13023 * manual/Makefile (licenses): New variable, list those new file names.
13025 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13027 * manual/fdl.texi: File removed.
13028 * manual/lesser.texi: File removed.
13029 * manual/libc.texinfo (Copying, Documentation License):
13030 Use new @include file names, put @appendix directive before @include.
13032 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13035 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13036 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13037 (mq_open): Add __NTH.
13039 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13042 Assume Intel Core i3/i5/i7 processor if AVX is available.
13044 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13049 2011-05-31 Andreas Schwab <schwab@redhat.com>
13051 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13052 memory. Use alloca_account. Fix memory leak when retrying.
13054 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13056 * version.h (RELEASE): Bump for 2.14 release.
13057 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13059 * config.make.in (RANLIB): Remove entry.
13061 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13063 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13064 (libc.pot): Work around missing support for .ksh extension in xgettext.
13067 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13068 if both request failed.
13069 (send_dg): In case of server errors clear resplen or *resplen2.
13072 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13073 when there are multiple maps.
13074 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13075 (_dl_fini): Remove test here.
13077 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13079 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13082 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13083 bit from old_res_options.
13084 (gaih_inet): Likewise.
13087 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13090 * resolv/res_init.c (res_setoptions): Make the code more compact.
13093 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13097 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13099 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13102 * malloc/malloc.h: Declare malloc hook variables as volatile.
13104 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13108 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13109 raise in the comment.
13110 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13112 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13114 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13117 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13118 grow the buffers more if it already has to be sufficient.
13119 (build_wcs_upper_buffer): Likewise.
13120 * posix/regexec.c (check_matching): Likewise.
13121 (clean_state_log_if_needed): Likewise.
13122 (extend_buffers): Don't enlarge buffers beyond size of the input
13124 Patches mostly by Emil Wojak <emil@wojak.eu>.
13125 * posix/bug-regex32.c: New file.
13126 * posix/Makefile (tests): Add bug-regex32.
13128 * locale/findlocale.c (_nl_find_locale): Return right away if
13129 _nl_explode_name failed.
13130 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13132 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13134 * debug/xtrace.sh: Unify messages.
13135 * malloc/memusage.sh: Likewise.
13138 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13139 time symbol from vDSO. Substitute with vsyscall if not available.
13140 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13143 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13144 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13145 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13146 Add sendmmsg and internal_sendmmsg.
13147 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13148 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13149 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13151 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13152 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13153 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13155 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13158 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13159 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13161 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13165 * iconvdata/Makefile (tests): Add bug-iconv9.
13166 * iconvdata/bug-iconv9.c: New file.
13168 2011-05-27 Andreas Schwab <schwab@redhat.com>
13171 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13173 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13176 (struct user_regs_struct): Change intcs field back to cs.
13178 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13180 * po/ja.po: Update from translation team.
13182 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13185 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13186 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13188 2011-05-20 Andreas Schwab <schwab@redhat.com>
13190 * stdlib/longlong.h: Update from GCC.
13192 2011-05-23 Andreas Schwab <schwab@redhat.com>
13194 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13196 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13197 Add parameter name.
13198 (__sysconf): Pass it down.
13200 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13203 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13205 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13206 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13207 add in in __libc_use_alloca calls. Adjust callers.
13208 (glob): Use malloc in some situations.
13210 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13211 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13214 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13216 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13217 and CLOCK_BOOTTIME_ALARM.
13220 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13223 * string/_strerror.c (__strerror_r): Print negative errors as signed
13227 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13228 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13229 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13231 * configure.in: Fix typo in redirection and correct removal of test
13232 files in two cases.
13235 * locale/setlocale.c (new_composite_name): Fix test to check for
13236 identical name of all categories.
13239 * libio/filedoalloc.c (local_isatty): New function.
13240 (_IO_file_doallocate): Use local_isatty.
13241 * stdio-common/perror.c (perror): In case a new stream is used
13242 forward the stream error.
13243 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13246 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13251 * include/alloca.h (extend_alloca_account): Define.
13254 * posix/regex.h: Fix comments with documentation of user-accessible
13255 fields after compilation and describe correct free'ing of pattern
13256 after re_compile_pattern.
13257 Patch by Reuben Thomas <rrt@sc3d.org>.
13259 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13261 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13262 and -mno-altivec to prevent the compiler from using Altivec and/or
13263 VSX instructions when the corresponding registers are not available.
13265 2011-05-19 Andreas Schwab <schwab@redhat.com>
13267 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13269 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13271 * libio/freopen.c (freopen): Use __dup2, not dup2.
13272 * libio/freopen64.c (freopen64): Likewise.
13274 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13277 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13278 * math/Makefile (tests): Add test-powl.
13279 (CFLAGS-test-powl.c): Define.
13280 * math/test-powl.c: New file.
13282 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13284 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13286 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13289 * iconvdata/gb18030.c: Update to GB18020-2005.
13291 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13293 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13294 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13295 Patch by Aharon Robbins <arnold@skeeve.com>.
13298 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13302 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13303 through underflows.
13306 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13307 point to strings before performing equality test for error_one_per_line
13311 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13314 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13315 (struct user_fpregs_struct): Avoid __uint*_t types.
13318 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13319 symbol info. Use it instead of calling _dl_addr locally.
13320 (lock_and_info): New function.
13321 (tr_freehook): Call lock_and_info and pass symbol info as additional
13322 parameter to tr_where.
13323 (tr_mallochook): Likewise.
13324 (tr_reallochook): Likewise.
13325 (tr_memalignhook): Likewise.
13327 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13328 used and couldn't be at all thread-safe.
13330 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13332 * libio/freopen.c (freopen): Don't close old file descriptor
13333 before the new one is opened. Instead dup the new file descriptor
13334 to the old one after the new stream is created.
13335 * libio/freopen64.c (freopen64): Likewise.
13336 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13337 * libio/fileops.c (_IO_new_file_close_it): Handle new
13338 _IO_FLAGS2_NOCLOSE flag.
13339 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13340 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13341 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13342 _IO_FLAGS2_NOCLOSE flag.
13343 * include/unistd.h: Add hidden_proto for dup3.
13344 Define __have_dup3.
13345 * io/dup3.c: Define hidden symbol.
13346 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13349 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13350 when an incomplete long option is used.
13351 * posix/tst-getopt_long1.c: New file.
13352 * posix/Makefile (tests): Add tst-getopt_long1.
13355 * scripts/config.guess: Update from autoconf-2.68.
13356 * scripts/config.sub: Likewise.
13359 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13361 (has_cpuclock): ...this. New function.
13362 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13363 macro here based on has_cpuclock code.
13366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13367 First byte (not low byte) is now always NUL.
13368 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13371 Use non-cancelable interfaces.
13374 * locale/iso-639.def: Add entry for Sorani.
13377 * include/stdlib.h: Move include protection to the right place.
13378 Define abort_msg_s. Declare __abort_msg with it.
13379 * stdlib/abort.c (__abort_msg): Adjust type.
13380 * assert/assert.c (__assert_fail_base): New function. Majority
13381 of code from __assert_fail. Allocate memory for __abort_msg with
13383 (__assert_fail): Now call __assert_fail_base.
13384 * assert/assert-perr.c: Remove bulk of implementation. Use
13385 __assert_fail_base.
13386 * include/assert.hL Declare __assert_fail_base.
13387 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13389 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13391 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13395 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13396 until all modules are registered in the DTV.
13397 * elf/Makefile: Add rules to build and run tst-tls19.
13398 * elf/tst-tls19.c: New file.
13399 * elf/tst-tls19mod1.c: New file.
13400 * elf/tst-tls19mod2.c: New file.
13401 * elf/tst-tls19mod3.c: New file.
13402 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13405 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13409 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13410 two-byte sequence errors.
13411 * iconvdata/Makefile (tests): Add bug-iconv8.
13412 * iconvdata/bug-iconv8.c: New file.
13415 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13418 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13421 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13422 (dummy_getcfa): New function.
13423 (init): Get _Unwind_GetCFA address, use dummy if not found.
13424 (backtrace_helper): In recursion check, also check whether CFA changes.
13425 (__backtrace): Completely initialize arg.
13427 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13428 storing incomplete byte sequence in state object. Avoid testing for
13429 guaranteed too small input if we know there is enough data available.
13431 2011-05-11 Andreas Schwab <schwab@redhat.com>
13433 * Makeconfig (+link-pie): Indent.
13434 * Rules (binaries-pie): Define if $(have-fpie) and
13436 (binaries-shared): Also filter out $(binaries-pie).
13437 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13438 * nscd/Makefile (others-pie): Add nscd.
13439 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13440 ($(objpfx)nscd): Remove command override.
13441 * login/Makefile (others-pie): Add pt_chown.
13442 ($(objpfx)pt_chown): Remove command override.
13443 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13444 remove command overrides.
13446 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13448 * libio/tst_putwc.c: Fix error messages.
13451 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13452 currently writing and seek to current position when not.
13453 * libio/Makefile (tests): Add bug-fclose1.
13454 * libio/bug-fclose1.c: New file.
13456 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13459 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13460 don't set DF_1_NODELETE here.
13461 (do_lookup_x): When entering new entry test for copy relocation
13462 and if necessary set DF_1_NODELETE flag.
13463 * elf/tst-unique4.cc: New file.
13464 * elf/tst-unique4.h: New file.
13465 * elf/tst-unique4lib.cc: New file.
13466 * elf/Makefile: Add rules to build and run tst-unique4.
13467 Patch by Piotr Bury <pbury@goahead.com>.
13469 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13472 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13475 * misc/mntent_r.c (addmntent): Flush the stream after the output
13478 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13479 (is_trusted_path_normalize): Skip initial colon. Append slash
13480 to empty buffer. Duplicate is_trusted_path code but allow
13481 constructed patch to be prefix.
13482 (is_dst): Allow $ORIGIN followed by /.
13483 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13484 Correct testing of result of is_trusted_path_normalize
13485 (decompose_rpath): Fix warning.
13487 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13490 * grp/initgroups.c (internal_getgrouplist): When we found the service
13491 list through the initgroups entry in nsswitch.conf do not always
13492 continue on a successful lookup. Don't always use the
13493 __nss_group_database value if it is set.
13494 * nss/nsswitch.conf (initgroups): Change action for successful db
13495 lookup to continue for compatibility.
13497 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13500 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13502 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13504 * iconvdata/tst-tables.sh: Likewise.
13505 * iconvdata/cp770.c: New file.
13506 * iconvdata/cp771.c: New file.
13507 * iconvdata/cp772.c: New file.
13508 * iconvdata/cp773.c: New file.
13509 * iconvdata/cp774.c: New file.
13510 * iconvdata/testdata/CP770: New file.
13511 * iconvdata/testdata/CP770..UTF8: New file.
13512 * iconvdata/testdata/CP771: New file.
13513 * iconvdata/testdata/CP771..UTF8: New file.
13514 * iconvdata/testdata/CP772: New file.
13515 * iconvdata/testdata/CP772..UTF8: New file.
13516 * iconvdata/testdata/CP773: New file.
13517 * iconvdata/testdata/CP773..UTF8: New file.
13518 * iconvdata/testdata/CP774: New file.
13519 * iconvdata/testdata/CP774..UTF8: New file.
13521 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13523 * iconvdata/gen-8bit-gap.sh: Likewise.
13524 * iconvdata/gen-8bit.sh: Likewise.
13526 * locale/iso-639.def: Add ary entry.
13529 * locale/C-translit.h.in: Add U20A1 transliteration.
13532 * locale/iso-639.def: Add wae entry.
13533 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13536 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13540 * locale/C-translit.h.in: Add entry for U20B9.
13541 Patch by pravin.d.s@gmail.com.
13543 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13546 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13547 ENAMETOOLONG use generic getcwd.
13548 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13549 in rtld. Use *stat64.
13550 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13551 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13552 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13553 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13554 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13555 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13556 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13557 __fstatat64 macros.
13558 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13559 * dirent/rewinddir.c: Add libc_hidden_def.
13560 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13561 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13563 * include/dirent.h (__alloc_dir): Add flags parameter.
13564 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13565 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13567 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13568 from fdopendir if O_CLOEXEC is already set.
13570 2011-03-15 Alan Modra <amodra@gmail.com>
13572 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13573 l_tls_firstbyte_offset non-zero. Save padding offset in
13574 l_tls_firstbyte_offset for later use.
13575 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13576 freeing static tls block.
13578 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13580 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13581 where #ifdef was intended. The intent is to prevent ARG_MAX from
13582 being defined by the kernel headers.
13584 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13587 * resolv/resolv.h: Define RES_NOTLDQUERY.
13588 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13589 no-tld-query and set RES_NOTLDQUERY.
13590 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13591 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13592 modern BIND to search name as TLD unless forbidden.
13594 2011-05-07 Petr Baudis <pasky@suse.cz>
13595 Ulrich Drepper <drepper@gmail.com>
13598 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13599 (is_trusted_path): ...to here.
13600 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13601 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13602 using is_trusted_path_normalize() in setuid scripts.
13604 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13606 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13607 __BEGIN/__END_DECLS.
13609 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13612 NSS_STATUS_NOTFOUND if no record was found.
13614 2011-05-05 Andreas Schwab <schwab@redhat.com>
13616 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13617 (headers-not-in-tirpc): Remove rpc/netdb.h
13618 * resolv/netdb.h: Revert last change.
13620 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13622 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13623 circular dependency between libgcc.a and libc.a.
13625 2011-05-05 Andreas Schwab <schwab@redhat.com>
13627 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13628 * nis/Makefile: Don't install rpcsvc/*.
13629 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13630 instead of <rpc/types.h>.
13631 (MAXHOSTNAMELEN): Define.
13633 2011-05-03 Andreas Schwab <schwab@redhat.com>
13635 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13637 2011-04-28 Maciej Babinski <mbabinski@google.com>
13640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13641 gethostbyname4_r when IPv6 results are possible.
13643 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13646 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13647 _PC_PIPE_BUF handling.
13649 2011-04-30 Bruno Haible <bruno@clisp.org>
13652 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13653 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13655 * inet/getnameinfo.c (getnameinfo): Likewise.
13657 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13659 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13660 to groups setting in database lookup.
13661 * nss/nsswitch.conf: Add initgroups entry.
13663 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13666 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13668 Patch by Eric Blake <eblake@redhat.com>.
13670 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13672 * sunrpc/Makefile (need-export-routines): Add svc_run.
13673 (routines): Remove svc_run.
13674 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13675 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13676 * sunrpc/svc_run.c (svc_run): Likewise.
13677 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13679 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13681 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13682 problem in reallocation in last patch.
13684 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13686 * sunrpc/Makefile: Move inclusion of Rules.
13688 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13690 * nss/nss_files/files-initgroups.c: New file.
13691 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13692 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13693 _nss_files_initgroups_dyn.
13695 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13697 * elf/elf.h (R_ARM_IRELATIVE): Define.
13699 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13701 * po/ru.po: Update from translation team.
13703 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13705 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13708 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13711 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13712 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13713 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13714 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13715 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13717 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13719 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13721 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13722 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13723 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13725 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13728 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13730 * stdlib/bug-getcontext.c: New file.
13731 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13733 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13735 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13736 instructions into .machine "z9-109".
13737 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13738 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13740 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13742 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13743 between environment variables and auxiliary vector.
13745 2011-04-16 Ulrich Drepper <drepper@gmail.com>
13747 * Makefile: Add rules to build linkobj/libc.so.
13748 * include/libc-symbols.h: Define libc_hidden_nolink.
13749 * include/rpc/auth.h: Mark functions which are to be hidden.
13750 * include/rpc/auth_des.h: Likewise.
13751 * include/rpc/auth_unix.h: Likewise.
13752 * include/rpc/clnt.h: Likewise.
13753 * include/rpc/des_crypt.h: Likewise.
13754 * include/rpc/key_prot.h: Likewise.
13755 * include/rpc/pmap_clnt.h: Likewise.
13756 * include/rpc/pmap_prot.h: Likewise.
13757 * include/rpc/pmap_rmt.h: Likewise.
13758 * include/rpc/rpc_msg.h: Likewise.
13759 * include/rpc/svc.h: Likewise.
13760 * include/rpc/svc_auth.h: Likewise.
13761 * include/rpc/xdr.h: Likewise.
13762 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13763 * nss/Makefile: Likewise.
13764 * sunrpc/Makefile: Don't install headers. Build library with normal
13765 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13766 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13767 for the compat linking library. Remove use of INTDEF/INTUSE.
13768 * sunrpc/auth_none.c: Likewise.
13769 * sunrpc/auth_unix.c: Likewise.
13770 * sunrpc/authdes_prot.c: Likewise.
13771 * sunrpc/authuxprot.c: Likewise.
13772 * sunrpc/clnt_gen.c: Likewise.
13773 * sunrpc/clnt_perr.c: Likewise.
13774 * sunrpc/clnt_raw.c: Likewise.
13775 * sunrpc/clnt_simp.c: Likewise.
13776 * sunrpc/clnt_tcp.c: Likewise.
13777 * sunrpc/clnt_udp.c: Likewise.
13778 * sunrpc/clnt_unix.c: Likewise.
13779 * sunrpc/des_crypt.c: Likewise.
13780 * sunrpc/des_soft.c: Likewise.
13781 * sunrpc/get_myaddr.c: Likewise.
13782 * sunrpc/key_call.c: Likewise.
13783 * sunrpc/key_prot.c: Likewise.
13784 * sunrpc/netname.c: Likewise.
13785 * sunrpc/pm_getmaps.c: Likewise.
13786 * sunrpc/pm_getport.c: Likewise.
13787 * sunrpc/pmap_clnt.c: Likewise.
13788 * sunrpc/pmap_prot.c: Likewise.
13789 * sunrpc/pmap_prot2.c: Likewise.
13790 * sunrpc/pmap_rmt.c: Likewise.
13791 * sunrpc/publickey.c: Likewise.
13792 * sunrpc/rpc_cmsg.c: Likewise.
13793 * sunrpc/rpc_common.c: Likewise.
13794 * sunrpc/rpc_dtable.c: Likewise.
13795 * sunrpc/rpc_prot.c: Likewise.
13796 * sunrpc/rpc_thread.c: Likewise.
13797 * sunrpc/rtime.c: Likewise.
13798 * sunrpc/svc.c: Likewise.
13799 * sunrpc/svc_auth.c: Likewise.
13800 * sunrpc/svc_authux.c: Likewise.
13801 * sunrpc/svc_raw.c: Likewise.
13802 * sunrpc/svc_run.c: Likewise.
13803 * sunrpc/svc_simple.c: Likewise.
13804 * sunrpc/svc_tcp.c: Likewise.
13805 * sunrpc/svc_udp.c: Likewise.
13806 * sunrpc/svc_unix.c: Likewise.
13807 * sunrpc/svcauth_des.c: Likewise.
13808 * sunrpc/xcrypt.c: Likewise.
13809 * sunrpc/xdr.c: Likewise.
13810 * sunrpc/xdr_array.c: Likewise.
13811 * sunrpc/xdr_float.c: Likewise.
13812 * sunrpc/xdr_intXX_t.c: Likewise.
13813 * sunrpc/xdr_mem.c: Likewise.
13814 * sunrpc/xdr_rec.c: Likewise.
13815 * sunrpc/xdr_ref.c: Likewise.
13816 * sunrpc/xdr_sizeof.c: Likewise.
13817 * sunrpc/xdr_stdio.c: Likewise.
13819 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13822 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13823 * sysdeps/ia64/dl-tls.h: Likewise.
13824 * sysdeps/powerpc/dl-tls.h: Likewise.
13825 * sysdeps/s390/dl-tls.h: Likewise.
13826 * sysdeps/sh/dl-tls.h: Likewise.
13827 * sysdeps/sparc/dl-tls.h: Likewise.
13828 * sysdeps/x86_64/dl-tls.h: Likewise.
13829 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13831 2011-03-14 Andreas Schwab <schwab@redhat.com>
13833 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13834 rpath element also skip the following colon.
13835 (expand_dynamic_string_token): Add is_path parameter and pass
13836 down to DL_DST_REQUIRED and _dl_dst_substitute.
13837 (decompose_rpath): Call expand_dynamic_string_token with
13838 non-zero is_path. Ignore empty rpaths.
13839 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13842 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13847 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13850 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13851 Patch by Filipe David Manana <fdmanana@apache.org>.
13853 2011-04-07 Andreas Schwab <schwab@redhat.com>
13855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13856 Maintain aligned stack.
13857 (CHECK_RSP): Remove unused macro.
13859 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13861 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13862 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13864 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13866 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13868 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13870 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13873 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13874 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13875 * sysdeps/x86_64/memmove.c: New file.
13876 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13877 (memcpy): Renamed to ...
13878 (__new_memcpy): This.
13879 (memcpy): Provide GLIBC_2_14 memcpy.
13880 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13881 (memcpy): Provide GLIBC_2_2_5 memcpy.
13883 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13886 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13888 2011-03-30 Andreas Schwab <schwab@redhat.com>
13890 * misc/syncfs.c: New file.
13891 * misc/Makefile (routines): Add syncfs.
13892 * posix/unistd.h: Declare syncfs.
13893 * sysdeps/unix/syscalls.list: Add syncfs.
13895 2011-04-01 Andreas Schwab <schwab@redhat.com>
13897 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13899 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13900 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13901 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13902 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13904 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13907 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13910 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13911 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13913 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13917 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13918 sync_file_range.c with -fexceptions.
13919 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13920 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13921 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13922 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13923 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13924 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13925 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13926 sync_file_range as cancellation point
13927 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13928 now a wrapper around __call_sync_file_range with cancellation handling.
13929 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13930 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13931 function name to __call_sync_file_range.
13932 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13933 Add call_sync_file_range.
13935 2011-04-01 Andreas Schwab <schwab@redhat.com>
13937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13940 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13942 * iconv/iconv.h: Fix typo in comment.
13943 * io/fcntl.h: Likewise.
13944 * libio/stdio.h: Likewise.
13945 * posix/spawn.h: Likewise.
13946 * posix/unistd.h: Likewise.
13947 * stdlib/stdlib.h: Likewise.
13948 * time/time.h: Likewise.
13949 * wcsmbs/wchar.h: Likewise.
13951 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13952 open_by_handle): Add.
13953 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13954 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13955 Augment a few comments.
13956 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13958 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13959 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13960 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13961 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13964 * io/fcntl.h (AT_EMPTY_PATH): Define.
13966 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13968 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13969 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13970 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13972 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13973 * Versions.def: Add GLIBC_2.14.
13974 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13977 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13979 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13981 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13983 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13986 * string/test-strncmp.c (do_page_test): New function.
13987 (check2): Likewise.
13988 (test_main): Call check2.
13989 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13991 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13994 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13995 Handle cache information in CPU leaf 4.
13996 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13998 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14001 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14002 character representation.
14003 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14005 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14007 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14008 END(__isnan) to END(__isnanf) to match function entry point/label
14009 EALIGN(__isnanf,...).
14011 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14013 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14015 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14018 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14019 copy from the symbol referenced in the relocation to initialize the
14021 Patch by Piotr Bury <pbury@goahead.com>.
14022 * elf/Makefile: Add rules to build and tst-unique3.
14023 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14024 * elf/tst-unique3.cc: New file.
14025 * elf/tst-unique3.h: New file.
14026 * elf/tst-unique3lib.cc: New file.
14027 * elf/tst-unique3lib2.cc: New file.
14029 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14031 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14033 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14034 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14037 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14039 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14040 to-be-loaded object along a path to loader is ld.so.
14042 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14043 Ulrich Drepper <drepper@gmail.com>
14045 * sysdeps/x86_64/memset.S: After aligning destination, code
14046 branches to different locations depending on the value of
14047 misalignment, when multiarch is enabled. Fix this.
14049 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14051 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14052 Set _x86_64_preferred_memory_instruction for AMD processsors.
14053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14054 Set bit_Prefer_SSE_for_memop for AMD processors.
14056 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14058 * libio/fmemopen.c (fmemopen): Optimize a bit.
14060 2011-03-03 Andreas Schwab <schwab@redhat.com>
14062 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14064 2011-03-03 Roland McGrath <roland@redhat.com>
14066 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14068 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14070 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14071 __bzero_ultra1 instead of __memset_ultra1.
14073 2011-02-23 Andreas Schwab <schwab@redhat.com>
14074 Ulrich Drepper <drepper@gmail.com>
14077 * include/link.h (struct link_map): Add l_orig_initfini.
14078 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14079 returning unsuccessfully.
14080 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14081 close of a file loaded at startup, restore the original l_initfini
14083 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14084 list, store the pointer.
14085 * elf/Makefile ($(objpfx)noload-mem): New rule.
14086 (noload-ENV): Define.
14087 (tests): Add $(objpfx)noload-mem.
14088 * elf/noload.c: Include <memcheck.h>.
14089 (main): Call mtrace. Close all opened handles.
14091 2011-02-17 Andreas Schwab <schwab@redhat.com>
14094 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14095 dependencies are missing.
14097 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14099 Fix __if_freereq crash: Unlike the generic version which uses free,
14101 * sysdeps/mach/hurd/ifreq.h: New file.
14103 2011-01-27 Petr Baudis <pasky@suse.cz>
14104 Ulrich Drepper <drepper@gmail.com>
14107 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14108 to extend_alloca().
14109 * stdio-common/bug23.c: New file.
14110 * stdio-common/Makefile (tests): Add bug23.
14112 2010-09-28 Andreas Schwab <schwab@redhat.com>
14113 Ulrich Drepper <drepper@gmail.com>
14116 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14117 before performing relro protection. At old place add assertion
14118 to make sure nothing changed.
14120 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14121 Glauber de Oliveira Costa <glommer@gmail.com>
14123 * elf/elf.h: Add new ARM TLS relocs.
14125 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14128 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14130 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14132 * sysdeps/wordsize-64/tst-writev.c: New file.
14134 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14136 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14137 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14138 insns in _dl_start to prevent a TOC reference before relocs are
14141 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14144 * Makeconfig: Remove RANLIB definition.
14145 * Makerules: Don't use RANLIB.
14146 * aclocal.m4: Remove ranlib test.
14147 * configure.in: No need to check for ranlib.
14148 * elf/rtld-Rules: Don't use RANLIB.
14150 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14152 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14154 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14155 inclusion protection macro.
14157 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14158 SIGRTMIN and SIGRTMAX and print information in that case only when
14159 SIGRTMIN is defined.
14161 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14163 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14164 arginfo fn returning -1.
14166 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14167 and thousands string is zero terminated.
14169 2011-02-03 Andreas Schwab <schwab@redhat.com>
14171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14172 sysdeps/unix/sysv/linux/bits/socket.h.
14174 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14176 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14177 (__CPU_COUNT): Remove old macros.
14178 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14179 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14180 (__CPU_ALLOC, __CPU_FREE): Add macros.
14181 (__sched_cpualloc, __sched_cpufree): Add declarations.
14183 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14185 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14186 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14187 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14188 (readdhstai): Return value of addhstaiX call.
14189 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14190 (addgrbyX): Return value returned by cache_addgr.
14191 (readdgrbyname): Return value returned by addgrbyX.
14192 (readdgrbygid): Likewise.
14193 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14194 (addpwbyX): Return value returned by cache_addpw.
14195 (readdpwbyname): Return value returned by addhstbyX.
14196 (readdpwbyuid): Likewise.
14197 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14198 (addservbyX): Return value returned by cache_addserv.
14199 (readdservbyname): Return value returned by addservbyX:
14200 (readdservbyport): Likewise.
14201 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14202 (addhstbyX): Return value returned by cache_addhst.
14203 (readdhstbyname): Return value returned by addhstbyX.
14204 (readdhstbyaddr): Likewise.
14205 (readdhstbynamev6): Likewise.
14206 (readdhstbyaddrv6): Likewise.
14207 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14208 (readdinitgroups): Return value returned by addinitgroupsX.
14209 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14210 (prune_cache): Keep track of timeout value of re-added entries.
14211 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14212 * nscd/nscd.h: Adjust prototypes of readd* functions.
14214 2011-02-04 Roland McGrath <roland@redhat.com>
14216 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14217 (nis_stats): Likewise.
14218 * nis/nis_modify.c (nis_modify): Likewise.
14219 * nis/nis_remove.c (nis_remove): Likewise.
14220 * nis/nis_add.c (nis_add): Likewise.
14222 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14224 * posix/fnmatch_loop.c: Add some consts.
14226 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14228 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14231 * config.make.in (config-cflags-novzeroupper): Define.
14232 * configure.in: Substitute libc_cv_cc_novzeroupper.
14233 * elf/Makefile (AVX-CFLAGS): Define.
14234 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14235 (CFLAGS-tst-auditmod4a.c): Likewise.
14236 (CFLAGS-tst-auditmod4b.c): Likewise.
14237 (CFLAGS-tst-auditmod6b.c): Likewise.
14238 (CFLAGS-tst-auditmod6c.c): Likewise.
14239 (CFLAGS-tst-auditmod7b.c): Likewise.
14240 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14242 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14244 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14245 function to the callback.
14246 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14248 2011-02-02 Andreas Schwab <schwab@redhat.com>
14250 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14253 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14256 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14258 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14260 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14263 * elf/Makefile: Add rules to build and run new test.
14264 * elf/tst-initorder.c: New file.
14265 * elf/tst-initorder.exp: New file.
14266 * elf/tst-initordera1.c: New file.
14267 * elf/tst-initordera2.c: New file.
14268 * elf/tst-initordera3.c: New file.
14269 * elf/tst-initordera4.c: New file.
14270 * elf/tst-initorderb1.c: New file.
14271 * elf/tst-initorderb2.c: New file.
14272 * elf/tst-order-a1.c: New file.
14273 * elf/tst-order-a2.c: New file.
14274 * elf/tst-order-a3.c: New file.
14275 * elf/tst-order-a4.c: New file.
14276 * elf/tst-order-b1.c: New file.
14277 * elf/tst-order-b2.c: New file.
14278 * elf/tst-order-main.c: New file.
14279 New test case by George Gensure <werkt0@gmail.com>.
14281 2010-10-01 Andreas Schwab <schwab@redhat.com>
14283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14284 decoding ACE if AI_CANONIDN.
14286 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14288 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14290 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14292 * version.h (RELEASE): Bump for 2.13 release.
14293 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14295 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14297 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14299 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14300 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14301 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14302 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14303 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14304 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14306 * posix/getconf.c: Update copyright year.
14307 * catgets/gencat.c: Likewise.
14308 * csu/version.c: Likewise.
14309 * debug/catchsegv.sh: Likewise.
14310 * debug/xtrace.sh: Likewise.
14311 * elf/ldconfig.c: Likewise.
14312 * elf/ldd.bash.in: Likewise.
14313 * elf/sprof.c (print_version): Likewise.
14314 * iconv/iconv_prog.c: Likewise.
14315 * iconv/iconvconfig.c: Likewise.
14316 * locale/programs/locale.c: Likewise.
14317 * locale/programs/localedef.c: Likewise.
14318 * malloc/memusage.sh: Likewise.
14319 * malloc/mtrace.pl: Likewise.
14320 * nscd/nscd.c (print_version): Likewise.
14321 * nss/getent.c: Likewise.
14323 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14324 PF_CAIF, and PF_ALG.
14325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14327 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14329 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14330 (modules-names): Use them.
14331 (ifunc-test-modules, ifunc-pie-tests): Define.
14332 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14333 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14334 (test-extras): Likewise.
14335 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14336 $(compile-command.c).
14337 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14338 (all-built-dso): Define.
14339 (check-textrel.out, check-execstack.out): Depend on it.
14341 * configure.in: Don't override --enable-multi-arch.
14343 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14346 * nscd/hstcache.c (tryagain): Define.
14347 (cache_addhst): Return tryagain not notfound for temporary errors.
14348 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14351 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14354 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14355 to make the syscall.
14356 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14359 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14360 and fall back to matching as normal character if the string ends before
14361 the matching ']' is found. This is what POSIX requires.
14362 * posix/testfnm.c: Adjust test result.
14363 * posix/globtest.sh: Adjust test result. Add new test.
14364 * posix/tst-fnmatch.input: Likewise.
14365 * posix/tst-fnmatch2.c: Add new test.
14367 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14369 * elf/Makefile (check-execstack): Revert last change. Depend on
14371 (check-execstack.h): New target.
14372 (generated): Add check-execstack.h.
14373 * elf/check-execstack.c: Include "check-execstack.h".
14374 (main): Revert last change.
14375 (handle_file): Return zero if GNU_STACK is absent and
14376 DEFAULT_STACK_PERMS doesn't include PF_X.
14378 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14380 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14381 in child fails because the descriptor is already closed.
14382 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14383 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14384 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14387 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14391 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14392 temporary buffer used to handle multi lookups locally.
14393 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14395 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14397 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14400 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14402 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14403 alignment for SSE2.
14405 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14408 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14409 characters. When rounding increased number of integer digits recompute
14411 * stdio-common/tst-grouping.c: New file.
14412 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14414 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14416 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14417 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14419 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14421 * bits/select.h: Likewise.
14423 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14425 * po/ja.po: Update from translation team.
14427 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14430 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14431 implementation just like for lxstat, fxstatat, et al.
14433 2010-12-27 Jim Meyering <meyering@redhat.com>
14436 * posix/regexec.c (build_trtable): Return failure indication upon
14437 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14439 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14442 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14443 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14444 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14445 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14448 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14451 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14452 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14454 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14456 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14457 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14458 script has SORT_BY_INIT_PRIORITY.
14459 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14460 NO_CTORS_DTORS_SECTIONS is defined.
14461 * elf/soinit.c: Likewise.
14462 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14463 NO_CTORS_DTORS_SECTIONS is defined.
14464 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14465 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14466 * sysdeps/sh/init-first.c: Likewise.
14467 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14469 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14471 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14472 always use the slow path.
14474 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14476 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14477 similar rule which adds the sysdep directories to the header search in
14478 order to pick up the correct platform stackinfo.h.
14479 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14480 perform test if it is, otherwise return successfully without testing.
14481 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14482 DEFAULT_STACK_PERMS define in stackinfo.h.
14483 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14484 defined in stackinfo.h.
14485 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14486 DEFAULT_STACK_PERMS defined in stackinfo.h.
14487 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14488 * sysdeps/ia64/stackinfo.h: Likewise.
14489 * sysdeps/s390/stackinfo.h: Likewise.
14490 * sysdeps/sh/stackinfo.h: Likewise.
14491 * sysdeps/sparc/stackinfo.h: Likewise.
14492 * sysdeps/x86_64/stackinfo.h: Likewise.
14493 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14494 PF_X for powerpc64. Retain PF_X for powerpc32.
14496 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14498 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14500 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14501 GETDENTS_64BIT_ALIGNED.
14503 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14505 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14507 2010-12-10 Andreas Schwab <schwab@redhat.com>
14509 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14512 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14513 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14515 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14516 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14518 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14521 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14524 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14526 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14528 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14530 * po/it.po: Update from translation team.
14532 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14537 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14539 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14541 2010-11-24 Andreas Schwab <schwab@redhat.com>
14543 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14545 (gaih_getanswer_slice): Likewise.
14547 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14551 2010-05-31 Petr Baudis <pasky@suse.cz>
14554 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14555 silently even in the chroot mode.
14557 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14559 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14560 last patch a bit. Pretty printing
14562 2010-05-31 Petr Baudis <pasky@suse.cz>
14565 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14566 initialization of skip_initgroups_dyn.
14568 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14570 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14571 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14573 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14575 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14577 2010-11-11 Andreas Schwab <schwab@redhat.com>
14579 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14580 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14581 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14582 ($(objpfx)tst-fnmatch-mem): New rule.
14583 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14584 * posix/tst-fnmatch.c (main): Call mtrace.
14586 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14589 Support Intel processor model 6 and model 0x2c.
14591 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14593 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14596 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14599 * string/test-strncasecmp.c (check_result): New function.
14600 (do_one_test): Use it.
14601 (check1): New function.
14602 (test_main): Use it.
14603 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14604 Support strcasecmp and strncasecmp.
14606 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14609 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14610 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14612 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14614 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14618 * sysdeps/x86_64/multiarch/bzero.S: New file.
14619 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14620 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14621 * sysdeps/x86_64/multiarch/memset.S: New file.
14622 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14624 Set bit_Prefer_SSE_for_memop for Intel processors.
14625 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14627 (index_Prefer_SSE_for_memop): Define.
14628 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14630 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14632 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14633 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14635 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14638 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14639 (__x86_64_raw_data_cache_size_half): Likewise.
14640 (__x86_64_raw_shared_cache_size): Likewise.
14641 (__x86_64_raw_shared_cache_size_half): Likewise.
14643 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14644 (__x86_64_raw_data_cache_size_half): Likewise.
14645 (__x86_64_raw_shared_cache_size): Likewise.
14646 (__x86_64_raw_shared_cache_size_half): Likewise.
14647 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14648 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14649 and __x86_64_raw_shared_cache_size_half. Round
14650 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14651 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14652 to multiple of 256 bytes.
14654 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14657 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14658 of inacessible symlinks. Verify result of symlink before returning it.
14659 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14660 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14662 2010-10-28 Erich Ritz <erichritz@gmail.com>
14664 * math/math.h (isinf): Fix typo in comment.
14666 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14668 * po/da.po: Update from translation team.
14670 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14672 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14673 is added to the list.
14675 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14676 Ulrich Drepper <drepper@gmail.com>
14678 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14679 the global list here. Move code to...
14680 (_dl_add_to_namespace_list): ...here. New function.
14681 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14682 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14683 * elf/dl-load.c (lose): Don't remove the element from the list.
14684 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14685 (_dl_map_object): Likewise.
14687 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14690 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14691 into all bytes of SSE register.
14692 Patch by Richard Li <richardpku@gmail.com>.
14694 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14697 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14700 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14702 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14703 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14704 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14705 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14710 2010-10-22 Andreas Schwab <schwab@redhat.com>
14712 * include/dlfcn.h (__RTLD_SECURE): Define.
14713 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14714 mode & __RTLD_SECURE instead.
14715 (open_path): Rename preloaded parameter to secure.
14716 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14717 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14718 * elf/dl-deps.c (openaux): Likewise.
14719 * elf/rtld.c (struct map_args): Remove is_preloaded.
14720 (map_doit): Don't use it.
14721 (dl_main): Likewise.
14722 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14723 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14725 2010-09-09 Andreas Schwab <schwab@redhat.com>
14727 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14728 (sysd-rules-targets): Remove duplicates.
14729 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14730 rtld-%.$o dependency.
14732 2010-10-18 Andreas Schwab <schwab@redhat.com>
14734 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14735 _dl_map_object do it.
14737 2010-10-19 Ulrich Drepper <drepper@gmail.com>
14739 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14740 fast fma builtins, define the macros in the C99 standard.
14741 (FP_FAST_FMAF): Likewise.
14742 (FP_FAST_FMAL): Likewise.
14743 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14745 * bits/mathdef.h: Update copyright year.
14746 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14748 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14750 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14751 builtins, define the macros in the C99 standard.
14752 (FP_FAST_FMAF): Likewise.
14753 (FP_FAST_FMAL): Likewise.
14754 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14756 (FP_FAST_FMAF): Likewise.
14758 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14761 * math/libm-test.inc (fma_test): Some new testcases.
14762 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14763 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14764 y and infinite z. Do multiplication by C already in long double.
14765 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14767 y and infinite z. Do bitwise or of inexact bit into u.d.
14768 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14769 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14770 * sysdeps/i386/fpu/s_fma.S: Removed.
14771 * sysdeps/i386/fpu/s_fmal.S: Removed.
14773 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14776 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14778 computation is not scheduled after fetestexcept. Fix value
14779 of minimum denormal long double.
14781 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14784 * math/libm-test.inc (fma_test): Add some more tests.
14785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14788 2010-10-15 Andreas Schwab <schwab@redhat.com>
14790 * scripts/data/localplt-s390-linux-gnu.data: New file.
14791 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14793 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14796 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14797 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14799 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14801 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14803 if one of x and y is very large and the other is subnormal.
14804 * sysdeps/s390/fpu/s_fmaf.c: New file.
14805 * sysdeps/s390/fpu/s_fma.c: New file.
14806 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14807 * sysdeps/powerpc/fpu/s_fma.S: New file.
14808 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14809 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14810 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14812 2010-10-12 Jakub Jelinek <jakub@redhat.com>
14815 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14817 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14818 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14819 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14820 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14821 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14822 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14825 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14828 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14829 * posix/bug-regex31.input: Add test case.
14831 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14833 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14834 * posix/bug-regex31.input: New file.
14837 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14838 (parse_sub_exp): Fix last change, use postorder.
14840 * posix/bug-regex31.c: New file.
14841 * posix/Makefile: Add rules to build and run bug-regex31.
14843 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14846 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14849 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14850 to have entries in sys_siglist.
14853 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14856 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14859 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14860 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14861 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14862 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14863 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14864 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14865 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14866 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14867 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14868 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14869 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14870 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14871 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14872 * math/ftestexcept.c (fetestexcept): Likewise.
14873 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14874 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14875 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14876 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14877 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14878 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14879 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14881 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14884 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14887 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14889 * string/bug-strstr1.c: New file.
14890 * string/Makefile: Add rules to build and run bug-strstr1.
14892 2010-10-05 Eric Blake <eblake@redhat.com>
14895 * string/str-two-way.h (two_way_long_needle): Always clear memory
14896 when skipping input due to the shift table.
14898 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14901 * malloc/mcheck.c: Handle large requests.
14904 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14905 for strncmp and strncasecmp.
14906 * string/stratcliff.c: Add tests for strcmp and strncmp.
14907 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14909 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14911 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14914 2010-09-30 Andreas Jaeger <aj@suse.de>
14916 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14917 (CGROUP_SUPER_MAGIC): Define.
14918 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14919 Handle btrfs and cgroup file systems.
14920 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14923 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14925 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14926 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14928 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14931 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14932 trying to locate the ELF header.
14934 2010-09-27 Andreas Schwab <schwab@redhat.com>
14937 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14938 Mask out sign-bit copies when constructing f_fsid.
14940 2010-09-24 Petr Baudis <pasky@suse.cz>
14942 * debug/stack_chk_fail_local.c: Add missing licence exception.
14943 * debug/warning-nop.c: Likewise.
14945 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14947 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14948 implementing getdents64 using getdents syscall, set d_type if
14949 __ASSUME_GETDENTS32_D_TYPE.
14951 2010-09-16 Andreas Schwab <schwab@redhat.com>
14953 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14954 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14956 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14959 * posix/unistd.h: Undo change of feature selection for ftruncate from
14962 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14964 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14967 2010-09-20 Andreas Schwab <schwab@redhat.com>
14969 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14971 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14973 2010-09-14 Andreas Schwab <schwab@redhat.com>
14975 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14976 variables after CHECK_SP call.
14977 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14979 2010-09-13 Andreas Schwab <schwab@redhat.com>
14980 Ulrich Drepper <drepper@redhat.com>
14982 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14983 re-relocationg ld.so.
14984 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14985 _dl_init_paths call.
14986 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14989 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14991 * resolv/res_init.c (__res_vinit): Count the default server we added.
14993 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14994 Ulrich Drepper <drepper@redhat.com>
14997 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14998 (____longjmp_chk): Use %ebx for saving value across system call.
15001 2010-09-06 Andreas Schwab <schwab@redhat.com>
15003 * manual/Makefile: Don't mix pattern rules with normal rules.
15005 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15007 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15009 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15010 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15011 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15012 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15013 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15016 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15019 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15020 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15022 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15024 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15025 * sysdeps/x86_64/addmul_1.S: Likewise.
15026 * sysdeps/x86_64/lshift.S: Likewise.
15027 * sysdeps/x86_64/mul_1.S: Likewise.
15028 * sysdeps/x86_64/rshift.S: Likewise.
15029 * sysdeps/x86_64/sub_n.S: Likewise.
15030 * sysdeps/x86_64/submul_1.S: Likewise.
15032 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15034 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15035 Define __sched_param instead of SCHED_* and sched_param when
15036 <bits/sched.h> is included with __need_schedparam defined.
15037 * bits/sched.h [__need_schedparam]
15038 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15039 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15040 (__defined_schedparam): Define to 1.
15041 (__sched_param): New structure, identical to sched_param.
15042 (__need_schedparam): Undefine.
15044 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15046 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15047 (epoll_create1): Declare.
15049 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15051 2010-08-31 Andreas Schwab <schwab@redhat.com>
15054 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15055 shifting retval into place.
15057 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15059 * nis/rpcsvc/nis.h: Update copyright notice.
15060 * nis/rpcsvc/nis.x: Likewise.
15061 * nis/rpcsvc/nis_callback.h: Likewise.
15062 * nis/rpcsvc/nis_callback.x: Likewise.
15063 * nis/rpcsvc/nis_object.x: Likewise.
15064 * nis/rpcsvc/nis_tags.h: Likewise.
15065 * nis/rpcsvc/yp.h: Likewise.
15066 * nis/rpcsvc/yp.x: Likewise.
15067 * nis/rpcsvc/ypupd.h: Likewise.
15068 * nis/yp_xdr.c: Likewise.
15069 * nis/ypupdate_xdr.c: Likewise.
15071 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15072 mainly the body of pmap_getport. Add parameters to specify timeouts.
15073 (pmap_getport): Use __libc_rpc_getport.
15074 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15075 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15076 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15078 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15083 2010-08-27 Roland McGrath <roland@redhat.com>
15085 * sysdeps/i386/i686/multiarch/Makefile
15086 (CFLAGS-varshift.c): New variable.
15088 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15090 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15091 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15095 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15097 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15099 * sysdeps/x86_64/strlen.S: Unroll the loop.
15100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15101 strlen-sse2 strlen-sse2-bsf.
15102 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15103 __strlen_no_bsf if bit_Slow_BSF is set.
15104 (__strlen_sse42): Removed.
15105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15106 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15108 2010-08-25 Roland McGrath <roland@redhat.com>
15110 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15111 * sysdeps/x86_64/multiarch/varshift.c: New file.
15112 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15113 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15114 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15115 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15117 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15120 strlen-sse2 strlen-sse2-bsf.
15121 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15122 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15123 (__strlen_sse2): Removed.
15124 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15127 bit_Slow_BSF for Atom.
15128 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15129 (index_Slow_BSF): Define.
15130 (HAS_SLOW_BSF): Define.
15132 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15135 * resolv/res_init.c (__res_vinit): When no server address at all
15136 is given default to loopback.
15138 2010-08-24 Roland McGrath <roland@redhat.com>
15140 * configure.in: Remove config-name.h generation.
15141 * configure: Regenerated.
15142 * config-name.in: File removed.
15143 * scripts/config-uname.sh: New file.
15144 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15145 ($(objdir)config-name.h): New target.
15147 * sunrpc/rpc_parse.h: Avoid nested comment.
15149 2010-08-24 Richard Henderson <rth@redhat.com>
15150 Ulrich Drepper <drepper@redhat.com>
15151 H.J. Lu <hongjiu.lu@intel.com>
15153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15155 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15156 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15157 _mm_alignr_epi8 with _mm_loadu_si128.
15158 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15159 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15160 (__m128i_shift_right): Removed.
15161 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15162 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15163 * sysdeps/x86_64/multiarch/varshift.h: New file.
15164 * sysdeps/x86_64/multiarch/varshift.S: New file.
15166 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15168 * configure.in: Move assembler checks to before sysdep dir checking.
15170 2010-08-20 Petr Baudis <pasky@suse.cz>
15172 * LICENSES: Sync the sunrpc license.
15174 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15176 * sunrpc/auth_des.c: Update copyright notice once again.
15177 * sunrpc/auth_none.c: Likewise.
15178 * sunrpc/auth_unix.c: Likewise.
15179 * sunrpc/authdes_prot.c: Likewise.
15180 * sunrpc/authuxprot.c: Likewise.
15181 * sunrpc/bindrsvprt.c: Likewise.
15182 * sunrpc/clnt_gen.c: Likewise.
15183 * sunrpc/clnt_perr.c: Likewise.
15184 * sunrpc/clnt_raw.c: Likewise.
15185 * sunrpc/clnt_simp.c: Likewise.
15186 * sunrpc/clnt_tcp.c: Likewise.
15187 * sunrpc/clnt_udp.c: Likewise.
15188 * sunrpc/clnt_unix.c: Likewise.
15189 * sunrpc/des_crypt.c: Likewise.
15190 * sunrpc/des_soft.c: Likewise.
15191 * sunrpc/get_myaddr.c: Likewise.
15192 * sunrpc/getrpcport.c: Likewise.
15193 * sunrpc/key_call.c: Likewise.
15194 * sunrpc/key_prot.c: Likewise.
15195 * sunrpc/openchild.c: Likewise.
15196 * sunrpc/pm_getmaps.c: Likewise.
15197 * sunrpc/pm_getport.c: Likewise.
15198 * sunrpc/pmap_clnt.c: Likewise.
15199 * sunrpc/pmap_prot.c: Likewise.
15200 * sunrpc/pmap_prot2.c: Likewise.
15201 * sunrpc/pmap_rmt.c: Likewise.
15202 * sunrpc/rpc/auth.h: Likewise.
15203 * sunrpc/rpc/auth_unix.h: Likewise.
15204 * sunrpc/rpc/clnt.h: Likewise.
15205 * sunrpc/rpc/des_crypt.h: Likewise.
15206 * sunrpc/rpc/key_prot.h: Likewise.
15207 * sunrpc/rpc/netdb.h: Likewise.
15208 * sunrpc/rpc/pmap_clnt.h: Likewise.
15209 * sunrpc/rpc/pmap_prot.h: Likewise.
15210 * sunrpc/rpc/pmap_rmt.h: Likewise.
15211 * sunrpc/rpc/rpc.h: Likewise.
15212 * sunrpc/rpc/rpc_des.h: Likewise.
15213 * sunrpc/rpc/rpc_msg.h: Likewise.
15214 * sunrpc/rpc/svc.h: Likewise.
15215 * sunrpc/rpc/svc_auth.h: Likewise.
15216 * sunrpc/rpc/types.h: Likewise.
15217 * sunrpc/rpc/xdr.h: Likewise.
15218 * sunrpc/rpc_clntout.c: Likewise.
15219 * sunrpc/rpc_cmsg.c: Likewise.
15220 * sunrpc/rpc_common.c: Likewise.
15221 * sunrpc/rpc_cout.c: Likewise.
15222 * sunrpc/rpc_dtable.c: Likewise.
15223 * sunrpc/rpc_hout.c: Likewise.
15224 * sunrpc/rpc_main.c: Likewise.
15225 * sunrpc/rpc_parse.c: Likewise.
15226 * sunrpc/rpc_parse.h: Likewise.
15227 * sunrpc/rpc_prot.c: Likewise.
15228 * sunrpc/rpc_sample.c: Likewise.
15229 * sunrpc/rpc_scan.c: Likewise.
15230 * sunrpc/rpc_scan.h: Likewise.
15231 * sunrpc/rpc_svcout.c: Likewise.
15232 * sunrpc/rpc_tblout.c: Likewise.
15233 * sunrpc/rpc_util.c: Likewise.
15234 * sunrpc/rpc_util.h: Likewise.
15235 * sunrpc/rpcinfo.c: Likewise.
15236 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15237 * sunrpc/rpcsvc/key_prot.x: Likewise.
15238 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15239 * sunrpc/rpcsvc/mount.x: Likewise.
15240 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15241 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15242 * sunrpc/rpcsvc/rex.x: Likewise.
15243 * sunrpc/rpcsvc/rstat.x: Likewise.
15244 * sunrpc/rpcsvc/rusers.x: Likewise.
15245 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15246 * sunrpc/rpcsvc/spray.x: Likewise.
15247 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15248 * sunrpc/rtime.c: Likewise.
15249 * sunrpc/svc.c: Likewise.
15250 * sunrpc/svc_auth.c: Likewise.
15251 * sunrpc/svc_authux.c: Likewise.
15252 * sunrpc/svc_raw.c: Likewise.
15253 * sunrpc/svc_run.c: Likewise.
15254 * sunrpc/svc_simple.c: Likewise.
15255 * sunrpc/svc_tcp.c: Likewise.
15256 * sunrpc/svc_udp.c: Likewise.
15257 * sunrpc/svc_unix.c: Likewise.
15258 * sunrpc/svcauth_des.c: Likewise.
15259 * sunrpc/xcrypt.c: Likewise.
15260 * sunrpc/xdr.c: Likewise.
15261 * sunrpc/xdr_array.c: Likewise.
15262 * sunrpc/xdr_float.c: Likewise.
15263 * sunrpc/xdr_mem.c: Likewise.
15264 * sunrpc/xdr_rec.c: Likewise.
15265 * sunrpc/xdr_ref.c: Likewise.
15266 * sunrpc/xdr_sizeof.c: Likewise.
15267 * sunrpc/xdr_stdio.c: Likewise.
15269 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15272 2010-08-19 Andreas Schwab <schwab@redhat.com>
15274 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15276 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15278 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15279 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15280 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15281 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15282 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15283 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15284 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15285 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15286 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15287 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15288 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15289 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15290 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15291 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15293 2010-07-26 Anton Blanchard <anton@samba.org>
15295 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15296 * malloc/arena.c (heap_trim): Likewise.
15298 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15300 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15302 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15303 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15305 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15307 * sysdeps/i386/elf/Makefile: New file.
15309 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15311 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15312 from fanotify_init.
15313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15314 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15316 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15318 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15320 * sysdeps/multiarch/strcmp.S: Likewise.
15322 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15324 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15325 strncase_l-nonascii.
15326 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15327 Add strncase_l-ssse3.
15328 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15329 * sysdeps/x86_64/strcmp.S: Likewise.
15330 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15331 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15332 * sysdeps/x86_64/strncase.S: New file.
15333 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15334 * sysdeps/x86_64/strncase_l.S: New file.
15335 * string/Makefile (strop-tests): Add strncasecmp.
15336 * string/test-strncasecmp.c: New file.
15338 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15341 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15342 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15344 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15346 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15348 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15350 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15351 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15352 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15354 2010-05-01 Alan Modra <amodra@gmail.com>
15356 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15357 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15358 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15359 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15360 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15361 tidying. Don't tail-call __sigjmp_save for static lib.
15362 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15364 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15365 (CALL_MCOUNT): Add eh info, and nop after bl.
15366 (TAIL_CALL_SYSCALL_ERROR): New macro.
15367 (PSEUDO_RET): Use it.
15368 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15369 Correct save location of integer regs and cr.
15370 (_dl_profile_resolve): Correct cr save location. Delete nops
15371 after bl when SHARED. Reduce cfi size a little by better
15372 placement of cfi directives.
15373 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15374 make a stack frame. Instead use parm save area as a temp.
15375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15376 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15378 Don't make a stack frame for parent, use parm save area.
15379 Increase child stack frame to 112 bytes. Don't save unused reg,
15380 and adjust reg usage. Set up cfi on error recovery and
15381 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15383 (__makecontext): Add dummy nop after jump to exit.
15384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15385 Use correct parm save area and cr save, reduce stack frame.
15386 Correct cfi for possible PSEUDO_RET frame setup.
15387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15388 Branch to local label emitted by PSEUDO_RET rather than
15391 2010-08-12 Andreas Schwab <schwab@redhat.com>
15394 * locale/programs/locale.c (print_assignment): New function.
15395 (show_locale_vars): Use it.
15397 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15399 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15401 (struct statfs64): Likewise.
15402 (_STATFS_F_FLAGS): Define.
15403 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15404 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15405 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15406 (ST_VALID): Define locally.
15407 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15408 __statvfs_getflags, use the provided value.
15409 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15410 __ASSUME_STATFS_F_FLAGS.
15412 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15414 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15415 Add sys/fanotify.h.
15416 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15417 fanotify_mask for GLIBC_2.13.
15418 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15419 fanotify_init and fanotify_mark.
15420 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15421 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15423 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15425 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15426 prlimit64 for GLIBC_2.13.
15427 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15429 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15432 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15433 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15434 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15435 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15437 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15440 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15441 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15443 * nss/Makefile: Add rules to build and run tst-nss-test1.
15444 * shlib-versions: Add entry for libnss_test1.
15445 * nss/nss_test1.c: New file.
15446 * nss/tst-nss-test1.c: New file.
15448 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15449 (__nss_configure_lookup): Set appropriate entry in
15450 __nss_configure_lookup to true.
15451 * nss/nsswitch.h: Define enum with indeces of databases in
15452 databases and __nss_database_custom arrays. Declare
15453 __nss_database_custom.
15454 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15455 to avoid using nscd when custom rules are installed.
15456 * nss/getXXbyYY_r.c: Likewise.
15457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15459 * nss/nss_files/files-parse.c: Whitespace fixes.
15461 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15464 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15465 * posix/fnmatch_loop.c: Likewise.
15467 2010-07-17 Andi Kleen <ak@linux.intel.com>
15469 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15470 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15471 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15472 * Versions.def [GLIBC_2.13]: Add.
15474 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15476 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15477 Also fail if tpwd after pwuid call is NULL.
15479 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15481 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15482 when converting to ms.
15484 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15486 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15487 EOPNOTSUPP errors with ENOTTY.
15488 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15489 EOPNOTSUPP errors with ENOTTY.
15491 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15493 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15494 Add strcasecmp_l-ssse3.
15495 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15497 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15498 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15499 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15501 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15503 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15505 * string/Makefile (strop-tests): Add strcasecmp.
15506 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15507 strcasecmp_l-nonascii.
15508 (gen-as-const-headers): Add locale-defines.sym.
15509 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15510 * sysdeps/x86_64/strcasecmp.S: New file.
15511 * sysdeps/x86_64/strcasecmp_l.S: New file.
15512 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15513 * sysdeps/x86_64/locale-defines.sym: New file.
15514 * string/test-strcasecmp.c: New file.
15516 * string/test-strcasestr.c: Test both ends of the range of characters.
15517 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15519 2010-07-29 Roland McGrath <roland@redhat.com>
15522 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15524 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15526 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15529 2010-07-27 Andreas Schwab <schwab@redhat.com>
15531 * manual/memory.texi (Malloc Tunable Parameters): Document
15534 2010-07-26 Roland McGrath <roland@redhat.com>
15537 * configure.in (-fgnu89-inline check): Set and substitute
15538 gnu89_inline, not libc_cv_gnu89_inline.
15539 * configure: Regenerated.
15540 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15542 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15544 * string/test-strnlen.c: New file.
15545 * string/Makefile (strop-tests): Add strnlen.
15546 * string/tester.c (test_strnlen): Add a few more test cases.
15547 * string/tst-strlen.c: Better error reporting.
15549 * sysdeps/x86_64/strnlen.S: New file.
15551 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15553 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15554 lower-latency instructions.
15556 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15558 * string/test-strcasestr.c: New file.
15559 * string/test-strstr.c: New file.
15560 * string/Makefile (strop-tests): Add strstr and strcasestr.
15561 * string/str-two-way.h: Don't undefine MAX.
15562 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15564 2010-07-21 Andreas Schwab <schwab@redhat.com>
15566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15567 strcasestr-nonascii.
15568 (CFLAGS-strcasestr-nonascii.c): Define.
15569 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15570 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15571 Remove unused attribute.
15573 2010-07-20 Roland McGrath <roland@redhat.com>
15575 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15576 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15577 ld.so.cache was broken. With it, there is no way to disable dsocaps
15578 like LD_HWCAP_MASK can disable hwcaps.
15580 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15582 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15584 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15586 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15587 call in strcasestr.
15588 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15589 __strcasestr_sse42_nonascii.
15590 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15591 strcasestr-nonascii.c.
15592 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15594 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15596 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15597 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15598 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15599 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15601 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15603 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15606 2010-07-06 Andreas Schwab <schwab@redhat.com>
15609 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15612 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15614 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15615 _PC_PIPE_BUF using F_GETPIPE_SZ.
15617 2010-07-05 Roland McGrath <roland@redhat.com>
15619 * manual/arith.texi (Rounding Functions): Fix rint description
15620 implicit in round description.
15622 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15624 * elf/Makefile: Fix linking for a few tests to make recent linker
15627 2010-06-30 Andreas Schwab <schwab@redhat.com>
15629 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15630 $(common-objpfx)libc_nonshared.a.
15632 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15634 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15635 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15636 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15637 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15638 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15639 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15640 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15641 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15656 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15657 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15658 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15659 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15660 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15661 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15662 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15663 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15664 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15665 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15666 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15667 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15683 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15685 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15686 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15687 * string/memmove.c (memmove): Renamed to ...
15688 (MEMMOVE): ...this. Default to memmove.
15689 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15690 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15693 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15694 mempcpy-ssse3-back memmove-ssse3-back.
15695 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15696 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15697 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15698 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15699 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15700 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15701 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15702 * sysdeps/x86_64/multiarch/memmove.c: New file.
15703 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15704 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15705 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15706 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15707 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15708 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15710 (index_Fast_Copy_Backward): Define.
15711 (HAS_ARCH_FEATURE): Define.
15712 (HAS_FAST_REP_STRING): Define.
15713 (HAS_FAST_COPY_BACKWARD): Define.
15715 2010-06-21 Andreas Schwab <schwab@redhat.com>
15717 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15718 Restore proper fallback handling.
15720 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15723 * posix/group_member.c (__group_member): Correct checking loop.
15725 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15726 OOM in getpwuid_r correctly. Return error number when the caller
15727 should return, otherwise -1.
15728 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15729 call returning > 0 value.
15730 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15732 2010-06-07 Andreas Schwab <schwab@redhat.com>
15734 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15735 libc_nonshared.a from targets in modules-names.
15737 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15739 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15742 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
15744 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15745 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15746 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15747 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15749 2010-06-02 Andreas Schwab <schwab@redhat.com>
15751 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15753 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15755 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15758 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15762 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15764 2010-06-14 Roland McGrath <roland@redhat.com>
15766 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15768 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15770 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15771 __REDIRECT followed by __THROW.
15772 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15773 * posix/getopt.h (getopt): Likewise.
15775 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15777 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15778 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15779 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15781 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15782 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15784 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15786 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15788 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15792 Properly check family and model.
15794 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15796 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15798 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15800 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15802 2010-05-21 Ulrich Drepper <drepper@redhat.com>
15804 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15807 2010-05-19 Andreas Schwab <schwab@redhat.com>
15809 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15812 2010-05-21 Andreas Schwab <schwab@redhat.com>
15814 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15815 and internal_recvmmsg.
15816 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15817 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15818 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15819 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15821 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15822 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15823 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15825 2010-05-20 Andreas Schwab <schwab@redhat.com>
15827 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15829 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15831 POWER7 optimizations.
15832 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15833 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15835 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15837 * version.h: Update for 2.13 development version.
15839 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15841 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15842 exceptions. Return 0.
15844 2010-05-07 Roland McGrath <roland@redhat.com>
15846 * elf/ldconfig.c (main): Add a const.
15848 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15850 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15851 (args_options): Add no-idn option.
15852 (ahosts_keys_int): Add idn_flags to ai_flags.
15853 (parse_option): Handle 'i' option to clear idn_flags.
15855 * malloc/malloc.c (_int_free): Possible race in the most recently
15856 added check. Only act on the data if no current modification
15859 See ChangeLog.17 for earlier changes.