1 2012-05-24 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5 for |x| <= 2**-26, not 2**-57.
6 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9 2012-05-24 Jeff Law <law@redhat.com>
11 * stdio-common/Makefile (tests): Add bug25.
12 * stdio-common/bug25.c: New test.
14 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18 multiple of MALLOC_ALIGNMENT in size.
19 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
25 (FILENAME_MAX): Use macro-int-constant.
26 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27 (_IOFBF): Use macro-int-constant.
34 (EOF): Use macro-int-constant. Require < 0.
35 (NULL): Use macro-constant. Require == 0.
36 (stdin): Require type to be FILE *.
39 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41 (EXIT_SUCCESS): Likewise.
42 (NULL): Use macro-constant. Require == 0.
43 (RAND_MAX): Use macro-int-constant.
44 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45 [C99-based standards] (strtof): Require function.
46 [C99-based standards] (strtold): Likewise.
47 [C99-based standards] (strtoll): Likewise.
48 [C99-based standards] (strtoull): Likewise.
49 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50 [ISO || ISO99 || ISO11] (limits.h): Likewise.
51 [ISO || ISO99 || ISO11] (math.h): Likewise.
52 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
53 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54 [ISO || ISO99 || ISO11] (*_t): Do not allow.
56 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
59 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61 * intl/dgettext.c (DCGETTEXT): Likewise.
62 * intl/gettext.c (DCGETTEXT): Likewise.
63 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64 * posix/regex_internal.h (gettext): Likewise.
65 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67 * include/argz.h (__argz_count_internal)
68 (__argz_stringify_internal): Remove declaration.
69 (__argz_count, __argz_stringify): Declare hidden proto.
70 * intl/dcgettext.c: Remove use of INTDEF.
71 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
72 * string/argz-stringify.c: Likewise.
73 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
76 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79 * include/stdio.h (__asprintf_internal): Don't declare.
80 (__asprintf): Don't define as macro. Declare hidden proto.
81 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
82 (__fsetlocking): Declare hidden proto.
83 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
84 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
86 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
87 (_IO_setlinebuf): Remove use of INTUSE.
88 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
89 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
90 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
92 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
93 (_IO_do_flush): Remove use of INTUSE.
94 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
95 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
96 (_IO_adjust_column, _IO_least_wmarker)
97 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
98 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
99 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
100 (_IO_default_doallocate, _IO_wdefault_doallocate)
101 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
102 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
103 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
104 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
105 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
106 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
107 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
108 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
109 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
110 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
111 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
112 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
113 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
115 (_IO_flush_all_internal, _IO_adjust_column_internal)
116 (_IO_default_uflow_internal, _IO_default_finish_internal)
117 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
118 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
119 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
120 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
121 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
122 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
123 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
124 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
125 (_IO_file_close_internal, _IO_file_close_it_internal)
126 (_IO_file_underflow_internal, _IO_file_overflow_internal)
127 (_IO_file_init_internal, _IO_file_attach_internal)
128 (_IO_file_fopen_internal, _IO_file_read_internal)
129 (_IO_file_sync_internal, _IO_file_seek_internal)
130 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
131 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
132 (_IO_str_underflow_internal, _IO_str_overflow_internal)
133 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
134 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
135 (_IO_list_all_internal, _IO_link_in_internal)
136 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
137 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
138 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
139 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
140 (_IO_do_write_internal, _IO_padn_internal)
141 (_IO_getline_info_internal, _IO_getline_internal)
142 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
143 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
144 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
145 (_IO_vfscanf_internal, _IO_vfprintf_internal)
146 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
147 (_IO_init_internal, _IO_un_link_internal): Don't declare.
148 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
149 with libc_hidden_ver, remove use of INTUSE.
150 * libio/genops.c: Likewise.
151 * libio/freopen.c: Likewise.
152 * libio/freopen64.c: Likewise.
153 * libio/iofclose.c: Likewise.
154 * libio/iofdopen.c: Likewise.
155 * libio/iofflush.c: Likewise.
156 * libio/iofflush_u.c: Likewise.
157 * libio/iofgets.c: Likewise.
158 * libio/iofgets_u.c: Likewise.
159 * libio/iofopen.c: Likewise.
160 * libio/iofopncook.c: Likewise.
161 * libio/iofread.c: Likewise.
162 * libio/iofread_u.c: Likewise.
163 * libio/ioftell.c: Likewise.
164 * libio/iofwrite.c: Likewise.
165 * libio/iogetline.c: Likewise.
166 * libio/iogets.c: Likewise.
167 * libio/iogetwline.c: Likewise.
168 * libio/iopadn.c: Likewise.
169 * libio/iopopen.c: Likewise.
170 * libio/ioseekoff.c: Likewise.
171 * libio/ioseekpos.c: Likewise.
172 * libio/iosetbuffer.c: Likewise.
173 * libio/iosetvbuf.c: Likewise.
174 * libio/ioungetc.c: Likewise.
175 * libio/ioungetwc.c: Likewise.
176 * libio/iovdprintf.c: Likewise.
177 * libio/iovsprintf.c: Likewise.
178 * libio/iovsscanf.c: Likewise.
179 * libio/memstream.c: Likewise.
180 * libio/obprintf.c: Likewise.
181 * libio/oldfileops.c: Likewise.
182 * libio/oldiofclose.c: Likewise.
183 * libio/oldiofdopen.c: Likewise.
184 * libio/oldiofopen.c: Likewise.
185 * libio/oldiopopen.c: Likewise.
186 * libio/oldstdfiles.c: Likewise.
187 * libio/putc.c: Likewise.
188 * libio/setbuf.c: Likewise.
189 * libio/setlinebuf.c: Likewise.
190 * libio/stdfiles.c: Likewise.
191 * libio/strops.c: Likewise.
192 * libio/vasprintf.c: Likewise.
193 * libio/vscanf.c: Likewise.
194 * libio/vsnprintf.c: Likewise.
195 * libio/vswprintf.c: Likewise.
196 * libio/wfiledoalloc.c: Likewise.
197 * libio/wfileops.c: Likewise.
198 * libio/wgenops.c: Likewise.
199 * libio/wmemstream.c: Likewise.
200 * libio/wstrops.c: Likewise.
201 * libio/__fpurge.c: Likewise.
202 * libio/__fsetlocking.c: Likewise.
203 * assert/assert.c: Likewise.
204 * debug/fgets_chk.c: Likewise.
205 * debug/fgets_u_chk.c: Likewise.
206 * debug/fread_chk.c: Likewise.
207 * debug/fread_u_chk.c: Likewise.
208 * debug/gets_chk.c: Likewise.
209 * debug/obprintf_chk.c: Likewise.
210 * debug/vasprintf_chk.c: Likewise.
211 * debug/vdprintf_chk.c: Likewise.
212 * debug/vsnprintf_chk.c: Likewise.
213 * debug/vsprintf_chk.c: Likewise.
214 * malloc/mtrace.c: Likewise.
215 * misc/error.c: Likewise.
216 * misc/syslog.c: Likewise.
217 * stdio-common/asprintf.c: Likewise.
218 * stdio-common/fxprintf.c: Likewise.
219 * stdio-common/getw.c: Likewise.
220 * stdio-common/isoc99_fscanf.c: Likewise.
221 * stdio-common/isoc99_scanf.c: Likewise.
222 * stdio-common/isoc99_vfscanf.c: Likewise.
223 * stdio-common/isoc99_vscanf.c: Likewise.
224 * stdio-common/isoc99_vsscanf.c: Likewise.
225 * stdio-common/printf-prs.c: Likewise.
226 * stdio-common/printf_fp.c: Likewise.
227 * stdio-common/printf_fphex.c: Likewise.
228 * stdio-common/printf_size.c: Likewise.
229 * stdio-common/putw.c: Likewise.
230 * stdio-common/scanf.c: Likewise.
231 * stdio-common/sprintf.c: Likewise.
232 * stdio-common/tmpfile.c: Likewise.
233 * stdio-common/vfprintf.c: Likewise.
234 * stdio-common/vfscanf.c: Likewise.
235 * stdlib/strfmon_l.c: Likewise.
236 * sunrpc/openchild.c: Likewise.
237 * sunrpc/xdr_stdio.c: Likewise.
238 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
239 * sysdeps/mach/hurd/tmpfile.c: Likewise.
241 2012-05-24 Roland McGrath <roland@hack.frob.com>
243 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
245 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
246 in the third column, to generate for the shared library an IFUNC
247 that uses _dl_vdso_vsym.
248 * Makerules (COMPILE.c, compile-stdin.c): New variables.
249 * Makeconfig (object-suffixes-noshared): New variable.
251 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
252 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
253 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
254 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
257 * include/sys/time.h (__gettimeofday): Remove macro.
258 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
259 * time/gettimeofday.c (__gettimeofday): Remove #undef.
261 (__gettimeofday): Add libc_hidden_def.
262 (gettimeofday): Add libc_hidden_weak.
263 * sysdeps/mach/gettimeofday.c: Likewise.
264 * sysdeps/posix/gettimeofday.c: Likewise.
265 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
266 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
267 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
268 (__gettimeofday_internal): Remove strong_alias.
269 (__gettimeofday): Add libc_hidden_def.
270 (gettimeofday): Add libc_hidden_weak.
271 * sysdeps/unix/syscalls.list (gettimeofday):
272 Remove __gettimeofday_internal alias.
274 2012-05-24 Daniel Jacobowitz <drow@false.org>
275 H.J. Lu <hongjiu.lu@intel.com>
278 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
279 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
280 (largebin_index_32_big): New.
281 (largebin_index): Use it for 16-byte alignment.
282 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
283 correction with front_misalign.
285 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
313 * scripts/data/c++-types-x32-linux-gnu.data: New file.
314 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
316 2012-05-24 Joseph Myers <joseph@codesourcery.com>
320 * math/libm-test.inc (exp_test): Add test from bug 14036.
321 (pow_test): Add test from bug 10846.
323 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
325 (special_function): Do not include flags in test name.
326 (parse_args): Likewise.
327 * sysdeps/i386/fpu/libm-test-ulps: Update.
328 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
329 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
330 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
333 * math/gen-libm-test.pl (%beautify): Add entries for underflow
335 * math/libm-test.inc ("Philosophy"): Update comment about
337 (UNDERFLOW_EXCEPTION): New macro.
338 (UNDERFLOW_EXCEPTION_OK): Likewise.
339 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
340 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
341 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
342 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
343 (INVALID_EXCEPTION_OK): Update value.
344 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
345 (OVERFLOW_EXCEPTION_OK): Likewise.
346 (IGNORE_ZERO_INF_SIGN): Likewise.
347 (test_exceptions): Handle underflow exceptions.
348 (acos_test): Update for underflow exception expectations.
349 (cexp_test): Likewise.
350 (clog_test): Likewise.
351 (clog10_test): Likewise.
352 (csqrt_test): Likewise.
353 (ctan_test): Likewise.
354 (ctanh_test): Likewise.
355 (exp_test): Likewise.
356 (exp10_test): Likewise.
357 (exp2_test): Likewise.
358 (expm1_test): Likewise.
359 (fma_test): Likewise.
362 (nexttoward_test): Likewise.
363 (pow_test): Likewise.
364 (scalbn_test): Likewise.
365 (scalbln_test): Likewise.
366 (tan_test): Likewise.
368 * sysdeps/i386/fpu/libm-test-ulps: Update.
369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
371 2012-05-23 David S. Miller <davem@davemloft.net>
373 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
374 (__libc_sigaction): Remove unused local variables.
376 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
378 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
380 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
382 mktime: avoid signed integer overflow
383 * time/mktime.c (__mktime_internal): Do not mishandle the case
384 where diff == INT_MIN.
386 mktime: simplify computation of average
387 * time/mktime.c (ranged_convert): Use new time_t_avg function
388 instead of rolling our own (probably-slower) code.
390 mktime: do not assume signed right shift propagates sign bit
391 * time/mktime.c (isdst_differ): New static function.
392 (__mktime_internal): No need to normalize tm_isdst now.
393 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
396 mktime: merge another wrapv change from gnulib
397 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
400 mktime: remove incorrect attempt at unusual arithmetics
401 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
402 The code didn't really work on such machines anyway.
403 (TYPE_MINIMUM): Assume two's complement.
404 (twos_complement_arithmetic): Verify that long_int and time_t
405 are two's complement (or unsigned, in the latter case).
407 mktime: check signed shifts on long_int and time_t, too
408 * time/mktime.c (SHR): Check that shifts work as desired
409 on the types long_int and time_t too, as SHR is used on
412 mktime: do not assume 'long' is wide enough
413 * time/mktime.c (verify): Move decl up.
414 (long_int): New type.
415 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
416 to remove assumption in the code that 'long' is wide enough to
417 store year values. This assumption is not true on x32 and on
418 some non-glibc platforms.
420 mktime: merge wrapv change from gnulib
421 * time/mktime.c (WRAPV): New macro.
422 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
423 (guess_time_tm, __mktime_internal): Do not assume that signed
424 integer overflow wraps around; modern compilers generate code
425 where this assumption is no longer valid.
427 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
429 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
430 Replace "jmp L(pseudo_end)" with "ret".
431 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
434 2012-05-23 Andreas Jaeger <aj@suse.de>
436 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
437 * sysdeps/unix/sysv/linux/poll.c: Remove file.
439 2012-05-23 Andreas Jaeger <aj@suse.de>
440 Maximilian Attems <max@stro.at>
442 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
445 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
447 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
448 code so that pseudo_end is just ret and the stack pointer is
449 correct also for static library in error case.
451 2012-05-23 Joseph Myers <joseph@codesourcery.com>
453 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
454 move to syscalls.list.
455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
460 * manual/install.texi (Running make install): Do not mention Linux
461 kernel version for which pt_chown is not needed.
462 (Linux): Do not mention problems with nscd with 2.0 kernels.
463 * INSTALL: Regenerated.
465 2012-05-23 Andreas Jaeger <aj@suse.de>
467 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
468 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
470 * sysdeps/unix/sysv/linux/s390/bits/mman.h
471 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
472 * sysdeps/unix/sysv/linux/sh/bits/mman.h
473 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
474 * sysdeps/unix/sysv/linux/i386/bits/mman.h
475 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
476 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
477 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
478 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
479 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
480 * sysdeps/unix/sysv/linux/bits/in.h
481 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
483 2012-05-22 Roland McGrath <roland@hack.frob.com>
485 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
486 (PREPARE_VERSION): Just use assert instead, it will be elided
487 under [NDEBUG] anyway.
489 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
491 * sysdeps/unix/sysv/linux/Makefile: Include
492 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
493 (sysdep_routines): Remove sysctl.
494 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
495 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
496 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
497 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
498 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
500 2012-05-22 Andreas Jaeger <aj@suse.de>
502 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
503 that pseudo_end is just ret and the stack pointer is correct also
504 for static library in error case.
506 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
509 * nss/nsswitch.c (defconfig_entries): New variable.
510 (__nss_database_lookup): Don't leak defconfig entries.
511 (nss_parse_service_list): Don't leak on error paths.
512 (free_database_entries): New function.
513 (free_defconfig): New function.
514 (free_mem): Move common code to free_database_entries.
516 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
518 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
520 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
522 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
523 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
526 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
527 (INTERNAL_SYSCALL_TYPES): Likewise.
528 (LOAD_ARGS_TYPES_[1-6]): Likewise.
529 (LOAD_REGS_TYPES_[1-6]): Likewise.
530 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
531 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
533 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
535 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
536 copysignl for GLIBC_2_0.
537 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
538 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
539 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
541 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
542 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
544 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
546 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
547 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
549 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
552 * time/mktime.c: Update copyright years.
554 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
556 mktime: merge comment-quoting-style change from gnulib
557 * time/mktime.c: Quote 'like this' in comments.
558 The GNU coding standards suggest that we no longer quote `like this',
559 as "`" and "'" are typically rendered asymmetrically nowadays.
560 The typical gnulib style is to quote 'like this' when quoting
561 code, and "like this" when quoting English.
563 * time/mktime.c (compile-command): Add "-I.".
565 mktime: merge mktime-internal.h change from gnulib
566 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
568 mktime: merge time_r change from gnulib
569 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
571 mktime: merge DEBUG change from gnulib
572 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
573 case system <time.h> has a #define.
575 mktime: merge <sys/types.h> change from gnulib
576 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
577 since <time.t> is now guaranteed to define time_t.
579 mktime: merge HAVE_CONFIG_H change from gnulib
580 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
582 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
587 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
589 (struct rusage): Use anonymous union to pad each field to
592 2012-05-21 David S. Miller <davem@davemloft.net>
594 * Makefules (o-iterator): Remove .s cases.
595 (compile-command.s): Delete.
597 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
599 2012-05-21 Joseph Myers <joseph@codesourcery.com>
601 * configure.in (libc_cv_predef_stack_protector): Only consider
602 "foobar" and "__stack_chk_fail" lines in libc_undefs.
603 * configure: Regenerated.
605 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
608 New macro. Use R*LP on int and pointer.
609 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
610 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
611 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
612 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
614 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
615 [__WORDSIZE_TIME64_COMPAT32] instead of
616 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
617 (struct utmp): Likewise.
618 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
619 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
621 (__WORDSIZE_TIME64_COMPAT32): This.
622 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
623 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
624 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
625 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
626 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
627 (__WORDSIZE_TIME64_COMPAT32): New macro.
629 2012-05-21 Andreas Jaeger <aj@suse.de>
631 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
632 only if [SHARED]. Add prototype for __wcschr_ia32.
634 2012-05-21 Roland McGrath <roland@hack.frob.com>
636 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
637 of %rbp unmolested in the jmp_buf while mangling the low bits.
638 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
639 unmolested high bits of %rbp while demangling the low bits.
640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
642 2012-05-21 Andreas Jaeger <aj@suse.de>
644 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
645 * sunrpc/svc_simple.c: Use it for registerrpc.
646 * sunrpc/xcrypt.c: Use it for passwd2des.
648 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
650 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
652 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
653 Don't define if [__SYSCALL_WORDSIZE != 32].
654 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
657 2012-05-21 Bruno Haible <bruno@clisp.org>
658 Andreas Jaeger <aj@suse.de>
660 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
661 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
662 inptr and inend for must_buffer_ch.
663 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
664 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
665 * stdio-common/Makefile (tests): Remove bug15.
666 (bug15-ENV): Remove macro.
667 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
670 2012-05-19 Andreas Jaeger <aj@suse.de>
671 Roland McGrath <roland@hack.frob.com>
673 * manual/contrib.texi: Completely rewritten. It contains now an
674 alphabetical list of contributors and their contributions.
676 2012-05-21 Richard Henderson <rth@twiddle.net>
678 * misc/getauxval.c (__getauxval): Use unsigned long int.
679 * misc/sys/auxv.h: Include <sys/cdefs.h>.
680 (getauxval): Use unsigned long int.
682 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
684 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
686 2012-05-21 Roland McGrath <roland@hack.frob.com>
688 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
689 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
690 __alignof__ (long double).
692 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
696 2012-05-20 Richard Henderson <rth@twiddle.net>
698 * misc/getauxval.c: New file.
699 * misc/sys/auxv.h: New file.
700 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
701 (routines): Add getauxval.
702 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
703 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
704 * elf/dl-sysdep.c (_dl_auxv): Remove.
705 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
706 * elf/dl-support.c (_dl_auxv): New variable.
707 (_dl_aux_init): Initialize it.
708 * manual/startup.texi (Auxiliary Vector): New node.
709 * sysdeps/generic/bits/hwcap.h: New file.
710 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
711 * sysdeps/powerpc/sysdep.h: ... here. Include it.
712 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
713 * sysdeps/sparc/sysdep.h: ... here. Include it.
714 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
715 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
721 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
727 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
731 2012-05-19 David S. Miller <davem@davemloft.net>
733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
735 2012-05-19 Joseph Myers <joseph@codesourcery.com>
738 * math/s_ccosh.c: Include <float.h>
739 (__ccosh): Avoid internal overflow calculating sinh and cosh
740 values before multiplying by sin and cos values.
741 * math/s_ccoshf.c: Likewise.
742 * math/s_ccoshl.c: Likewise.
743 * math/s_csin.c: Likewise.
744 * math/s_csinf.c: Likewise.
745 * math/s_csinl.c: Likewise.
746 * math/s_csinh.c: Likewise.
747 * math/s_csinhf.c: Likewise.
748 * math/s_csinhl.c: Likewise.
749 * math/libm-test.inc (ccos_test): Add more tests.
750 (ccosh_test): Likewise.
751 (csin_test): Likewise.
752 (csinh_test): Likewise.
753 * sysdeps/i386/fpu/libm-test-ulps: Update.
754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
756 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
758 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
759 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
761 * sysdeps/x86_64/x32/_itoa.h: Add comment.
763 2012-05-19 Joseph Myers <joseph@codesourcery.com>
765 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
766 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
767 * sysdeps/powerpc/soft-fp/Versions: Likewise.
768 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
769 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
770 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
771 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
772 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
773 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
774 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
775 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
776 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
777 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
778 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
779 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
780 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
781 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
782 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
783 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
784 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
785 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
786 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
787 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
788 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
789 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
790 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
791 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
792 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
793 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
794 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
795 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
797 2012-05-18 Andreas Jaeger <aj@suse.de>
799 * csu/.gitignore: Delete.
801 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
803 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
804 (timex): Use __syscall_slong_t.
806 2012-05-18 Andreas Jaeger <aj@suse.de>
807 Carlos O'Donell <carlos_odonell@mentor.com>
809 * manual/install.texi (Configuring and compiling): Update
810 description about files modified in the source directory.
811 * INSTALL: Regenerated.
813 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
815 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
816 value. Use "or" to set return value to -1.
817 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
820 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
822 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
823 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
824 failure if the compiler has Graphite support disabled.
825 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
827 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
828 CFLAGS-memmove.c): Likewise.
829 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
832 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
834 * sysdeps/x86_64/x32/_itoa.h: New file.
836 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
837 getdents system call only if kernel and user dirents have the
838 same d_ino and d_off.
840 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
841 LLONG_MAX != LONG_MAX.
842 (_itoa_word): Use _ITOA_WORD_TYPE on value.
843 (_fitoa_word): Likewise.
845 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
847 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
848 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
849 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
851 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
852 include <bits/wordsize.h>. Check __x86_64__ instead of
854 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
855 if __x86_64__ is defined. Use anonymous union on fpstate.
857 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
860 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
862 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
863 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
864 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
865 Refer to _rtld_local_ro instead of _rtld_global_ro.
866 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
868 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
870 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
872 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
873 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
874 of _rtld_global, and rtld_progname instead of _dl_argv[0].
876 * sysdeps/powerpc/powerpc32/dl-machine.c
877 (__elf_machine_runtime_setup) [PROF]: Don't reference
880 2012-05-18 Andreas Jaeger <aj@suse.de>
882 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
883 function only available for GCCs before 3.4 since GCC 3.4
884 introduced a builtin.
894 (nearbyint): Likewise.
895 (nearbyintf): Likewise.
901 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
903 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
904 on both fields and cast pointer to __syscall_ulong_t.
906 * bits/types.h (__fsword_t): New type.
907 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
908 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
909 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
910 (__FSWORD_T_TYPE): Likewise.
911 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
912 (__FSWORD_T_TYPE): Likewise.
913 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
914 (__FSWORD_T_TYPE): Likewise.
915 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
916 (__FSWORD_T_TYPE): Likewise.
917 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
918 __SWORD_TYPE with __fsword_t.
919 (statfs64): Likewise.
921 2012-05-17 David S. Miller <davem@davemloft.net>
923 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
925 2012-05-17 Andreas Jaeger <aj@suse.de>
927 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
930 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
932 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
934 2012-05-17 Andreas Jaeger <aj@suse.de>
936 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
939 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
941 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
943 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
945 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
946 * sysdeps/x86_64/tst-mallocalign1.c: New file.
948 2012-05-17 Andreas Jaeger <aj@suse.de>
949 Carlos O'Donell <carlos_odonell@mentor.com>
952 * sysdeps/x86_64/multiarch/init-arch.h
953 (bit_YMM_Usable): Rename to...
954 (bit_AVX_Usable): ... this.
955 (bit_FMA4_Usable): New macro.
956 (bit_XMM_state): New macro.
957 (bit_YMM_state): New macro.
958 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
959 [__ASSEMBLER__] (index_AVX_Usable): ... this.
960 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
961 (CPUID_OSXSAVE): New macro.
962 (CPUID_AVX): New macro.
963 (CPUID_FMA4): New macro.
964 (index_YMM_Usable): Rename to...
965 (index_AVX_Usable): ... this.
966 (HAS_AVX): Use HAS_ARCH_FEATURE.
967 (HAS_FMA4): Likewise.
968 (HAS_YMM_USABLE): Remove.
969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
970 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
972 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
973 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
974 * sysdeps/x86_64/multiarch/Makefile: Likewise.
975 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
976 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
978 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
980 * math/libm-test.c: Support platforms without multiple rounding modes.
981 * math/bug-nextafter.c: Support platforms without FP exceptions.
982 * math/bug-nexttoward.c: Likewise.
983 * math/test-fenv.c: Likewise.
984 * math/test-misc.c: Likewise.
985 * stdlib/bug-getcontext.c: Likewise.
987 2012-05-17 Andreas Jaeger <aj@suse.de>
989 * manual/examples/search.c (critter_cmp): Change signature to
991 * manual/string.texi (Collation Functions): Likewise.
993 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
995 * bits/types.h: Fold copyright years.
996 * bits/typesizes.h: Likewise.
997 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
998 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
999 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1000 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1001 * time/time.h: Likewise.
1003 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1006 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1007 in instead of returning them. Return void.
1008 (__libc_mallinfo): Accumulate over all arenas.
1009 (__malloc_stats): Adjust for change in int_mallinfo interface.
1011 2012-05-16 Roland McGrath <roland@hack.frob.com>
1014 * configure.in (NM): Add AC_CHECK_TOOL for it.
1015 (libc_extra_cflags): New substituted variable.
1016 Check for -fstack-protector being used implicitly.
1017 * configure: Regenerated.
1018 * config.make.in (config-extra-cflags): New variable,
1019 gets @libc_extra_cflags@.
1020 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1023 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1024 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1025 * configure: Regenerated.
1026 * config.make.in (CPPUNDEFS): New substituted variable.
1027 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1028 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1029 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1031 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1033 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1034 (mq_attr): Use __syscall_slong_t.
1036 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1038 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1039 Check __x86_64__ instead of __WORDSIZE.
1040 (_STAT_VER_LINUX): Likewise.
1041 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1042 __syscall_ulong_t and __syscall_slong_t.
1045 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1047 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1049 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1051 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1053 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1055 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1058 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1059 include <bits/wordsize.h>. Check __x86_64__ instead of
1061 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1063 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1065 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1066 include <bits/wordsize.h>. Check __x86_64__ instead of
1068 (user_regs_struct): Use "__extension__ unsigned long long"
1069 instead of "unsigned long" if __x86_64__ is defined.
1070 (user): Likewise. Pad after pointer field if __ILP32__ is
1073 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1075 * configure.in (makeinfo): Require version 4.5 or later. Allow
1077 * configure: Regenerated.
1078 * manual/install.texi (texinfo): Increase version requirement to
1080 * INSTALL: Regenerated.
1082 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1084 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1086 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1088 * sysdeps/x86_64/x32/ffs.c: New file.
1090 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1092 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1093 defined. Use __syscall_ulong_t.
1094 (shminfo): Use __syscall_ulong_t.
1095 (shm_info): Likewise.
1097 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1100 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1102 (msgqnum_t): Use __syscall_ulong_t.
1103 (msglen_t): Likewise.
1104 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1107 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1108 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1110 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1112 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1113 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1115 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1118 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1119 include <bits/wordsize.h>. Check __x86_64__ instead of
1122 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1123 "unsigned long long int" if __x86_64__ is defined.
1124 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1126 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1127 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1128 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1130 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1132 (GET_PC): Cast to uintptr_t first.
1133 (GET_FRAME): Likewise.
1134 (GET_STACK): Likewise.
1136 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1137 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1138 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1139 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1140 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1141 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1142 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1143 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1144 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1145 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1146 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1147 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1148 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1149 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1150 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1151 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1152 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1153 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1154 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1155 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1156 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1157 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1158 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1159 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1160 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1161 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1162 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1163 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1164 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1166 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1168 * Makerules (+depfiles): Also collect depfiles from .oS in
1170 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1171 .oS, $(libnldbl-routines)).
1173 * Makerules (native-compile-mkdep-flags): Define.
1174 * sunrpc/Makefile (extra-objs): Add $(addprefix
1175 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1176 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1177 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1178 calling $(make-target-directory).
1180 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1182 * bits/types.h (__snseconds_t): Removed.
1183 * time/time.h (struct timespec): Replace __snseconds_t with
1185 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1186 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1188 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1189 (__SNSECONDS_T_TYPE): Likewise.
1190 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1191 (__SNSECONDS_T_TYPE): Likewise.
1192 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1193 (__SNSECONDS_T_TYPE): Likewise.
1195 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1197 * sysdeps/mach/hurd/bits/typesizes.h
1198 (__SYSCALL_SLONG_TYPE): New macro.
1199 (__SYSCALL_ULONG_TYPE): Likewise.
1201 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1203 * bits/types.h (__syscall_slong_t): New type.
1204 (__syscall_ulong_t): Likewise.
1206 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1207 (__SYSCALL_ULONG_TYPE): Likewise.
1208 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1209 (__SYSCALL_SLONG_TYPE): Likewise.
1210 (__SYSCALL_ULONG_TYPE): Likewise.
1211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1212 (__SYSCALL_SLONG_TYPE): Likewise.
1213 (__SYSCALL_ULONG_TYPE): Likewise.
1214 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1215 (__SYSCALL_SLONG_TYPE): Likewise.
1216 (__SYSCALL_ULONG_TYPE): Likewise.
1218 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1220 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1221 Add sigaltstack-offsets.sym.
1222 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1223 <sigaltstack-offsets.h>.
1224 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1225 longjmp_msg pointer.
1226 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1227 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1229 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1231 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1233 * elf/stackguard-macros.h: Remove file.
1234 * sysdeps/generic/stackguard-macros.h: New file.
1235 * sysdeps/i386/stackguard-macros.h: Likewise.
1236 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1237 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1238 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1239 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1240 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1241 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1242 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1243 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1244 <elf/stackguard-macros.h>.
1247 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1248 __aligned__ in attribute.
1249 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1250 (gregset_t): Likewise.
1252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1254 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1255 * sysdeps/x86_64/64/Implies-after: Here. New file.
1256 * sysdeps/x86_64/x32/Implies-after: New file.
1258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1260 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1261 and access return value for _dl_profile_fixup. Use R10_LP to
1264 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1266 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1270 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1271 * sysdeps/x86_64/x32/sysdep.h: New file.
1273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1275 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1276 * sysdeps/x86_64/setjmp.S: Likewise.
1278 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1280 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1281 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1282 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1283 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1284 remove unused global constant.
1286 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1288 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1289 include of <not-cancel.h>.
1291 2012-05-15 Roland McGrath <roland@hack.frob.com>
1293 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1295 2012-05-15 Jeff Law <law@redhat.com>
1296 Andreas Jaeger <aj@suse.de>
1299 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1301 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1302 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1303 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1304 code changing __hst_map_handle.map.
1306 2012-05-15 Roland McGrath <roland@hack.frob.com>
1308 * configure.in (sysnames): Look for Implies-before and Implies-after
1310 * configure: Regenerated.
1312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1314 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1315 8-byte data alignment with LP_SIZE alignment.
1317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1319 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1324 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1328 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1329 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1330 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1332 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1336 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1337 (stackinfo_sub_sp): Likewise.
1339 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1341 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1346 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1349 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1351 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1356 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1360 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1361 into R11_LP and load __x86_64_shared_cache_size_half into
1364 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1366 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1369 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1371 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1375 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1377 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1378 powerpc32/power7/fpu/s_logb.c via #include.
1379 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1380 powerpc32/power7/fpu/s_logbf.c via #include.
1381 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1382 powerpc32/power7/fpu/s_logbl.c via #include.
1384 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1386 * README.libm: Remove file.
1388 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1390 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1391 count for x32. Use R*_LP and omit operand-size suffix.
1393 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1395 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1396 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1397 * sysdeps/x86_64/x32/shlib-versions: New file.
1399 2012-05-14 Roland McGrath <roland@hack.frob.com>
1401 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1402 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1403 Use _dl_fatal_printf instead.
1405 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1407 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1408 set if not set by the user. Do not allow for being unset.
1409 * sysdeps/unix/sysv/linux/configure: Regenerated.
1411 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1413 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1414 the `q' suffix from lea and replace .quad with ASM_ADDR.
1416 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1419 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1421 (PTR_DEMANGLE): Likewise.
1423 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1425 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1427 (ASM_ADDR): Likewise.
1445 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1447 * sysdeps/x86_64/x32/dl-machine.h: New file.
1449 2012-05-14 Andreas Jaeger <aj@suse.de>
1451 * manual/Makefile (subdir): Remove export of subdir.
1452 (all): Remove target.
1453 (.PHONY): Remove all from list.
1454 (mkinstalldirs): Remove.
1455 (.PHONY): Remove installdirs from list.
1456 ($(inst_infodir)/libc.info): Use make-target-directory.
1457 (installdirs): Remove.
1459 (glibc-targets): Remove.
1462 ($(objpfx)stubs ../po/manual.pot): Remove.
1463 ($(objpfx)stamp%): Remove.
1464 (make-target-directory): Remove.
1465 (subdir_install): Remove.
1473 * manual/.gitignore: Remove, it's not needed anymore.
1474 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1476 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1478 (texis): Renamed to $(objpfx)texis.
1479 (texis-path): New, contains path to generated files.
1480 (chapters.%): Use texis-path for complete path, add extra argument
1482 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1483 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1484 (summary,texi, stamp-summary): Use complete path of
1485 files. Generate files in build dir.
1486 (dir-add.texi): Build in build dir.
1487 (libm-err.texi,stamp-libm-err): Likewise.
1488 (version.texi, stamp-version): Likewise.
1489 (.%c.texi): Likewise.
1490 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1491 (mostlyclean): Remove target.
1492 (realclean): Remove target.
1493 (generated): Add new variable with contents from mostlyclean and
1494 realclean, remove entries duplicated in common-mostlyclean, add
1495 stamp-libm-err and stamp-version.
1496 (generated-dirs): Add libc directory.
1497 ($(inst_infodir)/libc.info): Install files from build dir.
1499 * manual/install.texi (Configuring and compiling): Adjust since
1500 the info files are not part of the tar ball anymore.
1502 2012-05-14 Andreas Jaeger <aj@suse.de>
1504 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1507 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1510 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1511 to 2.2.0 where earlier.
1512 * sysdeps/unix/sysv/linux/configure: Regenerated.
1513 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1514 Remove conditional code.
1515 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1516 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1517 Remove conditional code.
1518 [!__NR_lchown]: Likewise.
1519 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1520 [__NR_lchown]: Likewise.
1521 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1522 comment referencing __ASSUME_LCHOWN_SYSCALL.
1523 * sysdeps/unix/sysv/linux/i386/sigaction.c
1524 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1525 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1526 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1527 Remove conditional code.
1528 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1529 (__protocol_available): Remove #if 0 code.
1530 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1532 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1533 * sysdeps/unix/sysv/linux/kernel-features.h
1534 (__ASSUME_GETCWD_SYSCALL): Don't define.
1535 (__ASSUME_REALTIME_SIGNALS): Likewise.
1536 (__ASSUME_PREAD_SYSCALL): Likewise.
1537 (__ASSUME_PWRITE_SYSCALL): Likewise.
1538 (__ASSUME_POLL_SYSCALL): Likewise.
1539 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1540 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1542 (__ASSUME_SIOCGIFNAME): Don't define.
1543 (__ASSUME_MSG_NOSIGNAL): Likewise.
1544 (__ASSUME_SENDFILE): Define unconditionally.
1545 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1546 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1548 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1549 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1550 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1551 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1552 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1553 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1554 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1556 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1557 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1559 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1560 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1562 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1563 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1565 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1566 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1568 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1569 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1571 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1572 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1574 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1575 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1577 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1578 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1579 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1580 Remove conditional code.
1581 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1582 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1583 Remove conditional code.
1584 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1585 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1586 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1587 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1588 Remove conditional code.
1589 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1590 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1591 Remove conditional code.
1592 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1593 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1594 Remove conditional code.
1595 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1596 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1597 Remove conditional code.
1598 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1599 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1600 Remove conditional code.
1601 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1602 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1603 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1604 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1605 * sysdeps/unix/sysv/linux/sigaction.c
1606 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1607 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1608 * sysdeps/unix/sysv/linux/sigpending.c
1609 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1610 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1611 * sysdeps/unix/sysv/linux/sigprocmask.c
1612 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1613 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1614 * sysdeps/unix/sysv/linux/sigsuspend.c
1615 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1616 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1617 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1618 (__libc_missing_rt_sigs): Remove.
1619 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1620 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1621 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1622 Remove conditional code.
1623 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1624 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1626 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1627 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1628 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1629 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1631 2012-05-14 Andreas Jaeger <aj@suse.de>
1633 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1634 it's not used in glibc.
1635 (__coshm1): Likewise.
1636 (__acosh1p): Likewise.
1639 * manual/string.texi (Copying and Concatenation): Add missing
1640 variable in concat example.
1641 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1643 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1646 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1647 __builtin_clzl with __builtin_clzll.
1649 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1652 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1655 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1657 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1658 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1659 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1660 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1662 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1664 * NEWS: Update ia64 info.
1666 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1668 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1671 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1673 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1674 * sysdeps/unix/syscalls.list (dup3): Likewise.
1675 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1676 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1678 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1680 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1681 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1683 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1685 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1687 (TLS_IE): Use mov/add instead of movq/addq to load thread
1689 (TLS_GD_PREFIX): New.
1692 2012-05-11 David S. Miller <davem@davemloft.net>
1694 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1695 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1696 (_FPU_SETCW): Likewise.
1698 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1700 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1703 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1706 * iconvdata/gb18030.c: Update tables.
1707 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1708 characters specially.
1709 (BODY for TO_LOOP): Add encoding of missing ranges.
1711 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1714 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1715 * sysdeps/mach/hurd/dup3.c: Likewise.
1716 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1717 * sysdeps/powerpc/memmove.c:: Likewise.
1719 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1721 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1722 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1724 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1726 * elf/elf.h (R_X86_64_RELATIVE64): New.
1727 (R_X86_64_NUM): Updated.
1728 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1729 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1730 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1731 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1732 tst-quad1pie tst-quad2pie
1733 (modules-names): Add tst-quadmod1 tst-quadmod2.
1734 ($(objpfx)tst-quad1): New dependency.
1735 ($(objpfx)tst-quad2): Likewise.
1736 ($(objpfx)tst-quad1pie): Likewise.
1737 ($(objpfx)tst-quad2pie): Likewise.
1738 * sysdeps/x86_64/tst-quad1.c: New file.
1739 * sysdeps/x86_64/tst-quad1pie.c: New file.
1740 * sysdeps/x86_64/tst-quad2.c: Likewise.
1741 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1742 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1743 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1744 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1745 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1747 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1749 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1750 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1751 * streams/stropts.h (t_scalar_t): Define type.
1753 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1754 (_PATH_PRESERVE): Set to "/var/lib".
1755 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1757 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1760 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1761 if __dir_mkfile succeeded.
1763 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1764 checking for _hurd_dtablesize. Unlock it right after having
1765 finished _hurd_dtable allocation.
1767 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1769 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1770 * sysdeps/mach/hurd/configure: Regenerated.
1771 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1772 special-casing to...
1773 * sysdeps/gnu/configure.in: ... this new file.
1774 * sysdeps/unix/sysv/linux/configure: Regenerated.
1775 * sysdeps/gnu/configure: New generated file.
1777 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1778 for Linux: use nsec instead of usec, as well as:
1779 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1780 members of type struct timespec.
1781 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1783 (struct stat64): Likewise.
1784 (_STATBUF_ST_NSEC): New macro.
1785 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1787 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1788 __strtoul_internal rather than strtoul.
1790 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1792 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1795 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1797 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1798 which preserves existing values.
1799 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1801 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1803 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1804 TIMEOUT values. Return EINVAL for NFDS values either negative or
1805 greater than FD_SETSIZE.
1807 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1809 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1810 allocated, call __vm_protect to finish enabling the existing space, and
1811 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1812 allocate the remainder.
1814 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1816 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1817 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1819 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1821 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1822 sysdeps/mach/hurd/readlink.c.
1824 * posix/tst-sysconf.c (posix_options): Only use
1825 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1826 _POSIX_SYNCHRONIZED_IO when they are defined
1827 * sysdeps/mach/hurd/bits/posix_opt.h:
1828 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1829 (_XOPEN_REALTIME): Undefine macro.
1830 (_XOPEN_REALTIME_THREADS): Undefine macro.
1831 (_XOPEN_SHM): Undefine macro.
1832 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1834 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1836 (_POSIX_ASYNC_IO): Undefine macro.
1837 (_POSIX_PRIORITIZED_IO): Undefine macro.
1838 (_POSIX_SPIN_LOCKS): Define macro to -1.
1840 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1841 SA_NODEFER, SA_RESETHAND.
1842 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1843 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1846 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1848 * elf/Makefile (pldd-modules): Define unconditionally.
1850 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1852 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1854 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1856 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1857 Return ENOENT when name is empty.
1858 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1860 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1862 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1864 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1866 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1868 Fix mlock in all cases except non-readable pages.
1869 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1870 instead of VM_PROT_ALL as parameter to __vm_wire function.
1872 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1873 (__mkdir): When path is `/', just fail with EEXIST.
1874 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1876 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1878 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1879 <sys/uio.h> (for writev).
1880 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1881 and <sys/param.h> (for MIN).
1883 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1885 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1886 REQUESTED_TIME. Properly set the remaining time and return EINTR
1889 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1891 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1892 Depend on against $(link-rpcuserlibs).
1894 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1896 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1897 (__libc_stack_end): Do not use attribute_relro.
1898 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1899 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1900 to libthread-provided value.
1901 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1904 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1907 * bits/libc-lock.h (__libc_once_get): New macro.
1908 * sysdeps/mach/bits/libc-lock.h: Likewise.
1909 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1910 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1911 instead of using implementation details.
1913 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1914 * libio/freopen.c: Likewise.
1915 * libio/freopen64.c: Likewise.
1916 * misc/syslog.c: Likewise.
1917 * nscd/connections.c: Likewise.
1918 * nscd/netgroupcache.c: Likewise.
1919 * sysdeps/posix/getcwd.c: Likewise.
1921 2012-05-10 Roland McGrath <roland@hack.frob.com>
1923 * math/w_ilogbf.c: Add #include <limits.h>.
1925 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1927 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1928 path instead of returning without unlocking.
1930 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1931 immediate-write ioctls.
1932 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1934 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1936 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1937 __builtin_frame_address instead of making assumptions about the
1938 location of the return address relative to DATA. Force early load of
1940 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1941 __builtin_frame_address.
1944 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1945 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1946 implement dup3 and do some further code clean-ups.
1947 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1948 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1950 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1952 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1954 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1955 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1956 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1957 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1958 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1961 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1962 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1963 when handler == SIG_ERR, not when handler != SIG_ERR.
1965 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1967 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1968 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1971 accept4 for GNU Hurd.
1972 * include/sys/socket.h (__libc_accept4): New prototype.
1973 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1974 to implement __libc_accept4.
1975 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1977 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1979 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1980 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1981 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1984 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1986 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1988 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1990 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1991 assertion on O_CLOEXEC flag.
1992 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1993 * hurd/intern-fd.c: Likewise.
1994 * hurd/port2fd.c: Likewise.
1996 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1999 * bits/in.h (IPV6_PKTINFO): Define new macro.
2000 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2002 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2007 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2008 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2009 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2010 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2011 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2012 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2013 * math/libm-test.inc (logb_test) : Additional logb tests.
2015 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2016 Andreas Jaeger <aj@suse.de>
2018 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2019 * configure: Regenerated.
2020 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2021 * config.make.in (link-obsolete-rpc): New substituted variable.
2022 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2023 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2024 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2025 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2026 so that libc.a contains the symbols.
2027 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2028 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2029 * sunrpc/auth_none.c: Likewise.
2030 * sunrpc/auth_unix.c: Likewise.
2031 * sunrpc/authdes_prot.c: Likewise.
2032 * sunrpc/authuxprot.c: Likewise.
2033 * sunrpc/clnt_gen.c: Likewise.
2034 * sunrpc/clnt_perr.c: Likewise.
2035 * sunrpc/clnt_raw.c: Likewise.
2036 * sunrpc/clnt_simp.c: Likewise.
2037 * sunrpc/clnt_tcp.c: Likewise.
2038 * sunrpc/clnt_udp.c: Likewise.
2039 * sunrpc/clnt_unix.c: Likewise.
2040 * sunrpc/des_crypt.c: Likewise.
2041 * sunrpc/des_soft.c: Likewise.
2042 * sunrpc/get_myaddr.c: Likewise.
2043 * sunrpc/key_call.c: Likewise.
2044 * sunrpc/key_prot.c: Likewise.
2045 * sunrpc/netname.c: Likewise.
2046 * sunrpc/pm_getmaps.c: Likewise.
2047 * sunrpc/pm_getport.c: Likewise.
2048 * sunrpc/pmap_clnt.c: Likewise.
2049 * sunrpc/pmap_prot.c: Likewise.
2050 * sunrpc/pmap_prot2.c: Likewise.
2051 * sunrpc/pmap_rmt.c: Likewise.
2052 * sunrpc/publickey.c: Likewise.
2053 * sunrpc/rpc_cmsg.c: Likewise.
2054 * sunrpc/rpc_common.c: Likewise.
2055 * sunrpc/rpc_dtable.c: Likewise.
2056 * sunrpc/rpc_prot.c: Likewise.
2057 * sunrpc/rpc_thread.c: Likewise.
2058 * sunrpc/rtime.c: Likewise.
2059 * sunrpc/svc.c: Likewise.
2060 * sunrpc/svc_auth.c: Likewise.
2061 * sunrpc/svc_raw.c: Likewise.
2062 * sunrpc/svc_run.c: Likewise.
2063 * sunrpc/svc_tcp.c: Likewise.
2064 * sunrpc/svc_udp.c: Likewise.
2065 * sunrpc/svc_unix.c: Likewise.
2066 * sunrpc/svcauth_des.c: Likewise.
2067 * sunrpc/xcrypt.c: Likewise.
2068 * sunrpc/xdr.c: Likewise.
2069 * sunrpc/xdr_array.c: Likewise.
2070 * sunrpc/xdr_float.c: Likewise.
2071 * sunrpc/xdr_intXX_t.c: Likewise.
2072 * sunrpc/xdr_mem.c: Likewise.
2073 * sunrpc/xdr_rec.c: Likewise.
2074 * sunrpc/xdr_ref.c: Likewise.
2075 * sunrpc/xdr_sizeof.c: Likewise.
2076 * sunrpc/xdr_stdio.c: Likewise.
2078 2012-05-10 Roland McGrath <roland@hack.frob.com>
2080 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2081 change. Update copyright years.
2083 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2085 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2087 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2088 Joseph Myers <joseph@codesourcery.com>
2089 Paul Pluzhnikov <ppluzhnikov@google.com>
2092 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2094 [cross-compiling] (extra-libs): Likewise.
2095 [cross-compiling] (extra-libs-others): Likewise.
2096 [cross-compiling] (librpcsvc-routines): Likewise.
2097 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2098 [cross-compiling] (omit-deps): Likewise.
2099 (sunrpc-CPPFLAGS): New variable.
2100 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2101 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2102 (cross-rpcgen-objs): New variable.
2103 (extra-objs): Append $(cross-rpcgen-objs).
2104 ($(cross-rpcgen-objs)): New rule.
2105 ($(objpfx)cross-rpcgen): Likewise.
2106 (rpcgen-cmd): Define to use $(built-program-file). Expand
2108 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2109 ($(objpfx)x%.stmp): Likewise.
2110 * sunrpc/proto.h [IS_IN_build] (_): Define.
2111 [IS_IN_build] (_libc_intl_domainname): Likewise.
2113 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2115 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2116 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2117 and R_X86_64_TPOFF64.
2119 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2121 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2122 sysdeps/unix/sysv/syscalls.list.
2125 * sysdeps/unix/sysv/syscalls.list: Remove file.
2127 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2130 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2131 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2132 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2133 (__LC_IDENTIFICATION): Make these macros useful in #if
2134 expressions, as required by C99.
2136 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2138 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2139 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2142 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2144 * stdlib/longlong.h: Updated from GCC.
2146 2012-05-09 Andreas Jaeger <aj@suse.de>
2148 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2149 default is first entry.
2150 (run_mode): Set type.
2151 (main): Remove informal message about syslog.
2152 (options): Fix typo.
2155 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2158 (llrintf): Likewise.
2162 (nearbyint): Likewise.
2163 (nearbyintf): Likewise.
2165 2012-05-09 Andreas Jaeger <aj@suse.de>
2166 Pedro Alves <palves@redhat.com>
2168 * nscd/nscd.c (run_mode): Use enum.
2169 (main): Cleanup coding style issue.
2171 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2172 Andreas Jaeger <aj@suse.de>
2174 * nscd/nscd.c (go_background): Replaced with...
2175 (run_mode): ... this.
2176 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2177 (options): Add -F --foreground.
2178 (main): Implement it.
2179 (parse_opt): Parse it.
2181 2012-05-09 Andreas Jaeger <aj@suse.de>
2184 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2185 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2186 -Wconversion warning.
2187 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2190 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2192 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2194 (LC_ALL): Use macro-int-constant.
2195 (LC_COLLATE): Likewise.
2196 (LC_CTYPE): Likewise.
2197 (LC_MESSAGES): Likewise.
2198 (LC_MONETARY): Likewise.
2199 (LC_NUMERIC): Likewise.
2200 (LC_TIME): Likewise.
2201 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2202 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2203 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2204 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2206 [C99-based standards] (float_t): Expect type.
2207 [C99-based standards] (double_t): Expect type.
2208 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2210 [C99-based standards] (HUGE_VALL): Likewise.
2211 [C99-based standards] (INFINITY): Likewise.
2212 [C99-based standards] (NAN): Likewise.
2213 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2214 [C99-based standards] (FP_NAN): Likewise.
2215 [C99-based standards] (FP_NORMAL): Likewise.
2216 [C99-based standards] (FP_SUBNORMAL): Likewise.
2217 [C99-based standards] (FP_ZERO): Likewise.
2218 [C99-based standards] (FP_FAST_FMA): Use
2219 optional-macro-int-constant. Specify type. Require == 1.
2220 [C99-based standards] (FP_FAST_FMAF): Likewise.
2221 [C99-based standards] (FP_FAST_FMAL): Likewise.
2222 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2223 [C99-based standards] (FP_ILOGBNAN): Likewise.
2224 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2226 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2227 [C99-based standards] (math_errhandling): Specify type.
2228 [ISO99 || ISO11] (signgam): Do not allow.
2229 [non-C99-based standards] (copysignf): Do not allow.
2230 [non-C99-based standards] (exp2f): Likewise.
2231 [non-C99-based standards] (log2f): Likewise.
2232 [non-C99-based standards] (modff): Allow.
2233 [non-C99-based standards] (erff): Do not allow.
2234 [non-C99-based standards] (erfcf): Likewise.
2235 [non-C99-based standards] (gammaf): Likewise.
2236 [non-C99-based standards] (hypotf): Likewise.
2237 [non-C99-based standards] (j0f): Likewise.
2238 [non-C99-based standards] (j1f): Likewise.
2239 [non-C99-based standards] (jnf): Likewise.
2240 [non-C99-based standards] (lgammaf): Likewise.
2241 [non-C99-based standards] (tgammaf): Likewise.
2242 [non-C99-based standards] (y0f): Likewise.
2243 [non-C99-based standards] (y1f): Likewise.
2244 [non-C99-based standards] (ynf): Likewise.
2245 [non-C99-based standards] (isnanf): Likewise.
2246 [non-C99-based standards] (acoshf): Likewise.
2247 [non-C99-based standards] (asinhf): Likewise.
2248 [non-C99-based standards] (atanhf): Likewise.
2249 [non-C99-based standards] (cbrtf): Likewise.
2250 [non-C99-based standards] (expm1f): Likewise.
2251 [non-C99-based standards] (ilogbf): Likewise.
2252 [non-C99-based standards] (log1pf): Likewise.
2253 [non-C99-based standards] (logbf): Likewise.
2254 [non-C99-based standards] (nextafterf): Likewise.
2255 [non-C99-based standards] (remainderf): Likewise.
2256 [non-C99-based standards] (rintf): Likewise.
2257 [non-C99-based standards] (scalbf): Likewise.
2258 [non-C99-based standards] (copysignl): Likewise.
2259 [non-C99-based standards] (exp2l): Likewise.
2260 [non-C99-based standards] (log2l): Likewise.
2261 [non-C99-based standards] (modfl): Allow.
2262 [non-C99-based standards] (erfl): Do not allow.
2263 [non-C99-based standards] (erfcl): Likewise.
2264 [non-C99-based standards] (gammal): Likewise.
2265 [non-C99-based standards] (hypotl): Likewise.
2266 [non-C99-based standards] (j0l): Likewise.
2267 [non-C99-based standards] (j1l): Likewise.
2268 [non-C99-based standards] (jnl): Likewise.
2269 [non-C99-based standards] (lgammal): Likewise.
2270 [non-C99-based standards] (tgammal): Likewise.
2271 [non-C99-based standards] (y0l): Likewise.
2272 [non-C99-based standards] (y1l): Likewise.
2273 [non-C99-based standards] (ynl): Likewise.
2274 [non-C99-based standards] (isnanl): Likewise.
2275 [non-C99-based standards] (acoshl): Likewise.
2276 [non-C99-based standards] (asinhl): Likewise.
2277 [non-C99-based standards] (atanhl): Likewise.
2278 [non-C99-based standards] (cbrtl): Likewise.
2279 [non-C99-based standards] (expm1l): Likewise.
2280 [non-C99-based standards] (ilogbl): Likewise.
2281 [non-C99-based standards] (log1pl): Likewise.
2282 [non-C99-based standards] (logbl): Likewise.
2283 [non-C99-based standards] (nextafterl): Likewise.
2284 [non-C99-based standards] (remainderl): Likewise.
2285 [non-C99-based standards] (rintl): Likewise.
2286 [non-C99-based standards] (scalbl): Likewise.
2287 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2288 [non-C99-based standards] (FP_*): Do not allow.
2289 [C99-based standards] (FP_*): Change to
2290 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2291 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2293 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2294 (SIG_ERR): Likewise.
2295 [X/Open-based standards] (SIG_HOLD): Likewise.
2296 (SIG_IGN): Likewise.
2297 (SIGABRT): Use macro-int-constant. Specify type. Require
2302 (SIGSEGV): Likewise.
2304 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2305 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2306 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2307 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2308 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2309 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2310 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2311 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2312 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2313 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2314 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2315 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2316 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2317 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2318 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2319 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2320 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2321 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2322 [X/Open-based standards] (SIGTRAP): Likewise.
2323 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2324 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2325 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2326 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2327 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2330 2012-05-08 Ian Wienand <ianw@vmware.com>
2333 * time/tzset.c (__tzset_parse_tz): Update default rules for
2334 daylight time changes in the Energy Policy Act of 2005.
2336 2012-05-09 Andreas Jaeger <aj@suse.de>
2339 * elf/ldconfig.c (parse_conf): Change string to make clear that
2340 ldconfig only issued a warning if ld.so.conf does not exist.
2342 2012-05-08 David S. Miller <davem@davemloft.net>
2344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2345 movxtod instead of popping the value on the stack.
2347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2349 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2351 * config.h.in: Add HAVE_ARM_PCS_VFP.
2353 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2356 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2357 checking but the checks are disabled for any reason.
2359 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2361 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2362 and ELF64_R_TYPE with ELFW(R_TYPE).
2364 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2366 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2369 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2370 (settimeofday): Likewise.
2372 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2374 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2375 a struct th_u2 inside the union, and move tu_block/tu_code into
2376 a new th_u3 union of tu_block/tu_code inside of that. Move
2377 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2378 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2379 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2380 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2381 (th_stuff): Change to th_u1.tu_stuff.
2383 (th_msg): Change to th_u1.th_u2.tu_data.
2385 2012-05-07 David S. Miller <davem@davemloft.net>
2387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2390 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2391 (SETUP_PIC_REG): Use it.
2392 (SETUP_PIC_REG_LEAF): Use it.
2394 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2398 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2400 (EXPL_FINITE): Likewise.
2402 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2403 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2405 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2407 (EXPL_FINITE): Likewise.
2409 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2410 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2412 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2413 test of -max_value argument for long double.
2414 * sysdeps/i386/fpu/libm-test-ulps: Update.
2415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2417 2012-05-06 David S. Miller <davem@davemloft.net>
2419 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2420 quad soft-float symbols whose references which are compiler
2422 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2424 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2428 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2430 (EXPL_FINITE): Likewise.
2434 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2435 Adjust comments for base varying.
2436 (__expl_finite): Change alias to EXPL_FINITE.
2437 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2439 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2440 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2441 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2442 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2443 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2445 (EXPL_FINITE): Likewise.
2449 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2450 Adjust comments for base varying.
2451 (__expl_finite): Change alias to EXPL_FINITE.
2452 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2457 * math/libm-test.inc (check_float_internal): Correct ulp
2458 calculation for subnormal expected results.
2460 2012-05-06 Andreas Jaeger <aj@suse.de>
2462 * Makeconfig (+math-flags): New, set to -frounding-math.
2463 (+cflags): Add +math-flags so that all of glibc gets compiled with
2466 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2468 2012-05-05 Joseph Myers <joseph@codesourcery.com>
2470 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2476 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2477 (__ieee754_expl): Allow for and saturate large arguments.
2478 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2479 (u_threshold): Likewise.
2480 (__exp): Call __ieee754_exp before checking for overflow and
2482 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2483 (u_threshold): Likewise.
2484 (__expf): Call __ieee754_expf before checking for overflow and
2486 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2487 (u_threshold): Likewise.
2488 (__expl): Call __ieee754_expl before checking for overflow and
2490 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2491 (__ieee754_expl): Allow for and saturate large arguments.
2492 * math/libm-test.inc (exp_test): Add another test. Do not allow
2493 missing overflow exception on overflow.
2494 (expm1_test): Do not allow missing overflow exception on overflow.
2496 * sysdeps/i386/fpu/e_expl.c: Move to ...
2497 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2498 rather than using inline asm.
2499 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2500 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2501 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2503 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2510 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2512 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2513 sysdeps/unix/common/syscalls.list.
2516 (ftruncate): Likewise.
2517 (getrusage): Likewise.
2518 (gettimeofday): Likewise.
2519 (setpgid): Likewise.
2520 (setregid): Likewise.
2521 (setreuid): Likewise.
2522 (sigaction): Likewise.
2523 (truncate): Likewise.
2524 (vhangup): Likewise.
2525 * sysdeps/unix/common/syscalls.list: Remove file.
2526 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2527 * sysdeps/unix/sysv/linux/Implies: Likewise.
2529 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2531 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2533 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2537 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2540 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2543 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2546 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2549 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2552 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2555 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2559 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2563 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2566 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2570 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2574 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2576 * sysdeps/unix/common/bits/dirent.h: Remove file.
2577 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2579 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2580 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2581 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2582 * sysdeps/unix/bsd/isatty.c: Likewise.
2583 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2584 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2585 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2587 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2590 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2591 long double comparison inaccuracies.
2592 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2595 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2597 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2598 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2600 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2603 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2604 nonzero digits before rounding a hex value.
2605 * stdlib/tst-strtod.c (tests): Add another test.
2607 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2609 * sysdeps/s390/fpu/libm-test-ulps: Update.
2611 2012-05-03 Andreas Jaeger <aj@suse.de>
2613 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2614 does not get optimized out.
2615 (malloc_opt_barrier): New.
2617 2012-05-03 Andreas Jaeger <aj@suse.de>
2618 Roland McGrath <roland@hack.frob.com>
2620 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2621 intermediate file deletion.
2622 (generated): Add .symlist files.
2624 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2627 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2628 Redirect under this condition.
2629 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2630 [__USE_GNU] (__dprintf_chk): Not under this condition.
2631 [__USE_GNU] (__vdprintf_chk): Likewise.
2632 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2633 under this condition.
2634 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2635 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2636 [__USE_XOPEN2K8] (vdprintf): Likewise.
2637 [__USE_GNU] (__dprintf_chk): Not under this condition.
2638 [__USE_GNU] (__vdprintf_chk): Likewise.
2639 [__USE_GNU] (dprintf): Likewise.
2640 [__USE_GNU] (vdprintf): Likewise.
2642 2012-05-03 Roland McGrath <roland@hack.frob.com>
2644 * elf/Makefile (common-generated): Set this instead of generated for
2645 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2646 $(all-built-dso)-derived lists.
2648 2012-05-03 Andreas Jaeger <aj@suse.de>
2650 * sysdeps/i386/fpu/libm-test-ulps: Update.
2654 * scripts/gen-FAQ.pl: Likewise.
2655 * manual/install.texi (Installation): Point to online location of
2657 * Makefile (files-for-dist): Remove FAQ.
2660 2012-05-02 Allan McRae <allan@archlinux.org>
2662 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2663 (LDFLAGS-reldepmod5.so): Likewise.
2664 (LDFLAGS-reldep6mod1.so): Likewise.
2665 (LDFLAGS-reldep6mod4.so): Likewise.
2666 (LDFLAGS-reldep8mod3.so): Likewise.
2667 (LDFLAGS-unload4mod1.so): Likewise.
2668 (LDFLAGS-unload4mod2.so): Likewise.
2669 (LDFLAGS-tst-initorder): Likewise.
2670 (LDFLAGS-tst-initordera2.so): Likewise.
2671 (LDFLAGS-tst-initordera3.so): Likewise.
2672 (LDFLAGS-tst-initordera4.so): Likewise.
2673 (LDFLAGS-tst-initorderb2.so): Likewise.
2674 (LDFLAGS-noload): Likewise.
2675 (LDFLAGS-next): Likewise.
2676 (LDFLAGS-order2mod1.so): Likewise.
2677 (LDFLAGS-order2mod2.so): Likewise.
2678 (LDFLAGS-tst-initorder2): Likewise.
2679 (LDFLAGS-tst-initorder2a.so): Likewise.
2680 (LDFLAGS-tst-initorder2b.so): Likewise.
2681 (LDFLAGS-tst-initorder2c.so): Likewise.
2682 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2684 2012-05-02 David S. Miller <davem@davemloft.net>
2686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2688 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2691 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2693 2012-05-02 Andreas Jaeger <aj@suse.de>
2695 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2696 since we manipulate rounding mode.
2697 (CPPFLAGS-test-idouble.c): Likewise.
2698 (CPPFLAGS-test-ifloat.c): Likewise.
2699 (CFLAGS-test-ldouble.c): Likewise.
2700 (CFLAGS-test-double.c): Likewise.
2701 (CFLAGS-test-float.c): Likewise.
2702 (CFLAGS-test-misc.c): Likewise.
2703 (CFLAGS-test-test-fenv.c): Likewise.
2705 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2709 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2710 comparisons to determine direction to adjust input.
2712 2012-05-01 Roland McGrath <roland@hack.frob.com>
2714 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2715 output to the target.
2717 * scripts/localplt.awk: New file.
2718 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2719 (check-localplt-CFLAGS): Variable removed.
2720 ($(all-built-dso:=.jmprel)): New static pattern rule.
2721 (generated): Add those targets.
2722 (localplt-built-dso): New variable.
2723 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2725 * elf/check-localplt.c: File removed.
2727 * scripts/check-execstack.awk: New file.
2728 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2729 (check-execstack-CFLAGS): Variable removed.
2730 ($(objpfx)check-execstack.h): Target removed.
2731 ($(objpfx)execstack-default): New target.
2732 (generated): Add that instead of check-execstack.h.
2733 ($(all-built-dso:=.phdr)): New static pattern rule.
2734 (generated): Add those targets.
2735 * elf/check-execstack.c: File removed.
2737 * scripts/check-textrel.awk: New file.
2738 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2739 (check-textrel-CFLAGS): Variable removed.
2740 (all-built-dso): Use := to define.o
2741 ($(all-built-dso:=.dyn)): New static pattern rule.
2742 (generated): Add those targets.
2743 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2744 * config.make.in (READELF): New substituted variable.
2745 * elf/check-textrel.c: File removed.
2747 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2749 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2751 * conform/data/ctype.h-data [C99-based standards] (isblank):
2753 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2754 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2755 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2756 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2757 Specify type. Require positive value.
2760 [ISO || POSIX] (EILSEQ): Do not expect.
2761 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2762 Specify type. Require positive value.
2763 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2764 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2765 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2766 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2767 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2768 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2769 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2770 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2771 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2772 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2773 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2774 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2775 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2776 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2777 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2778 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2779 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2780 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2781 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2782 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2783 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2784 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2785 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2786 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2787 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2788 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2789 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2790 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2791 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2792 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2793 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2794 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2795 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2796 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2797 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2798 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2799 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2800 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2801 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2802 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2803 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2804 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2805 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2806 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2807 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2808 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2809 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2810 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2811 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2812 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2813 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2814 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2815 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2816 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2817 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2818 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2819 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2820 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2821 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2822 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2823 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2824 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2825 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2826 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2827 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2828 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2829 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2830 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2831 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2832 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2833 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2834 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2835 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2836 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2837 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2838 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2839 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2841 (FLT_ROUNDS): Expect as macro, not constant.
2842 (FLT_MANT_DIG): Use macro-int-constant.
2843 (DBL_MANT_DIG): Likewise.
2844 (LDBL_MANT_DIG): Likewise.
2845 (FLT_DIG): Likewise.
2846 (DBL_DIG): Likewise.
2847 (LDBL_DIG): Likewise.
2848 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2849 (DBL_MIN_EXP): Likewise.
2850 (LDBL_MIN_EXP): Likewise.
2851 (FLT_MAX_EXP): Use macro-int-constant.
2852 (DBL_MAX_EXP): Likewise.
2853 (LDBL_MAX_EXP): Likewise.
2854 (FLT_MAX_10_EXP): Likewise.
2855 (DBL_MAX_10_EXP): Likewise.
2856 (LDBL_MAX_10_EXP): Likewise.
2857 (FLT_MAX): Use macro-constant.
2858 (DBL_MAX): Likewise.
2859 (LDBL_MAX): Likewise.
2860 (FLT_EPSILON): Use macro-constant. Give upper bound.
2861 (DBL_EPSILON): Likewise.
2862 (LDBL_EPSILON): Likewise.
2863 (FLT_MIN): Likewise.
2864 (DBL_MIN): Likewise.
2865 (LDBL_MIN): Likewise.
2866 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2867 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2868 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2869 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2870 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2871 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2872 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2873 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2874 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2875 [ISO11] (FLT_TRUE_MIN): Likewise.
2876 [ISO11] (LDBL_TRUE_MIN): Likewise.
2877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2878 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2879 (SCHAR_MIN): Use macro-int-constant. Specify type.
2880 (SCHAR_MAX): Likewise.
2881 (UCHAR_MAX): Likewise.
2882 (CHAR_MIN): Likewise.
2883 (CHAR_MAX): Likewise.
2884 (MB_LEN_MAX): Use macro-int-constant.
2885 (SHRT_MIN): Use macro-int-constant. Specify type.
2886 (SHRT_MAX): Likewise.
2887 (USHRT_MAX): Likewise.
2888 (INT_MAX): Likewise.
2889 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2891 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2893 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2895 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2896 bound negative. Suffix upper bound with "L".
2897 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2899 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2901 [C99-based standards] (LLONG_MAX): Likewise.
2902 [C99-based standards] (ULLONG_MAX): Likewise.
2903 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2905 [ISO11] (max_align_t): Require type.
2906 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2908 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2909 from $CFLAGS, without defining away __attribute__ calls.
2910 (checknamespace): Use $CFLAGS_namespace.
2912 * conform/conformtest.pl (@keywords): Only include C99 keywords
2913 for standards based on C99 or C11.
2915 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2917 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2920 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2921 usability of symbols in #if.
2923 * conform/conformtest.pl: If macro or constant types start
2924 "promoted:", expect the symbol to be of the following type
2925 promoted by the integer promotions.
2927 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2928 in one place. Also handle "macro-constant".
2930 * conform/conformtest.pl: Only accept expected macro values with
2931 "==". Parse all "macro" lines in one place.
2932 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2934 * conform/conformtest.pl: Handle braced types on "constant" lines
2935 instead of handling "typed-constant".
2936 * conform/data/signal.h-data: Use "constant" instead of
2939 * conform/conformtest.pl: Handle "optional-" at start of lines in
2940 one place rather than duplicating several cases. Handle each
2941 format of "macro" line with initial "optional-".
2943 * conform/conformtest.pl: Only accept expected constant or
2944 optional-constant values with "==". Parse all "constant" lines in
2945 one place. Parse all "optional-constant" lines in one place.
2946 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2947 * conform/data/fmtmsg.h-data: Likewise.
2948 * conform/data/netinet/in.h-data: Likewise.
2949 * conform/data/tar.h-data: Likewise.
2950 * conform/data/limits.h-data: Use "==" form on "constant" and
2951 "optional-constant" lines.
2953 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2954 Use -std=c99 for XOPEN2K.
2955 (@knownproblems): Remove.
2956 (newtoken): Don't check %isknown.
2958 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2959 Do not expect macro.
2960 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2961 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2962 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2963 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2964 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2965 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2966 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2967 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2968 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2969 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2970 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2971 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2972 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2973 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2974 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2975 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2976 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2977 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2978 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2979 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2980 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2981 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2982 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2983 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2984 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2985 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2986 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2987 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2988 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2989 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2990 [XPG3] (acosh): Likewise.
2991 [XPG3] (asinh): Likewise.
2992 [XPG3] (atanh): Likewise.
2993 [XPG3] (cbrt): Likewise.
2994 [XPG3] (expm1): Likewise.
2995 [XPG3] (ilogb): Likewise.
2996 [XPG3] (log1p): Likewise.
2997 [XPG3] (logb): Likewise.
2998 [XPG3] (nextafter): Likewise.
2999 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3000 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3001 [XPG3] (remainder): Likewise.
3002 [XPG3] (rint): Likewise.
3003 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3004 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3005 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3006 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3007 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3008 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3009 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3010 [UNIX98 || XOPEN2K] (scalb): Expect.
3011 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3012 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3013 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3014 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3015 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3016 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3017 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3018 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3019 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3020 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3021 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3022 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3023 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3024 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3025 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3026 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3027 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3028 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3029 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3030 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3031 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3032 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3033 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3034 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3035 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3036 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3037 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3038 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3039 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3040 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3041 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3042 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3043 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3044 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3045 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3046 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3047 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3048 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3049 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3050 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3051 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3052 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3053 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3054 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3055 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3056 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3057 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3058 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3059 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3060 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3061 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3062 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3063 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3064 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3065 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3066 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3067 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3068 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3069 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3070 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3071 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3072 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3073 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3074 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3075 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3076 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3077 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3078 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3079 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3080 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3081 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3082 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3083 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3084 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3085 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3086 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3087 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3088 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3089 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3090 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3091 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3092 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3093 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3094 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3095 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3096 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3097 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3098 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3099 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3100 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3101 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3102 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3103 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3104 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3105 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3106 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3107 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3108 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3109 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3110 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3111 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3112 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3113 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3114 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3115 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3116 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3117 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3118 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3119 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3120 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3121 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3122 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3123 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3124 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3125 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3126 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3127 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3128 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3129 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3130 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3131 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3132 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3133 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3134 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3135 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3136 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3137 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3138 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3139 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3140 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3141 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3142 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3143 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3144 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3145 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3146 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3147 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3149 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3150 _XOPEN_SOURCE_EXTENDED for XPG4.
3152 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3154 * Makeconfig (localtime): Remove variable.
3155 (inst_localtime-file): Likewise.
3157 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3178 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3182 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3183 comparisons to determine direction to adjust input.
3184 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3185 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3186 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3188 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3190 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3192 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3193 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3195 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3197 * math/libm-test.inc (nexttoward_test): Add more tests.
3199 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3202 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3203 in version GLIBC_2.1, not GLIBC_2.0.
3204 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3207 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3210 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3212 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3213 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3214 * math/libm-test.inc (acos_test): Add more tests.
3215 (asin_test): Likewise.
3216 * sysdeps/i386/fpu/libm-test-ulps: Update.
3217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3220 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3222 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3223 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3224 * math/libm-test.inc (acos_test_tonearest): New function.
3225 (acos_test_towardzero): Likewise.
3226 (acos_test_downward): Likewise.
3227 (acos_test_upward): Likewise.
3228 (asin_test_tonearest): Likewise.
3229 (asin_test_towardzero): Likewise.
3230 (asin_test_downward): Likewise.
3231 (asin_test_upward): Likewise.
3232 (main): Call the new functions.
3233 * sysdeps/i386/fpu/libm-test-ulps: Update.
3234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3238 * math/e_exp10.c: Include <float.h>.
3239 (__ieee754_exp10): Handle underflow here rather than multiplying
3240 large negative argument by M_LN10.
3241 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3243 * math/e_exp10l.c: Include <float.h>.
3244 (__ieee754_exp10l): Handle underflow here rather than multiplying
3245 large negative argument by M_LN10l.
3246 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3247 spurious overflow exception on underflow.
3249 2012-04-29 Marek Polacek <polacek@redhat.com>
3251 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3252 (__fortify_function): New macro.
3253 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3254 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3255 __extern_always_inline.
3256 * libio/bits/stdio2.h: Likewise.
3257 * libio/bits/stdio.h: Likewise.
3258 * string/string.h: Likewise.
3259 * string/bits/string3.h: Likewise.
3260 * include/stdio.h: Likewise.
3261 * stdlib/bits/stdlib.h: Likewise.
3262 * stdlib/stdlib.h: Likewise.
3263 * rt/bits/mqueue2.h: Likewise.
3264 * rt/mqueue.h: Likewise.
3265 * posix/bits/unistd.h: Likewise.
3266 * posix/unistd.h: Likewise.
3267 * io/bits/poll2.h: Likewise.
3268 * io/bits/fcntl2.h: Likewise.
3269 * io/fcntl.h: Likewise.
3270 * io/sys/poll.h: Likewise.
3271 * misc/bits/syslog.h: Likewise.
3272 * misc/bits/syslog-ldbl.h: Likewise.
3273 * misc/sys/syslog.h: Likewise.
3274 * socket/bits/socket2.h: Likewise.
3275 * socket/sys/socket.h: Likewise.
3276 * debug/tst-chk1.c: Likewise.
3277 * wcsmbs/bits/wchar2.h: Likewise.
3278 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3279 * wcsmbs/wchar.h: Likewise.
3281 2012-04-29 Andreas Jaeger <aj@suse.de>
3283 * Makerules (tests): Remove enable-check-abi protection.
3284 (check-abi-warn): Remove.
3285 (check-abi-%): Remove check-abi-warn usage.
3287 * configure.in: Remove check-abi configure option.
3288 * configure: Regenerated.
3289 * config.make.in (enable-check-abi): Remove.
3291 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3294 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3295 double functions to double *_finite functions.
3298 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3299 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3301 * stdio-common/Makefile (tests): Add tst-sprintf3.
3302 * stdio-common/tst-sprintf3.c: New file.
3304 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3305 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3307 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3309 * conform/conformtest.pl: Remove duplicate typed-constant
3312 2012-04-28 David S. Miller <davem@davemloft.net>
3314 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3315 (check-abi-%): Remove AWK script prerequisite and explicit
3317 (check-abi): Rewrite to just diff the symlist with the abilist.
3318 (config-tls, config-abi-config): Delete, no longer used.
3319 (update-abi-%): Remove AWK script and explicit abilist directory.
3320 (update-abi): Rewrite to simply compare and conditionally copy the
3321 symlist and the sysdep abilist file. Remove update-abi-config
3323 * abilist/ld.abilist: Remove.
3324 * abilist/libBrokenLocale.abilist: Remove.
3325 * abilist/libanl.abilist: Remove.
3326 * abilist/libcrypt.abilist: Remove.
3327 * abilist/libdl.abilist: Remove.
3328 * abilist/librt.abilist: Remove.
3329 * abilist/libthread_db.abilist: Remove.
3330 * abilist/libutil.abilist: Remove.
3331 * scripts/extract-abilist.awk: Remove.
3332 * scripts/merge-abilist.awk: Remove.
3333 * sysdeps/generic/libcidn.abilist: New file.
3334 * sysdeps/generic/libnss_compat.abilist: New file.
3335 * sysdeps/generic/libnss_db.abilist: New file.
3336 * sysdeps/generic/libnss_dns.abilist: New file.
3337 * sysdeps/generic/libnss_files.abilist: New file.
3338 * sysdeps/generic/libnss_hesiod.abilist: New file.
3339 * sysdeps/generic/libnss_nis.abilist: New file.
3340 * sysdeps/generic/libnss_nisplus.abilist: New file.
3341 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3342 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3343 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3345 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3346 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3347 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3348 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3349 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3350 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3351 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3352 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3353 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3355 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3356 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3357 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3358 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3360 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3361 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3362 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3363 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3364 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3365 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3367 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3368 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3369 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3371 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3474 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3475 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3476 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3478 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3479 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3480 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3481 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3482 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3483 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3484 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3485 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3486 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3487 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3539 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3541 * conform/conformtest.pl: Fix typo in handling typed-constant from
3544 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3546 * README: Cut down references to pre-2.6 Linux kernels and
3547 Linuxthreads. Update lists of configurations in libc and ports
3548 and sort alphabetically. Say "or newer" with Linux kernel version
3551 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3553 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3556 * math/libm-test.inc (logb_test_downward): New test to expose
3557 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3560 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3563 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3565 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3566 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3568 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3570 * sysdeps/unix/i386/brk.S: Remove file.
3571 * sysdeps/unix/i386/dl-brk.S: Likewise.
3572 * sysdeps/unix/i386/pipe.S: Likewise.
3573 * sysdeps/unix/i386/sigreturn.S: Likewise.
3574 * sysdeps/unix/i386/syscall.S: Likewise.
3575 * sysdeps/unix/i386/vfork.S: Likewise.
3576 * sysdeps/unix/i386/wait.S: Likewise.
3578 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3579 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3581 * configure.in (arm*-none*): Do not allow without
3582 --enable-hacker-mode.
3583 (netbsd*): Remove case setting base_os.
3584 (386bsd*): Likewise.
3585 (freebsd*): Likewise.
3589 (ultrix*): Likewise.
3590 (newsos*): Likewise.
3600 (solaris[2-9]*): Likewise.
3602 * configure: Regenerated.
3604 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3607 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3608 overflow or cancellation in calculating denominator.
3609 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3610 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3611 down expression to avoid unexpected rounding in newer GCCs.
3612 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3614 2012-04-26 David S. Miller <davem@davemloft.net>
3616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3617 long-double compat symbols.
3618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3632 2012-04-25 David S. Miller <davem@davemloft.net>
3634 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3635 HWCAP_* values only after the memory barriers have been defined.
3636 (atomic_full_barrier): Define.
3637 (atomic_read_barrier): Define.
3638 (atomic_write_barrier): Define.
3640 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3642 * shlib-versions: Add libgcc_s version information.
3643 * sysdeps/generic/libgcc_s.h: Remove.
3644 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3646 * sysdeps/gnu/unwind-resume.c: Likewise.
3647 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3649 2012-04-25 David S. Miller <davem@davemloft.net>
3651 * sysdeps/unix/sparc/brk.S: Delete.
3652 * sysdeps/unix/sparc/dl-brk.S: Delete.
3653 * sysdeps/unix/sparc/pipe.S: Delete.
3654 * sysdeps/unix/sparc/sysdep.S: Delete.
3655 * sysdeps/unix/sparc/sysdep.h: Delete.
3656 * sysdeps/unix/sparc/vfork.S: Delete.
3657 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3658 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3659 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3660 ret_ERRVAL, r0, r1, MOVE): Define.
3661 (JUMPTARGET): Remove.
3662 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3663 sysdeps/unix/sparc/sysdep.h
3664 (ENTRY, END): Remove.
3665 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3667 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3669 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3670 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3673 * timezone/README: Update upstream location and email address for
3675 * timezone/zdump.c: Update from tzcode 2012b.
3676 * timezone/zic.c: Likewise.
3678 * configure.in (libc_cv_as_needed): Remove test.
3679 * configure: Regenerated.
3680 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3681 conditional definition.
3682 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3683 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3684 * config.make.in (have-as-needed): Remove variable.
3686 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3687 Paul Pluzhnikov <ppluzhnikov@google.com>
3689 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3692 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3694 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3695 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3696 * sysdeps/sh/strlen.S: Likewise.
3698 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3700 * sysdeps/unix/fork.S: Remove file.
3701 * sysdeps/unix/i386/fork.S: Likewise.
3702 * sysdeps/unix/sparc/fork.S: Likewise.
3704 * sysdeps/unix/system.c: Remove file.
3705 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3707 * sysdeps/unix/getegid.S: Remove file.
3708 * sysdeps/unix/geteuid.S: Likewise.
3710 2012-04-24 Roland McGrath <roland@hack.frob.com>
3712 * scripts/check-localplt.awk: New file.
3713 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3715 * scripts/data/localplt-generic.data: Add a comment.
3717 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3718 NODE when __dir_mkfile failed.
3719 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3720 Reported by Ludovic Courtès <ludo@gnu.org>.
3722 2012-04-24 Andreas Jaeger <aj@suse.de>
3724 * Makerules (common-clean): Also remove gen-as-const-headers
3727 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3729 * Makerules (native-compile): Do not change working directory for
3730 build. Use $(OUTPUT_OPTION) in command.
3731 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3733 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3736 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3737 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3738 * math/libm-test.inc (floor_test): Add more tests.
3739 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3741 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3743 * sysdeps/unix/getdents.c: Remove file.
3744 * sysdeps/unix/sysv/getdents.c: Likewise.
3745 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3747 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3748 sysdeps/unix/mman/syscalls.list.
3750 (mprotect): Likewise.
3753 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3754 * sysdeps/unix/mman/syscalls.list: Remove.
3755 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3757 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3758 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3759 * configure: Regenerated.
3760 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3762 * config.make.in (libgcc_s_suffix): Remove variable.
3764 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3766 * sysdeps/unix/sysv/gethostname.c: Move to ...
3767 * sysdeps/posix/gethostname.c: ... here.
3769 * sysdeps/unix/execve.S: Remove file.
3771 * sysdeps/unix/_exit.S: Remove file.
3773 2012-04-23 Andreas Jaeger <aj@suse.de>
3776 * manual/Makefile: Remove make dist support, there's no
3777 need for a stand-alone documentation tar ball.
3778 (TEXI2DVI): Define always, it's not in Makeconfig.
3782 (glibc-doc-$(edition).tar): Removed
3786 (ETAGS): Remove, it's in Makeconfig.
3787 (move-if-change): Remove, it's in Makeconfig.
3789 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3792 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3793 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3794 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3795 (strtod_l, strtof_l, strtold_l): Remove __wur.
3796 It is not necessarily an error to ignore strtol's return value.
3797 One can reliably look at the stored endptr to decide whether
3798 the number had valid syntax.
3800 2012-04-21 Andreas Jaeger <aj@suse.de>
3803 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3805 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3807 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3808 * sysdeps/unix/sysv/Versions: Remove file.
3810 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3815 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
3818 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3819 version from __vm86.
3821 2012-04-20 Joseph Myers <joseph@codesourcery.com>
3823 * sysdeps/unix/common/lxstat.c: Remove file.
3824 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3826 * sysdeps/unix/sysv/Makefile: Remove file.
3828 * sysdeps/unix/sysv/direct.h: Remove file.
3830 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3831 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3832 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3833 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3834 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3835 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3836 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3838 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3840 * sysdeps/unix/xmknod.c: Remove file.
3841 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3843 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3845 * sysdeps/unix/sysv/i386/time.S: Remove file.
3847 * sysdeps/unix/fxstat.c: Remove file.
3848 * sysdeps/unix/xstat.c: Likewise.
3849 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3851 * sysdeps/unix/sysv/sigaction.c: Remove file.
3853 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3854 (sysdep_headers): Remove variable.
3855 [termio.h not in sysdep_headers] (generated): Likewise.
3856 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3857 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3858 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3859 * sysdeps/unix/sysv/tcflow.c: Likewise.
3860 * sysdeps/unix/sysv/tcflush.c: Likewise.
3861 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3862 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3863 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3864 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3865 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3867 * sysdeps/unix/siglist.c: Remove file.
3869 * sysdeps/unix/getppid.S: Remove file.
3871 * sysdeps/unix/mkdir.c: Remove file.
3872 * sysdeps/unix/rmdir.c: Likewise.
3874 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3876 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3878 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3879 errlist-compat value.
3881 2012-04-18 David S. Miller <davem@davemloft.net>
3883 * sysdeps/generic/memcopy.h (reg_char): Delete.
3884 * debug/strcat_chk.c: Use char, not reg_char.
3885 * debug/strcpy_chk.c: Likewise.
3886 * debug/strncat_chk.c: Likewise.
3887 * debug/strncpy_chk.c: Likewise.
3888 * string/memchr.c: Likewise.
3889 * string/memrchr.c: Likewise.
3890 * string/rawmemchr.c: Likewise.
3891 * string/strcat.c: Likewise.
3892 * string/strchr.c: Likewise.
3893 * string/strchrnul.c: Likewise.
3894 * string/strcmp.c: Likewise.
3895 * string/strcpy.c: Likewise.
3896 * string/strncat.c: Likewise.
3897 * string/strncmp.c: Likewise.
3898 * string/strncpy.c: Likewise.
3900 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3902 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3903 __builtin_memcopy is called when src and dest ranges are known to not
3906 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3908 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3909 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3910 fwd_align_merge macro call.
3911 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3912 bwd_align_merge macro call.
3913 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3915 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3917 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3918 bwd_align_merge macros.
3919 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3920 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3921 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3923 2012-04-18 David S. Miller <davem@davemloft.net>
3925 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3927 2012-04-18 Andreas Jaeger <aj@suse.de>
3930 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3931 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3932 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3934 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3935 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3936 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3938 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3939 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3940 Adjust for changed ldbl-128 files.
3942 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3943 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3944 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3946 2012-04-17 David S. Miller <davem@davemloft.net>
3948 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3950 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3952 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3953 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3954 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3955 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3956 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3957 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3959 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3962 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3963 * math/libm-test.inc: Add ilogb errno and exception tests.
3964 * math/w_ilogb.c: New file: ilogb wrapper.
3965 * math/w_ilogbf.c: New file: ilogbf wrapper.
3966 * math/w_ilogbl.c: New file: ilogbl wrapper.
3967 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3968 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3969 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3970 exception being thrown with 0.0 as argument.
3971 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3972 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3973 exception being thrown with 0.0 as argument.
3974 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3975 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3976 exception being thrown with 0.0 as argument.
3977 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3978 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3979 exception being thrown with 0.0 as argument.
3980 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3981 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3982 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3983 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3984 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3985 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3986 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3987 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3988 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3990 2012-04-17 Petr Baudis <pasky@ucw.cz>
3992 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3995 2012-04-16 Marek Polacek <polacek@redhat.com>
3997 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3999 2012-04-16 Marek Polacek <polacek@redhat.com>
4001 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4002 operands of fdivp instruction.
4004 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4006 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4007 * elf/tst-auditmod3b.c: Likewise.
4008 * elf/tst-auditmod4b.c: Likewise.
4009 * elf/tst-auditmod5b.c: Likewise.
4010 * elf/tst-auditmod6b.c: Likewise.
4011 * elf/tst-auditmod6c.c: Likewise.
4012 * elf/tst-auditmod7b.c: Likewise.
4013 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4014 * sysdeps/x86_64/preconfigure.in: Likewise.
4015 * sysdeps/x86_64/preconfigure: Regenerated.
4017 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4019 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4022 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4024 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4025 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4027 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4030 * locale/iso-639.def: Fix gl language name. Spotted by
4033 2012-04-12 Roland McGrath <roland@hack.frob.com>
4036 * libio/libio.h (__io_write_fn): Update comment.
4038 2012-04-12 Petr Baudis <pasky@ucw.cz>
4041 * stdio.texi (Hook Functions): The user provided writer function
4042 is not allowed to return -1.
4044 2012-04-11 David S. Miller <davem@davemloft.net>
4046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4048 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4050 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4051 Add a leading slash to rtkaio.
4053 2012-04-11 Jim Meyering <meyering@redhat.com>
4056 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4057 It is not necessarily an error to ignore fwrite's return
4058 value. One can reliably use ferror to test for errors after
4061 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4063 * bits/types.h (__snseconds_t): New type.
4064 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4066 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4067 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4068 (__SNSECONDS_T_TYPE): Likewise.
4069 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4070 (__SNSECONDS_T_TYPE): Likewise.
4071 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4072 (__SNSECONDS_T_TYPE): Likewise.
4074 2012-04-10 Andreas Jaeger <aj@suse.de>
4077 * manual/time.texi (Processor Time): Return type of times is
4078 elapsed real time since an arbitrary point in the past.
4079 (CPU Time): Move CLK_TCK from here...
4080 (Processor Time): ...to here. Correct description.
4081 * manual/conf.texi (Constants for Sysconf): Correct description of
4084 2012-04-10 David S. Miller <davem@davemloft.net>
4087 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4088 where the is a gap between DT_REL(A) and DT_JMPREL.
4090 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4092 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4093 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4094 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4096 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4098 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4099 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4100 (dl_main): Handle --inhibit-cache.
4101 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4103 * elf/dl-load.c (_dl_map_object): Use it.
4104 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4106 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4109 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4110 (__ieee754_powl): Saturate large exponents rather than testing for
4111 overflow of y*log2(x).
4112 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4113 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4117 * math/s_ctan.c: Include <float.h>.
4118 (__ctan): Avoid internal overflow or cancellation in calculating
4120 * math/s_ctanf.c: Likewise.
4121 * math/s_ctanl.c: Likewise.
4122 * math/s_ctanh.c: Likewise.
4123 * math/s_ctanhf.c: Likewise.
4124 * math/s_ctanhl.c: Likewise.
4125 * math/libm-test.inc (ctan_test): Add more tests.
4126 (ctanh_test): Likewise.
4127 * sysdeps/i386/fpu/libm-test-ulps: Update.
4128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4130 2012-04-09 Andreas Jaeger <aj@suse.de>
4133 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4134 is an optional BSD extension.
4137 * manual/stdio.texi (Opening Streams): Document additional fopen
4140 2012-04-09 Roland McGrath <roland@hack.frob.com>
4142 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4143 %eax without telling the compiler.
4145 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4148 * manual/install.texi: Use sourceware.org.
4150 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4153 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4154 (__ieee754_pow): Generate overflow and underflow using huge*huge
4155 and tiny*tiny rather than just returning constant infinity or zero
4156 for large exponents.
4157 * math/libm-test.inc (pow_test): Require overflow exceptions for
4158 applicable cases of large exponents.
4161 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4162 (__ieee754_pow): Use iterative multiplication algorithm only for
4163 integer exponents with absolute value below 1024. Check for odd
4164 integer exponents when using algorithm for real exponents.
4165 * math/libm-test.inc (pow_test): Add more tests.
4166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4168 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4171 * math/libm-test.inc (exp_test): Do not allow overflow exception
4174 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4177 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4178 instead of __kernel_standard_f.
4180 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4182 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4183 * sysdeps/x86_64/memset_chk.S: Likewise.
4185 2012-04-08 Andreas Jaeger <aj@suse.de>
4188 * manual/startup.texi (Environment Access): Describe return value
4189 for putenv and setenv.
4192 * manual/filesys.texi (Directory Entries): Add description for
4196 * manual/filesys.texi (Directory Entries): Clarify that it's file
4197 system not operating system in the description of DT_UNKNOWN.
4200 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4202 2012-04-08 Stephen Compall <s11@member.fsf.org>
4205 * manual/llio.texi (Opening and Closing Files): Add cross
4206 reference to explain mode argument.
4208 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4210 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4211 * sysdeps/x86_64/memset_chk.S: Likewise.
4213 2012-04-07 David S. Miller <davem@davemloft.net>
4215 * elf/elf.h (R_SPARC_WDISP10): Define.
4216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4218 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4219 R_SPARC_SIZE64 and R_SPARC_H34.
4221 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4223 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4224 conditions and remove no longer applicable assertion.
4226 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4228 * bits/byteswap.h: Include <features.h>.
4229 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4230 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4232 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4234 * bits/byteswap.h (__bswap_16): Removed.
4235 Include <bits/byteswap-16.h> to get __bswap_16.
4236 * sysdeps/i386/bits/byteswap.h: Likewise.
4237 * sysdeps/s390/bits/byteswap.h: Likewise.
4238 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4239 * bits/byteswap-16.h: New file.
4240 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4241 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4242 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4243 * string/Makefile (headers): Add bits/byteswap-16.h.
4245 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4248 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4250 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4251 * nss/tst-nss-static.c: New.
4253 2012-04-06 Robert Millan <rmh@gnu.org>
4256 * manual/llio.texi (File Position Primitive): lseek
4257 refers to WHENCE when it really means OFFSET.
4259 2012-04-06 Andreas Jaeger <aj@suse.de>
4261 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4262 strncmp declarations.
4264 * abilist/libc.abilist: Add __poll and __ppoll.
4266 2012-04-05 David S. Miller <davem@davemloft.net>
4268 * scripts/check-local-headers.sh: Accept a host triplet in the
4269 path matched by the exclude regexp.
4271 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4273 * sysdeps/powerpc/powerpc32/dl-machine.h
4274 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4275 * sysdeps/s390/s390-32/dl-machine.h
4276 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4277 * sysdeps/sparc/sparc32/dl-machine.h
4278 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4279 * sysdeps/sparc/sparc64/dl-machine.h
4280 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4282 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4284 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4285 undefined symbol errors.
4287 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4290 2012-04-05 Michael Matz <matz@suse.de>
4293 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4295 2012-04-05 Andreas Jaeger <aj@suse.de>
4298 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4301 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4303 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4304 which ROUND is no valid rounding mode.
4306 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4308 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4310 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4312 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4314 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4315 an exception using FPU order intentionally.
4317 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4319 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4320 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4321 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4322 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4324 2012-04-05 Simon Josefsson <simon@josefsson.org>
4327 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4328 EINVAL when BUFLEN is too smal.
4330 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4333 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4334 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4336 2012-04-03 Andreas Jaeger <aj@suse.de>
4339 * manual/setjmp.texi (System V contexts): Fix sentence.
4342 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4343 New macro for this case.
4344 [!__GNUC__] (__bswap_64): New inline function for this case.
4345 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4346 * bits/byteswap.h: Likewise.
4347 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4348 ull, guard with __GLIBC_HAVE_LONG_LONG.
4350 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4351 __GLIBC_HAVE_LONG_LONG.
4353 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4354 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4356 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4359 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4360 inptr and inend, rather than using last_ch.
4362 2012-04-02 David S. Miller <davem@davemloft.net>
4364 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4365 * stdio-common/printf-parse.h (read_int): Change return type to
4366 'int', return -1 on INT_MAX overflow.
4367 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4368 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4369 overflows INT_MAX. Check for overflow of in-format-string precision
4370 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4371 SIZE_MAX not INT_MAX for integer overflow test.
4372 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4373 skip the construct in the format string but do not record anything.
4374 * stdio-common/bug22.c: Adjust to test both width/prevision
4375 INT_MAX overflow as well as total length INT_MAX overflow. Check
4376 explicitly for proper errno values.
4378 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4380 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4382 * string/test-strcmp.c [! WIDE]: Likewise.
4383 * time/tst-mktime2.c: Likewise for INT_MAX.
4384 * string/test-string.h: #include <sys/param.h> for MIN.
4386 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4387 * sysdeps/i386/init-first.c (init): Likewise.
4388 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4389 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4390 * sysdeps/sh/init-first.c (init): Likewise.
4392 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4394 * po/ru.po: Update from translation team.
4395 * po/vi.po: Likewise.
4397 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4399 * resolv/nss_dns/dns-host.c: Merge copyright years.
4401 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4403 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4404 Optimize memcpy with prefetch if
4405 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4406 src, dst pointers have unequal 16 byte alignments.
4408 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4411 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4412 from a CNAME entry and return the minimum ttl for the query.
4413 (gaih_getanswer_slice): Likewise.
4415 2012-03-30 Jeff Law <law@redhat.com>
4417 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4419 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4420 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4422 * resolv/nss_dns/dns-host.c: Update copyright year.
4424 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4426 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4427 requests to save a system call. Fix check that all bytes are sent.
4429 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4430 comments for sendmmsg.
4432 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4435 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4436 with only 1 character between 0x0041 and 0x01b0.
4437 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4438 * wcsmbs/tst-mbsnrtowcs.c: New file.
4440 2012-03-29 David S. Miller <davem@davemloft.net>
4442 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4443 small copies by hand.
4445 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4448 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4449 _nss_compat_initgroups_dyn): Fall back to malloc/free
4450 for large group memberships.
4452 2012-03-28 David S. Miller <davem@davemloft.net>
4454 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4455 that branches into memcpy.
4456 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4457 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4458 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4459 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4462 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4464 * sysdeps/sparc/mempcpy.S: New file.
4466 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4467 the IFUNC routine in the libc case.
4468 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4470 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4471 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4472 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4473 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4474 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4475 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4476 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4477 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4479 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4480 loop to 256 bytes instead of 64 bytes and fix test signedness.
4482 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4483 * sysdeps/sparc/sparc32/Makefile: rather than here...
4484 * sysdeps/sparc/sparc64/Makefile: and here.
4486 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4488 * malloc/mallocbug.c: Avoid warnings about unused variables.
4490 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4493 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4494 in the right place. Discard and retry query if response is
4495 larger than input buffer size.
4497 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4502 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4503 x for large integer exponent.
4504 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4505 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4506 sign of result as needed afterwards.
4507 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4508 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4509 result for underflowing pow the same as for overflow.
4510 (__kernel_standard_l): Handle powl overflow and underflow here
4511 rather than calling __kernel_standard.
4512 * math/libm-test.inc (pow_test): Add more tests.
4527 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4528 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4529 (__kernel_standard_l): New function.
4530 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4532 * math/w_acosl.c (__acosl): Likewise.
4533 * math/w_asinl.c (__asinl): Likewise.
4534 * math/w_atan2l.c (__atan2l): Likewise.
4535 * math/w_atanhl.c (__atanhl): Likewise.
4536 * math/w_coshl.c (__coshl): Likewise.
4537 * math/w_exp10l.c (__exp10l): Likewise.
4538 * math/w_exp2l.c (__exp2l): Likewise.
4539 * math/w_fmodl.c (__fmodl): Likewise.
4540 * math/w_hypotl.c (__hypotl): Likewise.
4541 * math/w_j0l.c (__j0l, __y0l): Likewise.
4542 * math/w_j1l.c (__j1l, __y1l): Likewise.
4543 * math/w_jnl.c (__jnl, __ynl): Likewise.
4544 * math/w_lgammal.c (__lgammal): Likewise.
4545 * math/w_log10l.c (__log10l): Likewise.
4546 * math/w_log2l.c (__log2l): Likewise.
4547 * math/w_logl.c (__logl): Likewise.
4548 * math/w_powl.c (__powl): Likewise.
4549 * math/w_remainderl.c (__remainderl): Likewise.
4550 * math/w_scalbl.c (sysv_scalbl): Likewise.
4551 * math/w_sinhl.c (__sinhl): Likewise.
4552 * math/w_sqrtl.c (__sqrtl): Likewise.
4553 * math/w_tgammal.c (__tgammal): Likewise.
4554 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4555 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4556 * math/libm-test.inc (acos_test): Add more tests.
4557 (acosh_test): Likewise.
4558 (asin_test): Likewise.
4559 (atanh_test): Likewise.
4560 (exp_test): Likewise.
4561 (exp10_test): Likewise.
4562 (exp2_test): Likewise.
4563 (expm1_test): Likewise.
4564 (lgamma_test): Likewise.
4565 (log_test): Likewise.
4566 (log10_test): Likewise.
4567 (log1p_test): Likewise.
4568 (log2_test): Likewise.
4569 (pow_test): Do not allow some spurious overflow exceptions.
4570 (sqrt_test): Add more tests.
4571 (tgamma_test): Likewise.
4572 (y0_test): Likewise.
4573 (y1_test): Likewise.
4574 (yn_test): Likewise.
4576 2012-03-27 Anton Blanchard <anton@samba.org>
4578 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4580 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4581 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4582 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4584 2012-03-27 David S. Miller <davem@davemloft.net>
4586 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4588 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4591 2012-03-27 Andreas Jaeger <aj@suse.de>
4593 * sysdeps/x86_64/elf/configure.in: Moved to ...
4594 * sysdeps/x86_64/configure.in: ... here.
4595 * sysdeps/x86_64/elf/start.S: Moved to ...
4596 * sysdeps/x86_64/start.S: ... here.
4597 * sysdeps/x86_64/elf/configure: Delete.
4599 * sysdeps/x86_64/configure.in: Merge contents from
4600 sysdeps/i386/configure.in (without i686 check).
4602 * sysdeps/i386/elf/Versions: Merge into ...
4603 * sysdeps/i386/Versions: ... this.
4604 * sysdeps/i386/elf/Versions: Delete file.
4605 * sysdeps/i386/elf/start.S: Moved to ...
4606 * sysdeps/i386/start.S: ...here.
4607 * sysdeps/i386/elf/configure.in: Merge into...
4608 * sysdeps/i386/configure.in: ...here.
4609 * sysdeps/i386/elf/configure.in: Delete file.
4610 * sysdeps/i386/elf/configure: Delete file.
4612 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4613 * debug/backtracesyms.c: ... here.
4614 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4615 * debug/backtracesymsfd.c: ... here.
4616 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4617 * sysdeps/generic/ifunc-sel.h: ... here.
4619 * sysdeps/unix/i386/start.c: Delete file.
4620 * sysdeps/unix/sparc/start.c: Delete file.
4621 * sysdeps/unix/start.c: Delete file.
4623 * sysdeps/sh/elf/configure.in: Moved to ...
4624 * sysdeps/sh/configure.in: ... here.
4625 * sysdeps/sh/elf/start.S: Moved to ...
4626 * sysdeps/sh/start.S: ... here.
4627 * sysdeps/sh/elf/configure: Delete file.
4629 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4630 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4631 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4632 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4633 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4634 * sysdeps/powerpc/powerpc64/start.S: here.
4635 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4636 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4637 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4638 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4639 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4641 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4642 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4643 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4644 * sysdeps/powerpc/powerpc32/start.S: ... here.
4645 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4646 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4647 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4649 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4650 * sysdeps/powerpc/ifunc-sel.h: ... here.
4651 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4652 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4654 * sysdeps/sparc/elf/configure.in: Moved to ...
4655 * sysdeps/sparc/configure.in: ... here.
4656 * sysdeps/sparc/elf/configure: Delete file.
4657 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4658 * sysdeps/sparc/sparc32/start.S: ... here.
4659 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4660 * sysdeps/sparc/sparc64/start.S: ... here.
4661 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4662 * sysdeps/sparc/sparc32/Makefile: ... this.
4663 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4664 * sysdeps/sparc/sparc64/Makefile: ... this.
4666 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4667 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4668 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4669 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4670 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4671 * sysdeps/s390/s390-32/setjmp.S: ... here.
4672 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4673 * sysdeps/s390/s390-32/configure.in: ... here.
4674 * sysdeps/s390/s390-32/elf/configure: Delete file.
4675 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4676 * sysdeps/s390/s390-32/start.S: ... here.
4678 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4679 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4680 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4681 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4682 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4683 * sysdeps/s390/s390-64/setjmp.S: ... here.
4684 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4685 * sysdeps/s390/s390-64/configure.in: ... here
4686 * sysdeps/s390/s390-64/elf/configure: Delete file.
4687 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4688 * sysdeps/s390/s390-64/start.S: ... here.
4689 * sysdeps/s390/s390-64/elf/configure: Delete.
4691 * configure.in: Remove support for elf directories in sysdeps.
4693 * configure: Regenerated.
4694 * sysdeps/i386/configure: Regenerated.
4695 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4696 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4697 * sysdeps/s390/s390-32/configure: Regenerated.
4698 * sysdeps/s390/s390-64/configure: Regenerated.
4699 * sysdeps/sh/configure: Regenerated.
4700 * sysdeps/sparc/configure: Regenerated.
4701 * sysdeps/x86_64/configure: Regenerated.
4703 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4707 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4708 denormal result into account.
4710 2012-03-25 Roland McGrath <roland@hack.frob.com>
4712 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4713 Reported by Allan McRae <allan@archlinux.org>.
4715 2012-03-23 Jeff Law <law@redhat.com>
4717 * nss/getnssent.c (__nss_getent): Fix typo.
4719 2012-03-23 David S. Miller <davem@davemloft.net>
4721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4723 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4725 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4726 to pad to uint64_t for each field.
4727 (dl_tls_index): Replace unsigned long with uint64_t.
4729 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4730 Paul Pluzhnikov <ppluzhnikov@google.com>
4733 * grp/Makefile (otherlibs): Don't set it.
4734 * inet/Makefile (otherlibs): Likewise.
4735 * login/Makefile (otherlibs): Likewise.
4736 * nscd/Makefile (otherlibs): Likewise.
4737 * posix/Makefile (otherlibs): Likewise.
4738 * pwd/Makefile (otherlibs): Likewise.
4739 * rt/Makefile (otherlibs): Likewise.
4740 * sunrpc/Makefile (otherlibs): Likewise.
4741 * nss/Makefile (otherlibs): Likewise.
4742 Add libnss_files to routines and static-only-routines.
4743 ($(objpfx)getent): Remove rule.
4744 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4745 static-only-routines.
4747 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4750 * math/s_cexp.c: Include <float.h>.
4751 (__cexp): Handle exp result overflowing not necessarily
4752 overflowing both real and imaginary parts of result.
4753 * math/s_cexpf.c: Likewise.
4754 * math/s_cexpl.c: Likewise.
4755 * math/libm-test.inc (cexp_test): Add more tests.
4756 * sysdeps/i386/fpu/libm-test-ulps: Update.
4757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4759 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4761 * include/link.h (ELFW): New macro.
4762 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4763 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4765 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4767 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4770 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4772 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4774 (struct La_x32_retval): Likewise.
4776 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4778 * sysdeps/x86_64/preconfigure.in: New file.
4779 * sysdeps/x86_64/preconfigure: New generated file.
4781 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4784 * math/e_exp2l.c: Include <float.h>.
4785 (__ieee754_exp2l): Handle overflow and underflow cases
4786 separately. Only pass fractional part of argument to
4788 * math/libm-test.inc (exp2_test): Add more tests.
4790 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4791 negating x to take absolute value.
4792 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4794 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4795 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4797 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4798 computing low part if x was negated.
4799 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4801 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4803 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4805 (pltexit): Cast int_retval to ptrdiff_t.
4806 * elf/tst-auditmod3b.c: Likewise.
4807 * elf/tst-auditmod4b.c: Likewise.
4808 * elf/tst-auditmod5b.c: Likewise.
4809 * elf/tst-auditmod6b.c: Likewise.
4810 * elf/tst-auditmod6c.c: Likewise.
4811 * elf/tst-auditmod7b.c: Likewise.
4813 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4814 and x32_gnu_pltexit.
4816 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4818 (La_x32_regs): New macro.
4819 (La_x32_retval): Likewise.
4820 (la_x32_gnu_pltenter): New function prototype.
4821 (la_x32_gnu_pltexit): Likewise.
4823 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4825 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4830 * configure.in (libc_cv_cc_nofma): Check for option to disable
4831 generation of FMA instructions.
4832 * configure: Regenerate.
4833 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4834 * sysdeps/ieee754/dbl-64/Makefile: New file.
4835 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4836 Remove brandred-fma4.
4837 (CFLAGS-brandred-fma4.c): Remove.
4838 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4839 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4841 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4844 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4846 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4847 LLONG_MAX != LONG_MAX.
4848 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4849 (_fitoa_word): Likewise.
4850 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4851 LLONG_MAX != LONG_MAX.
4852 * stdio-common/_itowa.h: Include <_itoa.h>.
4853 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4854 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4855 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4856 only if not defined.
4857 (_ITOA_WORD_TYPE): Likewise.
4858 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4859 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4861 2012-03-21 David S. Miller <davem@davemloft.net>
4863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4865 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4867 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4868 of x86_64 when setting libc_cv_slibdir, libdir and
4870 * sysdeps/unix/sysv/linux/configure: Regenerated.
4872 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4874 * manual/lang.texi (Old Varargs): Remove section.
4875 (How Variadic): Update menu.
4876 (va_start): Do not mention varargs.h.
4878 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4879 Joseph Myers <joseph@codesourcery.com>
4881 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4883 * configure: Regenerated.
4885 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4887 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4888 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4891 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4894 * Makefile (files-for-dist): Remove NOTES.
4895 (NOTES): Remove rule.
4896 * README: Don't refer to NOTES.
4897 * manual/creature.texi: Don't include macros.texi.
4898 * manual/intro.texi (creature.texi): Remove comment referring to
4901 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4902 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4903 * configure: Regenerated.
4904 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4906 (libc_cv_as_i686): Likewise.
4907 (libc_cv_cc_avx): Likewise.
4908 (libc_cv_cc_sse2avx): Likewise.
4909 (libc_cv_cc_fma4): Likewise.
4910 (libc_cv_cc_novzeroupper): Likewise.
4911 * sysdeps/i386/configure: Regenerated.
4914 * sysdeps/i386/fpu/s_cexp.S: Remove.
4915 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4916 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4917 * math/libm-test.inc (cexp_test): Add more tests.
4918 * sysdeps/i386/fpu/libm-test-ulps: Update.
4919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4921 2012-03-21 Allan McRae <allan@archlinux.org>
4923 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4925 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4928 * math/w_exp2.c: Do not include <float.h>.
4929 (o_threshold, u_threshold): Remove.
4930 (__exp2): Calculate result before checking finiteness and calling
4932 * math/w_exp2f.c: Likewise.
4933 * math/w_exp2l.c: Likewise.
4934 * math/libm-test.inc (exp2_test): Require overflow exception for
4938 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4939 range of signed 64-bit integers before using fistpll. Remove
4940 checks for whether integers fit in mantissa bits.
4941 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4942 the range of signed 32-bit integers before using fistpl. Remove
4943 checks for whether integers fit in mantissa bits.
4944 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4945 (__ieee754_powl): Test for y outside the range of signed 64-bit
4946 integers before using fistpll. Reduce 64-bit values to 63-bit
4948 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4949 divide-by-zero is raised for zero to large negative powers.
4950 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4951 (__ieee754_powl): Test for y outside the range of signed 64-bit
4952 integers before using fistpll. Reduce 64-bit values to 63-bit
4954 * math/libm-test.inc (pow_test): Add more tests.
4956 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4958 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4959 <stdio-common/_itoa.h>.
4960 * debug/segfault.c: Likewise.
4961 * elf/dl-cache.c: Likewise.
4962 * elf/dl-minimal.c: Likewise.
4963 * elf/dl-misc.c: Likewise.
4964 * elf/dl-sysdep.c: Likewise.
4965 * elf/dl-version.c: Likewise.
4966 * elf/rtld.c: Likewise.
4967 * hurd/hurdsock.c: Likewise.
4968 * hurd/lookup-retry.c: Likewise.
4969 * malloc/malloc.c: Likewise.
4970 * malloc/mtrace.c: Likewise.
4971 * nscd/nscd_getgr_r.c: Likewise.
4972 * nscd/nscd_getpw_r.c: Likewise.
4973 * nscd/nscd_getserv_r.c: Likewise.
4974 * posix/getopt_init.c: Likewise.
4975 * posix/wordexp.c: Likewise.
4976 * stdio-common/_itoa.c: Likewise.
4977 * stdio-common/printf_fphex.c: Likewise.
4978 * stdio-common/vfprintf.c: Likewise.
4979 * string/_strerror.c: Likewise.
4980 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4981 * sysdeps/i386/i686/hp-timing.h: Likewise.
4982 * sysdeps/mach/_strerror.c: Likewise.
4983 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4984 * sysdeps/mach/hurd/sethostid.c: Likewise.
4985 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4986 * sysdeps/mach/xpg-strerror.c: Likewise.
4987 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4988 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4989 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4990 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4991 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4992 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4993 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4994 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4995 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4996 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4997 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4998 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4999 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5000 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5001 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5002 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5003 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5004 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5005 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5006 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5007 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5009 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5011 * stdio-common/_itoa.h: Moved to ...
5012 * sysdeps/generic/_itoa.h: Here.
5014 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5016 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5017 instead of "_itoa.h" and "_itowa.h".
5018 * stdio-common/vfprintf.: Likewise.
5020 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5022 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5024 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5025 (__signbit): Likwise.
5029 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5031 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5034 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5036 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5037 OVERFLOW_EXCEPTION_OK.
5038 * math/libm-test.inc ("Philosophy"): Update comment about
5040 (OVERFLOW_EXCEPTION): Define.
5041 (OVERFLOW_EXCEPTION_OK): Likewise.
5042 (INVALID_EXCEPTION_OK): Renumber.
5043 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5044 (IGNORE_ZERO_INF_SIGN): Likewise.
5045 (test_exceptions): Handle FE_OVERFLOW.
5046 (exp10_test): Expect overflow exceptions.
5047 (exp2_test): Likewise.
5048 (expm1_test): Likewise.
5049 (nextafter_test): Likewise.
5050 (pow_test): Likewise.
5051 (scalbn_test): Likewise.
5052 (scalbln_test): Likewise.
5054 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5056 * sysdeps/x86_64/bits/atomic.h
5057 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5059 (atomic_exchange_acq): Likewise.
5060 (__arch_exchange_and_add_body): Likewise.
5061 (__arch_add_body): Likewise.
5062 (atomic_add_negative): Likewise.
5063 (atomic_add_zero): Likewise.
5065 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5067 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5068 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5070 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5072 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5073 Check __x86_64__ instead of __WORDSIZE.
5075 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5077 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5079 2012-03-19 David S. Miller <davem@davemloft.net>
5081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5083 * sysdeps/sparc/fpu/fenv_private.h: New file.
5084 * sysdeps/sparc/fpu/math_private.h: Use it.
5085 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5087 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5088 (libc_feholdexcept_setroundl): Remove.
5089 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5091 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5092 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5094 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5096 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5097 int64_t instead of long int.
5098 (INSERT_WORDS64): Likwise.
5100 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5102 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5103 _Unwind_GetCFA return to _Unwind_Ptr first.
5105 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5108 * math/s_clog.c: Include <float.h>.
5109 (__clog): Scale large or subnormal inputs.
5110 * math/s_clogf.c: Likewise.
5111 * math/s_clogl.c: Likewise.
5112 * math/s_clog10.c: Include <float.h>.
5113 (M_LOG10_2): Define.
5114 (__clog10): Scale large or subnormal inputs.
5115 * math/s_clog10f.c: Likewise.
5116 * math/s_clog10l.c: Likewise.
5117 * math/libm-test.inc (clog_test): Add more tests.
5118 (clog10_test): Likewise.
5119 * sysdeps/i386/fpu/libm-test-ulps: Update.
5120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5123 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5125 * math/libm-test.inc (atan2_test): Add another test.
5127 * Makerules (common-objdir-compile): Remove.
5128 * sysdeps/unix/Makefile (config-generated): Do not add
5129 $(unix-generated) to variable.
5130 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5131 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5133 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5135 [generic bits/local_lim.h] (before-compile): Do not append to
5137 [generic bits/local_lim.h] (common-generated): Likewise.
5138 [generic sys/param.h] (before-compile): Do not append to variable.
5139 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5140 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5141 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5142 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5144 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5145 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5146 [generic sys/param.h] ($(addprefix
5147 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5148 [generic sys/param.h] (common-generated): Do not append to
5150 [generic sys/param.h] (sysdep_headers): Likewise.
5151 [generic bits/errno.h] (before-compile): Do not append to
5153 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5155 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5156 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5157 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5158 [generic bits/errno.h] (common-generated): Do not append to
5160 [generic bits/ioctls.h] (before-compile): Do not append to
5162 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5164 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5165 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5166 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5168 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5169 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5170 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5171 [generic bits/ioctls.h] (common-generated): Do not append to
5173 [generic sys/syscall.h] (syscall.h): Remove variable.
5174 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5176 [generic sys/syscall.h] (before-compile): Do not append to
5178 [generic sys/syscall.h] (common-generated): Likewise.
5179 * sysdeps/unix/errnos-tmpl.c: Remove file.
5180 * sysdeps/unix/errnos.awk: Likewise.
5181 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5182 * sysdeps/unix/ioctls.awk: Likewise.
5183 * sysdeps/unix/mk-local_lim.c: Likewise.
5184 * sysdeps/unix/snarf-ioctls: Likewise.
5186 2012-03-19 Richard Henderson <rth@twiddle.net>
5188 * sysdeps/i386/fpu/fenv_private.h: New file.
5189 * sysdeps/i386/fpu/math_private.h: Use it.
5190 (math_opt_barrier, math_force_eval): Remove.
5191 (libc_feholdexcept_setround_53bit): Remove.
5192 (libc_feupdateenv_53bit): Remove.
5193 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5194 (math_opt_barrier, math_force_eval): Remove.
5195 (libc_feholdexcept): Remove.
5196 (libc_feholdexcept_setround): Remove.
5197 (libc_fetestexcept, libc_fesetenv): Remove.
5198 (libc_feupdateenv_test): Remove.
5199 (libc_feupdateenv, libc_feholdsetround): Remove.
5200 (libc_feresetround): Remove.
5202 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5203 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5205 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5206 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5207 (libc_feupdateenv_testl): New.
5208 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5209 (libc_feupdateenv_testf): New.
5210 (libc_feupdateenv): Use libc_feupdateenv_test.
5211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5212 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5214 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5215 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5216 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5217 (libc_feresetround_noex): New.
5218 (libc_feresetround_noexf): New.
5219 (libc_feresetround_noexl): New.
5220 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5221 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5222 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5223 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5225 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5226 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5228 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5229 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5230 SET_RESTORE_ROUND_NOEX.
5231 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5232 SET_RESTORE_ROUND_NOEXF.
5233 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5234 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5235 (libc_feholdsetroundf): New.
5236 (libc_feresetround, libc_feresetroundf): New.
5238 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5239 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5240 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5242 * sysdeps/generic/math_private.h: Include <fenv.h>.
5243 (default_libc_feholdexcept): New.
5244 (default_libc_feholdexcept_setround): New.
5245 (default_libc_fesetenv, default_libc_feupdateenv): New.
5246 (libc_feholdexcept): Only define if undefined.
5247 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5248 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5249 (libc_feholdexcept_setroundl): Likewise.
5250 (libc_feholdexcept_setround_53bit): Likewise.
5251 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5252 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5253 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5254 (libc_feupdateenv_53bit): Likewise.
5255 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5256 (libc_feholdexcept): Convert from macro to inline function.
5257 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5258 (libc_fesetenv, libc_feupdateenv): Likewise.
5260 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5261 not previously defined.
5262 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5263 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5264 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5265 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5266 * sysdeps/ieee754/flt-32/math_private.h: New file.
5267 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5268 math_private.h below SET_FLOAT_WORD.
5269 (__isnan, __isinf_ns, __finite): Remove.
5270 (__isnanf, __isinf_nsf, __finitef): Remove.
5272 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5276 2012-03-17 David S. Miller <davem@davemloft.net>
5279 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5282 2012-03-16 David S. Miller <davem@davemloft.net>
5284 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5288 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5290 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5291 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5292 sysdep_routines when subdir is sysvipc.
5293 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5296 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5298 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5300 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5303 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5305 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5306 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5307 (__lround): Renamed to ...
5308 (__llround): This. Replace long int with long long int.
5309 Define lround functions as aliases of llround functions.
5310 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5312 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5314 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5315 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5316 adresses to uintptr_t. Replace "long int" and "unsigned long
5317 int" with "greg_t" on va_arg.
5319 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5321 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5322 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5324 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5325 Move e_machine check before EI_CLASS check. Handle x32
5326 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5327 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5328 SKIP_EM_IA_64 and include
5329 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5331 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5332 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5333 (add_system_dir): New macro.
5335 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5336 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5338 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5349 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5351 * math/w_j0f.c (j0f): Likewise.
5353 * math/w_j0l.c (__j0l): Likewise.
5355 * math/w_j1.c (j1): Likewise.
5357 * math/w_j1f.c (j1f): Likewise.
5359 * math/w_j1l.c (__j1l): Likewise.
5361 * math/w_jn.c (jn): Likewise.
5363 * math/w_jnf.c (jnf): Likewise.
5365 * math/w_jnl.c (__jnl): Likewise.
5367 * math/libm-test.inc (j0_test): Add more tests.
5368 (j1_test): Likewise.
5369 (jn_test): Likewise. Add trailing semicolon to existing test.
5370 (y0_test): Likewise.
5371 (y1_test): Likewise.
5372 * sysdeps/i386/fpu/libm-test-ulps: Update.
5373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5377 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5378 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5379 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5380 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5381 (__tanl): Set errno for infinite argument.
5382 * sysdeps/i386/fpu/mptan.c: Remove.
5383 * sysdeps/i386/fpu/s_tan.S: Likewise.
5384 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5385 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5386 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5387 * math/libm-test.inc (tan_test): Add more tests and enable more
5388 tests for double and long double.
5389 * sysdeps/i386/fpu/libm-test-ulps: Update.
5390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5392 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5394 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5395 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5397 2012-03-16 Roland McGrath <roland@hack.frob.com>
5399 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5400 * configure.in: Use it for both main tree and add-ons.
5401 * configure: Regenerated.
5403 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5405 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5407 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5409 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5413 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5414 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5415 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5419 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5420 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5422 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5423 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5424 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5425 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5426 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5427 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5428 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5429 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5430 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5431 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5432 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5433 * math/libm-test.inc (cos_test): Add more tests and enable more
5434 tests for long double.
5435 (sin_test): Likewise.
5436 (sincos_test): Likewise.
5437 * sysdeps/i386/fpu/libm-test-ulps: Update.
5438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5440 2012-03-16 David S. Miller <davem@davemloft.net>
5442 * sysdeps/sparc/fpu/math_private.h: New file.
5444 2012-03-15 David S. Miller <davem@davemloft.net>
5446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5456 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5460 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5461 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5463 * sysdeps/sparc/sparc-ifunc.h: New file.
5464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5490 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5491 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5500 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5501 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5502 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5503 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5504 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5505 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5506 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5507 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5509 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5511 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5515 2012-03-15 Andreas Jaeger <aj@suse.de>
5518 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5519 ieee754/flt-32 implementation for sin, cos and sincos.
5520 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5521 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5522 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5523 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5524 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5525 ieee754/flt-32 implementation for tan.
5527 * math/libm-test.inc (cos_test): Enable some large input tests for
5529 (sin_test): Likewise.
5530 (sincos_test): Likewise.
5531 (tan_test): Add tests for large input.
5533 * sysdeps/i386/fpu/libm-test-ulps: Update.
5535 2012-03-15 Andreas Jaeger <aj@suse.de>
5538 * math/libm-test.inc (cos_test): Add more test cases.
5539 (sin_test): Likewise.
5540 (sincos_test): Likewise.
5542 2012-03-15 Andreas Jaeger <aj@suse.de>
5545 * math/libm-test.inc (cos_test): Add a test case for large input
5547 (sin_test): Likewise.
5548 (sincos_test): Likewise.
5550 2012-03-15 Andreas Jaeger <aj@suse.de>,
5551 Joseph Myers <joseph@codesourcery.com>
5554 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5555 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5556 * sysdeps/i386/fpu/branred.c: Likewise.
5557 * sysdeps/i386/fpu/dosincos.c: Likewise.
5558 * sysdeps/i386/fpu/mpa.c: Likewise.
5559 * sysdeps/i386/fpu/s_cos.S: Likewise.
5560 * sysdeps/i386/fpu/s_sin.S: Likewise.
5561 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5562 * sysdeps/i386/fpu/sincos32.c: Likewise.
5564 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5566 (libc_feupdateenv_53bit): Define.
5567 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5569 (libc_feupdateenv_53bit): Define.
5571 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5572 53 bit (without extend i386 double precision).
5574 * math/libm-test.inc (sincos_test): Add tests for large input.
5578 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5580 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5584 2012-03-15 David S. Miller <davem@davemloft.net>
5586 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5587 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5588 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5589 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5613 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5614 fmin/fmax sysdep routines.
5615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5617 2012-03-14 David S. Miller <davem@davemloft.net>
5619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5624 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5626 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5639 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5640 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5641 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5642 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5643 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5644 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5645 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5646 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5691 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5696 * sysdeps/sparc/configure.in: New file.
5697 * sysdeps/sparc/configure: Generate.
5698 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5699 * configure: Regenerate.
5700 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5701 * config.make.in (have-as-vis3): New.
5702 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5703 available use -Av9d instead of -Av9a.
5704 * sysdeps/sparc/sparc64/Makefile: Likewise.
5705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5714 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5715 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5716 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5717 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5718 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5720 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5721 fzeros/fnegs to load 0x80000000 into a float register instead of
5723 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5725 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5729 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5730 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5731 ($(inst_includedir)/bits/syscall.h): Remove rule.
5732 ($(objpfx)bits/syscall.d): Include instead of
5733 $(objpfx)syscall-list.d.
5734 (generated): Change syscall-list.h and syscall-list.d to
5735 bits/syscall.h and bits/syscall.d.
5737 2012-03-14 Roland McGrath <roland@hack.frob.com>
5740 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5742 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5745 * math/s_csqrt.c: Include <float.h>.
5746 (__csqrt): Scale large or subnormal inputs.
5747 * math/s_csqrtf.c: Likewise.
5748 * math/s_csqrtl.c: Likewise.
5749 * math/libm-test.inc (csqrt_test): Add more tests.
5750 * sysdeps/i386/fpu/libm-test-ulps: Update.
5751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5754 * math/libm-test.inc (hypot_test): Add more tests.
5756 2012-03-13 David S. Miller <davem@davemloft.net>
5759 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5760 double-precision for the calculation instead of scaling.
5762 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5764 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5765 manipulate bits before adding and subtracting TWO52[sx].
5766 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5767 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5769 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5771 2012-03-13 David S. Miller <davem@davemloft.net>
5773 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5774 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5775 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5776 rtld-global-offsets.h
5777 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5779 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5782 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5784 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5785 'err' in the ifdef scope in which it is actually used.
5787 * nss/nss_db/db-init.c: Include string.h
5789 2012-03-12 David S. Miller <davem@davemloft.net>
5791 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5792 masking out of the most significant byte of random value used.
5793 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5794 Fix coding style in previous change.
5796 * sysdeps/unix/sysv/linux/kernel-features.h
5797 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5798 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5800 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5803 2012-03-11 David S. Miller <davem@davemloft.net>
5805 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5806 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5807 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5808 for 'resultvar' otherwise things get truncated on 64-bit.
5810 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5811 Fix masking out of the most significant byte of random value used.
5813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5815 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5819 2012-03-09 David S. Miller <davem@davemloft.net>
5821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5822 variables with appropriate CPP guards.
5823 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5824 frame pointer, not the stack pointer. Correct layout comments. Fix test
5825 on resulting framesize and the management of the outregs buffer for pltexit.
5826 Preserve floating point return values across _dl_call_pltexit call.
5827 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5828 framesize and the management of the outregs buffer for pltexit.
5829 Preserve floating point return values across _dl_call_pltexit
5831 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5832 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5833 (print_exit): Fix format string for return register value.
5835 2012-03-10 Joseph Myers <joseph@codesourcery.com>
5837 * sunrpc/Makefile (others): Add rpcgen.
5838 ($(objpfx)rpcgen): Remove special build rule and dependency on
5840 * sunrpc/rpcgen.c: New file.
5842 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5845 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5846 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5847 * sysdeps/i386/crti.S: Likewise.
5848 * sysdeps/i386/crtn.S: Likewise.
5849 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5850 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5851 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5852 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5853 * sysdeps/sh/crti.S: Likewise.
5854 * sysdeps/sh/crtn.S: Likewise.
5855 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5858 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5860 * locale/programs/locfile-kw.gperf: Likewise.
5861 * locale/programs/charmap-kw.h: Regenerated.
5862 * locale/programs/locfile-kw.h: Likewise.
5865 * intl/plural.y: Replace FSF snail mail address with URL.
5866 * intl/plural.c: Regenerated.
5868 2012-03-09 Richard Henderson <rth@twiddle.net>
5870 * include/math_private.h: Remove file.
5871 * math/math_private.h: Move file ...
5872 * sysdeps/generic/math_private.h: ... here.
5874 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5875 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5876 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5878 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5879 and <math_private.h>.
5880 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5881 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5882 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5883 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5884 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5885 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5886 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5888 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5889 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5890 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5891 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5892 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5895 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5896 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5897 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5898 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5899 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5901 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5902 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5905 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5907 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5909 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5910 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5913 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5914 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5919 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5920 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5921 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5922 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5923 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5924 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5925 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5926 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5927 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5928 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5929 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5930 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5931 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5932 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5933 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5934 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5935 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5936 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5937 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5938 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5939 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5940 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5941 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5942 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5943 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5944 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5945 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5946 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5947 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5948 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5949 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5950 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5951 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5952 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5953 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5954 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5955 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5957 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5958 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5959 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5960 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5961 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5962 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5963 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5964 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5965 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5966 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5967 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5968 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5969 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5970 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5971 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5972 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5973 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5974 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5975 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5976 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5977 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5978 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5979 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5980 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5981 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5982 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5983 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5984 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5985 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5986 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5987 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5988 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5989 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5990 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5991 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5992 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5993 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5994 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5995 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5996 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5997 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5998 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5999 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6000 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6001 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6002 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6003 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6004 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6005 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6006 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6007 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6008 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6009 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6010 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6011 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6012 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6013 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6014 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6015 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6016 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6017 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6018 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6019 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6020 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6021 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6022 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6023 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6024 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6025 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6026 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6027 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6028 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6029 * sysdeps/ieee754/k_standard.c: Likewise.
6030 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6031 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6032 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6033 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6034 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6035 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6036 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6037 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6038 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6039 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6040 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6041 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6042 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6043 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6044 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6045 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6046 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6047 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6048 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6049 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6050 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6051 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6052 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6053 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6054 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6055 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6056 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6057 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6058 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6059 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6060 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6061 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6062 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6063 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6064 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6065 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6066 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6067 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6068 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6069 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6070 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6071 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6072 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6073 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6074 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6075 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6076 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6077 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6078 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6079 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6080 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6081 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6082 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6083 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6084 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6085 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6086 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6087 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6088 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6089 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6090 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6091 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6092 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6093 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6094 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6095 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6096 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6097 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6104 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6105 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6106 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6107 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6108 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6109 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6110 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6111 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6112 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6135 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6143 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6144 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6145 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6147 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6148 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6149 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6150 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6151 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6152 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6156 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6157 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6159 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6160 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6161 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6162 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6163 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6165 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6166 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6167 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6168 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6169 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6170 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6171 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6172 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6173 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6177 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6178 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6179 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6180 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6182 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6185 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6186 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6187 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6188 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6189 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6190 * sysdeps/ieee754/s_lib_version.c: Likewise.
6191 * sysdeps/ieee754/s_matherr.c: Likewise.
6192 * sysdeps/ieee754/s_signgam.c: Likewise.
6193 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6194 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6195 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6196 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6197 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6198 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6199 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6200 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6201 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6202 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6203 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6204 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6205 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6206 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6207 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6208 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6209 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6210 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6211 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6212 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6213 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6215 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6217 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6218 * sunrpc/rpc_main.c: Likewise.
6219 * sunrpc/rpc_svcout.c: Likewise.
6221 2012-03-09 David S. Miller <davem@davemloft.net>
6223 * include/math_private.h: New file.
6225 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6227 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6228 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6229 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6230 from <bits/socket_type.h>.
6231 (enum __socket_type): Don't define here.
6232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6237 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6240 * Makerules ($(inst_includedir)/%.h): New rule.
6241 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6242 (install-others): Remove variable setting.
6243 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6245 2012-03-08 Richard Henderson <rth@twiddle.net>
6247 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6248 from macro to inline function; merge with the
6249 !__LIBC_INTERNAL_MATH_INLINES version.
6250 (__ieee754_sqrtf): Likewise.
6252 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6254 (__rintf, __floor, __floorf): Likewise.
6256 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6257 macro to inline function.
6258 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6260 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6261 not <math/math_private.h>.
6263 2012-03-08 David S. Miller <davem@davemloft.net>
6265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6267 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6269 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6271 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6273 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6274 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6276 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6278 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6279 be defined individually, they must be defined as a block. Define
6280 S for printing a string instead of hidint the different by using a
6281 macro for adding the 'l'.
6282 * stdio-common/tst-fphex-wide.c: Adjust.
6284 2012-03-07 Marek Polacek <polacek@redhat.com>
6286 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6288 2012-03-08 Marek Polacek <polacek@redhat.com>
6291 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6292 * stdio-common/tst-fphex.c: Define a few macros to make the
6293 test reusable. Use them.
6294 * stdio-common/tst-fphex-wide.c: New file.
6296 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6299 * manual/macros.texi (gnusystems): New macro.
6300 (nongnusystems): Likewise.
6301 (gnulinuxhurdsystems): Likewise.
6302 (gnuhurdsystems): Likewise..
6303 (gnulinuxsystems): Likewise.
6304 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6305 variants of the GNU system, not "GNU system".
6306 * manual/conf.texi: Likewise.
6307 * manual/errno.texi: Likewise. Update example of errno macro
6309 * manual/filesys.texi: Likewise.
6310 (getumask): Document as specific to GNU/Hurd.
6311 * manual/install.texi: Likewise. Reword some references to
6313 * manual/intro.texi: Likewise.
6314 * manual/io.texi: Likewise.
6315 (File Name Portability): Detail which constraints are inapplicable
6316 to all GNU systems and which are only inapplicable to GNU/Hurd.
6317 * manual/job.texi: Likewise.
6318 * manual/llio.texi: Likewise.
6319 (O_NOCTTY): Document as present on GNU/Linux.
6320 * manual/maint.texi: Likewise.
6321 * manual/memory.texi: Likewise.
6322 * manual/pattern.texi: Likewise.
6323 * manual/pipe.texi: Likewise.
6324 * manual/process.texi: Likewise.
6325 * manual/resource.texi: Likewise.
6326 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6328 * manual/setjmp.texi: Likewise.
6329 * manual/signal.texi: Likewise.
6330 * manual/startup.texi: Likewise.
6331 * manual/stdio.texi: Likewise.
6332 * manual/terminal.texi: Likewise.
6333 (ONLCR): Document as POSIX.
6334 (OXTABS): Document availability on GNU/Linux as XTABS.
6335 (ONOEOT): Document availability separately from other bits.
6336 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6337 * manual/time.texi: Likewise.
6338 * manual/users.texi: Likewise.
6339 * INSTALL: Regenerated.
6340 * sysdeps/gnu/errlist.c: Regenerated.
6342 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6343 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6344 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6346 * configure: Regenerated.
6348 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6350 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6351 default includes instead of AC_HEADER_CHECK.
6352 * sysdeps/i386/configure: Regenerated.
6355 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6356 * math/s_cacoshf.c (__cacoshf): Likewise.
6357 * math/s_cacoshl.c (__cacoshl): Likewise.
6358 * math/s_casinh.c (__casinh): Set signs of result from argument.
6359 * math/s_casinhf.c (__casinhf): Likewise.
6360 * math/s_casinhl.c (__casinhl): Likewise.
6361 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6362 (casinh_test): Add more tests.
6363 * sysdeps/i386/fpu/libm-test-ulps: Update.
6364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6366 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6368 * po/zh_TW.po: Update from translation team.
6370 * login/Makefile (distribute): Remove variable.
6371 * catgets/Makefile: Likewise.
6372 * mach/Makefile: Likewise.
6373 * malloc/Makefile: Likewise.
6374 * misc/Makefile: Likewise.
6375 * iconv/Makefile: Likewise.
6376 * nscd/Makefile: Likewise.
6377 * hurd/Makefile: Likewise.
6378 * manual/Makefile: Likewise.
6379 * locale/Makefile: Likewise.
6380 * intl/Makefile: Likewise.
6381 * conform/Makefile: Likewise.
6382 * nss/Makefile: Likewise.
6383 * time/Makefile: Likewise.
6384 * soft-fp/Makefile: Likewise.
6385 * dirent/Makefile: Likewise.
6386 * gmon/Makefile: Likewise.
6387 * po/Makefile: Likewise.
6388 * rt/Makefile: Likewise.
6389 * socket/Makefile: Likewise.
6390 * math/Makefile: Likewise.
6391 * signal/Makefile: Likewise.
6392 * debug/Makefile: Likewise.
6393 * elf/Makefile: Likewise.
6394 * timezone/Makefile: Likewise.
6395 * stdlib/Makefile: Likewise.
6396 * iconvdata/Makefile: Likewise.
6397 * sunrpc/Makefile: Likewise.
6398 * io/Makefile: Likewise.
6399 * argp/Makefile: Likewise.
6400 * inet/Makefile: Likewise.
6401 * hesiod/Makefile: Likewise.
6402 * grp/Makefile: Likewise.
6403 * csu/Makefile: Likewise.
6404 * wctype/Makefile: Likewise.
6405 * crypt/Makefile: Likewise.
6406 * libio/Makefile: Likewise.
6407 * string/Makefile: Likewise.
6408 * nis/Makefile: Likewise.
6409 * resolv/Makefile: Likewise.
6410 * stdio-common/Makefile: Likewise.
6411 * wcsmbs/Makefile: Likewise.
6412 * dlfcn/Makefile: Likewise.
6413 * posix/Makefile: Likewise.
6416 * timezone/Makefile: Don't install timezone files, just the programs
6419 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6421 * nss/databases.def: Add missing gshadow entry.
6423 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6425 2012-03-06 Marek Polacek <polacek@redhat.com>
6428 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6429 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6430 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6431 * stdio-common/tst-long-dbl-fphex.c: New file.
6433 2012-03-06 David S. Miller <davem@davemloft.net>
6435 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6436 (set_obp_int): New function.
6437 (get_obp_int): New function.
6438 (__get_clockfreq_via_dev_openprom): Likewise.
6439 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6440 Avoid unused variable warnings on 'val' and use builtin_expect.
6441 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6443 (INLINE_CLONE_SYSCALL): Likewise.
6445 2012-03-05 David S. Miller <davem@davemloft.net>
6447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6449 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6453 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6455 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6457 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
6459 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6460 Replace gettimeofday with __vdso_gettimeofday.
6462 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6463 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6464 __vdso_clock_gettime and __vdso_getcpu.
6466 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6467 time with __vdso_time.
6469 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6471 * manual/lang.texi (size_t): Note types to which size_t may be
6472 equivalent with the GNU C Library, but do not describe when
6473 differences between them are significant.
6475 2012-03-05 Andreas Jaeger <aj@suse.de>
6477 * sysdeps/i386/fpu/libm-test-ulps: Update.
6479 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6482 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6483 (__ieee754_pow): Save and restore rounding mode and use
6484 round-to-nearest for main computations.
6485 * math/libm-test.inc (pow_test_tonearest): New function.
6486 (pow_test_towardzero): Likewise.
6487 (pow_test_downward): Likewise.
6488 (pow_test_upward): Likewise.
6489 (main): Call the new functions.
6490 * sysdeps/i386/fpu/libm-test-ulps: Update.
6491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6494 * math/libm-test.inc (cosh_test_tonearest): New function.
6495 (cosh_test_towardzero): Likewise.
6496 (cosh_test_downward): Likewise.
6497 (cosh_test_upward): Likewise.
6498 (sinh_test_tonearest): Likewise.
6499 (sinh_test_towardzero): Likewise.
6500 (sinh_test_downward): Likewise.
6501 (sinh_test_upward): Likewise.
6502 (main): Call the new functions.
6503 * sysdeps/i386/fpu/libm-test-ulps: Update.
6504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6506 2012-03-05 Tom de Vries <tom@codesourcery.com>
6508 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6509 default stack guard is set in last bytes.
6510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6512 2012-03-05 Kees Cook <keescook@chromium.org>
6514 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6517 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6518 possibly allocate from heap instead of stack.
6519 * stdio-common/bug-vfprintf-nargs.c: New file.
6520 * stdio-common/Makefile (tests): Add nargs overflow test.
6522 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6526 2012-03-03 Marek Polacek <polacek@redhat.com>
6528 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6529 * math/math_private.h: Likewise.
6530 * stdlib/tst-strtod.c: Likewise.
6531 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6532 * sysdeps/x86_64/bits/atomic.h: Likewise.
6534 2012-03-02 David S. Miller <davem@davemloft.net>
6536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6540 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6541 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6542 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6543 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6545 2012-03-02 Roland McGrath <roland@hack.frob.com>
6548 * manual/examples/README: New file, says the example source files
6549 can be used under GPL>=2.
6550 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6551 line containing just "*/".
6552 * manual/examples/add.c: Add copyright header (GPL>=2).
6553 * manual/examples/argp-ex1.c: Likewise.
6554 * manual/examples/argp-ex2.c: Likewise.
6555 * manual/examples/argp-ex3.c: Likewise.
6556 * manual/examples/argp-ex4.c: Likewise.
6557 * manual/examples/atexit.c: Likewise.
6558 * manual/examples/db.c: Likewise.
6559 * manual/examples/dir.c: Likewise.
6560 * manual/examples/dir2.c: Likewise.
6561 * manual/examples/execinfo.c: Likewise.
6562 * manual/examples/filecli.c: Likewise.
6563 * manual/examples/filesrv.c: Likewise.
6564 * manual/examples/fmtmsgexpl.c: Likewise.
6565 * manual/examples/genpass.c: Likewise.
6566 * manual/examples/inetcli.c: Likewise.
6567 * manual/examples/inetsrv.c: Likewise.
6568 * manual/examples/isockad.c: Likewise.
6569 * manual/examples/longopt.c: Likewise.
6570 * manual/examples/memopen.c: Likewise.
6571 * manual/examples/memstrm.c: Likewise.
6572 * manual/examples/mkfsock.c: Likewise.
6573 * manual/examples/mkisock.c: Likewise.
6574 * manual/examples/mygetpass.c: Likewise.
6575 * manual/examples/pipe.c: Likewise.
6576 * manual/examples/popen.c: Likewise.
6577 * manual/examples/rprintf.c: Likewise.
6578 * manual/examples/search.c: Likewise.
6579 * manual/examples/select.c: Likewise.
6580 * manual/examples/setjmp.c: Likewise.
6581 * manual/examples/sigh1.c: Likewise.
6582 * manual/examples/sigusr.c: Likewise.
6583 * manual/examples/stpcpy.c: Likewise.
6584 * manual/examples/strdupa.c: Likewise.
6585 * manual/examples/strftim.c: Likewise.
6586 * manual/examples/strncat.c: Likewise.
6587 * manual/examples/subopt.c: Likewise.
6588 * manual/examples/swapcontext.c: Likewise.
6589 * manual/examples/termios.c: Likewise.
6590 * manual/examples/testopt.c: Likewise.
6591 * manual/examples/testpass.c: Likewise.
6592 * manual/examples/timeval_subtract.c: Likewise.
6595 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6597 * manual/timeval_subtract.c.texi: ... here, new file.
6599 2012-03-02 David S. Miller <davem@davemloft.net>
6601 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6603 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6606 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6607 (__sin): Save and restore rounding mode and use round-to-nearest
6608 for all computations.
6609 (__cos): Save and restore rounding mode and use round-to-nearest
6610 for all computations.
6611 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6613 (tan): Save and restore rounding mode and use round-to-nearest for
6615 * math/libm-test.inc (cos_test_tonearest): New function.
6616 (cos_test_towardzero): Likewise.
6617 (cos_test_downward): Likewise.
6618 (cos_test_upward): Likewise.
6619 (sin_test_tonearest): Likewise.
6620 (sin_test_towardzero): Likewise.
6621 (sin_test_downward): Likewise.
6622 (sin_test_upward): Likewise.
6623 (tan_test_tonearest): Likewise.
6624 (tan_test_towardzero): Likewise.
6625 (tan_test_downward): Likewise.
6626 (tan_test_upward): Likewise.
6627 (main): Call the new functions.
6628 * sysdeps/i386/fpu/libm-test-ulps: Update.
6629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6632 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6633 small n, then large n, before computing and testing k+n.
6634 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6635 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6637 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6639 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6640 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6641 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6642 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6643 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6644 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6645 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6646 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6647 * math/libm-test.inc (scalbn_test): Add more tests.
6648 (scalbln_test): Likewise.
6650 * manual/filesys.texi (mode_t): Describe constraints on size and
6651 signedness, not exact equivalence to a particular type.
6653 (ino64_t): Likewise.
6655 (nlink_t): Likewise.
6656 (blkcnt_t): Likewise.
6657 (blkcnt64_t): Likewise.
6658 * manual/llio.texi (off_t): Likewise.
6661 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6662 (__ieee754_exp): Save and restore rounding mode and use
6663 round-to-nearest for all computations.
6664 * math/libm-test.inc (exp_test_tonearest): New function.
6665 (exp_test_towardzero): Likewise.
6666 (exp_test_downward): Likewise.
6667 (exp_test_upward): Likewise.
6668 (main): Call the new functions.
6669 * sysdeps/i386/fpu/libm-test-ulps: Update.
6670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6672 2012-03-01 Chris Demetriou <cgd@google.com>
6674 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6675 have predictable order.
6677 2012-03-01 David S. Miller <davem@davemloft.net>
6679 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6681 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6682 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6683 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6684 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6686 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6687 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6688 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6690 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6691 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6692 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6693 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6694 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6698 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6699 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6700 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6702 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6703 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6704 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6705 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6706 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6707 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6708 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6709 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6710 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6711 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6712 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6713 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6714 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6715 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6716 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6717 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6718 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6719 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6720 * sysdeps/sparc/elf/configure: Regenerated.
6722 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6724 * configure.in (AS, LD): Require binutils 2.20 or later.
6725 * configure: Regenerated.
6726 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6727 as required minimum version.
6728 * INSTALL: Regenerated.
6732 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6733 before squaring exponent.
6734 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6735 bottom long double and 27 bits of top long double before squaring
6737 * math/libm-test.inc (erfc_test): Add more tests.
6738 * sysdeps/i386/fpu/libm-test-ulps: Update.
6739 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6742 2012-03-01 Kai Tietz <ktietz@redhat.com>
6744 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6745 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6746 containing bit-fields.
6747 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6748 * soft-fp/single.h (_FP_UNION_S): Likewise.
6749 * soft-fp/double.h (_FP_UNION_D): Likewise.
6751 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6754 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6755 not include ../strcmp.S.
6756 [USE_AS_STRNCASECMP_L]: Likewise.
6757 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6758 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6759 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6760 (__strncasecmp_l_ia32): Define as alias to
6761 __strncasecmp_l_nonascii.
6764 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6765 * sysdeps/i386/fpu/libm-test-ulps: Update.
6766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6768 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6771 2012-02-29 Jeff Law <law@redhat.com>
6773 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6776 2012-02-29 Marek Polacek <polacek@redhat.com>
6779 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6780 * elf/Makefile: Add rules to run tst-unused-dep.out.
6782 2012-02-28 David S. Miller <davem@davemloft.net>
6784 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6785 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6786 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6787 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6788 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6789 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6791 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6793 * math/libm-test.inc (llround_test): Move one test from
6794 lround_test. Use TEST_f_L in moved test.
6795 (lround_test): Move misplaced test to llround_test. Add testcase
6798 2012-02-28 Ulrich Drepper <drepper@gmail.com>
6800 * sysdeps/x86_64/fpu/e_expf.S: New file.
6801 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6803 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6806 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6807 of remain_len that may cause incomplete multi-byte character and
6809 * posix/bug-regex33.c: New file.
6810 * posix/Makefile (tests): Add bug-regex33.
6812 2012-02-28 Joseph Myers <joseph@codesourcery.com>
6814 * manual/macros.texi: New file.
6815 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6816 * manual/libc.texinfo: Include macros.texi.
6817 * manual/creatute.texi: Likewise.
6818 * manual/install.texi: Likewise.
6819 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6820 @glibcadj{} in references to the GNU C Library.
6821 * manual/charset.texi: Likewise.
6822 * manual/conf.texi: Likewise.
6823 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6824 when not using those macros.
6825 * manual/creature.texi: Likewise.
6826 * manual/crypt.texi: Likewise.
6827 * manual/errno.texi: Likewise.
6828 * manual/filesys.texi: Likewise.
6829 * manual/header.texi: Likewise.
6830 * manual/install.texi: Likewise.
6831 * manual/intro.texi: Likewise.
6832 * manual/io.texi: Likewise.
6833 * manual/job.texi: Likewise.
6834 * manual/lang.texi: Likewise.
6835 * manual/libc.texiinfo: Likewise.
6836 * manual/llio.texi: Likewise.
6837 * manual/locale.texi: Likewise.
6838 * manual/maint.texi: Likewise.
6839 * manual/math.texi: Likewise.
6840 * manual/memory.texi: Likewise.
6841 * manual/message.texi: Likewise.
6842 * manual/nss.texi: Likewise.
6843 * manual/pattern.texi: Likewise.
6844 * manual/process.texi: Likewise.
6845 * manual/resource.texi: Likewise.
6846 * manual/search.texi: Likewise.
6847 * manual/setjmp.texi: Likewise.
6848 * manual/signal.texi: Likewise.
6849 * manual/socket.texi: Likewise.
6850 * manual/startup.texi: Likewise.
6851 * manual/stdio.texi: Likewise.
6852 * manual/string.texi: Likewise.
6853 * manual/sysinfo.texi: Likewise.
6854 * manual/syslog.texi: Likewise.
6855 * manual/terminal.texi: Likewise.
6856 * manual/time.texi: Likewise.
6857 * manual/users.texi: Likewise.
6858 * INSTALL: Regenerated.
6859 * NOTES: Regenerated.
6860 * sysdeps/gnu/errlist.c: Regenerated.
6862 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6864 * include/dirent.h: Include <dirstream.h> before
6867 2012-02-28 David S. Miller <davem@davemloft.net>
6869 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6870 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6871 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6872 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6874 2012-02-27 David S. Miller <davem@davemloft.net>
6876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6878 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6879 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6882 frame pointer instead of stack pointer relative arg slot.
6883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6884 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6885 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6887 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6890 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6892 2012-02-27 David S. Miller <davem@davemloft.net>
6894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6898 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6899 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6900 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6901 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6903 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6905 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6906 later. Allow versions 5-9.
6907 * configure: Regenerated.
6908 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6909 required minimum version and 4.6 as recommended version. Do not
6910 mention bugs in GCC 2.7 and 2.8.
6911 * INSTALL: Regenerated.
6913 2012-02-27 David S. Miller <davem@davemloft.net>
6915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6919 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6920 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6921 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6922 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6924 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6925 manipulate bits before adding and subtracting TWO112[sx].
6926 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6928 2012-02-27 Roland McGrath <roland@hack.frob.com>
6931 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6932 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6933 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6934 being in POSIX, because they are in 1003.1-2008.
6936 * rt/tst-aio.c: Include <fcntl.h>.
6937 * rt/tst-aio7.c: Likewise.
6938 * rt/tst-aio64.c: Likewise.
6940 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6942 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6944 * manual/install.texi (--with-headers): Describe headers as
6945 interface headers, not private headers.
6946 (Specific advice for GNU/Linux systems): Describe use of headers
6947 from "make headers_install", not private headers from older
6949 * INSTALL: Regenerated.
6950 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6952 * sysdeps/unix/sysv/linux/configure: Regenerated.
6954 * manual/llio.texi (fclean): Remove documentation.
6956 * manual/Makefile (libc-texi-generated): New variable. Include
6958 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6959 $(libc-texi-generated), not duplicated list of files.
6960 (version.texi, stamp-version): New rules.
6961 (realclean): Remove $(libc-texi-generated), not individual files
6962 from that list. Do not remove dir-add.texinfo.
6963 * manual/libc.texinfo: Comment out uses of edition numbers and
6964 references to printed manual. Remove last-updated dates.
6965 (EDITION): Comment out.
6967 (VERSION, UPDATED): Remove.
6968 (version.texi): Include.
6970 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6972 * sysdeps/posix/spawni.c: Include <signal.h>.
6973 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6974 * sysdeps/pthread/aio_fsync.c: Likewise.
6976 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6978 * conform/Makefile (tests): Run only when not cross-compiling and
6979 when fast-check is not defined.
6981 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6982 * conform/data/limits.h-data: Fixes for POSIX2008.
6983 * conform/run-conformtest.sh: Run all tests.
6984 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6986 * include/bits/dlfcn.h: Likewise.
6987 * include/langinfo.h: Likewise.
6988 * include/monetary.h: Likewise.
6989 * include/sys/poll.h: Likewise.
6991 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6993 * posix/spawn.h: Define __need_sigset_t.
6994 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6995 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6996 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6997 to get sigevent_t only.
6998 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7000 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7001 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7002 process_vm_writev only for __USE_GNU.
7003 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7005 * conform/Makefile: For now ignore errors from run-conformtest.
7006 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7007 POSIX to avoid namespace pollution. Don't prepend headers.
7008 * conform/data/aio.h-data: Fixes for POSIX testing.
7009 * conform/data/fcntl.h-data: Likewise.
7010 * conform/data/glob.h-data: Likewise.
7011 * conform/data/grp.h-data: Likewise.
7012 * conform/data/pthread.h-data: Likewise.
7013 * conform/data/pwd.h-data: Likewise.
7014 * conform/data/signal.h-data: Likewise.
7015 * conform/data/spawn.h-data: Likewise.
7016 * conform/data/stdio.h-data: Likewise.
7017 * conform/data/stdlib.h-data: Likewise.
7018 * conform/data/stropts.h-data: Likewise.
7019 * conform/data/sys/mman.h-data: Likewise.
7020 * conform/data/sys/stat.h-data: Likewise.
7021 * conform/data/sys/types.h-data: Likewise.
7022 * conform/data/sys/wait.h-data: Likewise.
7023 * conform/data/time.h-data: Likewise.
7024 * conform/data/unistd.h-data: Likewise.
7025 * conform/data/utime.h-data: Likewise.
7027 * io/sys/stat.h: fchmod was always in POSIX.
7028 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7029 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7030 * rt/aio.h: Define __need_timespec before including <time.h>.
7031 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7032 struct. Add forward declaration of pthread_attr_t and use it in
7034 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7035 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7036 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7037 always remove CLK_TCK definition.
7039 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7041 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7043 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7045 * conform/run-conformtest.sh: New file.
7046 * conform/Makefile: Run run-conformtest for tests.
7047 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7050 * conform/data/uchar.h-data: New file.
7051 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7052 * conform/data/arpa/inet.h-data: Likewise.
7053 * conform/data/assert.h-data: Likewise.
7054 * conform/data/complex.h-data: Likewise.
7055 * conform/data/cpio.h-data: Likewise.
7056 * conform/data/ctype.h-data: Likewise.
7057 * conform/data/dirent.h-data: Likewise.
7058 * conform/data/dlfcn.h-data: Likewise.
7059 * conform/data/errno.h-data: Likewise.
7060 * conform/data/fcntl.h-data: Likewise.
7061 * conform/data/float.h-data: Likewise.
7062 * conform/data/fmtmsg.h-data: Likewise.
7063 * conform/data/fnmatch.h-data: Likewise.
7064 * conform/data/ftw.h-data: Likewise.
7065 * conform/data/glob.h-data: Likewise.
7066 * conform/data/grp.h-data: Likewise.
7067 * conform/data/iconv.h-data: Likewise.
7068 * conform/data/inttypes.h-data: Likewise.
7069 * conform/data/langinfo.h-data: Likewise.
7070 * conform/data/libgen.h-data: Likewise.
7071 * conform/data/limits.h-data: Likewise.
7072 * conform/data/locale.h-data: Likewise.
7073 * conform/data/math.h-data: Likewise.
7074 * conform/data/monetary.h-data: Likewise.
7075 * conform/data/mqueue.h-data: Likewise.
7076 * conform/data/ndbm.h-data: Likewise.
7077 * conform/data/net/if.h-data: Likewise.
7078 * conform/data/netdb.h-data: Likewise.
7079 * conform/data/netinet/in.h-data: Likewise.
7080 * conform/data/nl_types.h-data: Likewise.
7081 * conform/data/poll.h-data: Likewise.
7082 * conform/data/pthread.h-data: Likewise.
7083 * conform/data/pwd.h-data: Likewise.
7084 * conform/data/regex.h-data: Likewise.
7085 * conform/data/sched.h-data: Likewise.
7086 * conform/data/search.h-data: Likewise.
7087 * conform/data/semaphore.h-data: Likewise.
7088 * conform/data/setjmp.h-data: Likewise.
7089 * conform/data/signal.h-data: Likewise.
7090 * conform/data/spawn.h-data: Likewise.
7091 * conform/data/stdarg.h-data: Likewise.
7092 * conform/data/stdio.h-data: Likewise.
7093 * conform/data/stdlib.h-data: Likewise.
7094 * conform/data/string.h-data: Likewise.
7095 * conform/data/strings.h-data: Likewise.
7096 * conform/data/stropts.h-data: Likewise.
7097 * conform/data/sys/ipc.h-data: Likewise.
7098 * conform/data/sys/mman.h-data: Likewise.
7099 * conform/data/sys/msg.h-data: Likewise.
7100 * conform/data/sys/resource.h-data: Likewise.
7101 * conform/data/sys/select.h-data: Likewise.
7102 * conform/data/sys/sem.h-data: Likewise.
7103 * conform/data/sys/shm.h-data: Likewise.
7104 * conform/data/sys/socket.h-data: Likewise.
7105 * conform/data/sys/stat.h-data: Likewise.
7106 * conform/data/sys/statvfs.h-data: Likewise.
7107 * conform/data/sys/time.h-data: Likewise.
7108 * conform/data/sys/timeb.h-data: Likewise.
7109 * conform/data/sys/times.h-data: Likewise.
7110 * conform/data/sys/types.h-data: Likewise.
7111 * conform/data/sys/uio.h-data: Likewise.
7112 * conform/data/sys/un.h-data: Likewise.
7113 * conform/data/sys/utsname.h-data: Likewise.
7114 * conform/data/sys/wait.h-data: Likewise.
7115 * conform/data/syslog.h-data: Likewise.
7116 * conform/data/tar.h-data: Likewise.
7117 * conform/data/termios.h-data: Likewise.
7118 * conform/data/utime.h-data: Likewise.
7119 * conform/data/utmpx.h-data: Likewise.
7120 * conform/data/varargs.h-data: Likewise.
7121 * conform/data/wchar.h-data: Likewise.
7122 * conform/data/wctype.h-data: Likewise.
7123 * conform/data/wordexp.h-data: Likewise.
7125 * include/stropts.h: New file.
7126 * include/uchar.h: New file.
7127 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7128 * include/assert.h: Likewise.
7129 * include/ctype.h: Likewise.
7130 * include/dirent.h: Likewise.
7131 * include/dlfcn.h: Likewise.
7132 * include/fcntl.h: Likewise.
7133 * include/fnmatch.h: Likewise.
7134 * include/glob.h: Likewise.
7135 * include/grp.h: Likewise.
7136 * include/libio.h: Likewise.
7137 * include/locale.h: Likewise.
7138 * include/math.h: Likewise.
7139 * include/net/if.h: Likewise.
7140 * include/netdb.h: Likewise.
7141 * include/netinet/in.h: Likewise.
7142 * include/pthread.h: Likewise.
7143 * include/pwd.h: Likewise.
7144 * include/regex.h: Likewise.
7145 * include/sched.h: Likewise.
7146 * include/search.h: Likewise.
7147 * include/setjmp.h: Likewise.
7148 * include/signal.h: Likewise.
7149 * include/stdio.h: Likewise.
7150 * include/stdlib.h: Likewise.
7151 * include/string.h: Likewise.
7152 * include/sys/cdefs.h: Likewise.
7153 * include/sys/mman.h: Likewise.
7154 * include/sys/msg.h: Likewise.
7155 * include/sys/resource.h: Likewise.
7156 * include/sys/select.h: Likewise.
7157 * include/sys/socket.h: Likewise.
7158 * include/sys/stat.h: Likewise.
7159 * include/sys/statvfs.h: Likewise.
7160 * include/sys/time.h: Likewise.
7161 * include/sys/times.h: Likewise.
7162 * include/sys/uio.h: Likewise.
7163 * include/sys/utsname.h: Likewise.
7164 * include/sys/wait.h: Likewise.
7165 * include/termios.h: Likewise.
7166 * include/time.h: Likewise.
7167 * include/ulimit.h: Likewise.
7168 * include/unistd.h: Likewise.
7169 * include/utime.h: Likewise.
7170 * include/wchar.h: Likewise.
7171 * include/wctype.h: Likewise.
7172 * include/wordexp.h: Likewise.
7174 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7176 * time/time.h: TIME_UTC must be a macro.
7177 Make timespec_get available for ISO C11 only as well.
7179 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7181 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7182 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7184 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7186 * configure.in: Use -o not -a in test for unsupported multi-arch.
7188 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7190 * manual/texinfo.tex: Update to version 2012-01-19.16.
7192 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7194 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7196 2012-02-24 Roland McGrath <roland@hack.frob.com>
7199 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7200 * manual/fdl-1.3.texi: New file.
7201 * manual/fdl-1.1.texi: File removed.
7204 * manual/libc.texinfo (FDL_VERSION): New @set.
7205 Use it for mention of FDL in cover text.
7206 (Documentation License): Use it in @include file name.
7208 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7209 Roland McGrath <roland@hack.frob.com>
7212 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7213 not LONG_LONG_MAX and LONG_LONG_MIN.
7214 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7215 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7217 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7219 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7223 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7224 manipulate bits before adding and subtracting TWO23[sx].
7225 * math/libm-test.inc (nearbyint_test): Add more tests.
7227 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7230 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7231 bits before adding and subtracting TWO23[sx].
7232 * math/libm-test.inc (rint_test): Add more tests.
7233 (rint_test_tonearest): Likewise.
7234 (rint_test_towardzero): Likewise.
7235 (rint_test_downward): Likewise.
7236 (rint_test_upward: Likewise.
7238 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7241 * include/stdc-predef.h: New file. Extracted from features.h.
7242 * include/features.h: Include stdc-predef.h.
7243 * Makefile (headers): Add stdc-predef.h.
7244 * CONFORMANCE (Compiler limitations): Update.
7246 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7248 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7250 2012-02-21 David S. Miller <davem@davemloft.net>
7252 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7253 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7255 2012-02-20 David S. Miller <davem@davemloft.net>
7257 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7258 using a normal save/restore sequence, rather than allocating a
7259 dummy stack frame just to store a frame pointer and restore.
7260 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7262 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7264 * manual/install.texi: Fix stray word in line-wrapped comment.
7266 2012-02-20 David S. Miller <davem@davemloft.net>
7268 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7269 both binutils and gcc support GOTDATA.
7271 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7272 "rd %pc" in the PIC register setup sequences.
7274 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7275 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7276 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7277 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7278 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7279 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7280 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7281 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7282 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7283 (SYSCALL_ERROR_HANDLER): Likewise.
7284 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7285 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7286 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7287 (SYSCALL_ERROR_HANDLER): Likewise.
7289 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7290 (HAVE_GCC_GOTDATA): New.
7291 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7292 relocation support in both binutils and gcc.
7293 * sysdeps/sparc/elf/configure: Regenerate.
7295 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7296 * sysdeps/sparc/sparc32/elf/configure: Delete.
7297 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7298 * sysdeps/sparc/sparc64/elf/configure: Delete.
7299 * sysdeps/sparc/elf/configure.in: New file.
7300 * sysdeps/sparc/elf/configure: Generate.
7302 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7303 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7304 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7305 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7306 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7308 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7310 * manual/install.texi: Do not mention specific glibc version
7312 * manual/libc.texinfo (VERSION, UPDATED): Update.
7313 (@copying): Use @copyright{} and range of years.
7315 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7318 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7319 [crti.S not in sysdirs] (generated): Do not append.
7320 [crti.S not in sysdirs] (omit-deps): Likewise.
7321 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7322 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7323 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7324 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7325 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7327 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7328 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7329 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7330 * csu/defs.awk: Remove file.
7331 * sysdeps/generic/initfini.c: Likewise.
7332 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7334 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7337 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7339 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7340 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7341 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7342 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7343 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7344 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7346 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7347 (__EPOLL_PACKED): Define to empty if not defined by
7349 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7353 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7355 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7356 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7357 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7358 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7360 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7364 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7366 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7368 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7369 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7370 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7373 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7375 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7376 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7378 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7380 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7381 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7383 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7385 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7388 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7390 * math/w_acos.c: Use non-signaling floating-point comparisons.
7391 * math/w_acosf.c: Likewise.
7392 * math/w_acosh.c: Likewise.
7393 * math/w_acoshf.c: Likewise.
7394 * math/w_acoshl.c: Likewise.
7395 * math/w_acosl.c: Likewise.
7396 * math/w_asin.c: Likewise.
7397 * math/w_asinf.c: Likewise.
7398 * math/w_asinl.c: Likewise.
7399 * math/w_atanh.c: Likewise.
7400 * math/w_atanhf.c: Likewise.
7401 * math/w_atanhl.c: Likewise.
7402 * math/w_exp2.c: Likewise.
7403 * math/w_exp2f.c: Likewise.
7404 * math/w_exp2l.c: Likewise.
7405 * math/w_j0.c: Likewise.
7406 * math/w_j0f.c: Likewise.
7407 * math/w_j0l.c: Likewise.
7408 * math/w_j1.c: Likewise.
7409 * math/w_j1f.c: Likewise.
7410 * math/w_j1l.c: Likewise.
7411 * math/w_jn.c: Likewise.
7412 * math/w_jnf.c: Likewise.
7413 * math/w_log.c: Likewise.
7414 * math/w_log10.c: Likewise.
7415 * math/w_log10f.c: Likewise.
7416 * math/w_log10l.c: Likewise.
7417 * math/w_log2.c: Likewise.
7418 * math/w_log2f.c: Likewise.
7419 * math/w_log2l.c: Likewise.
7420 * math/w_logf.c: Likewise.
7421 * math/w_logl.c: Likewise.
7422 * math/w_sqrt.c: Likewise.
7423 * math/w_sqrtf.c: Likewise.
7424 * math/w_sqrtl.c: Likewise.
7425 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7426 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7427 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7428 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7429 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7431 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7434 * manual/string.texi (strnlen): Use correct parameter name in
7435 equivalent expression.
7437 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7440 * manual/users.texi (seteuid): Consistently use neweuid for
7443 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7446 * manual/nss.texi (Services in the NSS configuration): Correct
7447 list of services in example configuration file.
7449 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7452 * manual/arith.texi: Remove statements about negative zero
7453 behaving identically to zero.
7455 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7458 * manual/install.texi: Do not document upgrading from libc5.
7460 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7463 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7465 2012-02-18 David S. Miller <davem@davemloft.net>
7467 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7468 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7469 %o7 across the call.
7470 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7472 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7474 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7475 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7476 * sysdeps/sparc/crtn.S: Likewise.
7478 2012-02-17 Ulrich Drepper <drepper@gmail.com>
7480 * aout/Makefile: Remove.
7482 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7485 * manual/examples/argp-ex1.c (main): Format definition in GNU
7487 * manual/examples/argp-ex2.c (main): Likewise.
7488 * manual/examples/argp-ex3.c (main): Likewise.
7489 * manual/examples/argp-ex4.c (main): Likewise.
7490 * manual/examples/longopt.c (main): Use new-style prototype
7492 * manual/examples/strncat.c (main): Specify return type and use
7493 (void) for arguments.
7494 * manual/examples/subopt.c (main): Use char **argv argument.
7496 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7499 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7502 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7505 * manual/string.texi (strchr): Change when strchrnul is
7508 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7511 * manual/locale.texi (setlocale): Document LOCPATH.
7513 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7516 * manual/process.texi (execle): Move @dots{} before last argument.
7518 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7521 * manual/charset.texi (Generic Charset Conversion): Fix typo
7522 (LC_TYPE -> LC_CTYPE).
7524 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7527 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7528 (scalbnf): Likewise.
7529 (scalbnl): Likewise.
7530 (scalbln): Likewise.
7531 (scalblnf): Likewise.
7532 (scalblnl): Likewise.
7533 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7537 * manual/filesys.texi (telldir): Use braces around return type.
7538 * manual/llio.texi (mmap): Add space after comma.
7540 * manual/math.texi (jn): Use @var{} on parameter names.
7546 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7548 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7550 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7551 (sched_get_priority_max): Likewise.
7552 * manual/signal.texi (sigvec): Add space after comma.
7553 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7555 (if_indextoname): Likewise.
7556 (if_freenameindex): Likewise.
7557 (sendto): Use ',' instead of '.' in prototype.
7558 * manual/startup.texi (syscall): Use @dots{} instead of literal
7560 * manual/stdio.texi (__fpending): Separate initial words of
7561 paragraph from @deftypefun line.
7562 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7564 (vsyslog): Use @var{} on parameter names.
7565 * manual/terminal.texi (stty): Use @var{} on parameter names.
7566 * manual/users.texi (getutmp): Use @var{} on parameter names.
7567 (getutmpx): Likewise.
7569 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7572 * manual/stdio.texi (fopen): Fix typos in description of
7575 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7578 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7579 get clock_id definition.
7581 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7584 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7585 (madvise): Cast every argument to void on its own.
7587 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7590 * manual/startup.texi (Exit Status): Fix typo.
7592 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7595 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7596 * manual/examples/argp-ex2.c: Likewise.
7597 * manual/examples/argp-ex3.c: Likewise.
7599 2012-02-16 Richard Henderson <rth@redhat.com>
7601 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7602 * sysdeps/s390/s390-32/initfini.c: Remove.
7603 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7604 * sysdeps/s390/s390-64/initfini.c: Remove.
7606 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7608 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7609 compiler output for sysdeps/generic/initfini.c.
7610 * sysdeps/sh/elf/initfini.c: Remove file.
7612 2012-02-16 David S. Miller <davem@davemloft.net>
7615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7617 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7618 * sysdeps/sparc/crti.S: New file.
7619 * sysdeps/sparc/crtn.S: New file.
7620 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7621 * sysdeps/sparc/sparc64/Makefile: Likewise.
7623 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7626 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7628 2012-02-15 Roland McGrath <roland@hack.frob.com>
7631 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7633 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7634 (write, read, close): Likewise.
7635 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7637 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7639 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7640 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7641 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7642 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7644 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7648 2012-02-14 Marek Polacek <polacek@redhat.com>
7650 * sysdeps/x86_64/crti.S: New file.
7651 * sysdeps/x86_64/crtn.S: New file.
7652 * sysdeps/x86_64/elf/initfini.c: Remove file.
7654 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7656 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7657 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7658 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7659 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7661 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7665 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7667 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7668 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7669 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7670 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7672 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7673 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7676 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7678 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7679 __feraiseexcept instead of feraiseexcept.
7681 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7682 nanosleep invocations.
7683 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7684 strings, and add error checking for a nanosleep invocations.
7686 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7688 Replace FSF snail mail address with URLs, as per GNU coding standards.
7689 Most of the snail mail addresses were wrong anyway, and omitting
7690 them makes the source code easier to maintain. Almost all of the
7691 changes are to license notices and to locale LC_IDENTIFICATION
7692 addresses, except for this one:
7693 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7694 not its snail mail address.
7696 2012-02-09 Richard Henderson <rth@twiddle.net>
7698 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7699 of kernel-features.h.
7701 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7703 2012-02-08 Marek Polacek <polacek@redhat.com>
7705 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7706 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7707 * sysdeps/gnu/_G_config.h: Likewise.
7708 * sysdeps/generic/_G_config.h: Likewise.
7710 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7712 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7716 * sysdeps/powerpc/powerpc32/crti.S: New file.
7717 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7718 * sysdeps/powerpc/powerpc64/crti.S: New file.
7719 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7721 * Makeconfig (have-initfini): Don't set.
7722 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7723 * configure.in (nopic_initfini): Don't substitute.
7724 * config.h.in (HAVE_INITFINI): Don't #undef.
7725 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7726 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7728 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7730 Support crti.S and crtn.S provided directly by architectures.
7731 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7732 [crti.S in sysdirs] (omit-deps): Likewise.
7733 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7734 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7735 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7736 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7737 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7738 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7739 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7740 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7741 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7742 compiler output for sysdeps/generic/initfini.c.
7743 * sysdeps/i386/elf/Makefile: Remove file.
7744 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7746 2012-02-07 Marek Polacek <polacek@redhat.com>
7748 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7749 * sysdeps/gnu/_G_config.h: Likewise.
7750 * sysdeps/mach/hurd/_G_config.h: Likewise.
7752 2012-02-07 Marek Polacek <polacek@redhat.com>
7754 * math/Makefile (tests): Add tst-CMPLX2.
7755 * math/tst-CMPLX2.c: New file.
7757 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7759 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7761 * math/libm-test.inc (jn_test): Add missing L suffix.
7763 2012-02-06 Marek Polacek <polacek@redhat.com>
7765 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7766 * sysdeps/i386/fpu/e_powf.S: Likewise.
7767 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7768 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7769 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7770 * sysdeps/i386/fpu/e_pow.S: Likewise.
7771 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7772 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7773 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7774 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7775 * sysdeps/i386/fpu/e_log2.S: Likewise.
7776 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7777 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7778 * sysdeps/i386/fpu/e_powl.S: Likewise.
7779 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7780 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7781 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7782 * sysdeps/i386/fpu/e_logl.S: Likewise.
7783 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7784 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7785 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7786 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7787 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7788 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7789 * sysdeps/i386/fpu/e_log.S: Likewise.
7790 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7791 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7792 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7793 * sysdeps/i386/fpu/e_logf.S: Likewise.
7794 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7795 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7796 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7797 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7798 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7799 * sysdeps/i386/fpu/e_log10.S: Likewise.
7800 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7801 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7802 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7803 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7804 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7805 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7806 * sysdeps/i386/asm-syntax.h: Likewise.
7807 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7808 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7809 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7810 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7811 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7812 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7813 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7814 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7815 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7816 * sysdeps/powerpc/sysdep.h: Likewise.
7817 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7818 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7820 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7823 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7825 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7827 * sysdeps/i386/sysdep.h: Include <features.h>.
7828 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7831 2012-02-05 Joseph Myers <joseph@codesourcery.com>
7833 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7835 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7838 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7840 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7841 (SETUP_PIC_REG): Use GET_PC_THUNK.
7842 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7845 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7847 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7848 for non-PIC compilation.
7849 (SETUP_PIC_REG): Add .p2align directive.
7850 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7851 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7852 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7853 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7854 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7855 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7856 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7857 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7858 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7859 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7860 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7861 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7862 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7863 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7864 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7865 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7866 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7867 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7868 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7869 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7870 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7871 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7872 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7873 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7874 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7875 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7876 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7877 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7878 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7879 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7880 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7881 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7882 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7883 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7884 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7885 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7886 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7887 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7888 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7889 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7890 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7892 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7894 * math/tst-CMPLX.c: Include <stdio.h>.
7896 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7898 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7900 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7901 * sysdeps/sparc/bits/mathdef.h: Likewise.
7903 2012-01-31 Marek Polacek <polacek@redhat.com>
7905 * libio/libio.h: Don't define _PARAMS.
7906 * locale/programs/config.h: Don't define PARAMS.
7907 * stdlib/strtol_l.c: Likewise.
7908 (__strtol_l): Remove PARAMS from the prototype.
7910 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7912 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7913 names. Just use the correct names. Remove unnecessary wrapper
7915 * malloc/arena.c: Likewise.
7916 * malloc/hooks.c: Likewise.
7918 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7919 ARENA_TEST says not to. Simplify test for creation of a new arena.
7920 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7922 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7924 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7926 (update_get_addr): New function.
7927 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7928 GET_ADDR_MODULE parameter.
7930 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7932 * crypt/cert.c: Remove __STDC__ conditionals.
7933 * crypt/crypt-entry.c: Likewise.
7934 * crypt/crypt_util.c: Likewise.
7935 * libio/filedoalloc.c: Likewise.
7936 * libio/fileops.c: Likewise.
7937 * libio/genops.c: Likewise.
7938 * libio/iofclose.c: Likewise.
7939 * libio/iofdopen.c: Likewise.
7940 * libio/iofopen.c: Likewise.
7941 * libio/iofopen64.c: Likewise.
7942 * libio/iogetdelim.c: Likewise.
7943 * libio/iopopen.c: Likewise.
7944 * libio/obprintf.c: Likewise.
7945 * libio/oldfileops.c: Likewise.
7946 * libio/oldiofclose.c: Likewise.
7947 * libio/oldiofdopen.c: Likewise.
7948 * libio/oldiofopen.c: Likewise.
7949 * libio/oldiopopen.c: Likewise.
7950 * libio/wfiledoalloc.c: Likewise.
7951 * libio/wgenops.c: Likewise.
7952 * locale/programs/xmalloc.c: Likewise.
7953 * misc/syslog.c: Likewise.
7954 * stdio-common/xbug.c: Likewise.
7955 * string/memchr.c: Likewise.
7956 * string/memcmp.c: Likewise.
7957 * string/memrchr.c: Likewise.
7958 * string/rawmemchr.c: Likewise.
7959 * sysdeps/posix/getcwd.c: Likewise.
7960 * time/strftime_l.c: Likewise.
7962 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7964 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7965 * config.make.in (config-cflags-sse2avx): Define.
7966 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7969 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7971 * scripts/config.guess: Update from upstream config git repository.
7972 * scripts/config.sub: Likewise.
7974 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7976 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7978 (R_TILEPRO_*, R_TILEGX_*): New macros.
7980 * scripts/firstversions.awk: Fix bug in version range handling.
7982 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7984 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7986 * include/sys/epoll.h: New file.
7987 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7990 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7992 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7993 Avoid unnecessary __WORDSIZE == 64 test.
7994 (fmaxf): Use VEX format if possible.
7999 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8000 * math/math_private.h: Remove libc_fegetround* and
8002 * sysdeps/i386/configure.in: Check for -msse2avx.
8003 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8004 also if SSE2AVX is defined.
8005 Remove libc_fegetround* and libc_fesetround*.
8006 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8007 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8008 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8010 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8011 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8012 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8013 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8014 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8016 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8018 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8020 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8022 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8024 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8027 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8029 * Makeconfig (libm): Define.
8030 * elf/Makefile: Add rules to build and run tst-relsort1.
8031 * elf/tst-relsort1.c: New file.
8032 * elf/tst-relsort1mod1.c: New file.
8033 * elf/tst-relsort1mod2.c: New file.
8035 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8037 * math/s_ldexp.c: Remove __STDC__ conditionals.
8038 * math/s_ldexpf.c: Likewise.
8039 * math/s_ldexpl.c: Likewise.
8040 * math/s_nextafter.c: Likewise.
8041 * math/s_nexttowardf.c: Likewise.
8042 * math/s_significand.c: Likewise.
8043 * math/s_significandf.c: Likewise.
8044 * math/s_significandl.c: Likewise.
8045 * math/w_jnl.c: Likewise.
8046 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8047 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8048 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8049 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8050 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8057 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8062 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8063 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8064 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8065 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8066 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8067 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8068 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8069 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8070 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8071 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8072 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8073 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8074 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8075 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8076 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8077 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8078 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8079 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8080 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8081 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8082 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8083 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8084 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8085 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8086 * sysdeps/ieee754/k_standard.c: Likewise.
8087 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8088 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8089 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8090 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8091 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8092 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8093 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8094 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8095 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8096 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8097 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8098 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8099 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8100 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8101 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8102 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8103 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8104 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8105 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8106 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8107 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8108 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8109 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8110 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8111 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8112 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8113 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8114 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8115 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8116 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8117 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8118 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8119 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8120 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8121 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8122 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8123 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8124 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8125 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8126 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8127 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8129 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8130 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8131 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8132 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8133 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8134 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8135 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8136 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8137 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8138 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8139 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8140 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8141 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8142 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8143 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8144 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8145 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8146 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8147 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8148 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8149 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8150 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8151 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8152 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8153 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8154 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8155 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8156 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8157 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8158 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8159 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8160 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8161 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8162 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8163 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8164 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8165 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8166 * sysdeps/ieee754/s_matherr.c: Likewise.
8167 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8168 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8169 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8170 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8172 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8174 * crypt/md5.h: Remove __STDC__ conditionals.
8175 * libio/libioP.h: Likewise.
8176 * locale/programs/config.h: Likewise.
8177 * sysdeps/generic/sysdep.h: Likewise.
8178 * sysdeps/i386/asm-syntax.h: Likewise.
8179 * sysdeps/s390/asm-syntax.h: Likewise.
8180 * sysdeps/unix/sysdep.h: Likewise.
8181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8184 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8186 * libio/libio.h: Remove __STDC__ conditionals.
8187 * malloc/obstack.h: Likewise.
8188 * math/complex.h: Likewise.
8189 * math/math.h: Likewise.
8190 * sysdeps/generic/_G_config.h: Likewise.
8191 * sysdeps/gnu/_G_config.h: Likewise.
8192 * sysdeps/mach/hurd/_G_config.h: Likewise.
8193 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8194 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8195 * sysdeps/sparc/bits/mathdef.h: Likewise.
8197 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8200 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8201 Clean up HAS_* macros.
8202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8203 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8205 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8207 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8208 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8209 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8210 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8211 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8213 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8215 * elf/tst-unique3.cc (gets): Remove declaration.
8216 * elf/tst-unique3lib.cc (gets): Likewise.
8217 * elf/tst-unique3lib2.cc (gets): Likewise.
8218 * elf/tst-unique4.cc (gets): Likewise.
8220 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8222 * include/stdio.h: Add C++ protection. Add gets declarations and
8224 * debug/tst-chk1.c: Don't declare gets here.
8225 * stdio-common/tst-gets.c: Likewise.
8227 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8229 * posix/glob: Remove directory.
8231 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8233 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8235 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8237 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8238 of the non-standard EPFNOSUPPORT.
8240 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8242 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8243 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8244 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8246 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8248 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8250 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8252 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8254 * nscd/grpcache.c (cache_addgr): Likewise.
8255 * nscd/hstcache.c (cache_addhst): Likewise.
8256 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8257 * nscd/pwdcache.c (cache_addpw): Likewise.
8258 * nscd/servicescache.c (cache_addserv): Likewise.
8260 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8262 * malloc/malloc.c: Various cleanups.
8263 * malloc/hooks.c: Likewise.
8265 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8266 * stdlib/bug-fmtmsg1.c: New file.
8268 * stdlib/fmtmsg.c (init): Add missing unlock.
8269 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8271 2012-01-12 Marek Polacek <polacek@redhat.com>
8273 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8276 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8278 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8279 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8280 macro to ensure uniqueness of label name.
8281 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8282 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8284 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8286 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8288 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8289 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8290 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8293 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8295 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8297 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8298 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8299 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8301 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8303 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8304 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8305 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8308 * math/bits/math-finite.h: Add ldexp support.
8310 2012-01-10 Marek Polacek <polacek@redhat.com>
8312 * locale/programs/localedef.h (show_archive_content): Add noreturn
8315 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8317 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8319 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8321 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8323 * io/Makefile (headers): Add bits/poll2.h.
8325 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8328 typo #include statement.
8330 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8332 * include/sys/cdefs.h: Define __attribute_alloc_size.
8333 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8334 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8335 * elf/pldd.c: Likewise.
8336 * iconv/iconv_charmap.c: Likewise.
8337 * iconv/iconvconfig.c: Likewise.
8338 * iconv/strtab.c: Likewise.
8339 * locale/programs/locale.c: Likewise.
8340 * locale/programs/localedef.h: Likewise.
8341 * locale/programs/simple-hash.c: Likewise.
8342 * nscd/nscd.h: Likewise.
8343 * nss/makedb.c: Likewise.
8344 * sysdeps/generic/ldconfig.h: Likewise.
8345 * locale/programs/localedef.c: Remove xmalloc prototype.
8346 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8348 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8350 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8353 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8355 * math/Makefile (tests): Add tst-CMPLX.
8356 * math/tst-CMPLX.c: New file.
8358 * math/complex.h (CMPLXL): Fix typo.
8360 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8361 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8363 * debug/tst-chk1.c: Add poll and ppoll tests.
8364 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8365 * include/sys/poll.h: Add hidden proto for ppoll.
8366 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8367 * sysdeps/mach/hurd/ppoll.c: Likewise.
8368 * io/ppoll.c: Likewise.
8369 * debug/poll_chk.c: New file.
8370 * debug/ppoll_chk.c: New file.
8371 * include/bits/poll2.h: New file.
8372 * io/bits/poll2.h: New file.
8375 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8377 * configure.in: static is always set to yes. Remove.
8378 * config.make.in: Don't set build-static.
8379 * Makeconfig: Remove use of build-static.
8380 * dlfcn/Makefile: Likewise.
8381 * elf/Makefile: Likewise.
8382 * math/Makefile: Likewise.
8383 * misc/Makefile: Likewise.
8384 * nptl/Makefile: Likewise.
8385 * sysdeps/mach/hurd/Makefile: Likewise.
8387 * configure.in: PWD_P is not used anymore.
8388 * config.make.in: Remove PWD_P entry.
8390 * configure.in: Remove last remnants of RANLIB.
8391 No need to check for signed size_t anymore.
8392 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8394 Remove __builtin_expect test because we require at least gcc 3.4.
8395 * aclocal.m4: Likewise.
8397 * wcsmbs/mbrtoc16.c: Implement using towc function.
8398 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8399 * wcsmbs/wcsmbsload.c: Likewise.
8400 * iconv/gconv_simple.c: Likewise.
8401 * iconv/gconv_int.h: Likewise.
8402 * iconv/gconv_builtin.h: Likewise.
8403 * iconv/iconv_prog.c: Remove CHAR16 handling.
8405 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8407 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8409 * configure.in: Remove --with-elf and --enable-bounded options.
8410 Dont set base_machine for ia64. More non-ELF conditions removed.
8411 Remove testing and setting of leading underscore information.
8412 * config.make.in (build-bounded): Set to no.
8413 * config.h.in: Remove NO_UNDERSCORES entry.
8414 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8416 * csu/start.c: Remove !NO_UNDERSCORE code.
8417 * locale/localeinfo.h: Likewise.
8418 * sysdeps/generic/machine-gmon.h: Likewise.
8419 * sysdeps/generic/sysdep.h: Likewise.
8420 * sysdeps/i386/sysdep.h: Likewise.
8421 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8422 * sysdeps/mach/sysdep.h: Likewise.
8423 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8424 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8425 * sysdeps/sh/sysdep.h: Likewise.
8426 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8427 * sysdeps/unix/i386/sysdep.S: Likewise.
8428 * sysdeps/unix/sparc/start.c: Likewise.
8429 * sysdeps/unix/sparc/sysdep.S: Likewise.
8430 * sysdeps/unix/sparc/sysdep.h: Likewise.
8431 * sysdeps/unix/start.c: Likewise.
8432 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8433 * sysdeps/x86_64/sysdep.h: Likewise.
8435 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8438 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8440 * argp/argp-fmtstream.h: Use const instead __const.
8441 * argp/argp.h: Likewise.
8442 * assert/assert.h: Likewise.
8443 * bits/fenv.h: Likewise.
8444 * bits/sched.h: Likewise.
8445 * bits/sigset.h: Likewise.
8446 * bits/sigthread.h: Likewise.
8447 * catgets/nl_types.h: Likewise.
8448 * conform/data/pthread.h-data: Likewise.
8449 * crypt/crypt-private.h: Likewise.
8450 * crypt/crypt.h: Likewise.
8451 * crypt/crypt_util.c: Likewise.
8452 * ctype/ctype.h: Likewise.
8453 * debug/execinfo.h: Likewise.
8454 * debug/mbsnrtowcs_chk.c: Likewise.
8455 * debug/mbsrtowcs_chk.c: Likewise.
8456 * debug/wcsnrtombs_chk.c: Likewise.
8457 * debug/wcsrtombs_chk.c: Likewise.
8458 * debug/wcstombs_chk.c: Likewise.
8459 * dirent/dirent.h: Likewise.
8460 * dlfcn/dlfcn.h: Likewise.
8461 * elf/neededtest4.c: Likewise.
8462 * grp/grp.h: Likewise.
8463 * gshadow/gshadow.h: Likewise.
8464 * iconv/gconv.h: Likewise.
8465 * iconv/gconv_int.h: Likewise.
8466 * iconv/gconv_simple.c: Likewise.
8467 * iconv/iconv.h: Likewise.
8468 * iconv/loop.c: Likewise.
8469 * iconv/skeleton.c: Likewise.
8470 * include/aio.h: Likewise.
8471 * include/aliases.h: Likewise.
8472 * include/argz.h: Likewise.
8473 * include/arpa/inet.h: Likewise.
8474 * include/assert.h: Likewise.
8475 * include/dirent.h: Likewise.
8476 * include/dlfcn.h: Likewise.
8477 * include/execinfo.h: Likewise.
8478 * include/fcntl.h: Likewise.
8479 * include/fenv.h: Likewise.
8480 * include/glob.h: Likewise.
8481 * include/grp.h: Likewise.
8482 * include/libintl.h: Likewise.
8483 * include/mntent.h: Likewise.
8484 * include/netdb.h: Likewise.
8485 * include/pwd.h: Likewise.
8486 * include/rpc/netdb.h: Likewise.
8487 * include/sched.h: Likewise.
8488 * include/search.h: Likewise.
8489 * include/shadow.h: Likewise.
8490 * include/signal.h: Likewise.
8491 * include/stdio.h: Likewise.
8492 * include/stdlib.h: Likewise.
8493 * include/string.h: Likewise.
8494 * include/sys/socket.h: Likewise.
8495 * include/sys/stat.h: Likewise.
8496 * include/sys/statfs.h: Likewise.
8497 * include/sys/statvfs.h: Likewise.
8498 * include/sys/syslog.h: Likewise.
8499 * include/sys/time.h: Likewise.
8500 * include/sys/uio.h: Likewise.
8501 * include/time.h: Likewise.
8502 * include/unistd.h: Likewise.
8503 * include/utmp.h: Likewise.
8504 * include/wchar.h: Likewise.
8505 * include/wctype.h: Likewise.
8506 * inet/aliases.h: Likewise.
8507 * inet/arpa/inet.h: Likewise.
8508 * inet/netinet/ether.h: Likewise.
8509 * inet/netinet/in.h: Likewise.
8510 * intl/libintl.h: Likewise.
8511 * io/bits/fcntl2.h: Likewise.
8512 * io/fcntl.h: Likewise.
8513 * io/ftw.h: Likewise.
8514 * io/sys/poll.h: Likewise.
8515 * io/sys/stat.h: Likewise.
8516 * io/sys/statfs.h: Likewise.
8517 * io/sys/statvfs.h: Likewise.
8518 * io/utime.h: Likewise.
8519 * libio/bits/stdio.h: Likewise.
8520 * libio/bits/stdio2.h: Likewise.
8521 * libio/libio.h: Likewise.
8522 * libio/libioP.h: Likewise.
8523 * libio/stdio.h: Likewise.
8524 * locale/lc-ctype.c: Likewise.
8525 * locale/locale.h: Likewise.
8526 * login/utmp.h: Likewise.
8527 * malloc/arena.c: Likewise.
8528 * malloc/malloc.c: Likewise.
8529 * malloc/malloc.h: Likewise.
8530 * malloc/mcheck.c: Likewise.
8531 * malloc/mtrace.c: Likewise.
8532 * math/bits/mathcalls.h: Likewise.
8533 * math/fenv.h: Likewise.
8534 * math/math_private.h: Likewise.
8535 * misc/bits/error.h: Likewise.
8536 * misc/bits/syslog.h: Likewise.
8537 * misc/err.h: Likewise.
8538 * misc/error.h: Likewise.
8539 * misc/fstab.h: Likewise.
8540 * misc/mntent.h: Likewise.
8541 * misc/regexp.h: Likewise.
8542 * misc/search.h: Likewise.
8543 * misc/sgtty.h: Likewise.
8544 * misc/sys/mman.h: Likewise.
8545 * misc/sys/syslog.h: Likewise.
8546 * misc/sys/uio.h: Likewise.
8547 * misc/sys/xattr.h: Likewise.
8548 * misc/ttyent.h: Likewise.
8549 * nis/rpcsvc/ypclnt.h: Likewise.
8550 * nss/nss.h: Likewise.
8551 * posix/bits/unistd.h: Likewise.
8552 * posix/fnmatch.h: Likewise.
8553 * posix/glob.h: Likewise.
8554 * posix/sched.h: Likewise.
8555 * posix/spawn.h: Likewise.
8556 * posix/sys/wait.h: Likewise.
8557 * posix/unistd.h: Likewise.
8558 * posix/wordexp.h: Likewise.
8559 * pwd/pwd.h: Likewise.
8560 * resolv/netdb.h: Likewise.
8561 * resource/sys/resource.h: Likewise.
8562 * rt/aio.h: Likewise.
8563 * rt/bits/mqueue2.h: Likewise.
8564 * rt/mqueue.h: Likewise.
8565 * shadow/shadow.h: Likewise.
8566 * signal/signal.h: Likewise.
8567 * socket/send.c: Likewise.
8568 * socket/sendto.c: Likewise.
8569 * socket/sys/socket.h: Likewise.
8570 * stdio-common/printf.h: Likewise.
8571 * stdlib/bits/stdlib.h: Likewise.
8572 * stdlib/fmtmsg.h: Likewise.
8573 * stdlib/monetary.h: Likewise.
8574 * stdlib/stdlib.h: Likewise.
8575 * stdlib/ucontext.h: Likewise.
8576 * streams/stropts.h: Likewise.
8577 * string/argz.h: Likewise.
8578 * string/bits/string2.h: Likewise.
8579 * string/string.h: Likewise.
8580 * string/strings.h: Likewise.
8581 * sunrpc/rpc/auth.h: Likewise.
8582 * sunrpc/rpc/auth_des.h: Likewise.
8583 * sunrpc/rpc/clnt.h: Likewise.
8584 * sunrpc/rpc/netdb.h: Likewise.
8585 * sunrpc/rpc/pmap_clnt.h: Likewise.
8586 * sunrpc/rpc/xdr.h: Likewise.
8587 * sysdeps/generic/inttypes.h: Likewise.
8588 * sysdeps/generic/net/if.h: Likewise.
8589 * sysdeps/generic/sys/swap.h: Likewise.
8590 * sysdeps/gnu/net/if.h: Likewise.
8591 * sysdeps/gnu/utmpx.h: Likewise.
8592 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8593 * sysdeps/i386/i486/bits/string.h: Likewise.
8594 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8595 * sysdeps/s390/bits/string.h: Likewise.
8596 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8597 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8598 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8599 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8600 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8601 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8602 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8603 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8604 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8605 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8606 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8607 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8608 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8609 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8610 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8611 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8612 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8614 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8615 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8616 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8617 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8618 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8619 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8620 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8621 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8622 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8623 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8624 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8625 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8626 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8627 * sysvipc/sys/ipc.h: Likewise.
8628 * sysvipc/sys/msg.h: Likewise.
8629 * sysvipc/sys/sem.h: Likewise.
8630 * sysvipc/sys/shm.h: Likewise.
8631 * termios/termios.h: Likewise.
8632 * time/sys/time.h: Likewise.
8633 * time/time.h: Likewise.
8634 * wcsmbs/bits/wchar2.h: Likewise.
8635 * wcsmbs/uchar.h: Likewise.
8636 * wcsmbs/wchar.h: Likewise.
8637 * wctype/wctype.h: Likewise.
8640 * Makeconfig: Remove all but ELF support including AIX support.
8641 * Makerules: Likewise.
8642 * config.h.in: Likewise.
8643 * config.make.in: Likewise.
8644 * configure: Likewise.
8645 * configure.in: Likewise.
8646 * csu/Makefile: Likewise.
8647 * csu/version.c: Likewise.
8648 * debug/Makefile: Likewise.
8649 * dlfcn/Makefile: Likewise.
8650 * elf/Makefile: Likewise.
8651 * extra-lib.mk: Likewise.
8652 * iconv/Makefile: Likewise.
8653 * include/libc-symbols.h: Likewise.
8654 * include/shlib-compat.h: Likewise.
8655 * resolv/Makefile: Likewise.
8656 * resolv/res_libc.c: Likewise.
8657 * rt/Makefile: Likewise.
8658 * sysdeps/i386/asm-syntax.h: Likewise.
8659 * sysdeps/i386/sysdep.h: Likewise.
8660 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8661 * sysdeps/mach/sysdep.h: Likewise.
8662 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8663 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8664 * sysdeps/s390/asm-syntax.h: Likewise.
8665 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8666 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8667 * sysdeps/sh/sysdep.h: Likewise.
8668 * sysdeps/unix/sparc/sysdep.h: Likewise.
8669 * sysdeps/wordsize-32/divdi3.c: Likewise.
8670 * sysdeps/x86_64/sysdep.h: Likewise.
8672 * argp/Versions: Remove _argp_unlock_xxx.
8675 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8676 * abilist/libBrokenLocale.abilist: Likewise.
8677 * abilist/libanl.abilist: Likewise.
8678 * abilist/libc.abilist: Likewise.
8679 * abilist/libcrypt.abilist: Likewise.
8680 * abilist/libdl.abilist: Likewise.
8681 * abilist/libm.abilist: Likewise.
8682 * abilist/libnsl.abilist: Likewise.
8683 * abilist/libpthread.abilist: Likewise.
8684 * abilist/libresolv.abilist: Likewise.
8685 * abilist/librt.abilist: Likewise.
8686 * abilist/libthread_db.abilist: Likewise.
8687 * abilist/libutil.abilist: Likewise.
8688 * abilist/libnss_db.abilist: New file.
8690 * scripts/abilist.awk: Add support for indirect functions.
8692 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8694 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8696 * shlib-versions: Remove entries for ports architectures.
8698 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8700 * elf/stackguard-macros.h: Remove support for IA-64.
8701 * elf/tst-auditmod1.c: Likewise.
8702 * sysdeps/generic/ldsodefs.h: Likewise.
8704 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8705 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8709 * configure.in: Remove --enable-omitfp support.
8711 * config.make.in: Likewise.
8712 * Makeconfig: Likewise.
8713 * manual/install.texi: Likewise.
8715 In case anyone cares, the IA-64 architecture could move to ports.
8716 * sysdeps/ia64/*: Removed.
8717 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8718 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8721 * configure.in: Remove entries for unsupported architectures.
8724 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8725 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8727 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8728 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8729 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8730 fall back to using wcrtomb.
8731 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8732 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8734 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8735 * wcsmbs/tst-c16c32-1.c: New file.
8737 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8740 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8742 * elf/tst-unique3.cc: Add explicit declaration of gets.
8743 * elf/tst-unique3lib.cc: Likewise.
8744 * elf/tst-unique3lib2.cc: Likewise.
8745 * elf/tst-unique4.cc: Likewise.
8747 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8749 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8752 * assert/assert.h (static_assert): Don't define for C++.
8753 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8754 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8756 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8758 * iconv/loop.c (single loop): Fix assertion in storing of
8761 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8763 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8765 * posix/getconf.c: Update copyright year.
8766 * nss/getent.c: Likewise.
8767 * nss/makedb.c: Likewise.
8768 * iconv/iconvconfig.c: Likewise.
8769 * iconv/iconv_prog.c: Likewise.
8770 * elf/ldconfig.c: Likewise.
8771 * elf/pldd.c: Likewise.
8772 * elf/sotruss.ksh: Likewise.
8773 * catgets/gencat.c: Likewise.
8774 * csu/version.c: Likewise.
8775 * elf/ldd.bash.in: Likewise.
8776 * elf/sprof.c (print_version): Likewise.
8777 * locale/programs/locale.c: Likewise.
8778 * locale/programs/localedef.c: Likewise.
8779 * login/programs/pt_chown.c: Likewise.
8780 * nscd/nscd.c (print_version): Likewise.
8781 * debug/xtrace.sh: Likewise.
8782 * malloc/memusage.sh: Likewise.
8783 * malloc/mtrace.pl: Likewise.
8784 * debug/catchsegv.sh: Likewise.
8786 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8788 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8791 2011-12-24 Ulrich Drepper <drepper@gmail.com>
8794 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8795 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8797 * iconv/gconv_int.h: Likewise.
8798 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8799 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8800 from libc for GLIBC_2.16.
8801 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8802 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8803 * wcsmbs/uchar.h: Really define mbstate_t.
8804 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8805 * wcsmbs/c16rtomb.c: New file.
8806 * wcsmbs/mbrtoc16.c: New file.
8807 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8809 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8810 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8812 * wcsmbs/wchar.h: Add missing __restrict.
8814 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8817 * time/Makefile (routines): Add timespec_get.
8818 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8819 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8820 timespec for ISO C11.
8821 * time/timespec_get.c: New file.
8822 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8823 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8826 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8827 * stdlib/stdlib.h: Declare aligned_alloc.
8828 * Versions.def: Add GLIBC_2.16 for libc.
8829 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8832 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8835 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8839 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8842 * assert/assert.h (static_assert): Define.
8844 * version.h: Update for 2.16 development version.
8847 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8850 * version.h (RELEASE): Bump for 2.15 release.
8851 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8853 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8854 Patch by Marek Polacek <mpolacek@redhat.com>.
8856 * bits/byteswap.h: Protect long long constants with __extension__.
8857 * sysdeps/i386/bits/byteswap.h: Likewise.
8858 * sysdeps/ia64/bits/byteswap.h: Likewise.
8859 * sysdeps/s390/bits/byteswap.h: Likewise.
8860 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8862 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8865 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8867 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8869 2011-12-23 Marek Polacek <polacek@redhat.com>
8871 * elf/dl-addr.c (determine_info): Add inline keyword.
8872 * elf/tst-auditmod4b.c (check_avx): Likewise.
8873 * elf/tst-auditmod6b.c (check_avx): Likewise.
8874 * elf/tst-auditmod6c.c (check_avx): Likewise.
8875 * elf/tst-auditmod7b.c (check_avx): Likewise.
8877 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8879 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8882 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8885 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8886 processing for last bytes.
8888 2011-08-06 Bruno Haible <bruno@clisp.org>
8891 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8892 U+0385, not to U+1FEE.
8895 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8896 entry for U+00A5 U+0301.
8898 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8901 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8902 buffer for the output is too small.
8904 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8908 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8909 SSE flags if possible.
8911 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8914 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8915 processing for last bytes.
8917 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8919 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8920 (syscall-list-default-options, syscall-list-default-condition)
8921 (syscall-list-includes): Define.
8922 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8923 list of ABIs and options and #if conditions for each ABI. Do not
8924 handle common syscalls between ABIs specially.
8925 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8927 (syscall-list-variants, syscall-list-32bit-options)
8928 (syscall-list-32bit-condition, syscall-list-64bit-options)
8929 (syscall-list-64bit-condition): Define.
8930 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8931 (syscall-list-variants, syscall-list-32bit-options)
8932 (syscall-list-32bit-condition, syscall-list-64bit-options)
8933 (syscall-list-64bit-condition): Define.
8934 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8936 (syscall-list-variants, syscall-list-32bit-options)
8937 (syscall-list-32bit-condition, syscall-list-64bit-options)
8938 (syscall-list-64bit-condition): Define.
8939 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8941 (syscall-list-variants, syscall-list-32bit-options)
8942 (syscall-list-32bit-condition, syscall-list-64bit-options)
8943 (syscall-list-64bit-condition): Define.
8945 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8947 * locale/iso-639.def: Add brx entry.
8950 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8951 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8953 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8954 __feraiseexcept_renamed.
8956 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8959 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8960 EPOLLET with unsigned values.
8961 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8962 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8964 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8965 to large cancellation.
8966 * math/s_cacoshf.c: Likewise.
8967 * math/s_cacoshl.c: Likewise.
8969 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8973 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8974 * math/s_cacoshf.c: Likewise.
8975 * math/s_cacoshl.c: Likewise.
8977 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8980 * iconv/gconv.h: Define __GCONV_SWAP.
8981 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8982 * iconvdata/utf-16.c: Likewise.
8983 * iconvdata/utf-32.c: Likewise.
8985 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8988 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8989 numerator after shifting it by one limb.
8991 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8993 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8994 under [__USE_EXTERN_INLINES].
8996 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8999 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9001 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9003 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9004 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9006 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9007 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9008 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9009 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9010 for strncasecmp/strncasecmp_l compilation.
9011 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9012 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9014 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9017 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9020 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9023 * time/tzfile.c (__tzfile_read): Check values from file header.
9025 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9027 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9028 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9029 * powerpc/powerpc32/dl-start.S: Likewise.
9030 * powerpc/powerpc32/elf/start.S: Likewise.
9031 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9032 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9033 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9034 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9035 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9036 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9037 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9038 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9039 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9040 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9041 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9042 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9043 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9044 * powerpc/powerpc32/memset.S: Likewise.
9045 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9046 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9047 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9048 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9049 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9050 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9051 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9052 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9053 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9054 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9055 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9056 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9057 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9059 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9061 * math/libm-test.inc: Added more nearbyint tests.
9062 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9063 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9064 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9065 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9067 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9069 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9072 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9074 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9075 Add wcscpy-ssse3 wcscpy-c.
9076 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9077 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9078 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9079 * sysdeps/x86_64/wcschr.S: New file.
9080 * sysdeps/x86_64/wcsrchr.S: New file.
9081 * string/test-strcmp.c: Remove checking of wcscmp function for
9083 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9084 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9085 wcsrchr-sse2 wcsrchr-c.
9086 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9087 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9088 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9089 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9090 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9091 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9092 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9093 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9094 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9095 * wcsmbc/wcschr.c (WCSCHR): New macro.
9097 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9099 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9100 * wcsmbs/test-wcsrchr.c: New file.
9101 * string/test-strrchr.c: Add wcsrchr support.
9103 * wcsmbs/test-wcscpy.c: New file.
9104 * string/test-strcpy.c: Add wcscpy support.
9107 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9109 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9112 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9115 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9117 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9119 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9120 Minor optimizations.
9122 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9123 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9124 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9126 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9128 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9129 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9130 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9131 for gcc to avoid warnings.
9132 * inet/Makefile (tests): Add tst-checks.
9133 * inet/tst-checks.c: New file.
9135 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9138 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9141 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9142 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9144 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9146 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9148 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9151 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9153 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9155 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9156 conditional on GCC version.
9157 (__arch_compare_and_exchange_val_8_acq)
9158 (__arch_compare_and_exchange_val_16_acq)
9159 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9160 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9161 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9163 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9165 * sysdeps/sh/backtrace.c: New file.
9167 2011-12-02 Andreas Schwab <schwab@redhat.com>
9169 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9172 2011-12-01 Andreas Schwab <schwab@redhat.com>
9174 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9175 falling back to utime.
9177 2011-11-30 Andreas Schwab <schwab@redhat.com>
9179 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9180 expectations for float.
9182 2011-11-29 Andreas Schwab <schwab@redhat.com>
9184 * locale/weight.h (findidx): Add parameter len.
9185 * locale/weightwc.h (findidx): Likewise.
9186 * posix/fnmatch_loop.c (FCT): Adjust caller.
9187 * posix/regcomp.c (build_equiv_class): Likewise.
9188 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9189 * posix/regexec.c (check_node_accept_bytes): Likewise.
9190 * string/strcoll_l.c (STRCOLL): Likewise.
9191 * string/strxfrm_l.c (STRXFRM): Likewise.
9193 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9195 * Makefile.in: Remove CVSOPT handling.
9196 * configure.in: Remove use of AC_REVISION.
9197 * iconvdata/Makefile (distribute): No need to filter out CVS.
9198 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9201 2011-11-16 Andreas Schwab <schwab@redhat.com>
9203 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9204 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9205 [USE_AS_STRNCASECMP_L]: Likewise.
9206 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9207 NO_TLS_DIRECT_SEG_REFS.
9208 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9209 Fix argument offsets for non-PIC.
9210 [USE_AS_STRNCASECMP_L]: Likewise.
9211 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9212 NO_TLS_DIRECT_SEG_REFS.
9214 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9216 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9218 * locale/loadlocale.c (_nl_load_locale): Likewise.
9220 2011-11-15 Andreas Schwab <schwab@redhat.com>
9222 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9223 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9224 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9225 (SYSCALL_GETTIME): Set errno on error.
9227 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9228 count references to noai6ai_cached.
9230 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9232 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9234 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9235 FD_CLOEXEC for /proc/self/maps.
9237 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9238 FD_CLOEXEC for /proc/meminfo.
9240 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9243 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9244 FD_CLOEXEC for given file.
9246 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9248 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9249 FD_CLOEXEC for /etc/hosts.
9250 (_gethtent): Likewise.
9252 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9254 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9255 cancellation and set FD_CLOEXEC for /etc/netgroup.
9257 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9258 reading /etc/publickey.
9260 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9261 allow cancellation when reading /etc/group.
9263 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9265 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9267 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9268 when using data file.
9270 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9272 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9273 (write_nis_obj): Use "c" and "e" in fopen.
9275 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9277 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9279 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9281 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9283 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9286 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9288 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9290 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9292 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9293 file parsing and set FD_CLOEXEC.
9295 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9297 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9299 2011-11-14 Andreas Schwab <schwab@redhat.com>
9301 * malloc/arena.c (arena_get2): Don't call reused_arena when
9302 _int_new_arena failed.
9304 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9306 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9307 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9308 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9309 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9310 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9311 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9312 to compile strcasecmp and strncasecmp.
9313 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9314 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9316 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9318 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9320 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9321 locale-defines.sym to gen-as-const-headers.
9322 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9323 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9324 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9325 to compile strcasecmp and strncasecmp.
9326 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9327 strcasecmp_l and strncasecmp_l.
9328 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9329 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9330 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9331 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9332 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9333 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9334 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9335 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9336 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9337 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9338 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9340 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9342 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9343 result of SYSDEP_GETTIME_CPU to retval.
9344 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9345 parameter list to macro. Remove trailing semicolon. Adjust users.
9347 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9350 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9352 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9354 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9355 from unused variable.
9357 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9359 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9362 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9365 * sunrpc/rpc_prot.c (rejected): Fix case value.
9367 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9368 unsigned long long int to avoid warnings in shift.
9370 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9372 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9375 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9376 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9377 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9379 * nis/nis_table.c (nis_list): Use variable of correct type for
9380 result of __follow_path call.
9382 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9384 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9385 of math functions ceil, trunc, floor, round, and sqrt, when
9386 avaliable on the platform.
9387 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9389 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9390 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9391 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9393 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9395 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9396 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9398 2011-11-11 Roland McGrath <roland@hack.frob.com>
9400 * include/unistd.h: Fix __readlink return type.
9401 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9403 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9405 * stdlib/ucontext.h: Undo last change for makecontext.
9407 2011-11-11 Andreas Schwab <schwab@redhat.com>
9409 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9411 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9412 * setjmp/setjmp.h: Mark functions as non-leaf.
9413 * setjmp/bits/setjmp2.h: Likewise.
9414 * stdlib/ucontext.h: Likewise.
9416 2011-11-10 Andreas Schwab <schwab@redhat.com>
9418 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9419 (reused_arena): Don't check arena limit.
9420 (arena_get2): Atomically check arena limit.
9422 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9424 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9425 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9430 2011-11-07 Andreas Schwab <schwab@redhat.com>
9432 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9433 handler when locking.
9435 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9436 Fix size of allocated buffer.
9438 2011-11-04 Andreas Schwab <schwab@redhat.com>
9441 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9442 declarations for long double functions.
9443 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9445 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9447 2011-11-03 Andreas Schwab <schwab@redhat.com>
9449 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9452 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9455 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9457 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9459 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9461 * include/alloca.h (stackinfo_alloca_round): Define.
9462 (extend_alloca): Use it.
9463 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9464 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9467 * scripts/check-local-headers.sh: Ignore libaudit.h.
9469 * nscd/Makefile (extra-objs): Make recursively expanded.
9471 2011-11-01 Ulrich Drepper <drepper@gmail.com>
9473 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9474 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9476 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9477 * posix/tst-rfc3484-2.c: Likewise.
9478 * posix/tst-rfc3484-3.c: Likewise.
9480 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9482 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9484 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9485 process_vm_writev from libc using GLIBC_2.15 version.
9487 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9489 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9491 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9494 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9497 * nss/getent.c (initgroups_keys): Show error message in case no group
9500 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9501 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9502 __bump_nl_timestamp.
9503 * nscd/connections (nscd_init): When host database is served open
9504 netlink socket and request notification about configuration changes.
9505 (main_loop_poll): Track netlink file descriptor and bump timestamp
9506 in case data becomes available.
9507 (main_loop_epoll): Likewise.
9508 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9509 (database_pers_head): Add extra_data fileds.
9510 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9511 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9512 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9514 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9515 in6ai data, call __free_in6ai.
9516 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9518 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9519 interface information. Reuse previous data if netlink timestamp
9521 (__bump_nl_timestamp): New function.
9522 (__free_in6ai): New function.
9524 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9526 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9527 close_not_cancel_no_status here.
9528 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9530 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9533 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9536 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9537 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9538 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9540 2011-07-03 Andreas Jaeger <aj@suse.de>
9543 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9544 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9545 * math/libm-test.inc (sin_test): Add test case.
9547 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9550 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9551 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9553 * elf/chroot_canon.c (chroot_canon): Cleanups.
9555 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9558 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9559 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9561 * string/test-strchr.c: Make usable for strchrnul testing.
9562 * string/test-strchrnul.c: New file.
9563 * string/Makefile (strop-tests): Add strchrnul.
9565 * po/it.po: Update from translation team.
9566 * po/es.po: Likewise.
9568 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9570 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9571 the three constants needed as parameters. Drop the others.
9572 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9573 __m128i_strloadu_tolower.
9574 Create and initialize variable zero and use it in all the places
9575 where _mm_setzero_si128 was used.
9577 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9578 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9579 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9580 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9582 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9583 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9584 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9585 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9586 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9587 __mpranred, __mptan.
9588 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9589 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9590 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9591 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9592 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9593 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9594 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9595 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9596 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9598 2011-10-28 Andreas Schwab <schwab@redhat.com>
9600 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9602 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9604 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9605 wide char related routines to wcsmbs subdir.
9607 2011-10-27 Andreas Schwab <schwab@redhat.com>
9610 * misc/sys/cdefs.h (__THROWNL): Define.
9611 * posix/unistd.h: Use __THREADNL instead of __THREAD
9612 for memory synchronization functions.
9614 2011-10-26 Roland McGrath <roland@hack.frob.com>
9617 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9619 * manual/stdio.texi (Obstack Streams): Node removed.
9621 2011-10-26 Andreas Schwab <schwab@redhat.com>
9623 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9624 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9625 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9627 * math/math_private.h (math_force_eval): Allow non-addressable
9629 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9631 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9633 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9636 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9637 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9638 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9639 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9640 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9641 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9642 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9643 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9645 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9646 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9647 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9648 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9649 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9650 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9651 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9652 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9653 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9654 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9655 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9656 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9657 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9658 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9659 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9660 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9661 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9662 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9663 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9665 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9666 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9668 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9669 place. Use VEX encoding when compiling for AVX.
9671 2011-10-25 Andreas Schwab <schwab@redhat.com>
9673 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9674 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9676 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9678 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9680 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9681 useless if() expression.
9682 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9683 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9684 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9685 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9686 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9687 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9688 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9689 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9690 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9691 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9692 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9693 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9694 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9695 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9696 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9697 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9698 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9700 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9702 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9704 2011-10-25 Andreas Schwab <schwab@redhat.com>
9706 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9708 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9710 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9712 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9713 .text section. Avoid duplicate constants.
9714 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9715 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9716 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9717 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9718 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9720 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9721 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9722 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9723 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9724 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9725 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9726 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9727 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9728 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9729 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9730 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9731 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9732 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9733 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9734 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9735 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9736 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9737 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9738 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9739 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9740 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9741 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9742 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9743 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9744 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9745 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9746 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9747 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9748 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9749 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9750 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9751 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9752 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9753 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9754 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9755 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9756 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9757 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9758 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9760 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9762 * sysdeps/x86_64/dla.h: Move to ...
9763 * sysdeps/x86_64/fpu/dla.h: ...here.
9764 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9765 situations. Use __builtin_fma only for gcc 4.6 and up.
9767 * config.make.in: Add have-mfma4 entry.
9768 * configure.in: Substitute libc_cv_cc_fma4.
9769 * math/Makefile (dbl-only-routines): Add sincostab.
9770 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9771 Use __sincostab not sincos.
9772 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9774 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9779 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9780 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9781 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9782 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9784 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9785 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9787 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9788 define aliases when function name is a macro.
9789 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9790 sysdeps/ieee754/dbl-64/sincos.tbl.
9791 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9792 fma4-enabled routines.
9793 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9794 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9795 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9796 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9797 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9798 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9799 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9800 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9801 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9802 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9803 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9804 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9805 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9806 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9807 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9808 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9809 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9810 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9811 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9812 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9813 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9814 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9815 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9816 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9817 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9818 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9819 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9820 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9821 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9822 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9824 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9828 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9832 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9833 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9835 2011-10-24 Andreas Schwab <schwab@redhat.com>
9837 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9839 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9841 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9843 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9845 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9847 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9848 Remove unused variable magic_bits.
9849 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9851 * string/strnlen.c: Define and use STRNLEN macro.
9852 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9853 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9854 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9855 * wcsmbs/wcslen.c: Define and use WCSLEN.
9856 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9857 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9858 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9859 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9860 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9861 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9862 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9864 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9867 strnlen-sse2-no-bsf.
9868 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9869 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9870 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9871 Add strnlen support.
9872 (USE_AS_STRNLEN): New macro.
9873 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9874 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9875 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9876 * sysdeps/x86_64/wcslen.S: New file.
9878 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9880 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9881 XMM-moves are used for copying on small sizes.
9883 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9885 * wcsmbs/Makefile (strop-tests): Add wcschr.
9886 * wcsmbs/test-wcschr.c: New file.
9887 * string/test-strchr.c: Update.
9891 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9893 * wcsmbs/Makefile (strop-tests): Add wcslen.
9894 * wcsmbs/test-wcslen.c: New file.
9895 * string/test-strlen.c: Update.
9899 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9901 * po/it.po: Update from translation team.
9903 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9905 * sysdeps/x86_64/wcscmp.S: Update.
9906 Fix wrong comparison semantics.
9907 wcscmp shall use signed comparison not unsigned.
9908 Don't use substraction to avoid overflow bug.
9909 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9910 * wcsmbc/wcscmp.c: Likewise.
9911 * string/test-strcmp.c: Likewise.
9912 Add new tests to check cases with negative values.
9914 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9916 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9917 * sysdeps/x86_64/dla.h: ...here. New file.
9918 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9919 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9920 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9925 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9926 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9928 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9930 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9931 __ynl_finite aliases.
9933 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9937 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9939 [DLA_FMA] (EMULV): Use DLA_FMA.
9940 [DLA_FMA] (MUL12): Use EMULV.
9941 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9942 that are not needed.
9943 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9944 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9945 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9946 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9947 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9948 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9951 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9953 * math/s_nan.c: Undef __nan.
9954 * math/s_nanf.c: Undef __nanf.
9955 * math/s_nanl.c: Undef __nanl.
9956 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9959 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9961 * math/s_catan.c: Add branch predictions.
9962 * math/s_catanf.c: Likewise.
9963 * math/s_catanh.c: Likewise.
9964 * math/s_catanhf.c: Likewise.
9965 * math/s_catanhl.c: Likewise.
9966 * math/s_catanl.c: Likewise.
9967 * math/s_cexp.c: Likewise.
9968 * math/s_cexpf.c: Likewise.
9969 * math/s_cexpl.c: Likewise.
9970 * math/s_clog.c: Likewise.
9971 * math/s_clog10.c: Likewise.
9972 * math/s_clog10f.c: Likewise.
9973 * math/s_clog10l.c: Likewise.
9974 * math/s_clogf.c: Likewise.
9975 * math/s_clogl.c: Likewise.
9976 * math/s_csqrt.c: Likewise.
9977 * math/s_csqrtf.c: Likewise.
9978 * math/s_csqrtl.c: Likewise.
9979 * math/s_ctanf.c: Likewise.
9980 * math/s_ctanh.c: Likewise.
9981 * math/s_ctanhf.c: Likewise.
9982 * math/s_ctanhl.c: Likewise.
9983 * math/s_ctanl.c: Likewise.
9985 * math/math_private.h: Define __nan, __nanf, __nanl.
9986 * math/s_cacosh.c: Include <math_private.h>.
9987 * math/s_cacoshl.c: Likewise.
9988 * math/s_casinh.c: Likewise.
9989 * math/s_casinhf.c: Likewise.
9990 * math/s_casinhl.c: Likewise.
9991 * math/s_ccos.c: Rely entire on ccosh.
9992 * math/s_ccosf.c: Rely entire on ccoshf.
9993 * math/s_ccosl.c: Rely entirely on ccoshl.
9994 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9995 Remove tests for FE_INVALID.
9996 * math/s_ccoshf.c: Likewise.
9997 * math/s_ccoshl.c: Likewise.
9998 * math/s_csin.c: Likewise.
9999 * math/s_csinf.c: Likewise.
10000 * math/s_csinh.c Likewise.
10001 * math/s_csinhf.c: Likewise.
10002 * math/s_csinhl.c: Likewise.
10003 * math/s_csinl.c: Likewise.
10004 * math/s_ctan.c: Likewise.
10005 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10006 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10007 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10009 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10012 compilation problems.
10014 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10017 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10019 * sysdeps/i386/configure.in: Test for -mfma4 option.
10020 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10021 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10022 COMMON_CPUID_INDEX_80000001.
10023 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10024 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10025 use it if FMA3 is not supported.
10026 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10028 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10029 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10031 2011-10-20 Andreas Schwab <schwab@redhat.com>
10034 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10035 it would create a cycle with a link time dependency.
10037 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10039 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10041 * string/Makefile (strop-tests): Add rawmemchr.
10042 * string/test-rawmemchr.c: New file.
10044 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10045 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10046 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10047 when compiling str{,n}casecmp and when AVX is available. Hook up
10048 new optimized code in initializers.
10050 2011-10-19 Andreas Schwab <schwab@redhat.com>
10052 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10053 __feraiseexcept instead of feraiseexcept.
10055 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10057 * math/math_private.h: Define defaults for libc_fetestexcept and
10059 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10060 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10061 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10062 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10063 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10064 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10065 libc_fetestexcept and libc_feupdateenv.
10067 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10068 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10069 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10070 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10071 libc_feholdexcept_setround.
10073 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10074 Add s_nearbyint-c and s_nearbyintf-c.
10075 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10076 nearbyintf inlines.
10077 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10078 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10079 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10080 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10082 * math/math_private.h: Define defaults for libc_fegetround,
10083 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10084 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10085 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10086 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10087 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10088 standard functions.
10089 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10090 Remove comments and hacks for old compiler versions.
10091 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10092 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10093 libc_feholdexceptl.
10095 2011-10-18 Andreas Schwab <schwab@redhat.com>
10097 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10098 (__feraiseexcept_renamed): Add __NTH.
10099 (feraiseexcept): Add __NTH. Rename local variables to fix
10100 namespace violations.
10102 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10104 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10106 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10108 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10109 recently added interfaces.
10110 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10112 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10113 about macro parameter expansion.
10115 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10116 __NO_MATH_INLINES is defined. Cleanups.
10118 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10119 and __floorf is target has SSE4.1.
10120 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10121 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10122 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10123 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10125 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10127 (floorf): Likewise.
10129 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10131 2011-10-17 Andreas Schwab <schwab@redhat.com>
10133 * misc/sys/cdefs.h: Fix last change.
10135 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10138 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10140 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10142 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10143 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10144 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10145 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10146 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10147 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10148 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10149 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10150 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10151 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10152 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10153 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10154 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10155 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10156 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10157 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10158 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10159 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10160 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10161 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10162 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10163 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10165 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10166 ceil, ceilf, floor, floorf.
10168 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10169 Perform IRELATIVE relocations last.
10171 * elf/do-rel.h: Add another parameter nrelative, replacing the
10172 local variable with the same name. Change name of the function
10173 to end in Rel or Rela (uppercase).
10174 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10175 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10176 elf_dynamic_do_##reloc function.
10178 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10180 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10181 is sufficient, at least on modern CPUs.
10183 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10185 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10186 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10188 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10190 * math/bits/math-finite.h: Add entries for exp.
10191 * math/e_expl.c: Add __*_finite alias.
10192 * sysdeps/i386/fpu/e_exp.S: Likewise.
10193 * sysdeps/i386/fpu/e_expf.S: Likewise.
10194 * sysdeps/i386/fpu/e_expl.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10196 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10197 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10198 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10199 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10200 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10201 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10203 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10204 is sufficient, at least on modern CPUs.
10206 * ctype/ctype-info.c (__ctype_init): Define.
10207 * include/ctype.h (__ctype_init): Declare.
10208 (__ctype_b_loc): The variable is always initialized.
10209 (__ctype_toupper_loc): Likewise.
10210 (__ctype_tolower_loc): Likewise.
10211 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10212 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10214 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10216 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10218 * configure.in: Also look in $cxxmachine/include for C++ system
10221 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10223 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10224 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10225 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10226 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10227 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10228 (USE_AS_WMEMCMP): New macro.
10230 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10231 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10232 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10233 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10235 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10236 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10237 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10238 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10239 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10240 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10241 (USE_AS_WMEMCMP): New macro.
10242 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10243 * sysdeps/string/test-memcmp.c: Update.
10244 Fix simple_wmemcmp.
10246 * wcsmbs/wmemcmp.c: Update.
10247 (WMEMCMP): New macro.
10250 2011-10-12 Andreas Jaeger <aj@suse.de>
10253 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10255 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10257 * libio/iofwide.c (do_length): Avoid warning.
10259 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10261 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10263 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10265 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10266 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10267 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10268 * sysdeps/i386/i686/fpu/e_log.S: New file.
10269 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10270 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10272 * ctype/ctype.h: Add support for inlined isXXX functions when
10273 compiling C++ code.
10275 2011-10-14 Andreas Schwab <schwab@redhat.com>
10277 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10279 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10281 2011-10-13 Roland McGrath <roland@hack.frob.com>
10284 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10286 2011-10-13 Andreas Schwab <schwab@redhat.com>
10288 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10289 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10292 * sysdeps/x86_64/memrchr.S: Check for zero size.
10294 * string/stratcliff.c: Add memrchr tests.
10296 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10299 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10300 rawmemchr-sse2 rawmemchr-sse2-bsf.
10301 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10302 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10303 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10304 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10305 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10306 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10307 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10308 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10309 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10310 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10311 * string/memrchr.c (MEMRCHR): New macro.
10313 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10315 Add integration with gcc's -ffinite-math-only and optimize wrapper
10317 * Versions.def: Define GLIBC_2.15 version for libm.
10318 * math/Makefile (headers): Add bits/math-finite.h.
10319 * math/bits/math-finite.h: New file.
10320 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10321 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10322 * math/e_acoshl.c: Add __*_finite alias.
10323 * math/e_acosl.c: Likewise.
10324 * math/e_asinl.c: Likewise.
10325 * math/e_atan2l.c: Likewise.
10326 * math/e_atanhl.c: Likewise.
10327 * math/e_coshl.c: Likewise.
10328 * math/e_exp10.c: Likewise.
10329 * math/e_exp10f.c: Likewise.
10330 * math/e_exp10l.c: Likewise.
10331 * math/e_exp2l.c: Likewise.
10332 * math/e_fmodl.c: Likewise.
10333 * math/e_gammal_r.c: Likewise.
10334 * math/e_hypotl.c: Likewise.
10335 * math/e_j0l.c: Likewise.
10336 * math/e_j1l.c: Likewise.
10337 * math/e_jnl.c: Likewise.
10338 * math/e_lgammal_r.c: Likewise.
10339 * math/e_log10l.c: Likewise.
10340 * math/e_log2l.c: Likewise.
10341 * math/e_logl.c: Likewise.
10342 * math/e_powl.c: Likewise.
10343 * math/e_sinhl.c: Likewise.
10344 * math/e_sqrtl.c: Likewise.
10345 * math/e_scalb.c: Completely rewritten and optimized.
10346 * math/e_scalbf.c: Likewise.
10347 * math/e_scalbl.c: Likewise.
10348 * math/w_acos.c: Likewise.
10349 * math/w_acosf.c: Likewise.
10350 * math/w_acosl.c: Likewise.
10351 * math/w_acosh.c: Likewise.
10352 * math/w_acoshf.c: Likewise.
10353 * math/w_acoshl.c: Likewise.
10354 * math/w_asin.c: Likewise.
10355 * math/w_asinf.c: Likewise.
10356 * math/w_asinl.c: Likewise.
10357 * math/w_atan2.c: Likewise.
10358 * math/w_atan2f.c: Likewise.
10359 * math/w_atan2l.c: Likewise.
10360 * math/w_atanh.c: Likewise.
10361 * math/w_atanhf.c: Likewise.
10362 * math/w_atanhl.c: Likewise.
10363 * math/w_exp10.c: Likewise.
10364 * math/w_exp10f.c: Likewise.
10365 * math/w_exp10l.c: Likewise.
10366 * math/w_fmod.c: Likewise.
10367 * math/w_fmodf.c: Likewise.
10368 * math/w_fmodl.c: Likewise.
10369 * math/w_j0.c: Likewise.
10370 * math/w_j0f.c: Likewise.
10371 * math/w_j0l.c: Likewise.
10372 * math/w_j1.c: Likewise.
10373 * math/w_j1f.c: Likewise.
10374 * math/w_j1l.c: Likewise.
10375 * math/w_jn.c: Likewise.
10376 * math/w_jnf.c: Likewise.
10377 * math/w_log.c: Likewise.
10378 * math/w_logf.c: Likewise.
10379 * math/w_logl.c: Likewise.
10380 * math/w_log10.c: Likewise.
10381 * math/w_log10f.c: Likewise.
10382 * math/w_log10l.c: Likewise.
10383 * math/w_log2.c: Likewise.
10384 * math/w_log2f.c: Likewise.
10385 * math/w_log2l.c: Likewise.
10386 * math/w_pow.c: Likewise.
10387 * math/w_powf.c: Likewise.
10388 * math/w_powl.c: Likewise.
10389 * math/w_remainder.c: Likewise.
10390 * math/w_remainderf.c: Likewise.
10391 * math/w_remainderl.c: Likewise.
10392 * math/w_scalb.c: Likewise.
10393 * math/w_scalbf.c: Likewise.
10394 * math/w_scalbl.c: Likewise.
10395 * math/w_sqrt.c: Likewise.
10396 * math/w_sqrtf.c: Likewise.
10397 * math/w_sqrtl.c: Likewise.
10398 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10399 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10401 * math/math_private.h: Declare __kernel_standard_f.
10402 * math/w_cosh.c: Remove cruft and optimize a bit.
10403 * math/w_coshf.c: Likewise.
10404 * math/w_coshl.c: Likewise.
10405 * math/w_exp2.c: Likewise.
10406 * math/w_exp2f.c: Likewise.
10407 * math/w_exp2l.c: Likewise.
10408 * math/w_hypot.c: Likewise.
10409 * math/w_hypotf.c: Likewise.
10410 * math/w_hypotl.c: Likewise.
10411 * math/w_lgamma.c: Likewise.
10412 * math/w_lgamma_r.c: Likewise.
10413 * math/w_lgammaf.c: Likewise.
10414 * math/w_lgammaf_r.c: Likewise.
10415 * math/w_lgammal.c: Likewise.
10416 * math/w_lgammal_r.c: Likewise.
10417 * math/w_sinh.c: Likewise.
10418 * math/w_sinhf.c: Likewise.
10419 * math/w_sinhl.c: Likewise.
10420 * math/w_tgamma.c: Likewise.
10421 * math/w_tgammaf.c: Likewise.
10422 * math/w_tgammal.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10424 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10425 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10426 Minor optimizations. Pretty printing. Remove cruft.
10427 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10428 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10429 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10430 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10431 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10432 * sysdeps/i386/fpu/e_asin.S: Likewise.
10433 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10434 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10435 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10436 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10437 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10438 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10439 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10440 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10441 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10442 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10443 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10444 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10445 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10446 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10447 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10448 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10449 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10450 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10451 * sysdeps/i386/fpu/e_log.S: Likewise.
10452 * sysdeps/i386/fpu/e_log10.S: Likewise.
10453 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10454 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10455 * sysdeps/i386/fpu/e_log2.S: Likewise.
10456 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10457 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10458 * sysdeps/i386/fpu/e_logf.S: Likewise.
10459 * sysdeps/i386/fpu/e_logl.S: Likewise.
10460 * sysdeps/i386/fpu/e_pow.S: Likewise.
10461 * sysdeps/i386/fpu/e_powf.S: Likewise.
10462 * sysdeps/i386/fpu/e_powl.S: Likewise.
10463 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10464 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10465 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10466 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10467 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10468 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10469 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10470 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10471 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10472 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10475 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10476 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10478 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10479 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10480 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10481 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10482 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10483 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10484 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10485 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10486 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10488 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10489 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10490 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10491 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10492 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10493 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10494 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10495 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10496 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10497 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10498 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10499 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10500 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10501 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10502 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10503 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10504 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10505 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10506 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10507 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10508 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10509 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10510 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10511 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10512 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10513 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10514 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10515 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10516 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10517 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10518 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10519 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10521 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10522 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10523 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10524 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10525 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10527 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10528 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10529 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10530 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10531 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10532 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10533 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10534 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10535 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10536 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10537 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10538 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10539 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10540 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10541 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10542 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10543 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10544 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10545 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10546 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10547 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10549 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10550 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10551 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10552 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10553 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10554 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10555 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10556 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10557 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10558 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10559 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10560 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10561 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10562 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10563 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10564 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10565 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10566 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10567 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10568 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10569 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10570 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10571 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10572 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10573 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10574 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10575 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10576 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10577 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10578 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10579 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10580 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10581 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10582 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10583 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10584 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10585 (__isnanf): Likewise.
10586 (__isinf_ns): Likewise.
10587 (__isinf_nsf): Likewise.
10588 (__finite): Likewise.
10589 (__finitef): Likewise.
10590 (__ieee754_sqrt): Define as macro.
10591 (__ieee754_sqrtf): Define as macro.
10592 (__ieee754_sqrtl): Define as macro.
10593 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10595 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10596 __FINITE_MATH_ONLY__ consistent.
10597 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10599 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10601 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10604 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10606 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10608 * po/ja.po: Update from translation team.
10610 2011-10-08 Roland McGrath <roland@hack.frob.com>
10612 * locale/programs/locarchive.c (prepare_address_space): New function.
10613 (create_archive, enlarge_archive, open_archive): Use it.
10615 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10616 inside [SHARED], where it is used.
10618 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10620 * nss/getent.c (netgroup_keys): Remove unused variable.
10621 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10623 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10625 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10626 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10627 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10628 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10629 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10630 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10631 * math/Makefile (libm-calls): Add s_isinf_ns.
10632 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10633 * math/multc3.c: Likewise.
10634 * math/s_casin.c: Likewise.
10635 * math/s_casinf.c: Likewise.
10636 * math/s_casinl.c: Likewise.
10637 * math/s_ccos.c: Likewise.
10638 * math/s_ccosf.c: Likewise.
10639 * math/s_ccosl.c: Likewise.
10640 * math/s_ctan.c: Likewise.
10641 * math/s_ctanf.c: Likewise.
10642 * math/s_ctanh.c: Likewise.
10643 * math/s_ctanhf.c: Likewise.
10644 * math/s_ctanhl.c: Likewise.
10645 * math/s_ctanl.c: Likewise.
10646 * math/w_fmod.c: Likewise.
10647 * math/w_fmodf.c: Likewise.
10648 * math/w_fmodl.c: Likewise.
10649 * math/w_remainder.c: Likewise.
10650 * math/w_remainderf.c: Likewise.
10651 * math/w_remainderl.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10653 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10654 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10655 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10656 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10657 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10658 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10659 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10661 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10663 * stdio-common/printf_fphex.c: Likewise.
10664 * stdio-common/printf_size.c: Likewise.
10666 * math/e_exp10.c: Include math_private.h using <...> not "...".
10667 * math/e_exp10f.c: Likewise.
10668 * math/e_exp10l.c: Likewise.
10669 * math/e_exp2l.c: Likewise.
10670 * math/e_j0l.c: Likewise.
10671 * math/e_j1l.c: Likewise.
10672 * math/e_jnl.c: Likewise.
10673 * math/e_lgammal_r.c: Likewise.
10674 * math/e_rem_pio2l.c: Likewise.
10675 * math/e_scalb.c: Likewise.
10676 * math/e_scalbf.c: Likewise.
10677 * math/e_scalbl.c: Likewise.
10678 * math/k_cosl.c: Likewise.
10679 * math/k_sinl.c: Likewise.
10680 * math/k_tanl.c: Likewise.
10681 * math/s_cacoshf.c: Likewise.
10682 * math/s_catan.c: Likewise.
10683 * math/s_catanf.c: Likewise.
10684 * math/s_catanh.c: Likewise.
10685 * math/s_catanhf.c: Likewise.
10686 * math/s_catanhl.c: Likewise.
10687 * math/s_catanl.c: Likewise.
10688 * math/s_ccosh.c: Likewise.
10689 * math/s_ccoshf.c: Likewise.
10690 * math/s_ccoshl.c: Likewise.
10691 * math/s_cexp.c: Likewise.
10692 * math/s_cexpf.c: Likewise.
10693 * math/s_cexpl.c: Likewise.
10694 * math/s_clog.c: Likewise.
10695 * math/s_clog10.c: Likewise.
10696 * math/s_clog10f.c: Likewise.
10697 * math/s_clog10l.c: Likewise.
10698 * math/s_clogf.c: Likewise.
10699 * math/s_clogl.c: Likewise.
10700 * math/s_csin.c: Likewise.
10701 * math/s_csinf.c: Likewise.
10702 * math/s_csinh.c: Likewise.
10703 * math/s_csinhf.c: Likewise.
10704 * math/s_csinhl.c: Likewise.
10705 * math/s_csinl.c: Likewise.
10706 * math/s_csqrt.c: Likewise.
10707 * math/s_csqrtf.c: Likewise.
10708 * math/s_csqrtl.c: Likewise.
10709 * math/s_ctan.c: Likewise.
10710 * math/s_ctanf.c: Likewise.
10711 * math/s_ctanh.c: Likewise.
10712 * math/s_ctanhf.c: Likewise.
10713 * math/s_ctanhl.c: Likewise.
10714 * math/s_ctanl.c: Likewise.
10715 * math/s_ldexp.c: Likewise.
10716 * math/s_ldexpf.c: Likewise.
10717 * math/s_ldexpl.c: Likewise.
10718 * math/s_significand.c: Likewise.
10719 * math/s_significandf.c: Likewise.
10720 * math/s_significandl.c: Likewise.
10721 * math/w_acos.c: Likewise.
10722 * math/w_acosf.c: Likewise.
10723 * math/w_acosh.c: Likewise.
10724 * math/w_acoshf.c: Likewise.
10725 * math/w_acoshl.c: Likewise.
10726 * math/w_acosl.c: Likewise.
10727 * math/w_asin.c: Likewise.
10728 * math/w_asinf.c: Likewise.
10729 * math/w_asinl.c: Likewise.
10730 * math/w_atan2.c: Likewise.
10731 * math/w_atan2f.c: Likewise.
10732 * math/w_atan2l.c: Likewise.
10733 * math/w_atanh.c: Likewise.
10734 * math/w_atanhf.c: Likewise.
10735 * math/w_atanhl.c: Likewise.
10736 * math/w_cosh.c: Likewise.
10737 * math/w_coshf.c: Likewise.
10738 * math/w_coshl.c: Likewise.
10739 * math/w_dremf.c: Likewise.
10740 * math/w_exp10.c: Likewise.
10741 * math/w_exp10f.c: Likewise.
10742 * math/w_exp10l.c: Likewise.
10743 * math/w_exp2.c: Likewise.
10744 * math/w_exp2f.c: Likewise.
10745 * math/w_fmod.c: Likewise.
10746 * math/w_fmodf.c: Likewise.
10747 * math/w_fmodl.c: Likewise.
10748 * math/w_hypot.c: Likewise.
10749 * math/w_hypotf.c: Likewise.
10750 * math/w_hypotl.c: Likewise.
10751 * math/w_j0.c: Likewise.
10752 * math/w_j0f.c: Likewise.
10753 * math/w_j0l.c: Likewise.
10754 * math/w_j1.c: Likewise.
10755 * math/w_j1f.c: Likewise.
10756 * math/w_j1l.c: Likewise.
10757 * math/w_jn.c: Likewise.
10758 * math/w_jnf.c: Likewise.
10759 * math/w_jnl.c: Likewise.
10760 * math/w_lgamma.c: Likewise.
10761 * math/w_lgamma_r.c: Likewise.
10762 * math/w_lgammaf.c: Likewise.
10763 * math/w_lgammaf_r.c: Likewise.
10764 * math/w_lgammal.c: Likewise.
10765 * math/w_lgammal_r.c: Likewise.
10766 * math/w_log.c: Likewise.
10767 * math/w_log10.c: Likewise.
10768 * math/w_log10f.c: Likewise.
10769 * math/w_log10l.c: Likewise.
10770 * math/w_log2.c: Likewise.
10771 * math/w_log2f.c: Likewise.
10772 * math/w_log2l.c: Likewise.
10773 * math/w_logf.c: Likewise.
10774 * math/w_logl.c: Likewise.
10775 * math/w_pow.c: Likewise.
10776 * math/w_powf.c: Likewise.
10777 * math/w_powl.c: Likewise.
10778 * math/w_remainder.c: Likewise.
10779 * math/w_remainderf.c: Likewise.
10780 * math/w_remainderl.c: Likewise.
10781 * math/w_scalb.c: Likewise.
10782 * math/w_scalbf.c: Likewise.
10783 * math/w_scalbl.c: Likewise.
10784 * math/w_sinh.c: Likewise.
10785 * math/w_sinhf.c: Likewise.
10786 * math/w_sinhl.c: Likewise.
10787 * math/w_sqrt.c: Likewise.
10788 * math/w_sqrtf.c: Likewise.
10789 * math/w_sqrtl.c: Likewise.
10790 * math/w_tgamma.c: Likewise.
10791 * math/w_tgammaf.c: Likewise.
10792 * math/w_tgammal.c: Likewise.
10794 * po/ja.po: Update from translation team.
10796 2011-09-29 Andreas Jaeger <aj@suse.de>
10799 * sunrpc/netname.c (netname2host): Fix logic.
10803 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10805 * math/w_remainder.c (__remainder): Likewise.
10806 * math/w_remainderf.c (__remainderf): Likewise.
10807 * math/libm-test.inc (remainder_test): Add test cases.
10809 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10811 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10814 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10816 * string/test-memcmp.c: Avoid unncessary #defines.
10817 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10819 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10821 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10822 Use new sse2 version for core i3 - i7 as it's faster
10823 than sse42 version.
10824 (bit_Prefer_PMINUB_for_stringop): New.
10825 * sysdeps/x86_64/rawmemchr.S: Update.
10826 Replace with faster SSE2 version.
10827 * sysdeps/x86_64/memrchr.S: New file.
10828 * sysdeps/x86_64/memchr.S: Update.
10829 Replace with faster SSE2 version.
10831 2011-09-12 Marek Polacek <mpolacek@redhat.com>
10833 * elf/dl-load.c (lose): Add cast to avoid warning.
10835 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10837 * po/ca.po: Update from translation team.
10839 * inet/getnetgrent_r.c: Hook up nscd.
10840 * nscd/Makefile (routines): Add nscd_netgroup.
10841 (nscd-modules): Add netgroupcache.
10842 (CFLAGS-netgroupcache.c): Define.
10843 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10844 (cache_search): Add const to second parameter.
10845 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10847 (dbs): Add netgrdb entry.
10848 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10849 (verify_persistent_db): Handle netgrdb.
10850 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10851 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10853 (netgroup_response_header): Define.
10854 (innetgroup_response_header): Define.
10855 (datahead): Add netgroup_response_header and innetgroup_response_header
10857 * nscd/nscd.conf: Add entries for netgroup cache.
10858 * nscd/nscd.h (dbtype): Add netgrdb.
10859 (_PATH_NSCD_NETGROUP_DB): Define.
10860 (netgroup_iov_disabled): Declare.
10861 (xmalloc, xcalloc, xrealloc): Move declarations here.
10862 (cache_search): Adjust prototype.
10863 Add netgroup-related prototypes.
10864 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10865 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10866 (__nscd_innetgr): Declare.
10867 * nscd/selinux.c (perms): Use access_vector_t as element type and
10868 add netgroup-related initializers.
10869 * nscd/netgroupcache.c: New file.
10870 * nscd/nscd_netgroup.c: New file.
10871 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10872 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10873 For four parameters use innetgr.
10874 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10875 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10876 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10877 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10879 * nscd/connections.c (register_traced_file): Don't register file
10880 for disabled databases.
10882 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10884 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10886 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10887 from tree and freeing node.
10889 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10891 * nss/nsswitch.c (__nss_database_lookup): Handle
10892 nss_parse_service_list out of memory case.
10894 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10896 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10897 out of memory case.
10899 2011-10-04 Andreas Schwab <schwab@redhat.com>
10901 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10902 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10904 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10905 elf_machine_rela, elf_machine_lazy_rel.
10906 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10907 (ELF_DYNAMIC_DO_REL): Likewise.
10908 (ELF_DYNAMIC_DO_RELA): Likewise.
10909 (ELF_DYNAMIC_RELOCATE): Likewise.
10910 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10911 to ELF_DYNAMIC_DO_REL.
10912 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10913 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10914 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10916 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10917 skip_ifunc, don't call ifunc function if non-zero.
10918 (elf_machine_rela): Likewise.
10919 (elf_machine_lazy_rel): Likewise.
10920 (elf_machine_lazy_rela): Likewise.
10921 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10922 (elf_machine_lazy_rel): Likewise.
10923 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10925 (elf_machine_lazy_rel): Likewise.
10926 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10928 (elf_machine_lazy_rel): Likewise.
10929 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10930 (elf_machine_lazy_rel): Likewise.
10931 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10932 (elf_machine_lazy_rel): Likewise.
10933 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10934 (elf_machine_lazy_rel): Likewise.
10935 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10936 (elf_machine_lazy_rel): Likewise.
10937 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10938 (elf_machine_lazy_rel): Likewise.
10939 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10940 (elf_machine_lazy_rel): Likewise.
10942 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10944 * nss/nss_files/files-init.c (_nss_files_init): Use static
10945 initialization for all the *_traced_file variables.
10947 2011-09-28 Andreas Schwab <schwab@redhat.com>
10949 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10951 2011-09-27 Roland McGrath <roland@hack.frob.com>
10954 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10956 2011-09-27 Andreas Schwab <schwab@redhat.com>
10958 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10959 Reread the line before reparsing it.
10961 2011-09-26 Andreas Schwab <schwab@redhat.com>
10963 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10965 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10966 Maxim Kuvyrkov <maxim@codesourcery.com>
10967 Joseph Myers <joseph@codesourcery.com>
10969 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10970 if needed for __stack_chk_guard.
10972 2011-09-19 Roland McGrath <roland@hack.frob.com>
10974 * sysdeps/posix/spawni.c (script_execute): Always define it.
10975 It will be optimized away if unused.
10976 (maybe_script_execute): New function.
10977 (__spawni): Call it.
10979 * Makerules: Don't include tls.make.
10980 (config-tls): Always set to thread.
10981 * tls.make.c: File removed.
10983 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10985 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10986 * config.make.in (CPPFLAGS-config): New substituted variable.
10988 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10990 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10993 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10994 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10996 2011-09-15 Roland McGrath <roland@hack.frob.com>
10998 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10999 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11000 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11001 (CALL_FAIL): Likewise.
11002 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11003 (CALL_FAIL): Macro removed.
11004 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11006 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11008 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11009 for __FINITE_MATH_ONLY__ == 1.
11011 2011-09-15 Andreas Schwab <schwab@redhat.com>
11013 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11014 __ieee754_sqrt instead of sqrt.
11015 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11016 __ieee754_sqrtf instead of sqrtf.
11017 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11018 __floorf instead of floorf.
11019 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11020 __floorf, __truncf instead of floorf, truncf.
11022 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11024 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11026 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11027 __extern_always_inline.
11028 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11031 2011-09-14 Andreas Schwab <schwab@redhat.com>
11033 * elf/rtld.c (dl_main): Also relocate in dependency order when
11034 doing symbol dependency testing.
11036 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11038 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11039 Always define `refsym'.
11041 2011-09-13 Andreas Schwab <schwab@redhat.com>
11043 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11044 (__FD_ELT): Renamed from __FDELT.
11045 * misc/bits/select2.h (__FD_ELT): Likewise.
11046 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11047 __FD_MASK instead of __FDELT, __FDMASK.
11048 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11050 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11053 * elf/Makefile (gen-ldd): Fix pattern.
11055 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11056 (init_tls): Likewise.
11058 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11060 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11062 2011-09-12 Andreas Schwab <schwab@redhat.com>
11064 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11065 `struct cmsghdr *' instead of `void *'.
11066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11069 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11071 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11073 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11074 ldd_rewrite_script.
11076 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11078 * configure.in: Remove --with-tls option.
11079 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11080 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11081 out in case it is missing.
11082 * sysdeps/ia64/elf/configure.in: Likewise.
11083 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11084 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11085 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11086 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11087 * sysdeps/sh/elf/configure.in: Likewise.
11088 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11089 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11090 * sysdeps/x86_64/elf/configure.in: Likewise.
11091 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11092 * sysdeps/mach/hurd/tls.h: Likewise.
11095 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11098 * configure.in: Fix use of AC_INIT.
11100 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11102 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11104 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11106 * malloc/hooks.c: Likewise.
11109 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11110 variables statically.
11111 (narenas): Initialize.
11112 (list_lock): Initialize.
11113 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11114 initializtion of main_arena and list_lock. Small cleanups.
11115 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11116 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11117 Add initializers to main_arena and mp_.
11118 (malloc_state): Remove pagesize member. Change all users to use
11121 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11122 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11123 is always initialized.
11125 * malloc/malloc.c: Removed unused configurations and dead code.
11126 * malloc/arena.c: Likewise.
11127 * malloc/hooks.c: Likewise.
11128 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11130 * include/tls.h: Removed. USE___THREAD must always be defined.
11131 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11132 * elf/dl-libc.c: Likewise.
11133 * elf/dl-tsd.c: Likewise.
11134 * include/errno.h: Likewise.
11135 * include/netdb.h: Likewise.
11136 * include/resolv.h: Likewise.
11137 * inet/herrno-loc.c: Likewise.
11138 * inet/herrno.c: Likewise.
11139 * malloc/arena.c: Likewise.
11140 * malloc/hooks.c: Likewise.
11141 * malloc/malloc.c: Likewise.
11142 * resolv/res-state.c: Likewise.
11143 * resolv/res_libc.c: Likewise.
11144 * sysdeps/i386/dl-machine.h: Likewise.
11145 * sysdeps/ia64/dl-machine.h: Likewise.
11146 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11147 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11148 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11149 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11150 * sysdeps/sh/dl-machine.h: Likewise.
11151 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11152 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11153 * sysdeps/unix/i386/sysdep.S: Likewise.
11154 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11155 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11156 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11157 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11158 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11159 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11160 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11161 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11162 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11164 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11165 * sysdeps/x86_64/dl-machine.h: Likewise.
11166 * tls.make.c: Likewise.
11168 * configure.in: Remove --with-__thread option. Make tests for
11169 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11170 tls_model attribute fail if no support is available. Remove
11172 * Makeconfig: Adjust for dropped configure option. All features are
11174 * Makerules: Likewise.
11175 * Versions.def: Likewise.
11176 * argp/argp-fmtstream.c: Likewise.
11177 * argp/argp-fmtstream.h: Likewise.
11178 * argp/argp-help.c: Likewise.
11179 * assert/assert.c: Likewise.
11180 * config.h.in: Likewise.
11181 * config.make.in: Likewise.
11182 * configure: Likewise.
11183 * configure.in: Likewise.
11184 * csu/Versions: Likewise.
11185 * csu/init.c: Likewise.
11186 * elf/tst-audit2.c: Likewise.
11187 * elf/tst-tls10.c: Likewise.
11188 * elf/tst-tls10.h: Likewise.
11189 * elf/tst-tls11.c: Likewise.
11190 * elf/tst-tls12.c: Likewise.
11191 * elf/tst-tls14.c: Likewise.
11192 * elf/tst-tlsmod11.c: Likewise.
11193 * elf/tst-tlsmod12.c: Likewise.
11194 * elf/tst-tlsmod13.c: Likewise.
11195 * elf/tst-tlsmod13a.c: Likewise.
11196 * elf/tst-tlsmod14a.c: Likewise.
11197 * elf/tst-tlsmod15b.c: Likewise.
11198 * elf/tst-tlsmod16a.c: Likewise.
11199 * elf/tst-tlsmod16b.c: Likewise.
11200 * elf/tst-tlsmod7.c: Likewise.
11201 * elf/tst-tlsmod8.c: Likewise.
11202 * elf/tst-tlsmod9.c: Likewise.
11203 * gmon/gmon.c: Likewise.
11204 * grp/fgetgrent_r.c: Likewise.
11205 * grp/putgrent.c: Likewise.
11206 * hurd/fopenport.c: Likewise.
11207 * include/libc-symbols.h: Likewise.
11208 * include/tls.h: Likewise.
11209 * intl/gettextP.h: Likewise.
11210 * intl/loadinfo.h: Likewise.
11211 * locale/global-locale.c: Likewise.
11212 * locale/localeinfo.h: Likewise.
11213 * mach/devstream.c: Likewise.
11214 * malloc/arena.c: Likewise.
11215 * malloc/set-freeres.c: Likewise.
11216 * misc/err.c: Likewise.
11217 * misc/getttyent.c: Likewise.
11218 * misc/mntent_r.c: Likewise.
11219 * posix/getopt.c: Likewise.
11220 * posix/wordexp.c: Likewise.
11221 * pwd/fgetpwent_r.c: Likewise.
11222 * resolv/Versions: Likewise.
11223 * resolv/res_hconf.c: Likewise.
11224 * shadow/fgetspent_r.c: Likewise.
11225 * shadow/putspent.c: Likewise.
11226 * stdio-common/printf_fphex.c: Likewise.
11227 * stdio-common/tmpfile.c: Likewise.
11228 * stdlib/abort.c: Likewise.
11229 * stdlib/fmtmsg.c: Likewise.
11230 * sunrpc/auth_unix.c: Likewise.
11231 * sunrpc/clnt_perr.c: Likewise.
11232 * sunrpc/clnt_tcp.c: Likewise.
11233 * sunrpc/clnt_udp.c: Likewise.
11234 * sunrpc/clnt_unix.c: Likewise.
11235 * sunrpc/openchild.c: Likewise.
11236 * sunrpc/svc_simple.c: Likewise.
11237 * sunrpc/svc_tcp.c: Likewise.
11238 * sunrpc/svc_udp.c: Likewise.
11239 * sunrpc/svc_unix.c: Likewise.
11240 * sunrpc/xdr.c: Likewise.
11241 * sunrpc/xdr_array.c: Likewise.
11242 * sunrpc/xdr_rec.c: Likewise.
11243 * sunrpc/xdr_ref.c: Likewise.
11244 * sunrpc/xdr_stdio.c: Likewise.
11246 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11248 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11250 2011-07-03 Andreas Jaeger <aj@suse.de>
11252 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11253 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11254 regenerate with gen-libm-tests.pl.
11256 2010-05-12 Petr Baudis <pasky@suse.cz>
11259 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11260 around j0() zero points by switching to j1().
11261 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11262 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11266 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11268 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11270 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11272 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11273 Patch in part by Pavel Roskin <proski@gnu.org>.
11276 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11278 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11279 Free memory block if necessary.
11282 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11283 be NULL. Don't lock in this case.
11285 2011-09-09 Roland McGrath <roland@hack.frob.com>
11287 * elf/elf.h (ELFOSABI_GNU): New macro.
11288 (ELFOSABI_LINUX): Define to that.
11290 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11292 * string/strncat.c (strncat): Undef the symbol in case it has been
11293 defined in bits/string.h.
11295 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11297 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11299 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11302 2011-08-17 Andreas Jaeger <aj@suse.de>
11304 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11306 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11307 Ian Lance Taylor <iant@google.com>
11309 * math/libm-test.inc (lround_test): New testcase.
11310 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11312 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11314 * Makefile: Remove support for automatic cvs check-ins.
11315 * Makerules: Likewise.
11316 * config.make.in: Likewise.
11317 * configure.in: Likewise.
11318 * intl/Makefile: Likewise.
11319 * locale/Makefile: Likewise.
11320 * po/Makefile: Likewise.
11321 * posix/Makefile: Likewise.
11322 * sysdeps/gnu/Makefile: Likewise.
11323 * sysdeps/mach/hurd/Makefile: Likewise.
11324 * sysdeps/sparc/sparc32/Makefile: Likewise.
11327 * posix/Makefile (bug-regex32-ENV): Define.
11328 Patch by John Stanley <jpsinthemix@verizon.net>.
11330 * misc/Makefile (headers): Add bits/select2.h.
11331 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11332 * misc/bits/select2.h: New file.
11333 * include/bits/select2.h: New file.
11334 * debug/Makefile (routines): Add fdelt_chk.
11335 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11336 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11338 * debug/fdelt_chk.c: New file.
11340 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11341 * wcsmbs/test-wmemcmp.c: Likewise.
11342 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11343 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11345 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11347 * string/Makefile (strop-tests): Add memcmp.
11348 * string/test-wmemcmp.c: New file.
11349 * string/test-memcmp.c: Add wmemcmp support.
11351 2011-09-08 Roland McGrath <roland@hack.frob.com>
11354 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11357 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11358 garbage value in a __mach_port_mod_refs call in the cases of the
11359 task-self and thread-self ports.
11361 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11363 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11365 2011-09-08 Andreas Schwab <schwab@redhat.com>
11367 * elf/dl-load.c (lose): Check for non-null L.
11369 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11371 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11373 * elf/dl-libc.c (dlerror_run): Pass back error code from
11377 * elf/dl-load.c (lose): Free l_origin if it is valid.
11379 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11381 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11382 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11383 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11384 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11385 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11386 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11388 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11390 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11391 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11392 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11393 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11394 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11395 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11396 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11397 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11398 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11399 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11401 2011-08-15 Alan Modra <amodra@gmail.com>
11404 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11405 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11406 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11407 ppc_mcount to static-only-routines.
11408 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11410 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11411 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11413 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11415 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11416 for finite and infinity parameters.
11418 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11420 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11421 and add nop instructions for throughput optimization.
11422 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11424 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11426 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11427 aligned copy for power7 with vector-scalar instructions.
11428 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11430 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11432 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11435 2011-09-07 Andreas Schwab <schwab@redhat.com>
11438 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11441 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11443 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11444 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11445 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11446 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11449 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11451 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11452 Forgot to demangle the pointer.
11454 * sysdeps/i386/sysdep.h: Define atom_text_section.
11455 * sysdeps/x86_64/sysdep.h: Likewise.
11456 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11457 section with atom_text_section.
11458 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11459 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11460 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11461 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11462 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11464 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11465 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11466 already be defined. Change to take two parameters and don't assign
11467 result to variable. Adjust all users.
11468 Define INTERNAL_GETTIME if not already defined.
11469 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11472 HAVE_CLOCK_GETTIME_VSYSCALL.
11473 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11475 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11476 gettimeofday vsyscall, just use time.
11478 2011-09-06 Andreas Schwab <schwab@redhat.com>
11480 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11483 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11485 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11487 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11489 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11490 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11491 syscall if possible.
11493 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11495 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11496 e_ident. Don't pass to find_mapsXX.
11497 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11499 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11502 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11503 * sysdeps/x86_64/multiarch/strchr.S: Update.
11504 Check bit_slow_BSF bit.
11505 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11506 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11507 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11509 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11512 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11514 (tryshell): Define.
11515 (__spawni): Change last parameter to be flag. Test
11516 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11517 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11518 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11519 * posix/spawni.c: Likewise.
11520 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11521 * posix/spawnp.c: Likewise. Change normal version to use
11522 SPAWN_XFLAGS_USE_PATH.
11523 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11524 SPAWN_XFLAGS_TRY_SHELL.
11527 * posix/glob.h: Remove gcc 1.x support.
11530 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11532 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11535 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11537 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11538 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11539 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11540 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11541 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11542 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11544 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11546 * sysdeps/x86_64/wcscmp.S: New file.
11548 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11549 wcscmp-c wcscmp-sse2
11550 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11551 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11552 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11553 * wcsmbs/wcscmp.c: Allow renaming.
11555 2011-09-05 David S. Miller <davem@davemloft.net>
11557 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11558 stack slot, rather than the struct return pointer slot.
11559 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11560 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11562 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11564 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11566 * po/ja.po: Update from translation team.
11569 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11570 kernel in 64-bit binaries.
11572 2011-09-01 David S. Miller <davem@davemloft.net>
11574 * elf/elf.h (HWCAP_SPARC_*): Move to..
11575 * sysdeps/sparc/sysdep.h: this new file and add new values.
11576 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11577 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11578 _DL_HWCAP_COUNT to 24.
11579 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11581 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11582 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11583 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11584 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11585 instead of magic constants.
11586 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11588 2011-08-31 David S. Miller <davem@davemloft.net>
11590 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11592 Reimplement to do errno handling inline.
11593 (SYSCALL_ERROR_HANDLER): New macro.
11594 (__SYSCALL_STRING): Do not do errno handling in asm.
11595 (__CLONE_SYSCALL_STRING): Delete.
11596 (__INTERNAL_SYSCALL_STRING): Delete.
11597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11598 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11599 (PSEUDO): Reimplement to do errno handling inline.
11600 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11601 (SYSCALL_ERROR_HANDLER): New macro.
11602 (__SYSCALL_STRING): Do not do errno handling in asm.
11603 (__CLONE_SYSCALL_STRING): Delete.
11604 (__INTERNAL_SYSCALL_STRING): Delete.
11605 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11606 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11608 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11609 (inline_syscall*): Add 'err' argument.
11610 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11611 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11612 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11613 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11615 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11616 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11618 2011-08-30 Andreas Schwab <schwab@redhat.com>
11620 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11622 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11624 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11627 2011-08-24 David S. Miller <davem@davemloft.net>
11629 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11631 2011-08-24 Andreas Schwab <schwab@redhat.com>
11633 * elf/Makefile: Add rules to build and run unload8 test.
11634 * elf/unload8.c: New file.
11635 * elf/unload8mod1.c: New file.
11636 * elf/unload8mod1x.c: New file.
11637 * elf/unload8mod2.c: New file.
11638 * elf/unload8mod3.c: New file.
11640 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11643 2011-08-23 David S. Miller <davem@davemloft.net>
11645 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11646 subtract stack bias.
11647 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11648 %sp not %fp in calculations.
11649 (_JMPBUF_UNWINDS_ADJ): Likewise.
11651 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11652 (aio_suspend): Call it to force an exception region around the
11653 AIO_MISC_WAIT() invocation.
11655 2011-08-23 Andreas Schwab <schwab@redhat.com>
11657 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11660 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11662 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11664 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11665 and <dl-machine.h>.
11666 (Elf64_FuncDesc): Remove.
11668 2011-08-22 David S. Miller <davem@davemloft.net>
11670 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11671 sigaltstack check, add missing cfi directives.
11672 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11673 missing cfi directives, and sigaltstack handling.
11675 2011-08-16 Andreas Schwab <schwab@redhat.com>
11678 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11679 object is seen twice.
11680 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11682 * elf/Makefile (distribute): Add tst-initorder2.c.
11683 (tests): Add tst-initorder2.
11684 (modules-names): Add tst-initorder2a tst-initorder2b
11685 tst-initorder2c tst-initorder2d. Add rules to build them.
11686 ($(objpfx)tst-initorder2.out): New rule.
11687 * elf/tst-initorder2.c: New file.
11688 * elf/tst-initorder2.exp: New file.
11690 2011-08-22 Andreas Schwab <schwab@redhat.com>
11692 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11694 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11695 dependencies back to end of function.
11697 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11698 $(elfobjdir)/ld.so.
11700 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11702 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11703 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11704 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11705 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11706 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11707 of __vdso_gettimeofday.
11708 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11709 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11711 (_libc_vdso_platform_setup): Remove initialization of
11712 __vdso_gettimeofday and __vdso_time.
11714 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11716 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11717 and fgetc_unlocked.
11718 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11721 * elf/dl-open.c (add_to_global): Report additions to the global scope
11722 for LD_DEBUG=scopes.
11723 (dl_open_worker): Also print scope of newly loaded dependencies.
11724 (_dl_show_scope): Indicate if there is no scope.
11727 * stdio-common/Makefile (tests): Add bug24.
11728 * stdio-common/bug24.c: New file.
11730 2011-08-19 Andreas Jaeger <aj@suse.de>
11733 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11734 non-existant file when using close-on-exec mode.
11736 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11738 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11739 the very first instruction.
11741 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11742 the CFI state in the end.
11743 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11744 inclusion of dl-trampoline.h.
11745 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11747 2011-08-19 Andreas Schwab <schwab@redhat.com>
11749 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11750 expectations for long double.
11752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11753 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11755 2011-08-14 David S. Miller <davem@davemloft.net>
11757 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11758 artificual limit depends upon the system page size.
11760 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11762 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11763 * resolv/Makefile: Define CFLAGS-libresolv.
11765 2011-08-17 Andreas Schwab <schwab@redhat.com>
11767 * nss/makedb.c (compute_tables): Make variables used in nested
11770 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11772 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11773 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11774 if buffer was too small.
11776 * elf/pldd.c (main): Attach to all threads in the process.
11777 Rewrite /proc handling to use *at functions.
11779 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11781 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11782 specifies first scope to show.
11783 (dl_open_worker): Update callers. Move printing scope of new
11784 object to before the relocation.
11785 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11786 * sysdeps/generic/ldsodefs.h: Update declaration.
11788 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11789 string for the scope number.
11791 2011-08-14 Ulrich Drepper <drepper@gmail.com>
11793 * nscd/servicescache.c (cache_addserv): Make sure written is always
11796 2011-08-14 Roland McGrath <roland@hack.frob.com>
11798 * sysdeps/i386/i486/bits/atomic.h
11799 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11800 statement expression, so as to suppress "set but not used" warning.
11801 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11803 * string/strncat.c (STRNCAT): Use prototype definition.
11805 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11806 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11808 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11809 (localedef-modules): Add localedef.
11810 (locale-modules): Add locale.
11812 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11813 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11814 to avoid a warning.
11816 2011-08-14 David S. Miller <davem@davemloft.net>
11818 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11819 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11821 2011-08-13 Ulrich Drepper <drepper@gmail.com>
11823 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11824 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11825 * elf/rtld.c (dl_main): Set l_name of vDSO.
11826 Call _dl_show_scope when DL_DEBUG_SCOPES.
11827 (process_dl_debug): Recognize scopes flag and also set it for all.
11828 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11829 Declare _dl_show_scope.
11831 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11832 (do_dlopen): Pass caller_dlopen to dl_open.
11833 (__libc_dlopen_mode): Initialize caller_dlopen.
11835 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11836 of libc. Make tolower call locale-independent. Optimize a bit by
11837 using isdigit instead of isalnum.
11838 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11840 2011-08-12 Ulrich Drepper <drepper@gmail.com>
11842 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11843 was a dependency or dynamically loaded.
11845 2011-08-11 Ulrich Drepper <drepper@gmail.com>
11847 * intl/l10nflist.c: Allow architecture-specific pop function.
11848 * sysdeps/x86_64/l10nflist.c: New file.
11850 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11853 2011-08-10 Andreas Schwab <schwab@redhat.com>
11855 * include/dirent.h: Add libc_hidden_proto for scandirat and
11856 scandirat64. Don't declare __scandirat64.
11857 * dirent/scandirat.c: Add libc_hidden_def.
11858 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11859 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11861 2011-08-10 David S. Miller <davem@davemloft.net>
11863 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11865 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11866 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11867 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11869 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11871 * Versions.def [libc]: Add GLIBC_2.15.
11872 * dirent/Makefile (routines): Add scandirat and scandirat64.
11873 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11875 * dirent/dirent.h: Declare scandirat and scandirat64.
11876 * dirent/scandirat.c: New file.
11877 * dirent/scandirat64.c: New file.
11878 * sysdeps/wordsize-64/scandirat.c: New file.
11879 * sysdeps/wordsize-64/scandirat64.c: New file.
11880 * dirent/opendir.c: Define opendirat.
11881 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11883 * dirent/scandir64.c: Adjust for scandir.c change.
11884 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11885 __scandirat64, and __scandir_cancel_handler.
11886 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11887 additional parameter and use openat instead of open (outside of ld.so).
11888 Add new __opendir as wrapper around __opendirat.
11889 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11890 here without requiring old scandirat implementation.
11892 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11894 * dirent/scandir.c (cancel_handler): Renamed to
11895 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11896 defined. Adjust users.
11897 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11898 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11900 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11902 * string/test-string.h (IMPL): Use __STRING to expand name and then
11905 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11908 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11910 * string/Makefile: Update.
11911 (strop-tests): Append strncat.
11912 * string/test-wcscmp.c: New file.
11913 New comprehensive test for wcscmp.
11914 * string/test-strcmp.c: Update.
11915 (WIDE): New define.
11917 2011-07-22 Andreas Schwab <schwab@redhat.com>
11919 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11922 2011-07-26 Andreas Schwab <schwab@redhat.com>
11924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11925 encoding to ACE if AI_IDN.
11927 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11929 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11930 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11932 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11934 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11935 Fix overflow bug in strncat.
11936 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11938 * string/test-strncat.c: Update.
11939 Add new tests for checking overflow bugs.
11941 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11944 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11945 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11946 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11947 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11948 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11949 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11950 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11951 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11953 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11954 (USE_AS_STRCAT): Define.
11955 Add strcat and strncat support.
11956 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11958 2011-07-25 Andreas Schwab <schwab@redhat.com>
11960 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11961 __n bigger than INT_MAX+1.
11962 (__strncmp_g): Likewise.
11964 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11966 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11967 * libio/stido.h: Likewise.
11969 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11971 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11974 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11975 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11976 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11977 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11978 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11981 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11984 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11986 (_dl_x86_64_save_sse): Likewise.
11988 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11990 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11992 (_dl_x86_64_save_sse): Likewise.
11994 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11996 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11998 2011-07-21 Andreas Schwab <schwab@redhat.com>
12000 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12002 (_dl_x86_64_save_sse): Use correct AVX check.
12004 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12006 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12007 bug in strncpy/strncat.
12008 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12010 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12012 * string/tester.c (test_strcat): Add tests for different alignments
12013 of source and destination.
12014 (test_strncat): Likewise.
12016 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12019 * posix/glob.c (glob): Check passed in values before using them in
12020 expressions to avoid some overflows.
12021 (glob_in_dir): Likewise.
12024 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12025 check for AVX enablement so that we don't crash with old kernels and
12027 * elf/tst-audit4.c: Add same checks here.
12028 * elf/tst-audit6.c: Likewise.
12030 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12032 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12034 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12036 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12038 * po/cs.po: Update from translation team.
12039 * po/bg.po: Likewise.
12041 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12043 * misc/sys/cdefs.h: Add support for const attribute.
12044 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12045 to gnu_dev_{major,minor,makedev} functions.
12047 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12049 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12051 2011-07-20 Andreas Schwab <schwab@redhat.com>
12053 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12056 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12058 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12059 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12060 register in order to avoid conflicts with the soft frame pointer
12061 being held in r11 when necessary.
12062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12063 (INTERNAL_VSYSCALL_NCS): Likewise.
12065 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12067 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12068 * elf/dl-fini.c (_dl_fini): Adjust caller.
12069 * elf/dl-close.c (_dl_close_worker): Likewise.
12070 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12072 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12074 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12075 "aux_cache->nlibs < 0".
12077 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12078 in the reload-count case.
12080 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12083 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12084 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12085 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12086 * sysdeps/x86_64/multiarch/strcat.S: New file.
12087 * sysdeps/x86_64/multiarch/strncat.S: New file.
12088 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12089 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12090 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12091 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12092 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12093 (USE_AS_STRCAT): Define.
12094 Add strcat and strncat support.
12095 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12097 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12098 * string/strncat.c: Update.
12099 (USE_AS_STRNCAT): Define.
12100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12101 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12103 * sysdeps/x86_64/multiarch/init-arch.h
12104 (bit_Prefer_PMINUB_for_stringop): New.
12105 (index_Prefer_PMINUB_for_stringop): Likewise.
12106 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12107 bit_Prefer_PMINUB_for_stringop.
12109 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12111 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12113 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12114 of casting of buffer.
12115 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12116 buffer32 and buffer64.
12117 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12118 writes instead of casting of buffer.
12119 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12121 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12124 2011-07-19 Andreas Schwab <schwab@redhat.com>
12126 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12128 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12130 * nscd/nscd.c (termination_handler): Don't do anything for a database
12131 if it has not yet been initialized.
12133 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12135 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12137 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12139 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12141 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12143 * po/nl.po: Update from translation team.
12144 * po/sv.po: Likewise.
12146 2011-07-16 Roland McGrath <roland@hack.frob.com>
12148 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12149 now disallowed by GCC.
12151 * configure.in (use-default-link): Default to yes if a test -shared
12152 link meets our qualifications.
12153 * configure: Regenerated.
12155 * config.make.in (output-format): New variable.
12156 * configure.in: Check for ld --print-output-format support.
12157 * configure: Regenerated.
12158 * Makerules ($(common-objpfx)format.lds)
12159 [$(output-format) != unknown]: Just use $(output-format),
12160 instead of the linker-script munging.
12162 2011-07-14 Roland McGrath <roland@hack.frob.com>
12164 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12165 of $(common-objpfx)shlib.lds.
12166 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12168 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12169 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12171 * configure.in (-z relro check): Adjust test code to add a large
12172 writable data section after it.
12173 * configure: Regenerated.
12175 2011-07-11 Roland McGrath <roland@hack.frob.com>
12177 * configure.in (-z relro check): Fix test code to make the variable
12179 * configure: Regenerated.
12181 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12183 * nscd/nscd.h (struct traced_file): Define.
12184 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12185 elements. Add traced_files.
12186 (inotify_fd): Declare.
12187 (register_traced_file): Declare.
12188 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12189 (inotify_fd): Export.
12190 (resolv_conf_descr): Remove.
12191 (nscd_init): Move inotify descriptor creation to main.
12192 Don't register files for notification here.
12193 (register_traced_file): New function.
12194 (invalidate_cache): Don't use reset_res to determine whether to call
12195 res_init, go through the list of registered files.
12196 (main_loop_poll): The inotify descriptors are now stored in the
12197 structures for the traced files.
12198 (main_loop_epoll): Likewise
12199 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12200 to __nss_disable_nscd.
12201 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12202 for a database anymore. Check the records for all the registered
12204 * nss/Makefile (libnss_files-routines): Add files-init.
12205 (libnss_db-routines): Add db-init.
12206 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12207 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12208 * nss/nss_db/db-init.c: New file.
12209 * nss/nss_files/files-init.c: New file.
12210 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12211 __nss_lookup_function.
12212 (__nss_lookup_function): Call nss_load_library.
12213 (nss_load_all_libraries): New function.
12214 (__nss_disable_nscd): Take parameter with callback function for files
12215 to register. Set is_nscd. Load all the DSOs for the NSS modules
12216 used for the cached services.
12217 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12218 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12219 options for features to all the files in nscd.
12221 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12223 2011-07-10 Roland McGrath <roland@hack.frob.com>
12225 * csu/elf-init.c (__libc_csu_init): Comment typo.
12227 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12229 * po/pl.po: Update from translation team.
12230 * po/ja.po: Likewise.
12231 * po/ru.po: Likewise.
12232 * po/ko.po: Likewise.
12233 * po/fr.po: Likewise.
12235 2011-07-09 Roland McGrath <roland@hack.frob.com>
12237 * configure.in (.ctors/.dtors header and trailer check):
12238 Use an empirical test on a built program.
12239 * configure: Regenerated.
12241 * configure.in (-z relro check): Use an empirical test on a built DSO.
12242 Detect, but do not require, on ia64.
12243 * configure: Regenerated.
12245 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12246 Update tests that use readelf to use $READELF instead.
12247 * configure: Regenerated.
12249 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12251 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12252 if the result is not used.
12254 2011-07-05 Andreas Jaeger <aj@suse.de>
12257 * stdlib/tst-strtod.c: Add testcase.
12259 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12261 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12262 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12263 The latter has a higher limit. Take additional parameter to pass to
12265 (__pathconf): Pass file to __statfs_link_max.
12266 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12268 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12272 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12273 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12275 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12276 (__statfs_filesize_max): Likewise.
12277 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12279 2011-07-05 Andreas Jaeger <aj@suse.de>
12281 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12283 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12285 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12287 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12290 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12292 * Makefile (strop-tests): Add strncat.
12293 * string/test-strncat.c: New file.
12295 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12297 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12299 2011-06-21 Andreas Jaeger <aj@suse.de>
12301 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12302 Copy rule from iconvdata/Makefile.
12304 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12307 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12308 but no long options are defined, just return 'W'.
12310 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12313 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12315 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12317 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12319 (innetgr): Likewise.
12321 2011-07-05 Roland McGrath <roland@hack.frob.com>
12323 * config.make.in (install_root): Default to $(DESTDIR).
12325 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12327 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12329 2011-07-02 Roland McGrath <roland@hack.frob.com>
12331 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12333 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12334 containing directory rather than embedding absolute directory names.
12336 * scripts/check-local-headers.sh: Rewritten using awk.
12337 Match by word, not by line. Print error messages for matches.
12338 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12340 * Makerules [shlib-lds-flags empty]:
12341 ($(common-objpfx)libc_pic.opts): New target.
12342 ($(common-objpfx)libc_pic.os.clean): New target.
12343 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12345 * config.make.in (OBJCOPY): New variable.
12346 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12347 * configure: Regenerated.
12349 * config.make.in (use-default-link): New variable.
12350 * configure.in (use_default_link): Grok --with-default-link to set it.
12351 * configure: Regenerated.
12352 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12353 (shlib-lds, shlib-lds-flags): Define to empty.
12355 * Makerules (shlib-lds): New variable.
12356 (shlib-lds-flags): New variable.
12357 (build-shlib, build-moduile, build-module-asneeded): Use it.
12358 ($(common-objpfx)libc.so): Use $(shlib-lds).
12359 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12360 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12362 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12363 DT_FLAGS/DT_FLAGS_1 with zero flags.
12365 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12366 linker script munging.
12368 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12370 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12372 * crypt/sha512.c (sha512_process_block): Perform total addition using
12373 128-bit if possible.
12374 (__sha512_finish_ctx): Likewise.
12375 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12377 * crypt/sha256.c (SWAP64): Define.
12378 (sha256_process_block): Perform total addition using 64-bit if
12380 (__sha256_finish_ctx): Likewise.
12382 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12384 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12385 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12386 * nscd/hstcache.c (cache_addhst): Likewise.
12387 * nscd/grpcache.c (cache_addgr): Likewise.
12388 * nscd/aicache.c (addhstaiX): Likewise
12389 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12391 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12393 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12394 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12395 * nscd/hstcache.c (cache_addhst): Likewise.
12396 * nscd/grpcache.c (cache_addgr): Likewise.
12397 * nscd/aicache.c (addhstaiX): Likewise
12399 2011-07-01 Andreas Schwab <schwab@redhat.com>
12401 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12402 domain only when needed.
12404 2011-06-30 Andreas Schwab <schwab@redhat.com>
12406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12407 is always restored.
12409 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12411 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12412 are re-adding the entry.
12413 * nscd/servicescache.c (cache_addserv): Likewise.
12415 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12417 * sysdeps/generic/dl-irel.h: fix protection against multiple
12419 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12421 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12424 * malloc/memusage.sh: Fix quoting in message.
12425 * debug/xtrace.sh: Likewise.
12427 * configure.in: Remove support for --experimental-malloc option, make
12429 * config.make.in: Likewise.
12430 * malloc/Makefile: Likewise.
12432 2011-06-27 Andreas Schwab <schwab@redhat.com>
12434 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12435 two-byte characters.
12437 2011-06-27 Roland McGrath <roland@hack.frob.com>
12439 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12440 AC_CACHE_CHECK invocation.
12441 * configure: Regenerated.
12443 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12445 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12448 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12449 bit from old_res_options.
12451 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12453 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12454 value type for setfct.
12456 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12458 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12459 __gettimeofday instead of gettimeofday.
12461 2011-06-26 Ulrich Drepper <drepper@gmail.com>
12463 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12465 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12467 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12469 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12472 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12475 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12476 strcpy-sse2-unaligned strncpy-sse2-unaligned
12477 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12478 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12479 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12480 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12481 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12482 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12483 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12484 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12485 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12486 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12487 (STRCPY): Support SSE2 and SSSE3 versions.
12489 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12492 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12493 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12494 kernels which artificially limit size of requests.
12496 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12498 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12499 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12500 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12501 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12502 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12503 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12504 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12505 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12506 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12507 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12508 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12509 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12510 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12511 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12512 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12514 Enable unaligned load optimization for Intel Core i3, i5 and i7
12516 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12518 (index_Fast_Unaligned_Load): Define.
12519 (HAS_FAST_UNALIGNED_LOAD): Define.
12521 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12523 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12525 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12528 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12529 until it is clear that the information is realy needed.
12530 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12532 2011-06-22 Andreas Schwab <schwab@redhat.com>
12534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12536 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12538 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12539 /sys/devices/system/cpu/online if it is usable.
12541 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12542 reading the information from the /proc filesystem to once a second.
12544 2011-06-21 Andreas Jaeger <aj@suse.de>
12546 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12547 NULL after inclusion of kernel headers.
12549 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12551 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12552 calls to internal_setent.
12555 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12556 addresses using gethostbyname4_r ignore IPv4 addresses.
12558 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12559 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12561 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12563 2011-06-20 David S. Miller <davem@davemloft.net>
12565 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12567 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12569 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12570 (elf_irel): Use it.
12571 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12572 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12573 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12574 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12575 * sysdeps/x86_64/dl-irel.h: Likewise.
12577 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12578 * elf/dl-sym.c: Likewise.
12580 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12582 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12583 need to dereference resplen2.
12585 2011-06-14 Andreas Schwab <schwab@redhat.com>
12587 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12589 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12591 * Makeconfig: Define vardbdir and inst_vardbdir.
12592 * nss/Makefile: Add rules to install db-Makefile.
12594 * nss/nss_db/db-XXX.c: Cleanup.
12596 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12597 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12599 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12600 * nss/makedb.c: Implement -g option to specify that value strings
12601 are generated and should not be added to table iterated over for
12603 * nss/nss_db/db-initgroups.c: New file.
12605 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12608 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12609 (internal_getgrouplist): Adjust to name change.
12610 Update use_initgroups_entry if this is not the first call.
12611 * nss/databases.def: Add initgroups entry.
12613 * nss/makedb.c (compute_tables): Check result of multiple hash table
12614 sizes to minimize maximum chain length.
12616 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12618 * Versions.def: Add entry for libnss_db.
12619 * shlib-versions: Likewise.
12620 * nss/Makefile: Add rules to build libnss_db.
12621 * nss/Versions: Add libnss_db information. Organize libnss_files
12623 * nss/db-Makefile: Add gshadow support. Change rules for the new
12624 makedb progra. Some minor improvements to generate smaller files.
12625 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12627 * nss/makedb.c: ...here.
12628 Improve database format to be smaller and require less memory at
12630 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12632 * nss/nss_db/db-netgrp.c: Likewise.
12633 * nss/nss_db/db-open.c: Likewise.
12634 * nss/nss_files/flies-XXX.x: Adjust comments.
12635 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12636 * nss/nss_files/files-grp.c: Likewise.
12637 * nss/nss_files/files-hosts.c: Likewise.
12638 * nss/nss_files/files-network.c: Likewise.
12639 * nss/nss_files/files-proto.c: Likewise.
12640 * nss/nss_files/files-pwd.c: Likewise.
12641 * nss/nss_files/files-rpc.c: Likewise.
12642 * nss/nss_files/files-service.c: Likewise.
12643 * nss/nss_files/files-sgrp.c: Likewise.
12644 * nss/nss_files/files-spwd.c: Likewise.
12645 * nss/nss_db/db-alias.c: Removed.
12646 * nss/nss_db/dummy-db.h: Removed.
12648 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12650 * nss/makedb.c: Rewritten to not use database library.
12651 * nss/Makefile: Update to build new makedb program.
12653 2011-06-14 Andreas Jaeger <aj@suse.de>
12655 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12656 memset declaration.
12658 2011-06-10 Andreas Schwab <schwab@redhat.com>
12660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12663 2011-06-10 Roland McGrath <roland@hack.frob.com>
12665 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12666 * elf/Makefile ($(objpfx)ld.so): Likewise.
12668 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12669 Don't list ld.so twice in dependencies.
12671 * posix/bug-regex31.c: Include <stdlib.h>.
12673 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12675 * nis/nss_compat/compat-spwd.c
12676 (getspent_next_nss_netgr): Remove unused variable.
12677 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12679 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12680 nonmembers" output to use the right array.
12682 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12684 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12686 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12687 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12688 * catgets/gencat.c (read_input_file): Likewise.
12689 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12691 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12692 variable definition inside #if's controlling its use.
12694 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12696 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12698 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12700 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12703 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12705 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12706 * configure: Regenerated.
12708 * Makerules: Revert last change.
12709 * elf/Makefile: Likewise.
12711 2011-06-09 Roland McGrath <roland@hack.frob.com>
12713 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12714 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12715 (reloc-link): Likewise.
12717 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12719 * elf/Makefile: Add rules to build pldd.
12720 * elf/pldd.c: New file.
12721 * elf/pldd-xx.c: New file.
12723 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12725 * version.h: Update for 2.15 development version.
12727 2011-06-07 David S. Miller <davem@davemloft.net>
12729 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12731 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12732 elf_machine_lazy_rel): Likewise.
12733 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12734 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12735 elf_machine_lazy_rel): Likewise.
12736 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12737 dl_hwcap via passed in argument.
12738 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12741 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12743 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12745 2011-06-06 Roland McGrath <roland@hack.frob.com>
12748 * manual/fdl-1.1.texi: New file, verbatim from:
12749 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12750 * manual/lgpl-2.1.texi: New file, verbatim from:
12751 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12752 * manual/Makefile (licenses): New variable, list those new file names.
12754 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12756 * manual/fdl.texi: File removed.
12757 * manual/lesser.texi: File removed.
12758 * manual/libc.texinfo (Copying, Documentation License):
12759 Use new @include file names, put @appendix directive before @include.
12761 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12764 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12765 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12766 (mq_open): Add __NTH.
12768 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12771 Assume Intel Core i3/i5/i7 processor if AVX is available.
12773 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12775 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12778 2011-05-31 Andreas Schwab <schwab@redhat.com>
12780 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12781 memory. Use alloca_account. Fix memory leak when retrying.
12783 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12785 * version.h (RELEASE): Bump for 2.14 release.
12786 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12788 * config.make.in (RANLIB): Remove entry.
12790 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12792 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12793 (libc.pot): Work around missing support for .ksh extension in xgettext.
12796 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12797 if both request failed.
12798 (send_dg): In case of server errors clear resplen or *resplen2.
12801 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12802 when there are multiple maps.
12803 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12804 (_dl_fini): Remove test here.
12806 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12808 2011-05-29 Ulrich Drepper <drepper@gmail.com>
12811 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12812 bit from old_res_options.
12813 (gaih_inet): Likewise.
12816 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12819 * resolv/res_init.c (res_setoptions): Make the code more compact.
12822 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12826 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12828 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12831 * malloc/malloc.h: Declare malloc hook variables as volatile.
12833 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12837 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12838 raise in the comment.
12839 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12840 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12841 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12843 2011-05-28 Ulrich Drepper <drepper@gmail.com>
12846 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12847 grow the buffers more if it already has to be sufficient.
12848 (build_wcs_upper_buffer): Likewise.
12849 * posix/regexec.c (check_matching): Likewise.
12850 (clean_state_log_if_needed): Likewise.
12851 (extend_buffers): Don't enlarge buffers beyond size of the input
12853 Patches mostly by Emil Wojak <emil@wojak.eu>.
12854 * posix/bug-regex32.c: New file.
12855 * posix/Makefile (tests): Add bug-regex32.
12857 * locale/findlocale.c (_nl_find_locale): Return right away if
12858 _nl_explode_name failed.
12859 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12861 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12863 * debug/xtrace.sh: Unify messages.
12864 * malloc/memusage.sh: Likewise.
12867 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12868 time symbol from vDSO. Substitute with vsyscall if not available.
12869 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12872 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12873 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12874 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12875 Add sendmmsg and internal_sendmmsg.
12876 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12877 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12878 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12880 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12881 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12882 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12884 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12887 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12888 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12890 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12894 * iconvdata/Makefile (tests): Add bug-iconv9.
12895 * iconvdata/bug-iconv9.c: New file.
12897 2011-05-27 Andreas Schwab <schwab@redhat.com>
12900 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12902 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12904 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12905 (struct user_regs_struct): Change intcs field back to cs.
12907 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12909 * po/ja.po: Update from translation team.
12911 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12914 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12915 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12917 2011-05-20 Andreas Schwab <schwab@redhat.com>
12919 * stdlib/longlong.h: Update from GCC.
12921 2011-05-23 Andreas Schwab <schwab@redhat.com>
12923 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12925 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12926 Add parameter name.
12927 (__sysconf): Pass it down.
12929 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12932 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12934 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12935 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12936 add in in __libc_use_alloca calls. Adjust callers.
12937 (glob): Use malloc in some situations.
12939 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12940 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12943 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12945 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12946 and CLOCK_BOOTTIME_ALARM.
12949 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12952 * string/_strerror.c (__strerror_r): Print negative errors as signed
12956 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12957 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12958 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12960 * configure.in: Fix typo in redirection and correct removal of test
12961 files in two cases.
12964 * locale/setlocale.c (new_composite_name): Fix test to check for
12965 identical name of all categories.
12968 * libio/filedoalloc.c (local_isatty): New function.
12969 (_IO_file_doallocate): Use local_isatty.
12970 * stdio-common/perror.c (perror): In case a new stream is used
12971 forward the stream error.
12972 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12975 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12980 * include/alloca.h (extend_alloca_account): Define.
12983 * posix/regex.h: Fix comments with documentation of user-accessible
12984 fields after compilation and describe correct free'ing of pattern
12985 after re_compile_pattern.
12986 Patch by Reuben Thomas <rrt@sc3d.org>.
12988 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12990 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12991 and -mno-altivec to prevent the compiler from using Altivec and/or
12992 VSX instructions when the corresponding registers are not available.
12994 2011-05-19 Andreas Schwab <schwab@redhat.com>
12996 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12998 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13000 * libio/freopen.c (freopen): Use __dup2, not dup2.
13001 * libio/freopen64.c (freopen64): Likewise.
13003 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13006 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13007 * math/Makefile (tests): Add test-powl.
13008 (CFLAGS-test-powl.c): Define.
13009 * math/test-powl.c: New file.
13011 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13013 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13015 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13018 * iconvdata/gb18030.c: Update to GB18020-2005.
13020 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13022 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13023 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13024 Patch by Aharon Robbins <arnold@skeeve.com>.
13027 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13031 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13032 through underflows.
13035 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13036 point to strings before performing equality test for error_one_per_line
13040 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13043 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13044 (struct user_fpregs_struct): Avoid __uint*_t types.
13047 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13048 symbol info. Use it instead of calling _dl_addr locally.
13049 (lock_and_info): New function.
13050 (tr_freehook): Call lock_and_info and pass symbol info as additional
13051 parameter to tr_where.
13052 (tr_mallochook): Likewise.
13053 (tr_reallochook): Likewise.
13054 (tr_memalignhook): Likewise.
13056 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13057 used and couldn't be at all thread-safe.
13059 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13061 * libio/freopen.c (freopen): Don't close old file descriptor
13062 before the new one is opened. Instead dup the new file descriptor
13063 to the old one after the new stream is created.
13064 * libio/freopen64.c (freopen64): Likewise.
13065 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13066 * libio/fileops.c (_IO_new_file_close_it): Handle new
13067 _IO_FLAGS2_NOCLOSE flag.
13068 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13069 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13070 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13071 _IO_FLAGS2_NOCLOSE flag.
13072 * include/unistd.h: Add hidden_proto for dup3.
13073 Define __have_dup3.
13074 * io/dup3.c: Define hidden symbol.
13075 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13078 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13079 when an incomplete long option is used.
13080 * posix/tst-getopt_long1.c: New file.
13081 * posix/Makefile (tests): Add tst-getopt_long1.
13084 * scripts/config.guess: Update from autoconf-2.68.
13085 * scripts/config.sub: Likewise.
13088 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13090 (has_cpuclock): ...this. New function.
13091 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13092 macro here based on has_cpuclock code.
13095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13096 First byte (not low byte) is now always NUL.
13097 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13099 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13100 Use non-cancelable interfaces.
13103 * locale/iso-639.def: Add entry for Sorani.
13106 * include/stdlib.h: Move include protection to the right place.
13107 Define abort_msg_s. Declare __abort_msg with it.
13108 * stdlib/abort.c (__abort_msg): Adjust type.
13109 * assert/assert.c (__assert_fail_base): New function. Majority
13110 of code from __assert_fail. Allocate memory for __abort_msg with
13112 (__assert_fail): Now call __assert_fail_base.
13113 * assert/assert-perr.c: Remove bulk of implementation. Use
13114 __assert_fail_base.
13115 * include/assert.hL Declare __assert_fail_base.
13116 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13118 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13120 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13124 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13125 until all modules are registered in the DTV.
13126 * elf/Makefile: Add rules to build and run tst-tls19.
13127 * elf/tst-tls19.c: New file.
13128 * elf/tst-tls19mod1.c: New file.
13129 * elf/tst-tls19mod2.c: New file.
13130 * elf/tst-tls19mod3.c: New file.
13131 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13134 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13138 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13139 two-byte sequence errors.
13140 * iconvdata/Makefile (tests): Add bug-iconv8.
13141 * iconvdata/bug-iconv8.c: New file.
13144 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13147 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13150 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13151 (dummy_getcfa): New function.
13152 (init): Get _Unwind_GetCFA address, use dummy if not found.
13153 (backtrace_helper): In recursion check, also check whether CFA changes.
13154 (__backtrace): Completely initialize arg.
13156 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13157 storing incomplete byte sequence in state object. Avoid testing for
13158 guaranteed too small input if we know there is enough data available.
13160 2011-05-11 Andreas Schwab <schwab@redhat.com>
13162 * Makeconfig (+link-pie): Indent.
13163 * Rules (binaries-pie): Define if $(have-fpie) and
13165 (binaries-shared): Also filter out $(binaries-pie).
13166 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13167 * nscd/Makefile (others-pie): Add nscd.
13168 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13169 ($(objpfx)nscd): Remove command override.
13170 * login/Makefile (others-pie): Add pt_chown.
13171 ($(objpfx)pt_chown): Remove command override.
13172 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13173 remove command overrides.
13175 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13177 * libio/tst_putwc.c: Fix error messages.
13180 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13181 currently writing and seek to current position when not.
13182 * libio/Makefile (tests): Add bug-fclose1.
13183 * libio/bug-fclose1.c: New file.
13185 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13188 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13189 don't set DF_1_NODELETE here.
13190 (do_lookup_x): When entering new entry test for copy relocation
13191 and if necessary set DF_1_NODELETE flag.
13192 * elf/tst-unique4.cc: New file.
13193 * elf/tst-unique4.h: New file.
13194 * elf/tst-unique4lib.cc: New file.
13195 * elf/Makefile: Add rules to build and run tst-unique4.
13196 Patch by Piotr Bury <pbury@goahead.com>.
13198 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13201 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13204 * misc/mntent_r.c (addmntent): Flush the stream after the output
13207 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13208 (is_trusted_path_normalize): Skip initial colon. Append slash
13209 to empty buffer. Duplicate is_trusted_path code but allow
13210 constructed patch to be prefix.
13211 (is_dst): Allow $ORIGIN followed by /.
13212 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13213 Correct testing of result of is_trusted_path_normalize
13214 (decompose_rpath): Fix warning.
13216 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13219 * grp/initgroups.c (internal_getgrouplist): When we found the service
13220 list through the initgroups entry in nsswitch.conf do not always
13221 continue on a successful lookup. Don't always use the
13222 __nss_group_database value if it is set.
13223 * nss/nsswitch.conf (initgroups): Change action for successful db
13224 lookup to continue for compatibility.
13226 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13229 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13231 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13233 * iconvdata/tst-tables.sh: Likewise.
13234 * iconvdata/cp770.c: New file.
13235 * iconvdata/cp771.c: New file.
13236 * iconvdata/cp772.c: New file.
13237 * iconvdata/cp773.c: New file.
13238 * iconvdata/cp774.c: New file.
13239 * iconvdata/testdata/CP770: New file.
13240 * iconvdata/testdata/CP770..UTF8: New file.
13241 * iconvdata/testdata/CP771: New file.
13242 * iconvdata/testdata/CP771..UTF8: New file.
13243 * iconvdata/testdata/CP772: New file.
13244 * iconvdata/testdata/CP772..UTF8: New file.
13245 * iconvdata/testdata/CP773: New file.
13246 * iconvdata/testdata/CP773..UTF8: New file.
13247 * iconvdata/testdata/CP774: New file.
13248 * iconvdata/testdata/CP774..UTF8: New file.
13250 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13252 * iconvdata/gen-8bit-gap.sh: Likewise.
13253 * iconvdata/gen-8bit.sh: Likewise.
13255 * locale/iso-639.def: Add ary entry.
13258 * locale/C-translit.h.in: Add U20A1 transliteration.
13261 * locale/iso-639.def: Add wae entry.
13262 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13265 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13269 * locale/C-translit.h.in: Add entry for U20B9.
13270 Patch by pravin.d.s@gmail.com.
13272 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13275 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13276 ENAMETOOLONG use generic getcwd.
13277 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13278 in rtld. Use *stat64.
13279 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13280 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13281 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13282 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13283 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13284 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13285 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13286 __fstatat64 macros.
13287 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13288 * dirent/rewinddir.c: Add libc_hidden_def.
13289 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13290 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13292 * include/dirent.h (__alloc_dir): Add flags parameter.
13293 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13294 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13296 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13297 from fdopendir if O_CLOEXEC is already set.
13299 2011-03-15 Alan Modra <amodra@gmail.com>
13301 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13302 l_tls_firstbyte_offset non-zero. Save padding offset in
13303 l_tls_firstbyte_offset for later use.
13304 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13305 freeing static tls block.
13307 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13309 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13310 where #ifdef was intended. The intent is to prevent ARG_MAX from
13311 being defined by the kernel headers.
13313 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13316 * resolv/resolv.h: Define RES_NOTLDQUERY.
13317 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13318 no-tld-query and set RES_NOTLDQUERY.
13319 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13320 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13321 modern BIND to search name as TLD unless forbidden.
13323 2011-05-07 Petr Baudis <pasky@suse.cz>
13324 Ulrich Drepper <drepper@gmail.com>
13327 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13328 (is_trusted_path): ...to here.
13329 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13330 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13331 using is_trusted_path_normalize() in setuid scripts.
13333 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13335 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13336 __BEGIN/__END_DECLS.
13338 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13340 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13341 NSS_STATUS_NOTFOUND if no record was found.
13343 2011-05-05 Andreas Schwab <schwab@redhat.com>
13345 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13346 (headers-not-in-tirpc): Remove rpc/netdb.h
13347 * resolv/netdb.h: Revert last change.
13349 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13351 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13352 circular dependency between libgcc.a and libc.a.
13354 2011-05-05 Andreas Schwab <schwab@redhat.com>
13356 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13357 * nis/Makefile: Don't install rpcsvc/*.
13358 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13359 instead of <rpc/types.h>.
13360 (MAXHOSTNAMELEN): Define.
13362 2011-05-03 Andreas Schwab <schwab@redhat.com>
13364 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13366 2011-04-28 Maciej Babinski <mbabinski@google.com>
13369 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13370 gethostbyname4_r when IPv6 results are possible.
13372 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13375 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13376 _PC_PIPE_BUF handling.
13378 2011-04-30 Bruno Haible <bruno@clisp.org>
13381 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13382 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13384 * inet/getnameinfo.c (getnameinfo): Likewise.
13386 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13388 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13389 to groups setting in database lookup.
13390 * nss/nsswitch.conf: Add initgroups entry.
13392 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13395 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13397 Patch by Eric Blake <eblake@redhat.com>.
13399 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13401 * sunrpc/Makefile (need-export-routines): Add svc_run.
13402 (routines): Remove svc_run.
13403 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13404 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13405 * sunrpc/svc_run.c (svc_run): Likewise.
13406 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13408 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13410 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13411 problem in reallocation in last patch.
13413 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13415 * sunrpc/Makefile: Move inclusion of Rules.
13417 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13419 * nss/nss_files/files-initgroups.c: New file.
13420 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13421 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13422 _nss_files_initgroups_dyn.
13424 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13426 * elf/elf.h (R_ARM_IRELATIVE): Define.
13428 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13430 * po/ru.po: Update from translation team.
13432 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13434 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13437 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13440 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13441 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13442 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13443 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13444 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13446 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13448 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13450 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13451 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13452 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13454 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13457 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13459 * stdlib/bug-getcontext.c: New file.
13460 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13462 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13464 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13465 instructions into .machine "z9-109".
13466 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13467 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13469 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13471 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13472 between environment variables and auxiliary vector.
13474 2011-04-16 Ulrich Drepper <drepper@gmail.com>
13476 * Makefile: Add rules to build linkobj/libc.so.
13477 * include/libc-symbols.h: Define libc_hidden_nolink.
13478 * include/rpc/auth.h: Mark functions which are to be hidden.
13479 * include/rpc/auth_des.h: Likewise.
13480 * include/rpc/auth_unix.h: Likewise.
13481 * include/rpc/clnt.h: Likewise.
13482 * include/rpc/des_crypt.h: Likewise.
13483 * include/rpc/key_prot.h: Likewise.
13484 * include/rpc/pmap_clnt.h: Likewise.
13485 * include/rpc/pmap_prot.h: Likewise.
13486 * include/rpc/pmap_rmt.h: Likewise.
13487 * include/rpc/rpc_msg.h: Likewise.
13488 * include/rpc/svc.h: Likewise.
13489 * include/rpc/svc_auth.h: Likewise.
13490 * include/rpc/xdr.h: Likewise.
13491 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13492 * nss/Makefile: Likewise.
13493 * sunrpc/Makefile: Don't install headers. Build library with normal
13494 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13495 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13496 for the compat linking library. Remove use of INTDEF/INTUSE.
13497 * sunrpc/auth_none.c: Likewise.
13498 * sunrpc/auth_unix.c: Likewise.
13499 * sunrpc/authdes_prot.c: Likewise.
13500 * sunrpc/authuxprot.c: Likewise.
13501 * sunrpc/clnt_gen.c: Likewise.
13502 * sunrpc/clnt_perr.c: Likewise.
13503 * sunrpc/clnt_raw.c: Likewise.
13504 * sunrpc/clnt_simp.c: Likewise.
13505 * sunrpc/clnt_tcp.c: Likewise.
13506 * sunrpc/clnt_udp.c: Likewise.
13507 * sunrpc/clnt_unix.c: Likewise.
13508 * sunrpc/des_crypt.c: Likewise.
13509 * sunrpc/des_soft.c: Likewise.
13510 * sunrpc/get_myaddr.c: Likewise.
13511 * sunrpc/key_call.c: Likewise.
13512 * sunrpc/key_prot.c: Likewise.
13513 * sunrpc/netname.c: Likewise.
13514 * sunrpc/pm_getmaps.c: Likewise.
13515 * sunrpc/pm_getport.c: Likewise.
13516 * sunrpc/pmap_clnt.c: Likewise.
13517 * sunrpc/pmap_prot.c: Likewise.
13518 * sunrpc/pmap_prot2.c: Likewise.
13519 * sunrpc/pmap_rmt.c: Likewise.
13520 * sunrpc/publickey.c: Likewise.
13521 * sunrpc/rpc_cmsg.c: Likewise.
13522 * sunrpc/rpc_common.c: Likewise.
13523 * sunrpc/rpc_dtable.c: Likewise.
13524 * sunrpc/rpc_prot.c: Likewise.
13525 * sunrpc/rpc_thread.c: Likewise.
13526 * sunrpc/rtime.c: Likewise.
13527 * sunrpc/svc.c: Likewise.
13528 * sunrpc/svc_auth.c: Likewise.
13529 * sunrpc/svc_authux.c: Likewise.
13530 * sunrpc/svc_raw.c: Likewise.
13531 * sunrpc/svc_run.c: Likewise.
13532 * sunrpc/svc_simple.c: Likewise.
13533 * sunrpc/svc_tcp.c: Likewise.
13534 * sunrpc/svc_udp.c: Likewise.
13535 * sunrpc/svc_unix.c: Likewise.
13536 * sunrpc/svcauth_des.c: Likewise.
13537 * sunrpc/xcrypt.c: Likewise.
13538 * sunrpc/xdr.c: Likewise.
13539 * sunrpc/xdr_array.c: Likewise.
13540 * sunrpc/xdr_float.c: Likewise.
13541 * sunrpc/xdr_intXX_t.c: Likewise.
13542 * sunrpc/xdr_mem.c: Likewise.
13543 * sunrpc/xdr_rec.c: Likewise.
13544 * sunrpc/xdr_ref.c: Likewise.
13545 * sunrpc/xdr_sizeof.c: Likewise.
13546 * sunrpc/xdr_stdio.c: Likewise.
13548 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13551 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13552 * sysdeps/ia64/dl-tls.h: Likewise.
13553 * sysdeps/powerpc/dl-tls.h: Likewise.
13554 * sysdeps/s390/dl-tls.h: Likewise.
13555 * sysdeps/sh/dl-tls.h: Likewise.
13556 * sysdeps/sparc/dl-tls.h: Likewise.
13557 * sysdeps/x86_64/dl-tls.h: Likewise.
13558 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13560 2011-03-14 Andreas Schwab <schwab@redhat.com>
13562 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13563 rpath element also skip the following colon.
13564 (expand_dynamic_string_token): Add is_path parameter and pass
13565 down to DL_DST_REQUIRED and _dl_dst_substitute.
13566 (decompose_rpath): Call expand_dynamic_string_token with
13567 non-zero is_path. Ignore empty rpaths.
13568 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13571 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13576 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13579 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13580 Patch by Filipe David Manana <fdmanana@apache.org>.
13582 2011-04-07 Andreas Schwab <schwab@redhat.com>
13584 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13585 Maintain aligned stack.
13586 (CHECK_RSP): Remove unused macro.
13588 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13590 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13591 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13593 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13595 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13597 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13599 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13602 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13603 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13604 * sysdeps/x86_64/memmove.c: New file.
13605 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13606 (memcpy): Renamed to ...
13607 (__new_memcpy): This.
13608 (memcpy): Provide GLIBC_2_14 memcpy.
13609 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13610 (memcpy): Provide GLIBC_2_2_5 memcpy.
13612 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13615 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13617 2011-03-30 Andreas Schwab <schwab@redhat.com>
13619 * misc/syncfs.c: New file.
13620 * misc/Makefile (routines): Add syncfs.
13621 * posix/unistd.h: Declare syncfs.
13622 * sysdeps/unix/syscalls.list: Add syncfs.
13624 2011-04-01 Andreas Schwab <schwab@redhat.com>
13626 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13628 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13629 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13630 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13631 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13632 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13633 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13634 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13636 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13638 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13639 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13640 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13641 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13642 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13644 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13646 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13647 sync_file_range.c with -fexceptions.
13648 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13649 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13650 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13651 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13652 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13653 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13654 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13655 sync_file_range as cancellation point
13656 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13657 now a wrapper around __call_sync_file_range with cancellation handling.
13658 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13659 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13660 function name to __call_sync_file_range.
13661 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13662 Add call_sync_file_range.
13664 2011-04-01 Andreas Schwab <schwab@redhat.com>
13666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13669 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13671 * iconv/iconv.h: Fix typo in comment.
13672 * io/fcntl.h: Likewise.
13673 * libio/stdio.h: Likewise.
13674 * posix/spawn.h: Likewise.
13675 * posix/unistd.h: Likewise.
13676 * stdlib/stdlib.h: Likewise.
13677 * time/time.h: Likewise.
13678 * wcsmbs/wchar.h: Likewise.
13680 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13681 open_by_handle): Add.
13682 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13683 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13684 Augment a few comments.
13685 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13687 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13689 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13690 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13693 * io/fcntl.h (AT_EMPTY_PATH): Define.
13695 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13697 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13698 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13699 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13701 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13702 * Versions.def: Add GLIBC_2.14.
13703 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13706 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13708 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13710 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13712 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13715 * string/test-strncmp.c (do_page_test): New function.
13716 (check2): Likewise.
13717 (test_main): Call check2.
13718 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13720 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13723 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13724 Handle cache information in CPU leaf 4.
13725 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13727 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13730 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13731 character representation.
13732 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13734 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13736 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13737 END(__isnan) to END(__isnanf) to match function entry point/label
13738 EALIGN(__isnanf,...).
13740 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13742 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13744 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13747 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13748 copy from the symbol referenced in the relocation to initialize the
13750 Patch by Piotr Bury <pbury@goahead.com>.
13751 * elf/Makefile: Add rules to build and tst-unique3.
13752 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13753 * elf/tst-unique3.cc: New file.
13754 * elf/tst-unique3.h: New file.
13755 * elf/tst-unique3lib.cc: New file.
13756 * elf/tst-unique3lib2.cc: New file.
13758 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13760 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13762 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13763 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13766 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13768 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13769 to-be-loaded object along a path to loader is ld.so.
13771 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13772 Ulrich Drepper <drepper@gmail.com>
13774 * sysdeps/x86_64/memset.S: After aligning destination, code
13775 branches to different locations depending on the value of
13776 misalignment, when multiarch is enabled. Fix this.
13778 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13780 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13781 Set _x86_64_preferred_memory_instruction for AMD processsors.
13782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13783 Set bit_Prefer_SSE_for_memop for AMD processors.
13785 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13787 * libio/fmemopen.c (fmemopen): Optimize a bit.
13789 2011-03-03 Andreas Schwab <schwab@redhat.com>
13791 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13793 2011-03-03 Roland McGrath <roland@redhat.com>
13795 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13797 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13799 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13800 __bzero_ultra1 instead of __memset_ultra1.
13802 2011-02-23 Andreas Schwab <schwab@redhat.com>
13803 Ulrich Drepper <drepper@gmail.com>
13806 * include/link.h (struct link_map): Add l_orig_initfini.
13807 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13808 returning unsuccessfully.
13809 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13810 close of a file loaded at startup, restore the original l_initfini
13812 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13813 list, store the pointer.
13814 * elf/Makefile ($(objpfx)noload-mem): New rule.
13815 (noload-ENV): Define.
13816 (tests): Add $(objpfx)noload-mem.
13817 * elf/noload.c: Include <memcheck.h>.
13818 (main): Call mtrace. Close all opened handles.
13820 2011-02-17 Andreas Schwab <schwab@redhat.com>
13823 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13824 dependencies are missing.
13826 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13828 Fix __if_freereq crash: Unlike the generic version which uses free,
13830 * sysdeps/mach/hurd/ifreq.h: New file.
13832 2011-01-27 Petr Baudis <pasky@suse.cz>
13833 Ulrich Drepper <drepper@gmail.com>
13836 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13837 to extend_alloca().
13838 * stdio-common/bug23.c: New file.
13839 * stdio-common/Makefile (tests): Add bug23.
13841 2010-09-28 Andreas Schwab <schwab@redhat.com>
13842 Ulrich Drepper <drepper@gmail.com>
13845 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13846 before performing relro protection. At old place add assertion
13847 to make sure nothing changed.
13849 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13850 Glauber de Oliveira Costa <glommer@gmail.com>
13852 * elf/elf.h: Add new ARM TLS relocs.
13854 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13857 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13859 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13861 * sysdeps/wordsize-64/tst-writev.c: New file.
13863 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13865 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13866 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13867 insns in _dl_start to prevent a TOC reference before relocs are
13870 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13873 * Makeconfig: Remove RANLIB definition.
13874 * Makerules: Don't use RANLIB.
13875 * aclocal.m4: Remove ranlib test.
13876 * configure.in: No need to check for ranlib.
13877 * elf/rtld-Rules: Don't use RANLIB.
13879 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13881 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13883 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13884 inclusion protection macro.
13886 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13887 SIGRTMIN and SIGRTMAX and print information in that case only when
13888 SIGRTMIN is defined.
13890 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13892 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13893 arginfo fn returning -1.
13895 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13896 and thousands string is zero terminated.
13898 2011-02-03 Andreas Schwab <schwab@redhat.com>
13900 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13901 sysdeps/unix/sysv/linux/bits/socket.h.
13903 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13905 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13906 (__CPU_COUNT): Remove old macros.
13907 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13908 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13909 (__CPU_ALLOC, __CPU_FREE): Add macros.
13910 (__sched_cpualloc, __sched_cpufree): Add declarations.
13912 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13914 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13915 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13916 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13917 (readdhstai): Return value of addhstaiX call.
13918 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13919 (addgrbyX): Return value returned by cache_addgr.
13920 (readdgrbyname): Return value returned by addgrbyX.
13921 (readdgrbygid): Likewise.
13922 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13923 (addpwbyX): Return value returned by cache_addpw.
13924 (readdpwbyname): Return value returned by addhstbyX.
13925 (readdpwbyuid): Likewise.
13926 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13927 (addservbyX): Return value returned by cache_addserv.
13928 (readdservbyname): Return value returned by addservbyX:
13929 (readdservbyport): Likewise.
13930 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13931 (addhstbyX): Return value returned by cache_addhst.
13932 (readdhstbyname): Return value returned by addhstbyX.
13933 (readdhstbyaddr): Likewise.
13934 (readdhstbynamev6): Likewise.
13935 (readdhstbyaddrv6): Likewise.
13936 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13937 (readdinitgroups): Return value returned by addinitgroupsX.
13938 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13939 (prune_cache): Keep track of timeout value of re-added entries.
13940 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13941 * nscd/nscd.h: Adjust prototypes of readd* functions.
13943 2011-02-04 Roland McGrath <roland@redhat.com>
13945 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13946 (nis_stats): Likewise.
13947 * nis/nis_modify.c (nis_modify): Likewise.
13948 * nis/nis_remove.c (nis_remove): Likewise.
13949 * nis/nis_add.c (nis_add): Likewise.
13951 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13953 * posix/fnmatch_loop.c: Add some consts.
13955 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13957 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13960 * config.make.in (config-cflags-novzeroupper): Define.
13961 * configure.in: Substitute libc_cv_cc_novzeroupper.
13962 * elf/Makefile (AVX-CFLAGS): Define.
13963 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13964 (CFLAGS-tst-auditmod4a.c): Likewise.
13965 (CFLAGS-tst-auditmod4b.c): Likewise.
13966 (CFLAGS-tst-auditmod6b.c): Likewise.
13967 (CFLAGS-tst-auditmod6c.c): Likewise.
13968 (CFLAGS-tst-auditmod7b.c): Likewise.
13969 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13971 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13973 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13974 function to the callback.
13975 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13977 2011-02-02 Andreas Schwab <schwab@redhat.com>
13979 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13982 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13985 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13987 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13989 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13992 * elf/Makefile: Add rules to build and run new test.
13993 * elf/tst-initorder.c: New file.
13994 * elf/tst-initorder.exp: New file.
13995 * elf/tst-initordera1.c: New file.
13996 * elf/tst-initordera2.c: New file.
13997 * elf/tst-initordera3.c: New file.
13998 * elf/tst-initordera4.c: New file.
13999 * elf/tst-initorderb1.c: New file.
14000 * elf/tst-initorderb2.c: New file.
14001 * elf/tst-order-a1.c: New file.
14002 * elf/tst-order-a2.c: New file.
14003 * elf/tst-order-a3.c: New file.
14004 * elf/tst-order-a4.c: New file.
14005 * elf/tst-order-b1.c: New file.
14006 * elf/tst-order-b2.c: New file.
14007 * elf/tst-order-main.c: New file.
14008 New test case by George Gensure <werkt0@gmail.com>.
14010 2010-10-01 Andreas Schwab <schwab@redhat.com>
14012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14013 decoding ACE if AI_CANONIDN.
14015 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14017 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14019 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14021 * version.h (RELEASE): Bump for 2.13 release.
14022 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14024 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14026 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14028 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14029 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14030 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14031 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14032 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14033 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14035 * posix/getconf.c: Update copyright year.
14036 * catgets/gencat.c: Likewise.
14037 * csu/version.c: Likewise.
14038 * debug/catchsegv.sh: Likewise.
14039 * debug/xtrace.sh: Likewise.
14040 * elf/ldconfig.c: Likewise.
14041 * elf/ldd.bash.in: Likewise.
14042 * elf/sprof.c (print_version): Likewise.
14043 * iconv/iconv_prog.c: Likewise.
14044 * iconv/iconvconfig.c: Likewise.
14045 * locale/programs/locale.c: Likewise.
14046 * locale/programs/localedef.c: Likewise.
14047 * malloc/memusage.sh: Likewise.
14048 * malloc/mtrace.pl: Likewise.
14049 * nscd/nscd.c (print_version): Likewise.
14050 * nss/getent.c: Likewise.
14052 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14053 PF_CAIF, and PF_ALG.
14054 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14056 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14058 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14059 (modules-names): Use them.
14060 (ifunc-test-modules, ifunc-pie-tests): Define.
14061 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14062 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14063 (test-extras): Likewise.
14064 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14065 $(compile-command.c).
14066 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14067 (all-built-dso): Define.
14068 (check-textrel.out, check-execstack.out): Depend on it.
14070 * configure.in: Don't override --enable-multi-arch.
14072 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14075 * nscd/hstcache.c (tryagain): Define.
14076 (cache_addhst): Return tryagain not notfound for temporary errors.
14077 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14080 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14083 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14084 to make the syscall.
14085 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14088 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14089 and fall back to matching as normal character if the string ends before
14090 the matching ']' is found. This is what POSIX requires.
14091 * posix/testfnm.c: Adjust test result.
14092 * posix/globtest.sh: Adjust test result. Add new test.
14093 * posix/tst-fnmatch.input: Likewise.
14094 * posix/tst-fnmatch2.c: Add new test.
14096 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14098 * elf/Makefile (check-execstack): Revert last change. Depend on
14100 (check-execstack.h): New target.
14101 (generated): Add check-execstack.h.
14102 * elf/check-execstack.c: Include "check-execstack.h".
14103 (main): Revert last change.
14104 (handle_file): Return zero if GNU_STACK is absent and
14105 DEFAULT_STACK_PERMS doesn't include PF_X.
14107 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14109 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14110 in child fails because the descriptor is already closed.
14111 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14112 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14113 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14116 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14120 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14121 temporary buffer used to handle multi lookups locally.
14122 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14124 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14126 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14129 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14131 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14132 alignment for SSE2.
14134 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14137 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14138 characters. When rounding increased number of integer digits recompute
14140 * stdio-common/tst-grouping.c: New file.
14141 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14143 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14145 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14146 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14148 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14150 * bits/select.h: Likewise.
14152 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14154 * po/ja.po: Update from translation team.
14156 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14159 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14160 implementation just like for lxstat, fxstatat, et al.
14162 2010-12-27 Jim Meyering <meyering@redhat.com>
14165 * posix/regexec.c (build_trtable): Return failure indication upon
14166 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14168 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14171 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14172 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14173 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14174 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14177 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14180 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14181 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14183 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14185 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14186 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14187 script has SORT_BY_INIT_PRIORITY.
14188 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14189 NO_CTORS_DTORS_SECTIONS is defined.
14190 * elf/soinit.c: Likewise.
14191 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14192 NO_CTORS_DTORS_SECTIONS is defined.
14193 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14194 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14195 * sysdeps/sh/init-first.c: Likewise.
14196 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14198 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14200 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14201 always use the slow path.
14203 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14205 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14206 similar rule which adds the sysdep directories to the header search in
14207 order to pick up the correct platform stackinfo.h.
14208 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14209 perform test if it is, otherwise return successfully without testing.
14210 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14211 DEFAULT_STACK_PERMS define in stackinfo.h.
14212 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14213 defined in stackinfo.h.
14214 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14215 DEFAULT_STACK_PERMS defined in stackinfo.h.
14216 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14217 * sysdeps/ia64/stackinfo.h: Likewise.
14218 * sysdeps/s390/stackinfo.h: Likewise.
14219 * sysdeps/sh/stackinfo.h: Likewise.
14220 * sysdeps/sparc/stackinfo.h: Likewise.
14221 * sysdeps/x86_64/stackinfo.h: Likewise.
14222 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14223 PF_X for powerpc64. Retain PF_X for powerpc32.
14225 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14227 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14229 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14230 GETDENTS_64BIT_ALIGNED.
14232 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14234 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14236 2010-12-10 Andreas Schwab <schwab@redhat.com>
14238 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14241 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14242 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14244 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14245 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14247 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14250 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14253 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14255 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14257 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14259 * po/it.po: Update from translation team.
14261 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14266 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14268 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14270 2010-11-24 Andreas Schwab <schwab@redhat.com>
14272 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14274 (gaih_getanswer_slice): Likewise.
14276 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14280 2010-05-31 Petr Baudis <pasky@suse.cz>
14283 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14284 silently even in the chroot mode.
14286 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14288 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14289 last patch a bit. Pretty printing
14291 2010-05-31 Petr Baudis <pasky@suse.cz>
14294 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14295 initialization of skip_initgroups_dyn.
14297 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14299 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14300 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14302 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14304 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14306 2010-11-11 Andreas Schwab <schwab@redhat.com>
14308 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14309 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14310 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14311 ($(objpfx)tst-fnmatch-mem): New rule.
14312 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14313 * posix/tst-fnmatch.c (main): Call mtrace.
14315 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14318 Support Intel processor model 6 and model 0x2c.
14320 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14322 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14325 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14328 * string/test-strncasecmp.c (check_result): New function.
14329 (do_one_test): Use it.
14330 (check1): New function.
14331 (test_main): Use it.
14332 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14333 Support strcasecmp and strncasecmp.
14335 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14338 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14339 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14341 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14343 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14347 * sysdeps/x86_64/multiarch/bzero.S: New file.
14348 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14349 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14350 * sysdeps/x86_64/multiarch/memset.S: New file.
14351 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14353 Set bit_Prefer_SSE_for_memop for Intel processors.
14354 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14356 (index_Prefer_SSE_for_memop): Define.
14357 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14359 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14361 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14362 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14364 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14367 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14368 (__x86_64_raw_data_cache_size_half): Likewise.
14369 (__x86_64_raw_shared_cache_size): Likewise.
14370 (__x86_64_raw_shared_cache_size_half): Likewise.
14372 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14373 (__x86_64_raw_data_cache_size_half): Likewise.
14374 (__x86_64_raw_shared_cache_size): Likewise.
14375 (__x86_64_raw_shared_cache_size_half): Likewise.
14376 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14377 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14378 and __x86_64_raw_shared_cache_size_half. Round
14379 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14380 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14381 to multiple of 256 bytes.
14383 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14386 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14387 of inacessible symlinks. Verify result of symlink before returning it.
14388 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14389 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14391 2010-10-28 Erich Ritz <erichritz@gmail.com>
14393 * math/math.h (isinf): Fix typo in comment.
14395 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14397 * po/da.po: Update from translation team.
14399 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14401 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14402 is added to the list.
14404 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14405 Ulrich Drepper <drepper@gmail.com>
14407 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14408 the global list here. Move code to...
14409 (_dl_add_to_namespace_list): ...here. New function.
14410 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14411 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14412 * elf/dl-load.c (lose): Don't remove the element from the list.
14413 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14414 (_dl_map_object): Likewise.
14416 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14419 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14420 into all bytes of SSE register.
14421 Patch by Richard Li <richardpku@gmail.com>.
14423 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14426 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14429 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14431 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14432 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14433 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14434 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14439 2010-10-22 Andreas Schwab <schwab@redhat.com>
14441 * include/dlfcn.h (__RTLD_SECURE): Define.
14442 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14443 mode & __RTLD_SECURE instead.
14444 (open_path): Rename preloaded parameter to secure.
14445 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14446 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14447 * elf/dl-deps.c (openaux): Likewise.
14448 * elf/rtld.c (struct map_args): Remove is_preloaded.
14449 (map_doit): Don't use it.
14450 (dl_main): Likewise.
14451 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14452 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14454 2010-09-09 Andreas Schwab <schwab@redhat.com>
14456 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14457 (sysd-rules-targets): Remove duplicates.
14458 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14459 rtld-%.$o dependency.
14461 2010-10-18 Andreas Schwab <schwab@redhat.com>
14463 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14464 _dl_map_object do it.
14466 2010-10-19 Ulrich Drepper <drepper@gmail.com>
14468 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14469 fast fma builtins, define the macros in the C99 standard.
14470 (FP_FAST_FMAF): Likewise.
14471 (FP_FAST_FMAL): Likewise.
14472 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14474 * bits/mathdef.h: Update copyright year.
14475 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14477 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14479 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14480 builtins, define the macros in the C99 standard.
14481 (FP_FAST_FMAF): Likewise.
14482 (FP_FAST_FMAL): Likewise.
14483 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14485 (FP_FAST_FMAF): Likewise.
14487 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14490 * math/libm-test.inc (fma_test): Some new testcases.
14491 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14492 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14493 y and infinite z. Do multiplication by C already in long double.
14494 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14496 y and infinite z. Do bitwise or of inexact bit into u.d.
14497 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14498 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14499 * sysdeps/i386/fpu/s_fma.S: Removed.
14500 * sysdeps/i386/fpu/s_fmal.S: Removed.
14502 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14505 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14506 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14507 computation is not scheduled after fetestexcept. Fix value
14508 of minimum denormal long double.
14510 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14513 * math/libm-test.inc (fma_test): Add some more tests.
14514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14517 2010-10-15 Andreas Schwab <schwab@redhat.com>
14519 * scripts/data/localplt-s390-linux-gnu.data: New file.
14520 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14522 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14525 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14526 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14528 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14530 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14532 if one of x and y is very large and the other is subnormal.
14533 * sysdeps/s390/fpu/s_fmaf.c: New file.
14534 * sysdeps/s390/fpu/s_fma.c: New file.
14535 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14536 * sysdeps/powerpc/fpu/s_fma.S: New file.
14537 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14538 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14539 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14541 2010-10-12 Jakub Jelinek <jakub@redhat.com>
14544 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14546 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14547 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14548 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14549 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14550 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14551 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14552 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14554 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14557 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14558 * posix/bug-regex31.input: Add test case.
14560 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14562 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14563 * posix/bug-regex31.input: New file.
14566 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14567 (parse_sub_exp): Fix last change, use postorder.
14569 * posix/bug-regex31.c: New file.
14570 * posix/Makefile: Add rules to build and run bug-regex31.
14572 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14575 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14578 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14579 to have entries in sys_siglist.
14582 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14585 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14588 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14589 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14590 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14591 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14592 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14593 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14594 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14595 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14596 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14597 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14598 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14599 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14600 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14601 * math/ftestexcept.c (fetestexcept): Likewise.
14602 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14603 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14604 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14605 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14606 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14607 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14608 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14610 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14613 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14616 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14618 * string/bug-strstr1.c: New file.
14619 * string/Makefile: Add rules to build and run bug-strstr1.
14621 2010-10-05 Eric Blake <eblake@redhat.com>
14624 * string/str-two-way.h (two_way_long_needle): Always clear memory
14625 when skipping input due to the shift table.
14627 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14630 * malloc/mcheck.c: Handle large requests.
14633 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14634 for strncmp and strncasecmp.
14635 * string/stratcliff.c: Add tests for strcmp and strncmp.
14636 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14638 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14640 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14643 2010-09-30 Andreas Jaeger <aj@suse.de>
14645 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14646 (CGROUP_SUPER_MAGIC): Define.
14647 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14648 Handle btrfs and cgroup file systems.
14649 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14652 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14654 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14655 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14657 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14660 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14661 trying to locate the ELF header.
14663 2010-09-27 Andreas Schwab <schwab@redhat.com>
14666 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14667 Mask out sign-bit copies when constructing f_fsid.
14669 2010-09-24 Petr Baudis <pasky@suse.cz>
14671 * debug/stack_chk_fail_local.c: Add missing licence exception.
14672 * debug/warning-nop.c: Likewise.
14674 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14676 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14677 implementing getdents64 using getdents syscall, set d_type if
14678 __ASSUME_GETDENTS32_D_TYPE.
14680 2010-09-16 Andreas Schwab <schwab@redhat.com>
14682 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14683 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14685 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14688 * posix/unistd.h: Undo change of feature selection for ftruncate from
14691 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14693 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14696 2010-09-20 Andreas Schwab <schwab@redhat.com>
14698 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14700 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14702 2010-09-14 Andreas Schwab <schwab@redhat.com>
14704 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14705 variables after CHECK_SP call.
14706 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14708 2010-09-13 Andreas Schwab <schwab@redhat.com>
14709 Ulrich Drepper <drepper@redhat.com>
14711 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14712 re-relocationg ld.so.
14713 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14714 _dl_init_paths call.
14715 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14718 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14720 * resolv/res_init.c (__res_vinit): Count the default server we added.
14722 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14723 Ulrich Drepper <drepper@redhat.com>
14726 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14727 (____longjmp_chk): Use %ebx for saving value across system call.
14730 2010-09-06 Andreas Schwab <schwab@redhat.com>
14732 * manual/Makefile: Don't mix pattern rules with normal rules.
14734 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14736 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14738 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14739 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14740 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14741 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14742 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14745 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14748 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14749 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14751 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14753 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14754 * sysdeps/x86_64/addmul_1.S: Likewise.
14755 * sysdeps/x86_64/lshift.S: Likewise.
14756 * sysdeps/x86_64/mul_1.S: Likewise.
14757 * sysdeps/x86_64/rshift.S: Likewise.
14758 * sysdeps/x86_64/sub_n.S: Likewise.
14759 * sysdeps/x86_64/submul_1.S: Likewise.
14761 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14763 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14764 Define __sched_param instead of SCHED_* and sched_param when
14765 <bits/sched.h> is included with __need_schedparam defined.
14766 * bits/sched.h [__need_schedparam]
14767 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14768 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14769 (__defined_schedparam): Define to 1.
14770 (__sched_param): New structure, identical to sched_param.
14771 (__need_schedparam): Undefine.
14773 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14775 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14776 (epoll_create1): Declare.
14778 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14780 2010-08-31 Andreas Schwab <schwab@redhat.com>
14783 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14784 shifting retval into place.
14786 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14788 * nis/rpcsvc/nis.h: Update copyright notice.
14789 * nis/rpcsvc/nis.x: Likewise.
14790 * nis/rpcsvc/nis_callback.h: Likewise.
14791 * nis/rpcsvc/nis_callback.x: Likewise.
14792 * nis/rpcsvc/nis_object.x: Likewise.
14793 * nis/rpcsvc/nis_tags.h: Likewise.
14794 * nis/rpcsvc/yp.h: Likewise.
14795 * nis/rpcsvc/yp.x: Likewise.
14796 * nis/rpcsvc/ypupd.h: Likewise.
14797 * nis/yp_xdr.c: Likewise.
14798 * nis/ypupdate_xdr.c: Likewise.
14800 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14801 mainly the body of pmap_getport. Add parameters to specify timeouts.
14802 (pmap_getport): Use __libc_rpc_getport.
14803 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14804 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14805 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14807 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14812 2010-08-27 Roland McGrath <roland@redhat.com>
14814 * sysdeps/i386/i686/multiarch/Makefile
14815 (CFLAGS-varshift.c): New variable.
14817 2010-08-27 Ulrich Drepper <drepper@redhat.com>
14819 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14820 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14822 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14824 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14826 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14828 * sysdeps/x86_64/strlen.S: Unroll the loop.
14829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14830 strlen-sse2 strlen-sse2-bsf.
14831 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14832 __strlen_no_bsf if bit_Slow_BSF is set.
14833 (__strlen_sse42): Removed.
14834 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14835 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14837 2010-08-25 Roland McGrath <roland@redhat.com>
14839 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14840 * sysdeps/x86_64/multiarch/varshift.c: New file.
14841 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14842 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14843 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14844 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14846 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14849 strlen-sse2 strlen-sse2-bsf.
14850 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14851 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14852 (__strlen_sse2): Removed.
14853 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14854 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14856 bit_Slow_BSF for Atom.
14857 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14858 (index_Slow_BSF): Define.
14859 (HAS_SLOW_BSF): Define.
14861 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14864 * resolv/res_init.c (__res_vinit): When no server address at all
14865 is given default to loopback.
14867 2010-08-24 Roland McGrath <roland@redhat.com>
14869 * configure.in: Remove config-name.h generation.
14870 * configure: Regenerated.
14871 * config-name.in: File removed.
14872 * scripts/config-uname.sh: New file.
14873 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14874 ($(objdir)config-name.h): New target.
14876 * sunrpc/rpc_parse.h: Avoid nested comment.
14878 2010-08-24 Richard Henderson <rth@redhat.com>
14879 Ulrich Drepper <drepper@redhat.com>
14880 H.J. Lu <hongjiu.lu@intel.com>
14882 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14884 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14885 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14886 _mm_alignr_epi8 with _mm_loadu_si128.
14887 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14888 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14889 (__m128i_shift_right): Removed.
14890 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14891 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14892 * sysdeps/x86_64/multiarch/varshift.h: New file.
14893 * sysdeps/x86_64/multiarch/varshift.S: New file.
14895 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14897 * configure.in: Move assembler checks to before sysdep dir checking.
14899 2010-08-20 Petr Baudis <pasky@suse.cz>
14901 * LICENSES: Sync the sunrpc license.
14903 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14905 * sunrpc/auth_des.c: Update copyright notice once again.
14906 * sunrpc/auth_none.c: Likewise.
14907 * sunrpc/auth_unix.c: Likewise.
14908 * sunrpc/authdes_prot.c: Likewise.
14909 * sunrpc/authuxprot.c: Likewise.
14910 * sunrpc/bindrsvprt.c: Likewise.
14911 * sunrpc/clnt_gen.c: Likewise.
14912 * sunrpc/clnt_perr.c: Likewise.
14913 * sunrpc/clnt_raw.c: Likewise.
14914 * sunrpc/clnt_simp.c: Likewise.
14915 * sunrpc/clnt_tcp.c: Likewise.
14916 * sunrpc/clnt_udp.c: Likewise.
14917 * sunrpc/clnt_unix.c: Likewise.
14918 * sunrpc/des_crypt.c: Likewise.
14919 * sunrpc/des_soft.c: Likewise.
14920 * sunrpc/get_myaddr.c: Likewise.
14921 * sunrpc/getrpcport.c: Likewise.
14922 * sunrpc/key_call.c: Likewise.
14923 * sunrpc/key_prot.c: Likewise.
14924 * sunrpc/openchild.c: Likewise.
14925 * sunrpc/pm_getmaps.c: Likewise.
14926 * sunrpc/pm_getport.c: Likewise.
14927 * sunrpc/pmap_clnt.c: Likewise.
14928 * sunrpc/pmap_prot.c: Likewise.
14929 * sunrpc/pmap_prot2.c: Likewise.
14930 * sunrpc/pmap_rmt.c: Likewise.
14931 * sunrpc/rpc/auth.h: Likewise.
14932 * sunrpc/rpc/auth_unix.h: Likewise.
14933 * sunrpc/rpc/clnt.h: Likewise.
14934 * sunrpc/rpc/des_crypt.h: Likewise.
14935 * sunrpc/rpc/key_prot.h: Likewise.
14936 * sunrpc/rpc/netdb.h: Likewise.
14937 * sunrpc/rpc/pmap_clnt.h: Likewise.
14938 * sunrpc/rpc/pmap_prot.h: Likewise.
14939 * sunrpc/rpc/pmap_rmt.h: Likewise.
14940 * sunrpc/rpc/rpc.h: Likewise.
14941 * sunrpc/rpc/rpc_des.h: Likewise.
14942 * sunrpc/rpc/rpc_msg.h: Likewise.
14943 * sunrpc/rpc/svc.h: Likewise.
14944 * sunrpc/rpc/svc_auth.h: Likewise.
14945 * sunrpc/rpc/types.h: Likewise.
14946 * sunrpc/rpc/xdr.h: Likewise.
14947 * sunrpc/rpc_clntout.c: Likewise.
14948 * sunrpc/rpc_cmsg.c: Likewise.
14949 * sunrpc/rpc_common.c: Likewise.
14950 * sunrpc/rpc_cout.c: Likewise.
14951 * sunrpc/rpc_dtable.c: Likewise.
14952 * sunrpc/rpc_hout.c: Likewise.
14953 * sunrpc/rpc_main.c: Likewise.
14954 * sunrpc/rpc_parse.c: Likewise.
14955 * sunrpc/rpc_parse.h: Likewise.
14956 * sunrpc/rpc_prot.c: Likewise.
14957 * sunrpc/rpc_sample.c: Likewise.
14958 * sunrpc/rpc_scan.c: Likewise.
14959 * sunrpc/rpc_scan.h: Likewise.
14960 * sunrpc/rpc_svcout.c: Likewise.
14961 * sunrpc/rpc_tblout.c: Likewise.
14962 * sunrpc/rpc_util.c: Likewise.
14963 * sunrpc/rpc_util.h: Likewise.
14964 * sunrpc/rpcinfo.c: Likewise.
14965 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14966 * sunrpc/rpcsvc/key_prot.x: Likewise.
14967 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14968 * sunrpc/rpcsvc/mount.x: Likewise.
14969 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14970 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14971 * sunrpc/rpcsvc/rex.x: Likewise.
14972 * sunrpc/rpcsvc/rstat.x: Likewise.
14973 * sunrpc/rpcsvc/rusers.x: Likewise.
14974 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14975 * sunrpc/rpcsvc/spray.x: Likewise.
14976 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14977 * sunrpc/rtime.c: Likewise.
14978 * sunrpc/svc.c: Likewise.
14979 * sunrpc/svc_auth.c: Likewise.
14980 * sunrpc/svc_authux.c: Likewise.
14981 * sunrpc/svc_raw.c: Likewise.
14982 * sunrpc/svc_run.c: Likewise.
14983 * sunrpc/svc_simple.c: Likewise.
14984 * sunrpc/svc_tcp.c: Likewise.
14985 * sunrpc/svc_udp.c: Likewise.
14986 * sunrpc/svc_unix.c: Likewise.
14987 * sunrpc/svcauth_des.c: Likewise.
14988 * sunrpc/xcrypt.c: Likewise.
14989 * sunrpc/xdr.c: Likewise.
14990 * sunrpc/xdr_array.c: Likewise.
14991 * sunrpc/xdr_float.c: Likewise.
14992 * sunrpc/xdr_mem.c: Likewise.
14993 * sunrpc/xdr_rec.c: Likewise.
14994 * sunrpc/xdr_ref.c: Likewise.
14995 * sunrpc/xdr_sizeof.c: Likewise.
14996 * sunrpc/xdr_stdio.c: Likewise.
14998 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15001 2010-08-19 Andreas Schwab <schwab@redhat.com>
15003 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15005 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15007 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15008 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15009 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15010 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15011 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15012 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15013 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15014 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15015 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15016 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15017 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15018 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15019 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15020 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15022 2010-07-26 Anton Blanchard <anton@samba.org>
15024 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15025 * malloc/arena.c (heap_trim): Likewise.
15027 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15029 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15031 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15032 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15034 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15036 * sysdeps/i386/elf/Makefile: New file.
15038 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15040 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15041 from fanotify_init.
15042 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15043 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15045 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15047 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15049 * sysdeps/multiarch/strcmp.S: Likewise.
15051 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15053 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15054 strncase_l-nonascii.
15055 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15056 Add strncase_l-ssse3.
15057 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15058 * sysdeps/x86_64/strcmp.S: Likewise.
15059 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15060 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15061 * sysdeps/x86_64/strncase.S: New file.
15062 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15063 * sysdeps/x86_64/strncase_l.S: New file.
15064 * string/Makefile (strop-tests): Add strncasecmp.
15065 * string/test-strncasecmp.c: New file.
15067 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15070 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15071 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15073 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15075 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15077 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15079 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15080 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15081 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15083 2010-05-01 Alan Modra <amodra@gmail.com>
15085 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15086 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15087 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15088 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15089 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15090 tidying. Don't tail-call __sigjmp_save for static lib.
15091 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15093 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15094 (CALL_MCOUNT): Add eh info, and nop after bl.
15095 (TAIL_CALL_SYSCALL_ERROR): New macro.
15096 (PSEUDO_RET): Use it.
15097 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15098 Correct save location of integer regs and cr.
15099 (_dl_profile_resolve): Correct cr save location. Delete nops
15100 after bl when SHARED. Reduce cfi size a little by better
15101 placement of cfi directives.
15102 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15103 make a stack frame. Instead use parm save area as a temp.
15104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15105 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15107 Don't make a stack frame for parent, use parm save area.
15108 Increase child stack frame to 112 bytes. Don't save unused reg,
15109 and adjust reg usage. Set up cfi on error recovery and
15110 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15112 (__makecontext): Add dummy nop after jump to exit.
15113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15114 Use correct parm save area and cr save, reduce stack frame.
15115 Correct cfi for possible PSEUDO_RET frame setup.
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15117 Branch to local label emitted by PSEUDO_RET rather than
15120 2010-08-12 Andreas Schwab <schwab@redhat.com>
15123 * locale/programs/locale.c (print_assignment): New function.
15124 (show_locale_vars): Use it.
15126 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15128 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15130 (struct statfs64): Likewise.
15131 (_STATFS_F_FLAGS): Define.
15132 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15133 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15134 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15135 (ST_VALID): Define locally.
15136 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15137 __statvfs_getflags, use the provided value.
15138 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15139 __ASSUME_STATFS_F_FLAGS.
15141 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15143 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15144 Add sys/fanotify.h.
15145 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15146 fanotify_mask for GLIBC_2.13.
15147 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15148 fanotify_init and fanotify_mark.
15149 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15150 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15152 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15154 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15155 prlimit64 for GLIBC_2.13.
15156 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15158 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15161 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15162 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15163 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15164 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15166 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15169 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15170 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15172 * nss/Makefile: Add rules to build and run tst-nss-test1.
15173 * shlib-versions: Add entry for libnss_test1.
15174 * nss/nss_test1.c: New file.
15175 * nss/tst-nss-test1.c: New file.
15177 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15178 (__nss_configure_lookup): Set appropriate entry in
15179 __nss_configure_lookup to true.
15180 * nss/nsswitch.h: Define enum with indeces of databases in
15181 databases and __nss_database_custom arrays. Declare
15182 __nss_database_custom.
15183 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15184 to avoid using nscd when custom rules are installed.
15185 * nss/getXXbyYY_r.c: Likewise.
15186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15188 * nss/nss_files/files-parse.c: Whitespace fixes.
15190 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15193 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15194 * posix/fnmatch_loop.c: Likewise.
15196 2010-07-17 Andi Kleen <ak@linux.intel.com>
15198 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15199 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15200 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15201 * Versions.def [GLIBC_2.13]: Add.
15203 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15205 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15206 Also fail if tpwd after pwuid call is NULL.
15208 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15210 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15211 when converting to ms.
15213 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15215 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15216 EOPNOTSUPP errors with ENOTTY.
15217 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15218 EOPNOTSUPP errors with ENOTTY.
15220 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15222 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15223 Add strcasecmp_l-ssse3.
15224 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15226 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15227 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15228 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15230 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15232 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15234 * string/Makefile (strop-tests): Add strcasecmp.
15235 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15236 strcasecmp_l-nonascii.
15237 (gen-as-const-headers): Add locale-defines.sym.
15238 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15239 * sysdeps/x86_64/strcasecmp.S: New file.
15240 * sysdeps/x86_64/strcasecmp_l.S: New file.
15241 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15242 * sysdeps/x86_64/locale-defines.sym: New file.
15243 * string/test-strcasecmp.c: New file.
15245 * string/test-strcasestr.c: Test both ends of the range of characters.
15246 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15248 2010-07-29 Roland McGrath <roland@redhat.com>
15251 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15253 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15255 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15258 2010-07-27 Andreas Schwab <schwab@redhat.com>
15260 * manual/memory.texi (Malloc Tunable Parameters): Document
15263 2010-07-26 Roland McGrath <roland@redhat.com>
15266 * configure.in (-fgnu89-inline check): Set and substitute
15267 gnu89_inline, not libc_cv_gnu89_inline.
15268 * configure: Regenerated.
15269 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15271 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15273 * string/test-strnlen.c: New file.
15274 * string/Makefile (strop-tests): Add strnlen.
15275 * string/tester.c (test_strnlen): Add a few more test cases.
15276 * string/tst-strlen.c: Better error reporting.
15278 * sysdeps/x86_64/strnlen.S: New file.
15280 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15282 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15283 lower-latency instructions.
15285 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15287 * string/test-strcasestr.c: New file.
15288 * string/test-strstr.c: New file.
15289 * string/Makefile (strop-tests): Add strstr and strcasestr.
15290 * string/str-two-way.h: Don't undefine MAX.
15291 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15293 2010-07-21 Andreas Schwab <schwab@redhat.com>
15295 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15296 strcasestr-nonascii.
15297 (CFLAGS-strcasestr-nonascii.c): Define.
15298 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15299 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15300 Remove unused attribute.
15302 2010-07-20 Roland McGrath <roland@redhat.com>
15304 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15305 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15306 ld.so.cache was broken. With it, there is no way to disable dsocaps
15307 like LD_HWCAP_MASK can disable hwcaps.
15309 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15311 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15313 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15315 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15316 call in strcasestr.
15317 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15318 __strcasestr_sse42_nonascii.
15319 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15320 strcasestr-nonascii.c.
15321 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15323 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15325 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15326 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15327 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15328 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15330 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15332 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15335 2010-07-06 Andreas Schwab <schwab@redhat.com>
15338 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15341 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15343 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15344 _PC_PIPE_BUF using F_GETPIPE_SZ.
15346 2010-07-05 Roland McGrath <roland@redhat.com>
15348 * manual/arith.texi (Rounding Functions): Fix rint description
15349 implicit in round description.
15351 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15353 * elf/Makefile: Fix linking for a few tests to make recent linker
15356 2010-06-30 Andreas Schwab <schwab@redhat.com>
15358 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15359 $(common-objpfx)libc_nonshared.a.
15361 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15363 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15364 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15365 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15366 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15367 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15368 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15369 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15370 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15385 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15386 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15387 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15388 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15389 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15390 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15391 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15392 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15393 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15394 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15395 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15396 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15412 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15414 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15415 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15416 * string/memmove.c (memmove): Renamed to ...
15417 (MEMMOVE): ...this. Default to memmove.
15418 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15419 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15422 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15423 mempcpy-ssse3-back memmove-ssse3-back.
15424 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15425 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15426 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15427 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15428 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15429 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15430 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15431 * sysdeps/x86_64/multiarch/memmove.c: New file.
15432 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15433 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15434 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15435 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15436 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15437 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15439 (index_Fast_Copy_Backward): Define.
15440 (HAS_ARCH_FEATURE): Define.
15441 (HAS_FAST_REP_STRING): Define.
15442 (HAS_FAST_COPY_BACKWARD): Define.
15444 2010-06-21 Andreas Schwab <schwab@redhat.com>
15446 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15447 Restore proper fallback handling.
15449 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15452 * posix/group_member.c (__group_member): Correct checking loop.
15454 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15455 OOM in getpwuid_r correctly. Return error number when the caller
15456 should return, otherwise -1.
15457 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15458 call returning > 0 value.
15459 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15461 2010-06-07 Andreas Schwab <schwab@redhat.com>
15463 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15464 libc_nonshared.a from targets in modules-names.
15466 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15468 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15471 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
15473 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15474 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15475 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15476 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15478 2010-06-02 Andreas Schwab <schwab@redhat.com>
15480 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15482 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15484 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15486 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15487 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15488 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15489 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15490 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15491 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15493 2010-06-14 Roland McGrath <roland@redhat.com>
15495 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15497 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15499 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15500 __REDIRECT followed by __THROW.
15501 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15502 * posix/getopt.h (getopt): Likewise.
15504 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15506 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15507 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15508 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15510 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15511 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15513 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15515 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15517 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15521 Properly check family and model.
15523 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15525 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15527 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15529 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15531 2010-05-21 Ulrich Drepper <drepper@redhat.com>
15533 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15536 2010-05-19 Andreas Schwab <schwab@redhat.com>
15538 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15541 2010-05-21 Andreas Schwab <schwab@redhat.com>
15543 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15544 and internal_recvmmsg.
15545 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15546 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15547 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15548 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15550 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15551 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15552 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15554 2010-05-20 Andreas Schwab <schwab@redhat.com>
15556 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15558 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15560 POWER7 optimizations.
15561 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15562 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15564 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15566 * version.h: Update for 2.13 development version.
15568 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15570 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15571 exceptions. Return 0.
15573 2010-05-07 Roland McGrath <roland@redhat.com>
15575 * elf/ldconfig.c (main): Add a const.
15577 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15579 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15580 (args_options): Add no-idn option.
15581 (ahosts_keys_int): Add idn_flags to ai_flags.
15582 (parse_option): Handle 'i' option to clear idn_flags.
15584 * malloc/malloc.c (_int_free): Possible race in the most recently
15585 added check. Only act on the data if no current modification
15588 See ChangeLog.17 for earlier changes.