]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
2012-05-24 Jeff Law <law@redhat.com>
[thirdparty/glibc.git] / ChangeLog
1 2012-05-24 Jeff Law <law@redhat.com>
2
3 * stdio-common/Makefile (tests): Add bug25.
4 * stdio-common/bug25.c: New test.
5
6 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7
8 [BZ #13576]
9 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10 multiple of MALLOC_ALIGNMENT in size.
11 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12
13 2012-05-24 Joseph Myers <joseph@codesourcery.com>
14
15 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16 Require >= 256.
17 (FILENAME_MAX): Use macro-int-constant.
18 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19 (_IOFBF): Use macro-int-constant.
20 (_IOLBF): Likewise.
21 (_IONBF): Likewise.
22 (SEEK_CUR): Likewise.
23 (SEEK_END): Likewise.
24 (SEEK_SET): Likewise.
25 (TMP_MAX): Likewise.
26 (EOF): Use macro-int-constant. Require < 0.
27 (NULL): Use macro-constant. Require == 0.
28 (stdin): Require type to be FILE *.
29 (stdout): Likewise.
30 (stderr): Likewise.
31 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32 macro-int-constant.
33 (EXIT_SUCCESS): Likewise.
34 (NULL): Use macro-constant. Require == 0.
35 (RAND_MAX): Use macro-int-constant.
36 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37 [C99-based standards] (strtof): Require function.
38 [C99-based standards] (strtold): Likewise.
39 [C99-based standards] (strtoll): Likewise.
40 [C99-based standards] (strtoull): Likewise.
41 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42 [ISO || ISO99 || ISO11] (limits.h): Likewise.
43 [ISO || ISO99 || ISO11] (math.h): Likewise.
44 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47
48 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49
50 [BZ #14132]
51 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
52 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
53 * intl/dgettext.c (DCGETTEXT): Likewise.
54 * intl/gettext.c (DCGETTEXT): Likewise.
55 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56 * posix/regex_internal.h (gettext): Likewise.
57 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
58 Remove declaration.
59 * include/argz.h (__argz_count_internal)
60 (__argz_stringify_internal): Remove declaration.
61 (__argz_count, __argz_stringify): Declare hidden proto.
62 * intl/dcgettext.c: Remove use of INTDEF.
63 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64 * string/argz-stringify.c: Likewise.
65 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67 Declare hidden proto.
68 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70 Declare hidden proto.
71 * include/stdio.h (__asprintf_internal): Don't declare.
72 (__asprintf): Don't define as macro. Declare hidden proto.
73 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74 (__fsetlocking): Declare hidden proto.
75 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
76 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
77 hidden proto.
78 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
79 (_IO_setlinebuf): Remove use of INTUSE.
80 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
81 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
82 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
83 Remove declaration.
84 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
85 (_IO_do_flush): Remove use of INTUSE.
86 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
87 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
88 (_IO_adjust_column, _IO_least_wmarker)
89 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
90 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
91 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
92 (_IO_default_doallocate, _IO_wdefault_doallocate)
93 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
94 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
95 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
96 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
97 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
98 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
99 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
100 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
101 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
102 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
103 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
104 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
105 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
106 proto.
107 (_IO_flush_all_internal, _IO_adjust_column_internal)
108 (_IO_default_uflow_internal, _IO_default_finish_internal)
109 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
110 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
111 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
112 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
113 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
114 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
115 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
116 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
117 (_IO_file_close_internal, _IO_file_close_it_internal)
118 (_IO_file_underflow_internal, _IO_file_overflow_internal)
119 (_IO_file_init_internal, _IO_file_attach_internal)
120 (_IO_file_fopen_internal, _IO_file_read_internal)
121 (_IO_file_sync_internal, _IO_file_seek_internal)
122 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
123 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
124 (_IO_str_underflow_internal, _IO_str_overflow_internal)
125 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
126 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
127 (_IO_list_all_internal, _IO_link_in_internal)
128 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
129 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
130 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
131 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
132 (_IO_do_write_internal, _IO_padn_internal)
133 (_IO_getline_info_internal, _IO_getline_internal)
134 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
135 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
136 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
137 (_IO_vfscanf_internal, _IO_vfprintf_internal)
138 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
139 (_IO_init_internal, _IO_un_link_internal): Don't declare.
140 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
141 with libc_hidden_ver, remove use of INTUSE.
142 * libio/genops.c: Likewise.
143 * libio/freopen.c: Likewise.
144 * libio/freopen64.c: Likewise.
145 * libio/iofclose.c: Likewise.
146 * libio/iofdopen.c: Likewise.
147 * libio/iofflush.c: Likewise.
148 * libio/iofflush_u.c: Likewise.
149 * libio/iofgets.c: Likewise.
150 * libio/iofgets_u.c: Likewise.
151 * libio/iofopen.c: Likewise.
152 * libio/iofopncook.c: Likewise.
153 * libio/iofread.c: Likewise.
154 * libio/iofread_u.c: Likewise.
155 * libio/ioftell.c: Likewise.
156 * libio/iofwrite.c: Likewise.
157 * libio/iogetline.c: Likewise.
158 * libio/iogets.c: Likewise.
159 * libio/iogetwline.c: Likewise.
160 * libio/iopadn.c: Likewise.
161 * libio/iopopen.c: Likewise.
162 * libio/ioseekoff.c: Likewise.
163 * libio/ioseekpos.c: Likewise.
164 * libio/iosetbuffer.c: Likewise.
165 * libio/iosetvbuf.c: Likewise.
166 * libio/ioungetc.c: Likewise.
167 * libio/ioungetwc.c: Likewise.
168 * libio/iovdprintf.c: Likewise.
169 * libio/iovsprintf.c: Likewise.
170 * libio/iovsscanf.c: Likewise.
171 * libio/memstream.c: Likewise.
172 * libio/obprintf.c: Likewise.
173 * libio/oldfileops.c: Likewise.
174 * libio/oldiofclose.c: Likewise.
175 * libio/oldiofdopen.c: Likewise.
176 * libio/oldiofopen.c: Likewise.
177 * libio/oldiopopen.c: Likewise.
178 * libio/oldstdfiles.c: Likewise.
179 * libio/putc.c: Likewise.
180 * libio/setbuf.c: Likewise.
181 * libio/setlinebuf.c: Likewise.
182 * libio/stdfiles.c: Likewise.
183 * libio/strops.c: Likewise.
184 * libio/vasprintf.c: Likewise.
185 * libio/vscanf.c: Likewise.
186 * libio/vsnprintf.c: Likewise.
187 * libio/vswprintf.c: Likewise.
188 * libio/wfiledoalloc.c: Likewise.
189 * libio/wfileops.c: Likewise.
190 * libio/wgenops.c: Likewise.
191 * libio/wmemstream.c: Likewise.
192 * libio/wstrops.c: Likewise.
193 * libio/__fpurge.c: Likewise.
194 * libio/__fsetlocking.c: Likewise.
195 * assert/assert.c: Likewise.
196 * debug/fgets_chk.c: Likewise.
197 * debug/fgets_u_chk.c: Likewise.
198 * debug/fread_chk.c: Likewise.
199 * debug/fread_u_chk.c: Likewise.
200 * debug/gets_chk.c: Likewise.
201 * debug/obprintf_chk.c: Likewise.
202 * debug/vasprintf_chk.c: Likewise.
203 * debug/vdprintf_chk.c: Likewise.
204 * debug/vsnprintf_chk.c: Likewise.
205 * debug/vsprintf_chk.c: Likewise.
206 * malloc/mtrace.c: Likewise.
207 * misc/error.c: Likewise.
208 * misc/syslog.c: Likewise.
209 * stdio-common/asprintf.c: Likewise.
210 * stdio-common/fxprintf.c: Likewise.
211 * stdio-common/getw.c: Likewise.
212 * stdio-common/isoc99_fscanf.c: Likewise.
213 * stdio-common/isoc99_scanf.c: Likewise.
214 * stdio-common/isoc99_vfscanf.c: Likewise.
215 * stdio-common/isoc99_vscanf.c: Likewise.
216 * stdio-common/isoc99_vsscanf.c: Likewise.
217 * stdio-common/printf-prs.c: Likewise.
218 * stdio-common/printf_fp.c: Likewise.
219 * stdio-common/printf_fphex.c: Likewise.
220 * stdio-common/printf_size.c: Likewise.
221 * stdio-common/putw.c: Likewise.
222 * stdio-common/scanf.c: Likewise.
223 * stdio-common/sprintf.c: Likewise.
224 * stdio-common/tmpfile.c: Likewise.
225 * stdio-common/vfprintf.c: Likewise.
226 * stdio-common/vfscanf.c: Likewise.
227 * stdlib/strfmon_l.c: Likewise.
228 * sunrpc/openchild.c: Likewise.
229 * sunrpc/xdr_stdio.c: Likewise.
230 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
231 * sysdeps/mach/hurd/tmpfile.c: Likewise.
232
233 2012-05-24 Roland McGrath <roland@hack.frob.com>
234
235 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
236
237 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
238 in the third column, to generate for the shared library an IFUNC
239 that uses _dl_vdso_vsym.
240 * Makerules (COMPILE.c, compile-stdin.c): New variables.
241 * Makeconfig (object-suffixes-noshared): New variable.
242
243 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
244 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
245 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
246 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
247
248 [BZ #14132]
249 * include/sys/time.h (__gettimeofday): Remove macro.
250 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
251 * time/gettimeofday.c (__gettimeofday): Remove #undef.
252 Remove INTDEF.
253 (__gettimeofday): Add libc_hidden_def.
254 (gettimeofday): Add libc_hidden_weak.
255 * sysdeps/mach/gettimeofday.c: Likewise.
256 * sysdeps/posix/gettimeofday.c: Likewise.
257 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
258 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
259 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
260 (__gettimeofday_internal): Remove strong_alias.
261 (__gettimeofday): Add libc_hidden_def.
262 (gettimeofday): Add libc_hidden_weak.
263 * sysdeps/unix/syscalls.list (gettimeofday):
264 Remove __gettimeofday_internal alias.
265
266 2012-05-24 Daniel Jacobowitz <drow@false.org>
267 H.J. Lu <hongjiu.lu@intel.com>
268
269 [BZ #12495]
270 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
271 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
272 (largebin_index_32_big): New.
273 (largebin_index): Use it for 16-byte alignment.
274 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
275 correction with front_misalign.
276
277 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
278
279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
281 Likewise.
282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
283 Likewise.
284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
285 Likewise.
286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
287 Likewise.
288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
289 Likewise.
290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
291 Likewise.
292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
293 Likewise.
294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
295 Likewise.
296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
297 Likewise.
298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
299 Likewise.
300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
301 Likewise.
302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
303 Likewise.
304
305 * scripts/data/c++-types-x32-linux-gnu.data: New file.
306 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
307
308 2012-05-24 Joseph Myers <joseph@codesourcery.com>
309
310 [BZ #10846]
311 [BZ #14036]
312 * math/libm-test.inc (exp_test): Add test from bug 14036.
313 (pow_test): Add test from bug 10846.
314
315 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
316 and other flags.
317 (special_function): Do not include flags in test name.
318 (parse_args): Likewise.
319 * sysdeps/i386/fpu/libm-test-ulps: Update.
320 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
321 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
322 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
324
325 * math/gen-libm-test.pl (%beautify): Add entries for underflow
326 exceptions.
327 * math/libm-test.inc ("Philosophy"): Update comment about
328 exception testing.
329 (UNDERFLOW_EXCEPTION): New macro.
330 (UNDERFLOW_EXCEPTION_OK): Likewise.
331 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
332 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
333 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
334 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
335 (INVALID_EXCEPTION_OK): Update value.
336 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
337 (OVERFLOW_EXCEPTION_OK): Likewise.
338 (IGNORE_ZERO_INF_SIGN): Likewise.
339 (test_exceptions): Handle underflow exceptions.
340 (acos_test): Update for underflow exception expectations.
341 (cexp_test): Likewise.
342 (clog_test): Likewise.
343 (clog10_test): Likewise.
344 (csqrt_test): Likewise.
345 (ctan_test): Likewise.
346 (ctanh_test): Likewise.
347 (exp_test): Likewise.
348 (exp10_test): Likewise.
349 (exp2_test): Likewise.
350 (expm1_test): Likewise.
351 (fma_test): Likewise.
352 (j0_test): Likewise.
353 (jn_test): Likewise.
354 (nexttoward_test): Likewise.
355 (pow_test): Likewise.
356 (scalbn_test): Likewise.
357 (scalbln_test): Likewise.
358 (tan_test): Likewise.
359 (y1_test): Likewise.
360 * sysdeps/i386/fpu/libm-test-ulps: Update.
361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
362
363 2012-05-23 David S. Miller <davem@davemloft.net>
364
365 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
366 (__libc_sigaction): Remove unused local variables.
367
368 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
369
370 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
371
372 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
373
374 mktime: avoid signed integer overflow
375 * time/mktime.c (__mktime_internal): Do not mishandle the case
376 where diff == INT_MIN.
377
378 mktime: simplify computation of average
379 * time/mktime.c (ranged_convert): Use new time_t_avg function
380 instead of rolling our own (probably-slower) code.
381
382 mktime: do not assume signed right shift propagates sign bit
383 * time/mktime.c (isdst_differ): New static function.
384 (__mktime_internal): No need to normalize tm_isdst now.
385 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
386 tm_isdst values.
387
388 mktime: merge another wrapv change from gnulib
389 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
390 from some compilers.
391
392 mktime: remove incorrect attempt at unusual arithmetics
393 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
394 The code didn't really work on such machines anyway.
395 (TYPE_MINIMUM): Assume two's complement.
396 (twos_complement_arithmetic): Verify that long_int and time_t
397 are two's complement (or unsigned, in the latter case).
398
399 mktime: check signed shifts on long_int and time_t, too
400 * time/mktime.c (SHR): Check that shifts work as desired
401 on the types long_int and time_t too, as SHR is used on
402 such types.
403
404 mktime: do not assume 'long' is wide enough
405 * time/mktime.c (verify): Move decl up.
406 (long_int): New type.
407 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
408 to remove assumption in the code that 'long' is wide enough to
409 store year values. This assumption is not true on x32 and on
410 some non-glibc platforms.
411
412 mktime: merge wrapv change from gnulib
413 * time/mktime.c (WRAPV): New macro.
414 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
415 (guess_time_tm, __mktime_internal): Do not assume that signed
416 integer overflow wraps around; modern compilers generate code
417 where this assumption is no longer valid.
418
419 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
420
421 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
422 Replace "jmp L(pseudo_end)" with "ret".
423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
424 Likewise.
425
426 2012-05-23 Andreas Jaeger <aj@suse.de>
427
428 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
429 * sysdeps/unix/sysv/linux/poll.c: Remove file.
430
431 2012-05-23 Andreas Jaeger <aj@suse.de>
432 Maximilian Attems <max@stro.at>
433
434 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
435 New macros.
436
437 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
438
439 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
440 code so that pseudo_end is just ret and the stack pointer is
441 correct also for static library in error case.
442
443 2012-05-23 Joseph Myers <joseph@codesourcery.com>
444
445 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
446 move to syscalls.list.
447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
451
452 * manual/install.texi (Running make install): Do not mention Linux
453 kernel version for which pt_chown is not needed.
454 (Linux): Do not mention problems with nscd with 2.0 kernels.
455 * INSTALL: Regenerated.
456
457 2012-05-23 Andreas Jaeger <aj@suse.de>
458
459 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
460 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
461 macro.
462 * sysdeps/unix/sysv/linux/s390/bits/mman.h
463 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
464 * sysdeps/unix/sysv/linux/sh/bits/mman.h
465 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
466 * sysdeps/unix/sysv/linux/i386/bits/mman.h
467 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
468 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
469 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
470 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
471 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
472 * sysdeps/unix/sysv/linux/bits/in.h
473 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
474
475 2012-05-22 Roland McGrath <roland@hack.frob.com>
476
477 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
478 (PREPARE_VERSION): Just use assert instead, it will be elided
479 under [NDEBUG] anyway.
480
481 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
482
483 * sysdeps/unix/sysv/linux/Makefile: Include
484 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
485 (sysdep_routines): Remove sysctl.
486 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
487 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
488 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
489 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
490 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
491
492 2012-05-22 Andreas Jaeger <aj@suse.de>
493
494 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
495 that pseudo_end is just ret and the stack pointer is correct also
496 for static library in error case.
497
498 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
499
500 [BZ #14122]
501 * nss/nsswitch.c (defconfig_entries): New variable.
502 (__nss_database_lookup): Don't leak defconfig entries.
503 (nss_parse_service_list): Don't leak on error paths.
504 (free_database_entries): New function.
505 (free_defconfig): New function.
506 (free_mem): Move common code to free_database_entries.
507
508 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
509
510 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
511 Add arch_prctl.
512 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
513
514 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
515 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
517 New macro.
518 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
519 (INTERNAL_SYSCALL_TYPES): Likewise.
520 (LOAD_ARGS_TYPES_[1-6]): Likewise.
521 (LOAD_REGS_TYPES_[1-6]): Likewise.
522 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
523 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
524
525 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
526
527 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
528 copysignl for GLIBC_2_0.
529 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
530 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
531 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
532 logbl for GLIBC_2_0.
533 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
534 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
535
536 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
537
538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
539 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
540
541 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
542 Use "neg %eax".
543
544 * time/mktime.c: Update copyright years.
545
546 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
547
548 mktime: merge comment-quoting-style change from gnulib
549 * time/mktime.c: Quote 'like this' in comments.
550 The GNU coding standards suggest that we no longer quote `like this',
551 as "`" and "'" are typically rendered asymmetrically nowadays.
552 The typical gnulib style is to quote 'like this' when quoting
553 code, and "like this" when quoting English.
554
555 * time/mktime.c (compile-command): Add "-I.".
556
557 mktime: merge mktime-internal.h change from gnulib
558 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
559
560 mktime: merge time_r change from gnulib
561 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
562
563 mktime: merge DEBUG change from gnulib
564 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
565 case system <time.h> has a #define.
566
567 mktime: merge <sys/types.h> change from gnulib
568 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
569 since <time.t> is now guaranteed to define time_t.
570
571 mktime: merge HAVE_CONFIG_H change from gnulib
572 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
573
574 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
575
576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
577 Use "neg %eax".
578
579 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
580 __rlim_t cast.
581 (struct rusage): Use anonymous union to pad each field to
582 __syscall_slong_t.
583
584 2012-05-21 David S. Miller <davem@davemloft.net>
585
586 * Makefules (o-iterator): Remove .s cases.
587 (compile-command.s): Delete.
588 (COMPILE.s): Delete.
589 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
590
591 2012-05-21 Joseph Myers <joseph@codesourcery.com>
592
593 * configure.in (libc_cv_predef_stack_protector): Only consider
594 "foobar" and "__stack_chk_fail" lines in libc_undefs.
595 * configure: Regenerated.
596
597 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
598
599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
600 New macro. Use R*LP on int and pointer.
601 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
602 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
603 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
604 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
605
606 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
607 [__WORDSIZE_TIME64_COMPAT32] instead of
608 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
609 (struct utmp): Likewise.
610 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
611 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
612 Renamed to ...
613 (__WORDSIZE_TIME64_COMPAT32): This.
614 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
615 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
616 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
617 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
618 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
619 (__WORDSIZE_TIME64_COMPAT32): New macro.
620
621 2012-05-21 Andreas Jaeger <aj@suse.de>
622
623 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
624 only if [SHARED]. Add prototype for __wcschr_ia32.
625
626 2012-05-21 Roland McGrath <roland@hack.frob.com>
627
628 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
629 of %rbp unmolested in the jmp_buf while mangling the low bits.
630 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
631 unmolested high bits of %rbp while demangling the low bits.
632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
633
634 2012-05-21 Andreas Jaeger <aj@suse.de>
635
636 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
637 * sunrpc/svc_simple.c: Use it for registerrpc.
638 * sunrpc/xcrypt.c: Use it for passwd2des.
639
640 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
641
642 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
643
644 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
645 Don't define if [__SYSCALL_WORDSIZE != 32].
646 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
647 New macro.
648
649 2012-05-21 Bruno Haible <bruno@clisp.org>
650 Andreas Jaeger <aj@suse.de>
651
652 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
653 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
654 inptr and inend for must_buffer_ch.
655 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
656 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
657 * stdio-common/Makefile (tests): Remove bug15.
658 (bug15-ENV): Remove macro.
659 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
660 anymore.
661
662 2012-05-19 Andreas Jaeger <aj@suse.de>
663 Roland McGrath <roland@hack.frob.com>
664
665 * manual/contrib.texi: Completely rewritten. It contains now an
666 alphabetical list of contributors and their contributions.
667
668 2012-05-21 Richard Henderson <rth@twiddle.net>
669
670 * misc/getauxval.c (__getauxval): Use unsigned long int.
671 * misc/sys/auxv.h: Include <sys/cdefs.h>.
672 (getauxval): Use unsigned long int.
673
674 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
675
676 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
677
678 2012-05-21 Roland McGrath <roland@hack.frob.com>
679
680 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
681 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
682 __alignof__ (long double).
683
684 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
685
686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
687
688 2012-05-20 Richard Henderson <rth@twiddle.net>
689
690 * misc/getauxval.c: New file.
691 * misc/sys/auxv.h: New file.
692 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
693 (routines): Add getauxval.
694 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
695 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
696 * elf/dl-sysdep.c (_dl_auxv): Remove.
697 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
698 * elf/dl-support.c (_dl_auxv): New variable.
699 (_dl_aux_init): Initialize it.
700 * manual/startup.texi (Auxiliary Vector): New node.
701 * sysdeps/generic/bits/hwcap.h: New file.
702 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
703 * sysdeps/powerpc/sysdep.h: ... here. Include it.
704 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
705 * sysdeps/sparc/sysdep.h: ... here. Include it.
706 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
707 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
709 Update.
710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
718
719 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
720
721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
722
723 2012-05-19 David S. Miller <davem@davemloft.net>
724
725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
726
727 2012-05-19 Joseph Myers <joseph@codesourcery.com>
728
729 [BZ #14123]
730 * math/s_ccosh.c: Include <float.h>
731 (__ccosh): Avoid internal overflow calculating sinh and cosh
732 values before multiplying by sin and cos values.
733 * math/s_ccoshf.c: Likewise.
734 * math/s_ccoshl.c: Likewise.
735 * math/s_csin.c: Likewise.
736 * math/s_csinf.c: Likewise.
737 * math/s_csinl.c: Likewise.
738 * math/s_csinh.c: Likewise.
739 * math/s_csinhf.c: Likewise.
740 * math/s_csinhl.c: Likewise.
741 * math/libm-test.inc (ccos_test): Add more tests.
742 (ccosh_test): Likewise.
743 (csin_test): Likewise.
744 (csinh_test): Likewise.
745 * sysdeps/i386/fpu/libm-test-ulps: Update.
746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
747
748 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
749
750 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
751 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
752
753 * sysdeps/x86_64/x32/_itoa.h: Add comment.
754
755 2012-05-19 Joseph Myers <joseph@codesourcery.com>
756
757 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
758 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
759 * sysdeps/powerpc/soft-fp/Versions: Likewise.
760 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
761 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
762 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
763 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
764 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
765 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
766 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
767 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
768 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
769 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
770 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
771 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
772 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
773 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
774 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
775 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
776 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
777 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
778 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
779 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
780 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
781 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
782 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
783 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
784 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
785 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
786 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
787 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
788
789 2012-05-18 Andreas Jaeger <aj@suse.de>
790
791 * csu/.gitignore: Delete.
792
793 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
794
795 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
796 (timex): Use __syscall_slong_t.
797
798 2012-05-18 Andreas Jaeger <aj@suse.de>
799 Carlos O'Donell <carlos_odonell@mentor.com>
800
801 * manual/install.texi (Configuring and compiling): Update
802 description about files modified in the source directory.
803 * INSTALL: Regenerated.
804
805 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
806
807 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
808 value. Use "or" to set return value to -1.
809 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
810 negate return value.
811
812 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
813
814 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
815 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
816 failure if the compiler has Graphite support disabled.
817 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
818 Likewise.
819 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
820 CFLAGS-memmove.c): Likewise.
821 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
822 Likewise.
823
824 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
825
826 * sysdeps/x86_64/x32/_itoa.h: New file.
827
828 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
829 getdents system call only if kernel and user dirents have the
830 same d_ino and d_off.
831
832 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
833 LLONG_MAX != LONG_MAX.
834 (_itoa_word): Use _ITOA_WORD_TYPE on value.
835 (_fitoa_word): Likewise.
836
837 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
838 years.
839 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
840 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
841 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
842
843 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
844 include <bits/wordsize.h>. Check __x86_64__ instead of
845 __WORDSIZE.
846 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
847 if __x86_64__ is defined. Use anonymous union on fpstate.
848
849 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
850 anonymous union.
851
852 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
853
854 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
855 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
856 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
857 Refer to _rtld_local_ro instead of _rtld_global_ro.
858 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
859 Likewise.
860 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
861 Likewise.
862 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
863 Likewise.
864 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
865 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
866 of _rtld_global, and rtld_progname instead of _dl_argv[0].
867
868 * sysdeps/powerpc/powerpc32/dl-machine.c
869 (__elf_machine_runtime_setup) [PROF]: Don't reference
870 _dl_prof_resolve.
871
872 2012-05-18 Andreas Jaeger <aj@suse.de>
873
874 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
875 function only available for GCCs before 3.4 since GCC 3.4
876 introduced a builtin.
877 (lrint): Likewise.
878 (llrintf): Likewise.
879 (llrint): Likewise.
880 (fmaxf): Likewise.
881 (fmax): Likewise.
882 (fminf): Likewise.
883 (fmin): Likewise.
884 (rint): Likewise.
885 (rintf): Likewise.
886 (nearbyint): Likewise.
887 (nearbyintf): Likewise.
888 (ceil): Likewise.
889 (ceilf): Likewise.
890 (floor): Likewise.
891 (floorf): Likewise.
892
893 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
894
895 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
896 on both fields and cast pointer to __syscall_ulong_t.
897
898 * bits/types.h (__fsword_t): New type.
899 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
900 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
901 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
902 (__FSWORD_T_TYPE): Likewise.
903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
904 (__FSWORD_T_TYPE): Likewise.
905 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
906 (__FSWORD_T_TYPE): Likewise.
907 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
908 (__FSWORD_T_TYPE): Likewise.
909 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
910 __SWORD_TYPE with __fsword_t.
911 (statfs64): Likewise.
912
913 2012-05-17 David S. Miller <davem@davemloft.net>
914
915 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
916
917 2012-05-17 Andreas Jaeger <aj@suse.de>
918
919 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
920 warning.
921
922 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
923
924 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
925
926 2012-05-17 Andreas Jaeger <aj@suse.de>
927
928 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
929 when it is used.
930
931 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
932
933 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
934
935 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
936
937 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
938 * sysdeps/x86_64/tst-mallocalign1.c: New file.
939
940 2012-05-17 Andreas Jaeger <aj@suse.de>
941 Carlos O'Donell <carlos_odonell@mentor.com>
942
943 [BZ #14059]
944 * sysdeps/x86_64/multiarch/init-arch.h
945 (bit_YMM_Usable): Rename to...
946 (bit_AVX_Usable): ... this.
947 (bit_FMA4_Usable): New macro.
948 (bit_XMM_state): New macro.
949 (bit_YMM_state): New macro.
950 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
951 [__ASSEMBLER__] (index_AVX_Usable): ... this.
952 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
953 (CPUID_OSXSAVE): New macro.
954 (CPUID_AVX): New macro.
955 (CPUID_FMA4): New macro.
956 (index_YMM_Usable): Rename to...
957 (index_AVX_Usable): ... this.
958 (HAS_AVX): Use HAS_ARCH_FEATURE.
959 (HAS_FMA4): Likewise.
960 (HAS_YMM_USABLE): Remove.
961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
962 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
963 are present.
964 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
965 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
966 * sysdeps/x86_64/multiarch/Makefile: Likewise.
967 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
968 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
969
970 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
971
972 * math/libm-test.c: Support platforms without multiple rounding modes.
973 * math/bug-nextafter.c: Support platforms without FP exceptions.
974 * math/bug-nexttoward.c: Likewise.
975 * math/test-fenv.c: Likewise.
976 * math/test-misc.c: Likewise.
977 * stdlib/bug-getcontext.c: Likewise.
978
979 2012-05-17 Andreas Jaeger <aj@suse.de>
980
981 * manual/examples/search.c (critter_cmp): Change signature to
982 avoid warnings.
983 * manual/string.texi (Collation Functions): Likewise.
984
985 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
986
987 * bits/types.h: Fold copyright years.
988 * bits/typesizes.h: Likewise.
989 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
990 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
991 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
992 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
993 * time/time.h: Likewise.
994
995 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
996
997 [BZ #208]
998 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
999 in instead of returning them. Return void.
1000 (__libc_mallinfo): Accumulate over all arenas.
1001 (__malloc_stats): Adjust for change in int_mallinfo interface.
1002
1003 2012-05-16 Roland McGrath <roland@hack.frob.com>
1004
1005 [BZ #10375]
1006 * configure.in (NM): Add AC_CHECK_TOOL for it.
1007 (libc_extra_cflags): New substituted variable.
1008 Check for -fstack-protector being used implicitly.
1009 * configure: Regenerated.
1010 * config.make.in (config-extra-cflags): New variable,
1011 gets @libc_extra_cflags@.
1012 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1013
1014 [BZ #10375]
1015 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1016 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1017 * configure: Regenerated.
1018 * config.make.in (CPPUNDEFS): New substituted variable.
1019 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1020 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1021 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1022
1023 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1024
1025 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1026 (mq_attr): Use __syscall_slong_t.
1027
1028 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1029
1030 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1031 Check __x86_64__ instead of __WORDSIZE.
1032 (_STAT_VER_LINUX): Likewise.
1033 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1034 __syscall_ulong_t and __syscall_slong_t.
1035 (stat64): Likewise.
1036
1037 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1038
1039 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1040
1041 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1042
1043 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1044
1045 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1046
1047 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1048 __syscall_ulong_t.
1049
1050 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1051 include <bits/wordsize.h>. Check __x86_64__ instead of
1052 __WORDSIZE.
1053 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1054 defined.
1055 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1056
1057 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1058 include <bits/wordsize.h>. Check __x86_64__ instead of
1059 __WORDSIZE.
1060 (user_regs_struct): Use "__extension__ unsigned long long"
1061 instead of "unsigned long" if __x86_64__ is defined.
1062 (user): Likewise. Pad after pointer field if __ILP32__ is
1063 defined.
1064
1065 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1066
1067 * configure.in (makeinfo): Require version 4.5 or later. Allow
1068 versions 5 to 9.
1069 * configure: Regenerated.
1070 * manual/install.texi (texinfo): Increase version requirement to
1071 4.5 or later.
1072 * INSTALL: Regenerated.
1073
1074 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1075
1076 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1077
1078 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1079
1080 * sysdeps/x86_64/x32/ffs.c: New file.
1081
1082 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1083 __syscall_ulong_t.
1084 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1085 defined. Use __syscall_ulong_t.
1086 (shminfo): Use __syscall_ulong_t.
1087 (shm_info): Likewise.
1088
1089 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1090 __syscall_ulong_t.
1091
1092 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1093 <bits/wordsize.h>.
1094 (msgqnum_t): Use __syscall_ulong_t.
1095 (msglen_t): Likewise.
1096 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1097 __syscall_ulong_t.
1098
1099 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1100 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1101
1102 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1103
1104 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1105 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1106
1107 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1108 __syscall_slong_t.
1109
1110 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1111 include <bits/wordsize.h>. Check __x86_64__ instead of
1112 __WORDSIZE.
1113
1114 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1115 "unsigned long long int" if __x86_64__ is defined.
1116 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1117
1118 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1119 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1120 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1121
1122 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1123 <stdint.h>.
1124 (GET_PC): Cast to uintptr_t first.
1125 (GET_FRAME): Likewise.
1126 (GET_STACK): Likewise.
1127
1128 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1129 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1130 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1131 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1132 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1133 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1134 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1135 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1136 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1137 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1138 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1139 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1140 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1141 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1142 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1143 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1144 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1145 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1146 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1147 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1148 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1149 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1150 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1151 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1152 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1153 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1154 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1155 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1156 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1157
1158 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1159
1160 * Makerules (+depfiles): Also collect depfiles from .oS in
1161 $(extra-objs).
1162 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1163 .oS, $(libnldbl-routines)).
1164
1165 * Makerules (native-compile-mkdep-flags): Define.
1166 * sunrpc/Makefile (extra-objs): Add $(addprefix
1167 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1168 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1169 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1170 calling $(make-target-directory).
1171
1172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1173
1174 * bits/types.h (__snseconds_t): Removed.
1175 * time/time.h (struct timespec): Replace __snseconds_t with
1176 __syscall_slong_t.
1177 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1178 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1179 Likewise.
1180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1181 (__SNSECONDS_T_TYPE): Likewise.
1182 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1183 (__SNSECONDS_T_TYPE): Likewise.
1184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1185 (__SNSECONDS_T_TYPE): Likewise.
1186
1187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1188
1189 * sysdeps/mach/hurd/bits/typesizes.h
1190 (__SYSCALL_SLONG_TYPE): New macro.
1191 (__SYSCALL_ULONG_TYPE): Likewise.
1192
1193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 * bits/types.h (__syscall_slong_t): New type.
1196 (__syscall_ulong_t): Likewise.
1197
1198 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1199 (__SYSCALL_ULONG_TYPE): Likewise.
1200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1201 (__SYSCALL_SLONG_TYPE): Likewise.
1202 (__SYSCALL_ULONG_TYPE): Likewise.
1203 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1204 (__SYSCALL_SLONG_TYPE): Likewise.
1205 (__SYSCALL_ULONG_TYPE): Likewise.
1206 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1207 (__SYSCALL_SLONG_TYPE): Likewise.
1208 (__SYSCALL_ULONG_TYPE): Likewise.
1209
1210 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1211
1212 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1213 Add sigaltstack-offsets.sym.
1214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1215 <sigaltstack-offsets.h>.
1216 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1217 longjmp_msg pointer.
1218 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1219 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1220 signal stack.
1221 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1222
1223 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1224
1225 * elf/stackguard-macros.h: Remove file.
1226 * sysdeps/generic/stackguard-macros.h: New file.
1227 * sysdeps/i386/stackguard-macros.h: Likewise.
1228 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1229 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1230 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1231 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1232 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1233 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1234 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1235 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1236 <elf/stackguard-macros.h>.
1237
1238 [BZ #14109]
1239 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1240 __aligned__ in attribute.
1241 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1242 (gregset_t): Likewise.
1243
1244 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1245
1246 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1247 * sysdeps/x86_64/64/Implies-after: Here. New file.
1248 * sysdeps/x86_64/x32/Implies-after: New file.
1249
1250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1251
1252 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1253 and access return value for _dl_profile_fixup. Use R10_LP to
1254 load frame size.
1255
1256 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1257
1258 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1259
1260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1261
1262 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1263 * sysdeps/x86_64/x32/sysdep.h: New file.
1264
1265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1266
1267 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1268 * sysdeps/x86_64/setjmp.S: Likewise.
1269
1270 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1271
1272 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1273 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1274 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1275 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1276 remove unused global constant.
1277
1278 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1279
1280 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1281 include of <not-cancel.h>.
1282
1283 2012-05-15 Roland McGrath <roland@hack.frob.com>
1284
1285 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1286
1287 2012-05-15 Jeff Law <law@redhat.com>
1288 Andreas Jaeger <aj@suse.de>
1289
1290 [BZ #13594]
1291 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1292 out from...
1293 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1294 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1295 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1296 code changing __hst_map_handle.map.
1297
1298 2012-05-15 Roland McGrath <roland@hack.frob.com>
1299
1300 * configure.in (sysnames): Look for Implies-before and Implies-after
1301 files.
1302 * configure: Regenerated.
1303
1304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1305
1306 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1307 8-byte data alignment with LP_SIZE alignment.
1308
1309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1310
1311 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1312 into R10_LP.
1313
1314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1315
1316 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1317
1318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1319
1320 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1321 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1322 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1323 Likewise.
1324 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1325
1326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1327
1328 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1329 (stackinfo_sub_sp): Likewise.
1330
1331 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1332
1333 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1334 RAX_LP.
1335
1336 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1337
1338 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1339 into R*_LP.
1340
1341 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1342
1343 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1344 sizes into R*_LP.
1345
1346 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1347
1348 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1349
1350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1351
1352 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1353 into R11_LP and load __x86_64_shared_cache_size_half into
1354 R8_LP.
1355
1356 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1357
1358 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1359 R8_LP.
1360
1361 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1362
1363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1364 logb for POWER7.
1365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1366 logbf for POWER7.
1367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1368 logbl for POWER7.
1369 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1370 powerpc32/power7/fpu/s_logb.c via #include.
1371 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1372 powerpc32/power7/fpu/s_logbf.c via #include.
1373 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1374 powerpc32/power7/fpu/s_logbl.c via #include.
1375
1376 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1377
1378 * README.libm: Remove file.
1379
1380 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1381
1382 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1383 count for x32. Use R*_LP and omit operand-size suffix.
1384
1385 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1386
1387 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1388 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1389 * sysdeps/x86_64/x32/shlib-versions: New file.
1390
1391 2012-05-14 Roland McGrath <roland@hack.frob.com>
1392
1393 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1394 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1395 Use _dl_fatal_printf instead.
1396
1397 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1398
1399 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1400 set if not set by the user. Do not allow for being unset.
1401 * sysdeps/unix/sysv/linux/configure: Regenerated.
1402
1403 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1404
1405 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1406 the `q' suffix from lea and replace .quad with ASM_ADDR.
1407
1408 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1409
1410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1411 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1412 instead of $17.
1413 (PTR_DEMANGLE): Likewise.
1414
1415 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1416
1417 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1418 (LP_OP): Likewise.
1419 (ASM_ADDR): Likewise.
1420 (RAX_LP): Likewise.
1421 (RBP_LP): Likewise.
1422 (RBX_LP): Likewise.
1423 (RCX_LP): Likewise.
1424 (RDI_LP): Likewise.
1425 (RSI_LP): Likewise.
1426 (RSP_LP): Likewise.
1427 (R8_LP): Likewise.
1428 (R9_LP): Likewise.
1429 (R10_LP): Likewise.
1430 (R10_LP): Likewise.
1431 (R11_LP): Likewise.
1432 (R12_LP): Likewise.
1433 (R13_LP): Likewise.
1434 (R14_LP): Likewise.
1435 (R15_LP): Likewise.
1436
1437 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1438
1439 * sysdeps/x86_64/x32/dl-machine.h: New file.
1440
1441 2012-05-14 Andreas Jaeger <aj@suse.de>
1442
1443 * manual/Makefile (subdir): Remove export of subdir.
1444 (all): Remove target.
1445 (.PHONY): Remove all from list.
1446 (mkinstalldirs): Remove.
1447 (.PHONY): Remove installdirs from list.
1448 ($(inst_infodir)/libc.info): Use make-target-directory.
1449 (installdirs): Remove.
1450 (subdir_%): Remove.
1451 (glibc-targets): Remove.
1452 (lib): Remove.
1453 (stubs): Remove.
1454 ($(objpfx)stubs ../po/manual.pot): Remove.
1455 ($(objpfx)stamp%): Remove.
1456 (make-target-directory): Remove.
1457 (subdir_install): Remove.
1458 (routines): Remove.
1459 (aux): Remove.
1460 (sources): Remove.
1461 (objects): Remove.
1462 (headers): Remove.
1463
1464 [BZ #13750]
1465 * manual/.gitignore: Remove, it's not needed anymore.
1466 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1467 all files in it.
1468 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1469 directory.
1470 (texis): Renamed to $(objpfx)texis.
1471 (texis-path): New, contains path to generated files.
1472 (chapters.%): Use texis-path for complete path, add extra argument
1473 libc-texinfo.sh.
1474 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1475 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1476 (summary,texi, stamp-summary): Use complete path of
1477 files. Generate files in build dir.
1478 (dir-add.texi): Build in build dir.
1479 (libm-err.texi,stamp-libm-err): Likewise.
1480 (version.texi, stamp-version): Likewise.
1481 (.%c.texi): Likewise.
1482 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1483 (mostlyclean): Remove target.
1484 (realclean): Remove target.
1485 (generated): Add new variable with contents from mostlyclean and
1486 realclean, remove entries duplicated in common-mostlyclean, add
1487 stamp-libm-err and stamp-version.
1488 (generated-dirs): Add libc directory.
1489 ($(inst_infodir)/libc.info): Install files from build dir.
1490
1491 * manual/install.texi (Configuring and compiling): Adjust since
1492 the info files are not part of the tar ball anymore.
1493
1494 2012-05-14 Andreas Jaeger <aj@suse.de>
1495
1496 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1497 variable.
1498
1499 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1500
1501 [BZ #13717]
1502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1503 to 2.2.0 where earlier.
1504 * sysdeps/unix/sysv/linux/configure: Regenerated.
1505 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1506 Remove conditional code.
1507 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1508 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1509 Remove conditional code.
1510 [!__NR_lchown]: Likewise.
1511 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1512 [__NR_lchown]: Likewise.
1513 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1514 comment referencing __ASSUME_LCHOWN_SYSCALL.
1515 * sysdeps/unix/sysv/linux/i386/sigaction.c
1516 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1517 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1518 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1519 Remove conditional code.
1520 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1521 (__protocol_available): Remove #if 0 code.
1522 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1523 conditional code.
1524 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1525 * sysdeps/unix/sysv/linux/kernel-features.h
1526 (__ASSUME_GETCWD_SYSCALL): Don't define.
1527 (__ASSUME_REALTIME_SIGNALS): Likewise.
1528 (__ASSUME_PREAD_SYSCALL): Likewise.
1529 (__ASSUME_PWRITE_SYSCALL): Likewise.
1530 (__ASSUME_POLL_SYSCALL): Likewise.
1531 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1532 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1533 non-SPARC.
1534 (__ASSUME_SIOCGIFNAME): Don't define.
1535 (__ASSUME_MSG_NOSIGNAL): Likewise.
1536 (__ASSUME_SENDFILE): Define unconditionally.
1537 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1538 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1539 conditional code.
1540 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1541 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1542 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1543 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1544 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1545 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1546 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1548 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1551 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1554 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1555 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1557 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1558 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1560 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1561 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1563 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1564 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1566 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1569 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1571 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1572 Remove conditional code.
1573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1574 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1575 Remove conditional code.
1576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1577 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1578 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1579 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1580 Remove conditional code.
1581 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1582 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1583 Remove conditional code.
1584 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1585 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1586 Remove conditional code.
1587 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1588 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1589 Remove conditional code.
1590 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1591 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1592 Remove conditional code.
1593 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1594 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1595 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1596 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1597 * sysdeps/unix/sysv/linux/sigaction.c
1598 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1599 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1600 * sysdeps/unix/sysv/linux/sigpending.c
1601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1603 * sysdeps/unix/sysv/linux/sigprocmask.c
1604 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1605 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1606 * sysdeps/unix/sysv/linux/sigsuspend.c
1607 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1608 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1609 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1610 (__libc_missing_rt_sigs): Remove.
1611 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1612 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1613 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1614 Remove conditional code.
1615 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1616 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1617 return 1.
1618 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1619 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1620 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1621 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1622
1623 2012-05-14 Andreas Jaeger <aj@suse.de>
1624
1625 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1626 it's not used in glibc.
1627 (__coshm1): Likewise.
1628 (__acosh1p): Likewise.
1629 (__sgn): Likewise.
1630
1631 * manual/string.texi (Copying and Concatenation): Add missing
1632 variable in concat example.
1633 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1634
1635 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1636
1637 [BZ #14103]
1638 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1639 __builtin_clzl with __builtin_clzll.
1640
1641 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1642
1643 [BZ #14104]
1644 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1645 libc_freeres_ptr.
1646
1647 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1648
1649 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1650 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1651 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1652 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1653
1654 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1655
1656 * NEWS: Update ia64 info.
1657
1658 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1659
1660 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1661 used as bcopy.
1662
1663 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1664
1665 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1666 * sysdeps/unix/syscalls.list (dup3): Likewise.
1667 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1668 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1669
1670 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1671
1672 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1673 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1674
1675 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1676
1677 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1678 thread pointer.
1679 (TLS_IE): Use mov/add instead of movq/addq to load thread
1680 pointer.
1681 (TLS_GD_PREFIX): New.
1682 (TLS_GD): Use it.
1683
1684 2012-05-11 David S. Miller <davem@davemloft.net>
1685
1686 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1687 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1688 (_FPU_SETCW): Likewise.
1689
1690 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1691
1692 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1693 is 32-byte aligned.
1694
1695 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1696
1697 [BZ #11837]
1698 * iconvdata/gb18030.c: Update tables.
1699 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1700 characters specially.
1701 (BODY for TO_LOOP): Add encoding of missing ranges.
1702
1703 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1704
1705 [BZ #13673]
1706 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1707 * sysdeps/mach/hurd/dup3.c: Likewise.
1708 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1709 * sysdeps/powerpc/memmove.c:: Likewise.
1710
1711 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1712
1713 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1714 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1715
1716 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1717
1718 * elf/elf.h (R_X86_64_RELATIVE64): New.
1719 (R_X86_64_NUM): Updated.
1720 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1721 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1722 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1723 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1724 tst-quad1pie tst-quad2pie
1725 (modules-names): Add tst-quadmod1 tst-quadmod2.
1726 ($(objpfx)tst-quad1): New dependency.
1727 ($(objpfx)tst-quad2): Likewise.
1728 ($(objpfx)tst-quad1pie): Likewise.
1729 ($(objpfx)tst-quad2pie): Likewise.
1730 * sysdeps/x86_64/tst-quad1.c: New file.
1731 * sysdeps/x86_64/tst-quad1pie.c: New file.
1732 * sysdeps/x86_64/tst-quad2.c: Likewise.
1733 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1734 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1735 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1736 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1737 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1738
1739 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1740
1741 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1742 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1743 * streams/stropts.h (t_scalar_t): Define type.
1744
1745 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1746 (_PATH_PRESERVE): Set to "/var/lib".
1747 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1748
1749 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1750 instead of int.
1751
1752 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1753 if __dir_mkfile succeeded.
1754
1755 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1756 checking for _hurd_dtablesize. Unlock it right after having
1757 finished _hurd_dtable allocation.
1758
1759 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1760
1761 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1762 * sysdeps/mach/hurd/configure: Regenerated.
1763 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1764 special-casing to...
1765 * sysdeps/gnu/configure.in: ... this new file.
1766 * sysdeps/unix/sysv/linux/configure: Regenerated.
1767 * sysdeps/gnu/configure: New generated file.
1768
1769 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1770 for Linux: use nsec instead of usec, as well as:
1771 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1772 members of type struct timespec.
1773 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1774 New macros.
1775 (struct stat64): Likewise.
1776 (_STATBUF_ST_NSEC): New macro.
1777 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1778
1779 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1780 __strtoul_internal rather than strtoul.
1781
1782 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1783
1784 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1785 and reject them.
1786
1787 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1788
1789 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1790 which preserves existing values.
1791 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1792
1793 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1794
1795 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1796 TIMEOUT values. Return EINVAL for NFDS values either negative or
1797 greater than FD_SETSIZE.
1798
1799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1800
1801 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1802 allocated, call __vm_protect to finish enabling the existing space, and
1803 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1804 allocate the remainder.
1805
1806 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1807
1808 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1809 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1810
1811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1812
1813 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1814 sysdeps/mach/hurd/readlink.c.
1815
1816 * posix/tst-sysconf.c (posix_options): Only use
1817 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1818 _POSIX_SYNCHRONIZED_IO when they are defined
1819 * sysdeps/mach/hurd/bits/posix_opt.h:
1820 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1821 (_XOPEN_REALTIME): Undefine macro.
1822 (_XOPEN_REALTIME_THREADS): Undefine macro.
1823 (_XOPEN_SHM): Undefine macro.
1824 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1825 macro to -1.
1826 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1827 macro to -1.
1828 (_POSIX_ASYNC_IO): Undefine macro.
1829 (_POSIX_PRIORITIZED_IO): Undefine macro.
1830 (_POSIX_SPIN_LOCKS): Define macro to -1.
1831
1832 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1833 SA_NODEFER, SA_RESETHAND.
1834 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1835 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1836 F_DUPFD_CLOEXEC.
1837
1838 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1839
1840 * elf/Makefile (pldd-modules): Define unconditionally.
1841
1842 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1843
1844 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1845
1846 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1847
1848 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1849 Return ENOENT when name is empty.
1850 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1851
1852 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1853
1854 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1855
1856 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1857
1858 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1859
1860 Fix mlock in all cases except non-readable pages.
1861 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1862 instead of VM_PROT_ALL as parameter to __vm_wire function.
1863
1864 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1865 (__mkdir): When path is `/', just fail with EEXIST.
1866 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1867
1868 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1869
1870 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1871 <sys/uio.h> (for writev).
1872 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1873 and <sys/param.h> (for MIN).
1874
1875 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1876
1877 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1878 REQUESTED_TIME. Properly set the remaining time and return EINTR
1879 if interrupted.
1880
1881 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1882
1883 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1884 Depend on against $(link-rpcuserlibs).
1885
1886 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1887
1888 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1889 (__libc_stack_end): Do not use attribute_relro.
1890 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1891 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1892 to libthread-provided value.
1893 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1894 attribute_relro.
1895
1896 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1897
1898 [BZ #3748]
1899 * bits/libc-lock.h (__libc_once_get): New macro.
1900 * sysdeps/mach/bits/libc-lock.h: Likewise.
1901 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1902 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1903 instead of using implementation details.
1904
1905 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1906 * libio/freopen.c: Likewise.
1907 * libio/freopen64.c: Likewise.
1908 * misc/syslog.c: Likewise.
1909 * nscd/connections.c: Likewise.
1910 * nscd/netgroupcache.c: Likewise.
1911 * sysdeps/posix/getcwd.c: Likewise.
1912
1913 2012-05-10 Roland McGrath <roland@hack.frob.com>
1914
1915 * math/w_ilogbf.c: Add #include <limits.h>.
1916
1917 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1918
1919 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1920 path instead of returning without unlocking.
1921
1922 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1923 immediate-write ioctls.
1924 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1925
1926 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1927
1928 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1929 __builtin_frame_address instead of making assumptions about the
1930 location of the return address relative to DATA. Force early load of
1931 the return address.
1932 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1933 __builtin_frame_address.
1934
1935 dup3 for GNU Hurd.
1936 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1937 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1938 implement dup3 and do some further code clean-ups.
1939 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1940 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1941
1942 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1943
1944 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1945
1946 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1947 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1948 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1949 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1950 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1951 d->port.lock.
1952
1953 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1954 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1955 when handler == SIG_ERR, not when handler != SIG_ERR.
1956
1957 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1958
1959 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1960 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1961 definitions.
1962
1963 accept4 for GNU Hurd.
1964 * include/sys/socket.h (__libc_accept4): New prototype.
1965 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1966 to implement __libc_accept4.
1967 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1968 __libc_accept4.
1969 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1970
1971 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1972 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1973 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1974 signal-defines.sym.
1975
1976 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1977
1978 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1979
1980 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1981
1982 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1983 assertion on O_CLOEXEC flag.
1984 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1985 * hurd/intern-fd.c: Likewise.
1986 * hurd/port2fd.c: Likewise.
1987
1988 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1989
1990 [BZ #3906]
1991 * bits/in.h (IPV6_PKTINFO): Define new macro.
1992 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1993
1994 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1995
1996 [BZ #13954]
1997 [BZ #13955]
1998 [BZ #13956]
1999 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2000 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2001 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2002 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2003 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2004 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2005 * math/libm-test.inc (logb_test) : Additional logb tests.
2006
2007 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2008 Andreas Jaeger <aj@suse.de>
2009
2010 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2011 * configure: Regenerated.
2012 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2013 * config.make.in (link-obsolete-rpc): New substituted variable.
2014 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2015 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2016 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2017 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2018 so that libc.a contains the symbols.
2019 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2020 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2021 * sunrpc/auth_none.c: Likewise.
2022 * sunrpc/auth_unix.c: Likewise.
2023 * sunrpc/authdes_prot.c: Likewise.
2024 * sunrpc/authuxprot.c: Likewise.
2025 * sunrpc/clnt_gen.c: Likewise.
2026 * sunrpc/clnt_perr.c: Likewise.
2027 * sunrpc/clnt_raw.c: Likewise.
2028 * sunrpc/clnt_simp.c: Likewise.
2029 * sunrpc/clnt_tcp.c: Likewise.
2030 * sunrpc/clnt_udp.c: Likewise.
2031 * sunrpc/clnt_unix.c: Likewise.
2032 * sunrpc/des_crypt.c: Likewise.
2033 * sunrpc/des_soft.c: Likewise.
2034 * sunrpc/get_myaddr.c: Likewise.
2035 * sunrpc/key_call.c: Likewise.
2036 * sunrpc/key_prot.c: Likewise.
2037 * sunrpc/netname.c: Likewise.
2038 * sunrpc/pm_getmaps.c: Likewise.
2039 * sunrpc/pm_getport.c: Likewise.
2040 * sunrpc/pmap_clnt.c: Likewise.
2041 * sunrpc/pmap_prot.c: Likewise.
2042 * sunrpc/pmap_prot2.c: Likewise.
2043 * sunrpc/pmap_rmt.c: Likewise.
2044 * sunrpc/publickey.c: Likewise.
2045 * sunrpc/rpc_cmsg.c: Likewise.
2046 * sunrpc/rpc_common.c: Likewise.
2047 * sunrpc/rpc_dtable.c: Likewise.
2048 * sunrpc/rpc_prot.c: Likewise.
2049 * sunrpc/rpc_thread.c: Likewise.
2050 * sunrpc/rtime.c: Likewise.
2051 * sunrpc/svc.c: Likewise.
2052 * sunrpc/svc_auth.c: Likewise.
2053 * sunrpc/svc_raw.c: Likewise.
2054 * sunrpc/svc_run.c: Likewise.
2055 * sunrpc/svc_tcp.c: Likewise.
2056 * sunrpc/svc_udp.c: Likewise.
2057 * sunrpc/svc_unix.c: Likewise.
2058 * sunrpc/svcauth_des.c: Likewise.
2059 * sunrpc/xcrypt.c: Likewise.
2060 * sunrpc/xdr.c: Likewise.
2061 * sunrpc/xdr_array.c: Likewise.
2062 * sunrpc/xdr_float.c: Likewise.
2063 * sunrpc/xdr_intXX_t.c: Likewise.
2064 * sunrpc/xdr_mem.c: Likewise.
2065 * sunrpc/xdr_rec.c: Likewise.
2066 * sunrpc/xdr_ref.c: Likewise.
2067 * sunrpc/xdr_sizeof.c: Likewise.
2068 * sunrpc/xdr_stdio.c: Likewise.
2069
2070 2012-05-10 Roland McGrath <roland@hack.frob.com>
2071
2072 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2073 change. Update copyright years.
2074
2075 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2076
2077 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2078
2079 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2080 Joseph Myers <joseph@codesourcery.com>
2081 Paul Pluzhnikov <ppluzhnikov@google.com>
2082
2083 [BZ #14012]
2084 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2085 requiring rpcgen.
2086 [cross-compiling] (extra-libs): Likewise.
2087 [cross-compiling] (extra-libs-others): Likewise.
2088 [cross-compiling] (librpcsvc-routines): Likewise.
2089 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2090 [cross-compiling] (omit-deps): Likewise.
2091 (sunrpc-CPPFLAGS): New variable.
2092 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2093 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2094 (cross-rpcgen-objs): New variable.
2095 (extra-objs): Append $(cross-rpcgen-objs).
2096 ($(cross-rpcgen-objs)): New rule.
2097 ($(objpfx)cross-rpcgen): Likewise.
2098 (rpcgen-cmd): Define to use $(built-program-file). Expand
2099 comment.
2100 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2101 ($(objpfx)x%.stmp): Likewise.
2102 * sunrpc/proto.h [IS_IN_build] (_): Define.
2103 [IS_IN_build] (_libc_intl_domainname): Likewise.
2104
2105 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2106
2107 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2108 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2109 and R_X86_64_TPOFF64.
2110
2111 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2112
2113 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2114 sysdeps/unix/sysv/syscalls.list.
2115 (stime): Likewise.
2116 (utime): Likewise.
2117 * sysdeps/unix/sysv/syscalls.list: Remove file.
2118
2119 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2120
2121 [BZ #3440]
2122 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2123 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2124 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2125 (__LC_IDENTIFICATION): Make these macros useful in #if
2126 expressions, as required by C99.
2127
2128 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2129
2130 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2131 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2132 after this.
2133
2134 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2135
2136 * stdlib/longlong.h: Updated from GCC.
2137
2138 2012-05-09 Andreas Jaeger <aj@suse.de>
2139
2140 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2141 default is first entry.
2142 (run_mode): Set type.
2143 (main): Remove informal message about syslog.
2144 (options): Fix typo.
2145
2146 [BZ #14053]
2147 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2148 to asm.
2149 (lrint): Likewise.
2150 (llrintf): Likewise.
2151 (llrint): Likewise.
2152 (rint): Likewise.
2153 (rintf): Likewise.
2154 (nearbyint): Likewise.
2155 (nearbyintf): Likewise.
2156
2157 2012-05-09 Andreas Jaeger <aj@suse.de>
2158 Pedro Alves <palves@redhat.com>
2159
2160 * nscd/nscd.c (run_mode): Use enum.
2161 (main): Cleanup coding style issue.
2162
2163 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2164 Andreas Jaeger <aj@suse.de>
2165
2166 * nscd/nscd.c (go_background): Replaced with...
2167 (run_mode): ... this.
2168 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2169 (options): Add -F --foreground.
2170 (main): Implement it.
2171 (parse_opt): Parse it.
2172
2173 2012-05-09 Andreas Jaeger <aj@suse.de>
2174
2175 [BZ #14083]
2176 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2177 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2178 -Wconversion warning.
2179 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2180 Likewise.
2181
2182 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2183
2184 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2185 == 0.
2186 (LC_ALL): Use macro-int-constant.
2187 (LC_COLLATE): Likewise.
2188 (LC_CTYPE): Likewise.
2189 (LC_MESSAGES): Likewise.
2190 (LC_MONETARY): Likewise.
2191 (LC_NUMERIC): Likewise.
2192 (LC_TIME): Likewise.
2193 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2194 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2196 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2197 Specify type.
2198 [C99-based standards] (float_t): Expect type.
2199 [C99-based standards] (double_t): Expect type.
2200 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2201 type.
2202 [C99-based standards] (HUGE_VALL): Likewise.
2203 [C99-based standards] (INFINITY): Likewise.
2204 [C99-based standards] (NAN): Likewise.
2205 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2206 [C99-based standards] (FP_NAN): Likewise.
2207 [C99-based standards] (FP_NORMAL): Likewise.
2208 [C99-based standards] (FP_SUBNORMAL): Likewise.
2209 [C99-based standards] (FP_ZERO): Likewise.
2210 [C99-based standards] (FP_FAST_FMA): Use
2211 optional-macro-int-constant. Specify type. Require == 1.
2212 [C99-based standards] (FP_FAST_FMAF): Likewise.
2213 [C99-based standards] (FP_FAST_FMAL): Likewise.
2214 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2215 [C99-based standards] (FP_ILOGBNAN): Likewise.
2216 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2217 Specify type.
2218 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2219 [C99-based standards] (math_errhandling): Specify type.
2220 [ISO99 || ISO11] (signgam): Do not allow.
2221 [non-C99-based standards] (copysignf): Do not allow.
2222 [non-C99-based standards] (exp2f): Likewise.
2223 [non-C99-based standards] (log2f): Likewise.
2224 [non-C99-based standards] (modff): Allow.
2225 [non-C99-based standards] (erff): Do not allow.
2226 [non-C99-based standards] (erfcf): Likewise.
2227 [non-C99-based standards] (gammaf): Likewise.
2228 [non-C99-based standards] (hypotf): Likewise.
2229 [non-C99-based standards] (j0f): Likewise.
2230 [non-C99-based standards] (j1f): Likewise.
2231 [non-C99-based standards] (jnf): Likewise.
2232 [non-C99-based standards] (lgammaf): Likewise.
2233 [non-C99-based standards] (tgammaf): Likewise.
2234 [non-C99-based standards] (y0f): Likewise.
2235 [non-C99-based standards] (y1f): Likewise.
2236 [non-C99-based standards] (ynf): Likewise.
2237 [non-C99-based standards] (isnanf): Likewise.
2238 [non-C99-based standards] (acoshf): Likewise.
2239 [non-C99-based standards] (asinhf): Likewise.
2240 [non-C99-based standards] (atanhf): Likewise.
2241 [non-C99-based standards] (cbrtf): Likewise.
2242 [non-C99-based standards] (expm1f): Likewise.
2243 [non-C99-based standards] (ilogbf): Likewise.
2244 [non-C99-based standards] (log1pf): Likewise.
2245 [non-C99-based standards] (logbf): Likewise.
2246 [non-C99-based standards] (nextafterf): Likewise.
2247 [non-C99-based standards] (remainderf): Likewise.
2248 [non-C99-based standards] (rintf): Likewise.
2249 [non-C99-based standards] (scalbf): Likewise.
2250 [non-C99-based standards] (copysignl): Likewise.
2251 [non-C99-based standards] (exp2l): Likewise.
2252 [non-C99-based standards] (log2l): Likewise.
2253 [non-C99-based standards] (modfl): Allow.
2254 [non-C99-based standards] (erfl): Do not allow.
2255 [non-C99-based standards] (erfcl): Likewise.
2256 [non-C99-based standards] (gammal): Likewise.
2257 [non-C99-based standards] (hypotl): Likewise.
2258 [non-C99-based standards] (j0l): Likewise.
2259 [non-C99-based standards] (j1l): Likewise.
2260 [non-C99-based standards] (jnl): Likewise.
2261 [non-C99-based standards] (lgammal): Likewise.
2262 [non-C99-based standards] (tgammal): Likewise.
2263 [non-C99-based standards] (y0l): Likewise.
2264 [non-C99-based standards] (y1l): Likewise.
2265 [non-C99-based standards] (ynl): Likewise.
2266 [non-C99-based standards] (isnanl): Likewise.
2267 [non-C99-based standards] (acoshl): Likewise.
2268 [non-C99-based standards] (asinhl): Likewise.
2269 [non-C99-based standards] (atanhl): Likewise.
2270 [non-C99-based standards] (cbrtl): Likewise.
2271 [non-C99-based standards] (expm1l): Likewise.
2272 [non-C99-based standards] (ilogbl): Likewise.
2273 [non-C99-based standards] (log1pl): Likewise.
2274 [non-C99-based standards] (logbl): Likewise.
2275 [non-C99-based standards] (nextafterl): Likewise.
2276 [non-C99-based standards] (remainderl): Likewise.
2277 [non-C99-based standards] (rintl): Likewise.
2278 [non-C99-based standards] (scalbl): Likewise.
2279 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2280 [non-C99-based standards] (FP_*): Do not allow.
2281 [C99-based standards] (FP_*): Change to
2282 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2283 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2284 allow.
2285 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2286 (SIG_ERR): Likewise.
2287 [X/Open-based standards] (SIG_HOLD): Likewise.
2288 (SIG_IGN): Likewise.
2289 (SIGABRT): Use macro-int-constant. Specify type. Require
2290 positive value.
2291 (SIGFPE): Likewise.
2292 (SIGILL): Likewise.
2293 (SIGINT): Likewise.
2294 (SIGSEGV): Likewise.
2295 (SIGTER): Likewise.
2296 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2297 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2298 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2299 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2300 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2301 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2302 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2303 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2304 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2305 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2306 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2307 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2308 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2309 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2310 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2311 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2312 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2313 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2314 [X/Open-based standards] (SIGTRAP): Likewise.
2315 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2316 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2317 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2318 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2319 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2320 allow.
2321
2322 2012-05-08 Ian Wienand <ianw@vmware.com>
2323
2324 [BZ #14080]
2325 * time/tzset.c (__tzset_parse_tz): Update default rules for
2326 daylight time changes in the Energy Policy Act of 2005.
2327
2328 2012-05-09 Andreas Jaeger <aj@suse.de>
2329
2330 [BZ #13983]
2331 * elf/ldconfig.c (parse_conf): Change string to make clear that
2332 ldconfig only issued a warning if ld.so.conf does not exist.
2333
2334 2012-05-08 David S. Miller <davem@davemloft.net>
2335
2336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2337 movxtod instead of popping the value on the stack.
2338
2339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2340
2341 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2342
2343 * config.h.in: Add HAVE_ARM_PCS_VFP.
2344
2345 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2346
2347 [BZ #13979]
2348 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2349 checking but the checks are disabled for any reason.
2350
2351 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2352
2353 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2354 and ELF64_R_TYPE with ELFW(R_TYPE).
2355
2356 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2357
2358 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2359 (ulimit): Likewise.
2360
2361 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2362 (settimeofday): Likewise.
2363
2364 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2365
2366 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2367 a struct th_u2 inside the union, and move tu_block/tu_code into
2368 a new th_u3 union of tu_block/tu_code inside of that. Move
2369 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2370 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2371 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2372 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2373 (th_stuff): Change to th_u1.tu_stuff.
2374 (th_data): Define.
2375 (th_msg): Change to th_u1.th_u2.tu_data.
2376
2377 2012-05-07 David S. Miller <davem@davemloft.net>
2378
2379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2380
2381 [BZ #14074]
2382 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2383 (SETUP_PIC_REG): Use it.
2384 (SETUP_PIC_REG_LEAF): Use it.
2385
2386 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2387
2388 [BZ #13885]
2389 [BZ #13923]
2390 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2391 USE_AS_EXPM1L.
2392 (EXPL_FINITE): Likewise.
2393 (FLDLOG): Likewise.
2394 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2395 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2396 e_expl.S.
2397 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2398 USE_AS_EXPM1L.
2399 (EXPL_FINITE): Likewise.
2400 (FLDLOG): Likewise.
2401 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2402 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2403 e_expl.S.
2404 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2405 test of -max_value argument for long double.
2406 * sysdeps/i386/fpu/libm-test-ulps: Update.
2407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2408
2409 2012-05-06 David S. Miller <davem@davemloft.net>
2410
2411 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2412 quad soft-float symbols whose references which are compiler
2413 generated.
2414 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2415
2416 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2417
2418 [BZ #13884]
2419 [BZ #13914]
2420 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2421 USE_AS_EXP10L.
2422 (EXPL_FINITE): Likewise.
2423 (FLDLOG): Likewise.
2424 (c0): Likewise.
2425 (c1): Likewise.
2426 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2427 Adjust comments for base varying.
2428 (__expl_finite): Change alias to EXPL_FINITE.
2429 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2430 e_expl.S.
2431 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2432 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2433 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2434 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2435 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2436 USE_AS_EXP10L.
2437 (EXPL_FINITE): Likewise.
2438 (FLDLOG): Likewise.
2439 (c0): Likewise.
2440 (c1): Likewise.
2441 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2442 Adjust comments for base varying.
2443 (__expl_finite): Change alias to EXPL_FINITE.
2444 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2445 tests for bugs.
2446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2447
2448 [BZ #14064]
2449 * math/libm-test.inc (check_float_internal): Correct ulp
2450 calculation for subnormal expected results.
2451
2452 2012-05-06 Andreas Jaeger <aj@suse.de>
2453
2454 * Makeconfig (+math-flags): New, set to -frounding-math.
2455 (+cflags): Add +math-flags so that all of glibc gets compiled with
2456 it.
2457
2458 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2459
2460 2012-05-05 Joseph Myers <joseph@codesourcery.com>
2461
2462 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2463 Disable one test.
2464
2465 [BZ #13787]
2466 [BZ #13922]
2467 [BZ #14036]
2468 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2469 (__ieee754_expl): Allow for and saturate large arguments.
2470 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2471 (u_threshold): Likewise.
2472 (__exp): Call __ieee754_exp before checking for overflow and
2473 underflow.
2474 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2475 (u_threshold): Likewise.
2476 (__expf): Call __ieee754_expf before checking for overflow and
2477 underflow.
2478 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2479 (u_threshold): Likewise.
2480 (__expl): Call __ieee754_expl before checking for overflow and
2481 underflow.
2482 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2483 (__ieee754_expl): Allow for and saturate large arguments.
2484 * math/libm-test.inc (exp_test): Add another test. Do not allow
2485 missing overflow exception on overflow.
2486 (expm1_test): Do not allow missing overflow exception on overflow.
2487
2488 * sysdeps/i386/fpu/e_expl.c: Move to ...
2489 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2490 rather than using inline asm.
2491 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2492 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2493 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2494
2495 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2496 (nice): Likewise.
2497 (poll): Likewise.
2498 (signal): Likewise.
2499 (time): Likewise.
2500 (times): Likewise.
2501
2502 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2503
2504 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2505 sysdeps/unix/common/syscalls.list.
2506 (fchmod): Likewise.
2507 (fchown): Likewise.
2508 (ftruncate): Likewise.
2509 (getrusage): Likewise.
2510 (gettimeofday): Likewise.
2511 (setpgid): Likewise.
2512 (setregid): Likewise.
2513 (setreuid): Likewise.
2514 (sigaction): Likewise.
2515 (truncate): Likewise.
2516 (vhangup): Likewise.
2517 * sysdeps/unix/common/syscalls.list: Remove file.
2518 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2519 * sysdeps/unix/sysv/linux/Implies: Likewise.
2520
2521 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2522
2523 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2525 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2526 Moved to ...
2527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2528 Here.
2529 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2530 to ...
2531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2532 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2533 to ...
2534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2535 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2536 to ...
2537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2538 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2539 to ...
2540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2541 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2542 to ...
2543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2544 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2545 to ...
2546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2547 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2548 to ...
2549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2550 Here.
2551 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2552 to ...
2553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2554 Here.
2555 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2556 to ...
2557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2558 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2559 Moved to ...
2560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2561 Here.
2562 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2563 to ...
2564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2565
2566 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2567
2568 * sysdeps/unix/common/bits/dirent.h: Remove file.
2569 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2570
2571 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2572 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2573 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2574 * sysdeps/unix/bsd/isatty.c: Likewise.
2575 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2576 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2577 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2578
2579 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2580
2581 [BZ #13563]
2582 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2583 long double comparison inaccuracies.
2584 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2586
2587 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2588
2589 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2591
2592 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2593
2594 [BZ #14049]
2595 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2596 nonzero digits before rounding a hex value.
2597 * stdlib/tst-strtod.c (tests): Add another test.
2598
2599 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2600
2601 * sysdeps/s390/fpu/libm-test-ulps: Update.
2602
2603 2012-05-03 Andreas Jaeger <aj@suse.de>
2604
2605 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2606 does not get optimized out.
2607 (malloc_opt_barrier): New.
2608
2609 2012-05-03 Andreas Jaeger <aj@suse.de>
2610 Roland McGrath <roland@hack.frob.com>
2611
2612 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2613 intermediate file deletion.
2614 (generated): Add .symlist files.
2615
2616 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2617
2618 [BZ #13775]
2619 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2620 Redirect under this condition.
2621 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2622 [__USE_GNU] (__dprintf_chk): Not under this condition.
2623 [__USE_GNU] (__vdprintf_chk): Likewise.
2624 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2625 under this condition.
2626 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2627 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2628 [__USE_XOPEN2K8] (vdprintf): Likewise.
2629 [__USE_GNU] (__dprintf_chk): Not under this condition.
2630 [__USE_GNU] (__vdprintf_chk): Likewise.
2631 [__USE_GNU] (dprintf): Likewise.
2632 [__USE_GNU] (vdprintf): Likewise.
2633
2634 2012-05-03 Roland McGrath <roland@hack.frob.com>
2635
2636 * elf/Makefile (common-generated): Set this instead of generated for
2637 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2638 $(all-built-dso)-derived lists.
2639
2640 2012-05-03 Andreas Jaeger <aj@suse.de>
2641
2642 * sysdeps/i386/fpu/libm-test-ulps: Update.
2643
2644 * FAQ: Removed.
2645 * FAQ.in: Likewise.
2646 * scripts/gen-FAQ.pl: Likewise.
2647 * manual/install.texi (Installation): Point to online location of
2648 FAQ.
2649 * Makefile (files-for-dist): Remove FAQ.
2650 (FAQ): Remove.
2651
2652 2012-05-02 Allan McRae <allan@archlinux.org>
2653
2654 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2655 (LDFLAGS-reldepmod5.so): Likewise.
2656 (LDFLAGS-reldep6mod1.so): Likewise.
2657 (LDFLAGS-reldep6mod4.so): Likewise.
2658 (LDFLAGS-reldep8mod3.so): Likewise.
2659 (LDFLAGS-unload4mod1.so): Likewise.
2660 (LDFLAGS-unload4mod2.so): Likewise.
2661 (LDFLAGS-tst-initorder): Likewise.
2662 (LDFLAGS-tst-initordera2.so): Likewise.
2663 (LDFLAGS-tst-initordera3.so): Likewise.
2664 (LDFLAGS-tst-initordera4.so): Likewise.
2665 (LDFLAGS-tst-initorderb2.so): Likewise.
2666 (LDFLAGS-noload): Likewise.
2667 (LDFLAGS-next): Likewise.
2668 (LDFLAGS-order2mod1.so): Likewise.
2669 (LDFLAGS-order2mod2.so): Likewise.
2670 (LDFLAGS-tst-initorder2): Likewise.
2671 (LDFLAGS-tst-initorder2a.so): Likewise.
2672 (LDFLAGS-tst-initorder2b.so): Likewise.
2673 (LDFLAGS-tst-initorder2c.so): Likewise.
2674 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2675
2676 2012-05-02 David S. Miller <davem@davemloft.net>
2677
2678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2679
2680 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2681
2682 [BZ #14055]
2683 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2684
2685 2012-05-02 Andreas Jaeger <aj@suse.de>
2686
2687 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2688 since we manipulate rounding mode.
2689 (CPPFLAGS-test-idouble.c): Likewise.
2690 (CPPFLAGS-test-ifloat.c): Likewise.
2691 (CFLAGS-test-ldouble.c): Likewise.
2692 (CFLAGS-test-double.c): Likewise.
2693 (CFLAGS-test-float.c): Likewise.
2694 (CFLAGS-test-misc.c): Likewise.
2695 (CFLAGS-test-test-fenv.c): Likewise.
2696
2697 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2698
2699 [BZ #2550]
2700 [BZ #2570]
2701 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2702 comparisons to determine direction to adjust input.
2703
2704 2012-05-01 Roland McGrath <roland@hack.frob.com>
2705
2706 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2707 output to the target.
2708
2709 * scripts/localplt.awk: New file.
2710 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2711 (check-localplt-CFLAGS): Variable removed.
2712 ($(all-built-dso:=.jmprel)): New static pattern rule.
2713 (generated): Add those targets.
2714 (localplt-built-dso): New variable.
2715 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2716
2717 * elf/check-localplt.c: File removed.
2718
2719 * scripts/check-execstack.awk: New file.
2720 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2721 (check-execstack-CFLAGS): Variable removed.
2722 ($(objpfx)check-execstack.h): Target removed.
2723 ($(objpfx)execstack-default): New target.
2724 (generated): Add that instead of check-execstack.h.
2725 ($(all-built-dso:=.phdr)): New static pattern rule.
2726 (generated): Add those targets.
2727 * elf/check-execstack.c: File removed.
2728
2729 * scripts/check-textrel.awk: New file.
2730 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2731 (check-textrel-CFLAGS): Variable removed.
2732 (all-built-dso): Use := to define.o
2733 ($(all-built-dso:=.dyn)): New static pattern rule.
2734 (generated): Add those targets.
2735 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2736 * config.make.in (READELF): New substituted variable.
2737 * elf/check-textrel.c: File removed.
2738
2739 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2740
2741 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2742 allow.
2743 * conform/data/ctype.h-data [C99-based standards] (isblank):
2744 Expect function.
2745 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2746 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2747 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2748 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2749 Specify type. Require positive value.
2750 (EILSEQ): Likewise.
2751 (ERANGE): Likewise.
2752 [ISO || POSIX] (EILSEQ): Do not expect.
2753 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2754 Specify type. Require positive value.
2755 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2756 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2757 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2758 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2759 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2760 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2761 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2762 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2763 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2764 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2765 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2766 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2767 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2768 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2769 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2770 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2771 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2772 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2773 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2774 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2775 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2776 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2777 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2778 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2779 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2780 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2781 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2782 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2783 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2784 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2785 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2786 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2787 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2788 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2789 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2790 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2791 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2792 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2793 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2794 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2795 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2796 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2797 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2798 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2799 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2800 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2801 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2802 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2803 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2804 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2805 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2806 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2807 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2808 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2809 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2810 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2811 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2812 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2813 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2814 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2815 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2816 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2817 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2818 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2819 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2820 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2821 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2822 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2823 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2824 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2825 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2826 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2827 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2828 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2829 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2830 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2831 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2832 Require >= 2.
2833 (FLT_ROUNDS): Expect as macro, not constant.
2834 (FLT_MANT_DIG): Use macro-int-constant.
2835 (DBL_MANT_DIG): Likewise.
2836 (LDBL_MANT_DIG): Likewise.
2837 (FLT_DIG): Likewise.
2838 (DBL_DIG): Likewise.
2839 (LDBL_DIG): Likewise.
2840 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2841 (DBL_MIN_EXP): Likewise.
2842 (LDBL_MIN_EXP): Likewise.
2843 (FLT_MAX_EXP): Use macro-int-constant.
2844 (DBL_MAX_EXP): Likewise.
2845 (LDBL_MAX_EXP): Likewise.
2846 (FLT_MAX_10_EXP): Likewise.
2847 (DBL_MAX_10_EXP): Likewise.
2848 (LDBL_MAX_10_EXP): Likewise.
2849 (FLT_MAX): Use macro-constant.
2850 (DBL_MAX): Likewise.
2851 (LDBL_MAX): Likewise.
2852 (FLT_EPSILON): Use macro-constant. Give upper bound.
2853 (DBL_EPSILON): Likewise.
2854 (LDBL_EPSILON): Likewise.
2855 (FLT_MIN): Likewise.
2856 (DBL_MIN): Likewise.
2857 (LDBL_MIN): Likewise.
2858 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2859 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2860 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2861 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2862 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2863 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2864 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2865 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2866 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2867 [ISO11] (FLT_TRUE_MIN): Likewise.
2868 [ISO11] (LDBL_TRUE_MIN): Likewise.
2869 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2870 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2871 (SCHAR_MIN): Use macro-int-constant. Specify type.
2872 (SCHAR_MAX): Likewise.
2873 (UCHAR_MAX): Likewise.
2874 (CHAR_MIN): Likewise.
2875 (CHAR_MAX): Likewise.
2876 (MB_LEN_MAX): Use macro-int-constant.
2877 (SHRT_MIN): Use macro-int-constant. Specify type.
2878 (SHRT_MAX): Likewise.
2879 (USHRT_MAX): Likewise.
2880 (INT_MAX): Likewise.
2881 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2882 bound negative.
2883 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2884 bound with "U".
2885 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2886 bound with "L".
2887 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2888 bound negative. Suffix upper bound with "L".
2889 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2890 bound with "UL".
2891 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2892 Specify type.
2893 [C99-based standards] (LLONG_MAX): Likewise.
2894 [C99-based standards] (ULLONG_MAX): Likewise.
2895 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2896 == 0.
2897 [ISO11] (max_align_t): Require type.
2898 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2899
2900 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2901 from $CFLAGS, without defining away __attribute__ calls.
2902 (checknamespace): Use $CFLAGS_namespace.
2903
2904 * conform/conformtest.pl (@keywords): Only include C99 keywords
2905 for standards based on C99 or C11.
2906
2907 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2908 Disable tests.
2909 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2910 UNIX98]: Likewise.
2911
2912 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2913 usability of symbols in #if.
2914
2915 * conform/conformtest.pl: If macro or constant types start
2916 "promoted:", expect the symbol to be of the following type
2917 promoted by the integer promotions.
2918
2919 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2920 in one place. Also handle "macro-constant".
2921
2922 * conform/conformtest.pl: Only accept expected macro values with
2923 "==". Parse all "macro" lines in one place.
2924 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2925
2926 * conform/conformtest.pl: Handle braced types on "constant" lines
2927 instead of handling "typed-constant".
2928 * conform/data/signal.h-data: Use "constant" instead of
2929 "typed-constant".
2930
2931 * conform/conformtest.pl: Handle "optional-" at start of lines in
2932 one place rather than duplicating several cases. Handle each
2933 format of "macro" line with initial "optional-".
2934
2935 * conform/conformtest.pl: Only accept expected constant or
2936 optional-constant values with "==". Parse all "constant" lines in
2937 one place. Parse all "optional-constant" lines in one place.
2938 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2939 * conform/data/fmtmsg.h-data: Likewise.
2940 * conform/data/netinet/in.h-data: Likewise.
2941 * conform/data/tar.h-data: Likewise.
2942 * conform/data/limits.h-data: Use "==" form on "constant" and
2943 "optional-constant" lines.
2944
2945 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2946 Use -std=c99 for XOPEN2K.
2947 (@knownproblems): Remove.
2948 (newtoken): Don't check %isknown.
2949
2950 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2951 Do not expect macro.
2952 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2953 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2954 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2955 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2956 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2957 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2958 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2959 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2960 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2961 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2962 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2963 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2964 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2965 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2966 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2967 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2968 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2969 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2970 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2971 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2972 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2973 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2974 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2975 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2976 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2977 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2978 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2979 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2980 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2981 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2982 [XPG3] (acosh): Likewise.
2983 [XPG3] (asinh): Likewise.
2984 [XPG3] (atanh): Likewise.
2985 [XPG3] (cbrt): Likewise.
2986 [XPG3] (expm1): Likewise.
2987 [XPG3] (ilogb): Likewise.
2988 [XPG3] (log1p): Likewise.
2989 [XPG3] (logb): Likewise.
2990 [XPG3] (nextafter): Likewise.
2991 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2992 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2993 [XPG3] (remainder): Likewise.
2994 [XPG3] (rint): Likewise.
2995 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2996 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2997 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2998 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2999 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3000 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3001 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3002 [UNIX98 || XOPEN2K] (scalb): Expect.
3003 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3004 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3005 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3006 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3007 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3008 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3009 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3010 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3011 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3012 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3013 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3014 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3015 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3016 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3017 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3018 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3019 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3020 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3021 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3022 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3023 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3024 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3025 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3026 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3027 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3028 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3029 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3030 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3031 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3032 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3033 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3034 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3035 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3036 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3037 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3038 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3039 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3040 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3041 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3042 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3043 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3044 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3045 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3046 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3047 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3048 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3049 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3050 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3051 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3052 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3053 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3054 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3055 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3056 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3057 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3058 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3059 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3060 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3061 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3062 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3063 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3064 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3065 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3066 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3067 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3068 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3069 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3070 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3071 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3072 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3073 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3074 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3075 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3076 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3077 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3078 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3079 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3080 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3081 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3082 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3083 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3084 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3085 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3086 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3087 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3088 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3089 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3090 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3091 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3092 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3093 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3094 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3095 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3096 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3097 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3098 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3099 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3100 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3101 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3102 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3103 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3104 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3105 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3106 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3107 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3108 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3109 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3110 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3111 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3112 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3113 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3114 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3115 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3116 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3117 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3118 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3119 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3120 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3121 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3122 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3123 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3124 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3125 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3126 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3127 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3128 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3129 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3130 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3131 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3132 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3133 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3134 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3135 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3136 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3137 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3138 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3139 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3140
3141 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3142 _XOPEN_SOURCE_EXTENDED for XPG4.
3143
3144 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3145
3146 * Makeconfig (localtime): Remove variable.
3147 (inst_localtime-file): Likewise.
3148
3149 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3150
3151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3152 Update.
3153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3154 Update.
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3156 Update.
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3158 Update.
3159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3160 Update.
3161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3162 Update.
3163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3164 Update.
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3166 Update.
3167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3168 Update.
3169
3170 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3171
3172 [BZ #2550]
3173 [BZ #2570]
3174 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3175 comparisons to determine direction to adjust input.
3176 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3177 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3178 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3179 Likewise.
3180 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3181 Likewise.
3182 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3183 Likewise.
3184 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3185 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3186 Likewise.
3187 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3188 Likewise.
3189 * math/libm-test.inc (nexttoward_test): Add more tests.
3190
3191 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3192
3193 [BZ #14040]
3194 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3195 in version GLIBC_2.1, not GLIBC_2.0.
3196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3197 Likewise.
3198
3199 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3200
3201 [BZ #13942]
3202 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3203 (1 - x) * (1 + x).
3204 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3205 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3206 * math/libm-test.inc (acos_test): Add more tests.
3207 (asin_test): Likewise.
3208 * sysdeps/i386/fpu/libm-test-ulps: Update.
3209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3210
3211 [BZ #14034]
3212 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3213 of square root.
3214 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3215 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3216 * math/libm-test.inc (acos_test_tonearest): New function.
3217 (acos_test_towardzero): Likewise.
3218 (acos_test_downward): Likewise.
3219 (acos_test_upward): Likewise.
3220 (asin_test_tonearest): Likewise.
3221 (asin_test_towardzero): Likewise.
3222 (asin_test_downward): Likewise.
3223 (asin_test_upward): Likewise.
3224 (main): Call the new functions.
3225 * sysdeps/i386/fpu/libm-test-ulps: Update.
3226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3227
3228 [BZ #13884]
3229 [BZ #13924]
3230 * math/e_exp10.c: Include <float.h>.
3231 (__ieee754_exp10): Handle underflow here rather than multiplying
3232 large negative argument by M_LN10.
3233 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3234 of __ieee754_expf.
3235 * math/e_exp10l.c: Include <float.h>.
3236 (__ieee754_exp10l): Handle underflow here rather than multiplying
3237 large negative argument by M_LN10l.
3238 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3239 spurious overflow exception on underflow.
3240
3241 2012-04-29 Marek Polacek <polacek@redhat.com>
3242
3243 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3244 (__fortify_function): New macro.
3245 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3246 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3247 __extern_always_inline.
3248 * libio/bits/stdio2.h: Likewise.
3249 * libio/bits/stdio.h: Likewise.
3250 * string/string.h: Likewise.
3251 * string/bits/string3.h: Likewise.
3252 * include/stdio.h: Likewise.
3253 * stdlib/bits/stdlib.h: Likewise.
3254 * stdlib/stdlib.h: Likewise.
3255 * rt/bits/mqueue2.h: Likewise.
3256 * rt/mqueue.h: Likewise.
3257 * posix/bits/unistd.h: Likewise.
3258 * posix/unistd.h: Likewise.
3259 * io/bits/poll2.h: Likewise.
3260 * io/bits/fcntl2.h: Likewise.
3261 * io/fcntl.h: Likewise.
3262 * io/sys/poll.h: Likewise.
3263 * misc/bits/syslog.h: Likewise.
3264 * misc/bits/syslog-ldbl.h: Likewise.
3265 * misc/sys/syslog.h: Likewise.
3266 * socket/bits/socket2.h: Likewise.
3267 * socket/sys/socket.h: Likewise.
3268 * debug/tst-chk1.c: Likewise.
3269 * wcsmbs/bits/wchar2.h: Likewise.
3270 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3271 * wcsmbs/wchar.h: Likewise.
3272
3273 2012-04-29 Andreas Jaeger <aj@suse.de>
3274
3275 * Makerules (tests): Remove enable-check-abi protection.
3276 (check-abi-warn): Remove.
3277 (check-abi-%): Remove check-abi-warn usage.
3278
3279 * configure.in: Remove check-abi configure option.
3280 * configure: Regenerated.
3281 * config.make.in (enable-check-abi): Remove.
3282
3283 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3284
3285 [BZ #14033]
3286 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3287 double functions to double *_finite functions.
3288
3289 [BZ #13941]
3290 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3291 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3292 LDBL_MIN_EXP.
3293 * stdio-common/Makefile (tests): Add tst-sprintf3.
3294 * stdio-common/tst-sprintf3.c: New file.
3295
3296 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3297 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3298
3299 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3300
3301 * conform/conformtest.pl: Remove duplicate typed-constant
3302 handling.
3303
3304 2012-04-28 David S. Miller <davem@davemloft.net>
3305
3306 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3307 (check-abi-%): Remove AWK script prerequisite and explicit
3308 abilist directory.
3309 (check-abi): Rewrite to just diff the symlist with the abilist.
3310 (config-tls, config-abi-config): Delete, no longer used.
3311 (update-abi-%): Remove AWK script and explicit abilist directory.
3312 (update-abi): Rewrite to simply compare and conditionally copy the
3313 symlist and the sysdep abilist file. Remove update-abi-config
3314 checks.
3315 * abilist/ld.abilist: Remove.
3316 * abilist/libBrokenLocale.abilist: Remove.
3317 * abilist/libanl.abilist: Remove.
3318 * abilist/libcrypt.abilist: Remove.
3319 * abilist/libdl.abilist: Remove.
3320 * abilist/librt.abilist: Remove.
3321 * abilist/libthread_db.abilist: Remove.
3322 * abilist/libutil.abilist: Remove.
3323 * scripts/extract-abilist.awk: Remove.
3324 * scripts/merge-abilist.awk: Remove.
3325 * sysdeps/generic/libcidn.abilist: New file.
3326 * sysdeps/generic/libnss_compat.abilist: New file.
3327 * sysdeps/generic/libnss_db.abilist: New file.
3328 * sysdeps/generic/libnss_dns.abilist: New file.
3329 * sysdeps/generic/libnss_files.abilist: New file.
3330 * sysdeps/generic/libnss_hesiod.abilist: New file.
3331 * sysdeps/generic/libnss_nis.abilist: New file.
3332 * sysdeps/generic/libnss_nisplus.abilist: New file.
3333 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3334 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3335 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3336 file.
3337 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3338 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3339 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3340 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3341 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3342 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3343 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3344 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3345 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3346 file.
3347 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3348 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3349 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3350 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3351 file.
3352 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3353 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3354 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3355 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3356 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3357 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3358 file.
3359 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3360 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3361 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3362 file.
3363 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3365 New file.
3366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3367 New file.
3368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3369 New file.
3370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3371 New file.
3372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3373 New file.
3374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3375 New file.
3376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3377 New file.
3378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3379 New file.
3380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3381 New file.
3382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3383 New file.
3384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3385 New file.
3386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3387 New file.
3388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3389 New file.
3390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3391 file.
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3393 New file.
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3395 New file.
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3397 file.
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3399 New file.
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3401 New file.
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3403 file.
3404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3405 New file.
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3407 New file.
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3409 New file.
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3411 New file.
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3413 New file.
3414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3415 New file.
3416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3418 file.
3419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3420 New file.
3421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3422 file.
3423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3424 file.
3425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3426 file.
3427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3428 file.
3429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3430 file.
3431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3432 New file.
3433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3434 file.
3435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3436 file.
3437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3438 New file.
3439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3440 file.
3441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3443 file.
3444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3445 New file.
3446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3447 file.
3448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3449 file.
3450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3451 file.
3452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3453 file.
3454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3455 file.
3456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3457 New file.
3458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3459 file.
3460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3461 file.
3462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3463 New file.
3464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3465 file.
3466 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3467 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3468 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3469 file.
3470 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3471 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3472 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3473 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3474 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3475 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3476 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3477 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3478 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3479 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3482 file.
3483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3484 New file.
3485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3486 file.
3487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3488 file.
3489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3490 file.
3491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3492 file.
3493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3494 file.
3495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3496 New file.
3497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3498 New file.
3499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3500 file.
3501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3502 New file.
3503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3504 file.
3505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3507 file.
3508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3509 New file.
3510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3511 file.
3512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3513 file.
3514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3515 file.
3516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3517 file.
3518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3519 file.
3520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3521 New file.
3522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3523 New file.
3524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3525 file.
3526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3527 New file.
3528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3529 file.
3530
3531 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3532
3533 * conform/conformtest.pl: Fix typo in handling typed-constant from
3534 allow-header.
3535
3536 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3537
3538 * README: Cut down references to pre-2.6 Linux kernels and
3539 Linuxthreads. Update lists of configurations in libc and ports
3540 and sort alphabetically. Say "or newer" with Linux kernel version
3541 requirements.
3542
3543 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3544
3545 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3546
3547 [BZ #887]
3548 * math/libm-test.inc (logb_test_downward): New test to expose
3549 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3550 rounding mode.
3551
3552 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3553
3554 [BZ #14027]
3555 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3556 to be done.
3557 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3558 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3559
3560 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3561
3562 * sysdeps/unix/i386/brk.S: Remove file.
3563 * sysdeps/unix/i386/dl-brk.S: Likewise.
3564 * sysdeps/unix/i386/pipe.S: Likewise.
3565 * sysdeps/unix/i386/sigreturn.S: Likewise.
3566 * sysdeps/unix/i386/syscall.S: Likewise.
3567 * sysdeps/unix/i386/vfork.S: Likewise.
3568 * sysdeps/unix/i386/wait.S: Likewise.
3569
3570 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3571 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3572
3573 * configure.in (arm*-none*): Do not allow without
3574 --enable-hacker-mode.
3575 (netbsd*): Remove case setting base_os.
3576 (386bsd*): Likewise.
3577 (freebsd*): Likewise.
3578 (bsdi*): Likewise.
3579 (osf*): Likewise.
3580 (sunos*): Likewise.
3581 (ultrix*): Likewise.
3582 (newsos*): Likewise.
3583 (dynix*): Likewise.
3584 (*bsd*): Likewise.
3585 (sysv*): Likewise.
3586 (isc*): Likewise.
3587 (esix*): Likewise.
3588 (sco*): Likewise.
3589 (minix*): Likewise.
3590 (irix4*): Likewise.
3591 (irix6*): Likewise.
3592 (solaris[2-9]*): Likewise.
3593 (none): Likewise.
3594 * configure: Regenerated.
3595
3596 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3597
3598 [BZ #11521]
3599 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3600 overflow or cancellation in calculating denominator.
3601 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3602 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3603 down expression to avoid unexpected rounding in newer GCCs.
3604 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3605
3606 2012-04-26 David S. Miller <davem@davemloft.net>
3607
3608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3609 long-double compat symbols.
3610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3623
3624 2012-04-25 David S. Miller <davem@davemloft.net>
3625
3626 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3627 HWCAP_* values only after the memory barriers have been defined.
3628 (atomic_full_barrier): Define.
3629 (atomic_read_barrier): Define.
3630 (atomic_write_barrier): Define.
3631
3632 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3633
3634 * shlib-versions: Add libgcc_s version information.
3635 * sysdeps/generic/libgcc_s.h: Remove.
3636 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3637 libgcc_s.h.
3638 * sysdeps/gnu/unwind-resume.c: Likewise.
3639 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3640
3641 2012-04-25 David S. Miller <davem@davemloft.net>
3642
3643 * sysdeps/unix/sparc/brk.S: Delete.
3644 * sysdeps/unix/sparc/dl-brk.S: Delete.
3645 * sysdeps/unix/sparc/pipe.S: Delete.
3646 * sysdeps/unix/sparc/sysdep.S: Delete.
3647 * sysdeps/unix/sparc/sysdep.h: Delete.
3648 * sysdeps/unix/sparc/vfork.S: Delete.
3649 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3650 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3651 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3652 ret_ERRVAL, r0, r1, MOVE): Define.
3653 (JUMPTARGET): Remove.
3654 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3655 sysdeps/unix/sparc/sysdep.h
3656 (ENTRY, END): Remove.
3657 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3658
3659 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3660
3661 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3662 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3663 -DIS_IN_build.
3664
3665 * timezone/README: Update upstream location and email address for
3666 tzcode and tzdata.
3667 * timezone/zdump.c: Update from tzcode 2012b.
3668 * timezone/zic.c: Likewise.
3669
3670 * configure.in (libc_cv_as_needed): Remove test.
3671 * configure: Regenerated.
3672 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3673 conditional definition.
3674 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3675 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3676 * config.make.in (have-as-needed): Remove variable.
3677
3678 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3679 Paul Pluzhnikov <ppluzhnikov@google.com>
3680
3681 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3682 strings correctly.
3683
3684 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3685
3686 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3687 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3688 * sysdeps/sh/strlen.S: Likewise.
3689
3690 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3691
3692 * sysdeps/unix/fork.S: Remove file.
3693 * sysdeps/unix/i386/fork.S: Likewise.
3694 * sysdeps/unix/sparc/fork.S: Likewise.
3695
3696 * sysdeps/unix/system.c: Remove file.
3697 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3698
3699 * sysdeps/unix/getegid.S: Remove file.
3700 * sysdeps/unix/geteuid.S: Likewise.
3701
3702 2012-04-24 Roland McGrath <roland@hack.frob.com>
3703
3704 * scripts/check-localplt.awk: New file.
3705 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3706 of diff.
3707 * scripts/data/localplt-generic.data: Add a comment.
3708
3709 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3710 NODE when __dir_mkfile failed.
3711 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3712 Reported by Ludovic Courtès <ludo@gnu.org>.
3713
3714 2012-04-24 Andreas Jaeger <aj@suse.de>
3715
3716 * Makerules (common-clean): Also remove gen-as-const-headers
3717 files.
3718
3719 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3720
3721 * Makerules (native-compile): Do not change working directory for
3722 build. Use $(OUTPUT_OPTION) in command.
3723 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3724
3725 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3726
3727 [BZ #13886]
3728 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3729 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3730 * math/libm-test.inc (floor_test): Add more tests.
3731 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3732
3733 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3734
3735 * sysdeps/unix/getdents.c: Remove file.
3736 * sysdeps/unix/sysv/getdents.c: Likewise.
3737 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3738
3739 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3740 sysdeps/unix/mman/syscalls.list.
3741 (mmap): Likewise.
3742 (mprotect): Likewise.
3743 (msync): Likewise.
3744 (munmap): Likewise.
3745 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3746 * sysdeps/unix/mman/syscalls.list: Remove.
3747 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3748
3749 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3750 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3751 * configure: Regenerated.
3752 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3753 $(libgcc_s_suffix).
3754 * config.make.in (libgcc_s_suffix): Remove variable.
3755
3756 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3757
3758 * sysdeps/unix/sysv/gethostname.c: Move to ...
3759 * sysdeps/posix/gethostname.c: ... here.
3760
3761 * sysdeps/unix/execve.S: Remove file.
3762
3763 * sysdeps/unix/_exit.S: Remove file.
3764
3765 2012-04-23 Andreas Jaeger <aj@suse.de>
3766
3767 [BZ #13739]
3768 * manual/Makefile: Remove make dist support, there's no
3769 need for a stand-alone documentation tar ball.
3770 (TEXI2DVI): Define always, it's not in Makeconfig.
3771 (dist): Removed.
3772 (tar-it): Removed.
3773 (edition): Removed.
3774 (glibc-doc-$(edition).tar): Removed
3775 (%.Z): Removed.
3776 (%.gz): Removed.
3777 (%.uu): Removed.
3778 (ETAGS): Remove, it's in Makeconfig.
3779 (move-if-change): Remove, it's in Makeconfig.
3780
3781 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3782
3783 [BZ #13970]
3784 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3785 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3786 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3787 (strtod_l, strtof_l, strtold_l): Remove __wur.
3788 It is not necessarily an error to ignore strtol's return value.
3789 One can reliably look at the stored endptr to decide whether
3790 the number had valid syntax.
3791
3792 2012-04-21 Andreas Jaeger <aj@suse.de>
3793
3794 [BZ #13739]
3795 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3796
3797 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3798
3799 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3800 * sysdeps/unix/sysv/Versions: Remove file.
3801
3802 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3803
3804 [BZ #13927]
3805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3806
3807 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
3808
3809 [BZ #7064]
3810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3811 version from __vm86.
3812
3813 2012-04-20 Joseph Myers <joseph@codesourcery.com>
3814
3815 * sysdeps/unix/common/lxstat.c: Remove file.
3816 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3817
3818 * sysdeps/unix/sysv/Makefile: Remove file.
3819
3820 * sysdeps/unix/sysv/direct.h: Remove file.
3821
3822 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3823 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3824 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3825 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3826 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3827 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3828 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3829
3830 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3831
3832 * sysdeps/unix/xmknod.c: Remove file.
3833 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3834
3835 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3836
3837 * sysdeps/unix/sysv/i386/time.S: Remove file.
3838
3839 * sysdeps/unix/fxstat.c: Remove file.
3840 * sysdeps/unix/xstat.c: Likewise.
3841 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3842
3843 * sysdeps/unix/sysv/sigaction.c: Remove file.
3844
3845 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3846 (sysdep_headers): Remove variable.
3847 [termio.h not in sysdep_headers] (generated): Likewise.
3848 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3849 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3850 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3851 * sysdeps/unix/sysv/tcflow.c: Likewise.
3852 * sysdeps/unix/sysv/tcflush.c: Likewise.
3853 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3854 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3855 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3856 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3857 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3858
3859 * sysdeps/unix/siglist.c: Remove file.
3860
3861 * sysdeps/unix/getppid.S: Remove file.
3862
3863 * sysdeps/unix/mkdir.c: Remove file.
3864 * sysdeps/unix/rmdir.c: Likewise.
3865
3866 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3867
3868 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3869 ERR_MAX value.
3870 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3871 errlist-compat value.
3872
3873 2012-04-18 David S. Miller <davem@davemloft.net>
3874
3875 * sysdeps/generic/memcopy.h (reg_char): Delete.
3876 * debug/strcat_chk.c: Use char, not reg_char.
3877 * debug/strcpy_chk.c: Likewise.
3878 * debug/strncat_chk.c: Likewise.
3879 * debug/strncpy_chk.c: Likewise.
3880 * string/memchr.c: Likewise.
3881 * string/memrchr.c: Likewise.
3882 * string/rawmemchr.c: Likewise.
3883 * string/strcat.c: Likewise.
3884 * string/strchr.c: Likewise.
3885 * string/strchrnul.c: Likewise.
3886 * string/strcmp.c: Likewise.
3887 * string/strcpy.c: Likewise.
3888 * string/strncat.c: Likewise.
3889 * string/strncmp.c: Likewise.
3890 * string/strncpy.c: Likewise.
3891
3892 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3893
3894 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3895 __builtin_memcopy is called when src and dest ranges are known to not
3896 overlap.
3897
3898 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3899
3900 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3901 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3902 fwd_align_merge macro call.
3903 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3904 bwd_align_merge macro call.
3905 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3906
3907 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3908
3909 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3910 bwd_align_merge macros.
3911 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3912 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3913 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3914
3915 2012-04-18 David S. Miller <davem@davemloft.net>
3916
3917 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3918
3919 2012-04-18 Andreas Jaeger <aj@suse.de>
3920
3921 [BZ# 6794]
3922 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3923 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3924 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3925
3926 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3927 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3928 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3929
3930 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3931 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3932 Adjust for changed ldbl-128 files.
3933
3934 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3935 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3936 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3937
3938 2012-04-17 David S. Miller <davem@davemloft.net>
3939
3940 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3941
3942 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3943
3944 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3945 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3946 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3947 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3948 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3949 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3950
3951 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3952
3953 [BZ #6794]
3954 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3955 * math/libm-test.inc: Add ilogb errno and exception tests.
3956 * math/w_ilogb.c: New file: ilogb wrapper.
3957 * math/w_ilogbf.c: New file: ilogbf wrapper.
3958 * math/w_ilogbl.c: New file: ilogbl wrapper.
3959 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3960 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3961 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3962 exception being thrown with 0.0 as argument.
3963 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3964 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3965 exception being thrown with 0.0 as argument.
3966 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3967 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3968 exception being thrown with 0.0 as argument.
3969 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3970 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3971 exception being thrown with 0.0 as argument.
3972 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3973 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3974 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3975 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3976 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3977 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3978 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3979 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3980 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3981
3982 2012-04-17 Petr Baudis <pasky@ucw.cz>
3983
3984 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3985 with altivec.
3986
3987 2012-04-16 Marek Polacek <polacek@redhat.com>
3988
3989 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3990
3991 2012-04-16 Marek Polacek <polacek@redhat.com>
3992
3993 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3994 operands of fdivp instruction.
3995
3996 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3997
3998 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3999 * elf/tst-auditmod3b.c: Likewise.
4000 * elf/tst-auditmod4b.c: Likewise.
4001 * elf/tst-auditmod5b.c: Likewise.
4002 * elf/tst-auditmod6b.c: Likewise.
4003 * elf/tst-auditmod6c.c: Likewise.
4004 * elf/tst-auditmod7b.c: Likewise.
4005 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4006 * sysdeps/x86_64/preconfigure.in: Likewise.
4007 * sysdeps/x86_64/preconfigure: Regenerated.
4008
4009 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4010
4011 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4012 __ILP32__.
4013
4014 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4015
4016 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4017 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4018
4019 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4020
4021 [BZ #13973]
4022 * locale/iso-639.def: Fix gl language name. Spotted by
4023 Yaron Shahrabani.
4024
4025 2012-04-12 Roland McGrath <roland@hack.frob.com>
4026
4027 [BZ #2074]
4028 * libio/libio.h (__io_write_fn): Update comment.
4029
4030 2012-04-12 Petr Baudis <pasky@ucw.cz>
4031
4032 [BZ #2074]
4033 * stdio.texi (Hook Functions): The user provided writer function
4034 is not allowed to return -1.
4035
4036 2012-04-11 David S. Miller <davem@davemloft.net>
4037
4038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4039
4040 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4041
4042 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4043 Add a leading slash to rtkaio.
4044
4045 2012-04-11 Jim Meyering <meyering@redhat.com>
4046
4047 [BZ #11959]
4048 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4049 It is not necessarily an error to ignore fwrite's return
4050 value. One can reliably use ferror to test for errors after
4051 the fact.
4052
4053 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4054
4055 * bits/types.h (__snseconds_t): New type.
4056 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4057
4058 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4059 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4060 (__SNSECONDS_T_TYPE): Likewise.
4061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4062 (__SNSECONDS_T_TYPE): Likewise.
4063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4064 (__SNSECONDS_T_TYPE): Likewise.
4065
4066 2012-04-10 Andreas Jaeger <aj@suse.de>
4067
4068 [BZ #2636]
4069 * manual/time.texi (Processor Time): Return type of times is
4070 elapsed real time since an arbitrary point in the past.
4071 (CPU Time): Move CLK_TCK from here...
4072 (Processor Time): ...to here. Correct description.
4073 * manual/conf.texi (Constants for Sysconf): Correct description of
4074 _SC_CLK_TCK.
4075
4076 2012-04-10 David S. Miller <davem@davemloft.net>
4077
4078 [BZ #13967]
4079 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4080 where the is a gap between DT_REL(A) and DT_JMPREL.
4081
4082 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4083
4084 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4085 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4086 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4087
4088 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4089
4090 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4091 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4092 (dl_main): Handle --inhibit-cache.
4093 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4094 _dl_inhibit_cache.
4095 * elf/dl-load.c (_dl_map_object): Use it.
4096 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4097
4098 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4099
4100 [BZ #13872]
4101 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4102 (__ieee754_powl): Saturate large exponents rather than testing for
4103 overflow of y*log2(x).
4104 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4105 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4106 exceptions.
4107
4108 [BZ #11521]
4109 * math/s_ctan.c: Include <float.h>.
4110 (__ctan): Avoid internal overflow or cancellation in calculating
4111 denominator.
4112 * math/s_ctanf.c: Likewise.
4113 * math/s_ctanl.c: Likewise.
4114 * math/s_ctanh.c: Likewise.
4115 * math/s_ctanhf.c: Likewise.
4116 * math/s_ctanhl.c: Likewise.
4117 * math/libm-test.inc (ctan_test): Add more tests.
4118 (ctanh_test): Likewise.
4119 * sysdeps/i386/fpu/libm-test-ulps: Update.
4120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4121
4122 2012-04-09 Andreas Jaeger <aj@suse.de>
4123
4124 [BZ #6894]
4125 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4126 is an optional BSD extension.
4127
4128 [BZ #10254]
4129 * manual/stdio.texi (Opening Streams): Document additional fopen
4130 parameters.
4131
4132 2012-04-09 Roland McGrath <roland@hack.frob.com>
4133
4134 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4135 %eax without telling the compiler.
4136
4137 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4138
4139 [BZ # 13963]
4140 * manual/install.texi: Use sourceware.org.
4141
4142 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4143
4144 [BZ #13873]
4145 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4146 (__ieee754_pow): Generate overflow and underflow using huge*huge
4147 and tiny*tiny rather than just returning constant infinity or zero
4148 for large exponents.
4149 * math/libm-test.inc (pow_test): Require overflow exceptions for
4150 applicable cases of large exponents.
4151
4152 [BZ #706]
4153 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4154 (__ieee754_pow): Use iterative multiplication algorithm only for
4155 integer exponents with absolute value below 1024. Check for odd
4156 integer exponents when using algorithm for real exponents.
4157 * math/libm-test.inc (pow_test): Add more tests.
4158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4159
4160 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4161
4162 [BZ #13705]
4163 * math/libm-test.inc (exp_test): Do not allow overflow exception
4164 on underflow test.
4165
4166 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4167
4168 [BZ #13705]
4169 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4170 instead of __kernel_standard_f.
4171
4172 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4173
4174 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4175 * sysdeps/x86_64/memset_chk.S: Likewise.
4176
4177 2012-04-08 Andreas Jaeger <aj@suse.de>
4178
4179 [BZ #10153]
4180 * manual/startup.texi (Environment Access): Describe return value
4181 for putenv and setenv.
4182
4183 [BZ #6895]
4184 * manual/filesys.texi (Directory Entries): Add description for
4185 DT_LNK.
4186
4187 [BZ #6890]
4188 * manual/filesys.texi (Directory Entries): Clarify that it's file
4189 system not operating system in the description of DT_UNKNOWN.
4190
4191 [BZ #6578]
4192 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4193
4194 2012-04-08 Stephen Compall <s11@member.fsf.org>
4195
4196 [BZ #6649]
4197 * manual/llio.texi (Opening and Closing Files): Add cross
4198 reference to explain mode argument.
4199
4200 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4201
4202 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4203 * sysdeps/x86_64/memset_chk.S: Likewise.
4204
4205 2012-04-07 David S. Miller <davem@davemloft.net>
4206
4207 * elf/elf.h (R_SPARC_WDISP10): Define.
4208 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4209 R_SPARC_SIZE32.
4210 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4211 R_SPARC_SIZE64 and R_SPARC_H34.
4212
4213 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4214
4215 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4216 conditions and remove no longer applicable assertion.
4217
4218 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4219
4220 * bits/byteswap.h: Include <features.h>.
4221 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4222 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4223
4224 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4225
4226 * bits/byteswap.h (__bswap_16): Removed.
4227 Include <bits/byteswap-16.h> to get __bswap_16.
4228 * sysdeps/i386/bits/byteswap.h: Likewise.
4229 * sysdeps/s390/bits/byteswap.h: Likewise.
4230 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4231 * bits/byteswap-16.h: New file.
4232 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4233 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4234 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4235 * string/Makefile (headers): Add bits/byteswap-16.h.
4236
4237 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4238
4239 [BZ #13895]
4240 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4241 extra indirection.
4242 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4243 * nss/tst-nss-static.c: New.
4244
4245 2012-04-06 Robert Millan <rmh@gnu.org>
4246
4247 [BZ #6486]
4248 * manual/llio.texi (File Position Primitive): lseek
4249 refers to WHENCE when it really means OFFSET.
4250
4251 2012-04-06 Andreas Jaeger <aj@suse.de>
4252
4253 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4254 strncmp declarations.
4255
4256 * abilist/libc.abilist: Add __poll and __ppoll.
4257
4258 2012-04-05 David S. Miller <davem@davemloft.net>
4259
4260 * scripts/check-local-headers.sh: Accept a host triplet in the
4261 path matched by the exclude regexp.
4262
4263 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4264 definition.
4265 * sysdeps/powerpc/powerpc32/dl-machine.h
4266 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4267 * sysdeps/s390/s390-32/dl-machine.h
4268 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4269 * sysdeps/sparc/sparc32/dl-machine.h
4270 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4271 * sysdeps/sparc/sparc64/dl-machine.h
4272 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4273
4274 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4275 lazy binding.
4276 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4277 undefined symbol errors.
4278
4279 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4280 DT_NEEDED entries.
4281
4282 2012-04-05 Michael Matz <matz@suse.de>
4283
4284 [BZ #13592]
4285 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4286
4287 2012-04-05 Andreas Jaeger <aj@suse.de>
4288
4289 [BZ #13908]
4290 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4291 comment.
4292
4293 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4294
4295 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4296 which ROUND is no valid rounding mode.
4297
4298 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4299
4300 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4301 read again.
4302 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4303
4304 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4305
4306 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4307 an exception using FPU order intentionally.
4308
4309 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4310
4311 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4312 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4313 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4314 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4315
4316 2012-04-05 Simon Josefsson <simon@josefsson.org>
4317
4318 [BZ #12340]
4319 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4320 EINVAL when BUFLEN is too smal.
4321
4322 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4323
4324 [BZ #13553]
4325 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4326 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4327
4328 2012-04-03 Andreas Jaeger <aj@suse.de>
4329
4330 [BZ #13938]
4331 * manual/setjmp.texi (System V contexts): Fix sentence.
4332
4333 [BZ #13926]
4334 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4335 New macro for this case.
4336 [!__GNUC__] (__bswap_64): New inline function for this case.
4337 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4338 * bits/byteswap.h: Likewise.
4339 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4340 ull, guard with __GLIBC_HAVE_LONG_LONG.
4341
4342 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4343 __GLIBC_HAVE_LONG_LONG.
4344
4345 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4346 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4347
4348 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4349
4350 [BZ #13691]
4351 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4352 inptr and inend, rather than using last_ch.
4353
4354 2012-04-02 David S. Miller <davem@davemloft.net>
4355
4356 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4357 * stdio-common/printf-parse.h (read_int): Change return type to
4358 'int', return -1 on INT_MAX overflow.
4359 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4360 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4361 overflows INT_MAX. Check for overflow of in-format-string precision
4362 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4363 SIZE_MAX not INT_MAX for integer overflow test.
4364 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4365 skip the construct in the format string but do not record anything.
4366 * stdio-common/bug22.c: Adjust to test both width/prevision
4367 INT_MAX overflow as well as total length INT_MAX overflow. Check
4368 explicitly for proper errno values.
4369
4370 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4371
4372 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4373 CHAR_MAX.
4374 * string/test-strcmp.c [! WIDE]: Likewise.
4375 * time/tst-mktime2.c: Likewise for INT_MAX.
4376 * string/test-string.h: #include <sys/param.h> for MIN.
4377
4378 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4379 * sysdeps/i386/init-first.c (init): Likewise.
4380 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4381 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4382 * sysdeps/sh/init-first.c (init): Likewise.
4383
4384 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4385
4386 * po/ru.po: Update from translation team.
4387 * po/vi.po: Likewise.
4388
4389 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4390
4391 * resolv/nss_dns/dns-host.c: Merge copyright years.
4392
4393 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4394
4395 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4396 Optimize memcpy with prefetch if
4397 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4398 src, dst pointers have unequal 16 byte alignments.
4399
4400 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4401
4402 [BZ #13928]
4403 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4404 from a CNAME entry and return the minimum ttl for the query.
4405 (gaih_getanswer_slice): Likewise.
4406
4407 2012-03-30 Jeff Law <law@redhat.com>
4408
4409 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4410 due to long keys.
4411 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4412 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4413
4414 * resolv/nss_dns/dns-host.c: Update copyright year.
4415
4416 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4417
4418 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4419 requests to save a system call. Fix check that all bytes are sent.
4420
4421 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4422 comments for sendmmsg.
4423
4424 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4425
4426 [BZ #13691]
4427 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4428 with only 1 character between 0x0041 and 0x01b0.
4429 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4430 * wcsmbs/tst-mbsnrtowcs.c: New file.
4431
4432 2012-03-29 David S. Miller <davem@davemloft.net>
4433
4434 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4435 small copies by hand.
4436
4437 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4438
4439 [BZ #13761]
4440 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4441 _nss_compat_initgroups_dyn): Fall back to malloc/free
4442 for large group memberships.
4443
4444 2012-03-28 David S. Miller <davem@davemloft.net>
4445
4446 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4447 that branches into memcpy.
4448 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4449 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4450 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4451 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4452 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4453 bits.
4454 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4455 implementation too.
4456 * sysdeps/sparc/mempcpy.S: New file.
4457
4458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4459 the IFUNC routine in the libc case.
4460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4461
4462 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4463 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4464 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4465 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4466 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4467 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4468 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4469 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4470
4471 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4472 loop to 256 bytes instead of 64 bytes and fix test signedness.
4473
4474 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4475 * sysdeps/sparc/sparc32/Makefile: rather than here...
4476 * sysdeps/sparc/sparc64/Makefile: and here.
4477
4478 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4479
4480 * malloc/mallocbug.c: Avoid warnings about unused variables.
4481
4482 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4483
4484 [BZ #13760]
4485 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4486 in the right place. Discard and retry query if response is
4487 larger than input buffer size.
4488
4489 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4490
4491 [BZ #369]
4492 [BZ #2678]
4493 [BZ #3866]
4494 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4495 x for large integer exponent.
4496 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4497 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4498 sign of result as needed afterwards.
4499 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4500 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4501 result for underflowing pow the same as for overflow.
4502 (__kernel_standard_l): Handle powl overflow and underflow here
4503 rather than calling __kernel_standard.
4504 * math/libm-test.inc (pow_test): Add more tests.
4505
4506 [BZ #3868]
4507 [BZ #13879]
4508 [BZ #13910]
4509 [BZ #13911]
4510 [BZ #13912]
4511 [BZ #13913]
4512 [BZ #13915]
4513 [BZ #13916]
4514 [BZ #13917]
4515 [BZ #13918]
4516 [BZ #13919]
4517 [BZ #13920]
4518 [BZ #13921]
4519 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4520 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4521 (__kernel_standard_l): New function.
4522 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4523 __kernel_standard.
4524 * math/w_acosl.c (__acosl): Likewise.
4525 * math/w_asinl.c (__asinl): Likewise.
4526 * math/w_atan2l.c (__atan2l): Likewise.
4527 * math/w_atanhl.c (__atanhl): Likewise.
4528 * math/w_coshl.c (__coshl): Likewise.
4529 * math/w_exp10l.c (__exp10l): Likewise.
4530 * math/w_exp2l.c (__exp2l): Likewise.
4531 * math/w_fmodl.c (__fmodl): Likewise.
4532 * math/w_hypotl.c (__hypotl): Likewise.
4533 * math/w_j0l.c (__j0l, __y0l): Likewise.
4534 * math/w_j1l.c (__j1l, __y1l): Likewise.
4535 * math/w_jnl.c (__jnl, __ynl): Likewise.
4536 * math/w_lgammal.c (__lgammal): Likewise.
4537 * math/w_log10l.c (__log10l): Likewise.
4538 * math/w_log2l.c (__log2l): Likewise.
4539 * math/w_logl.c (__logl): Likewise.
4540 * math/w_powl.c (__powl): Likewise.
4541 * math/w_remainderl.c (__remainderl): Likewise.
4542 * math/w_scalbl.c (sysv_scalbl): Likewise.
4543 * math/w_sinhl.c (__sinhl): Likewise.
4544 * math/w_sqrtl.c (__sqrtl): Likewise.
4545 * math/w_tgammal.c (__tgammal): Likewise.
4546 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4547 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4548 * math/libm-test.inc (acos_test): Add more tests.
4549 (acosh_test): Likewise.
4550 (asin_test): Likewise.
4551 (atanh_test): Likewise.
4552 (exp_test): Likewise.
4553 (exp10_test): Likewise.
4554 (exp2_test): Likewise.
4555 (expm1_test): Likewise.
4556 (lgamma_test): Likewise.
4557 (log_test): Likewise.
4558 (log10_test): Likewise.
4559 (log1p_test): Likewise.
4560 (log2_test): Likewise.
4561 (pow_test): Do not allow some spurious overflow exceptions.
4562 (sqrt_test): Add more tests.
4563 (tgamma_test): Likewise.
4564 (y0_test): Likewise.
4565 (y1_test): Likewise.
4566 (yn_test): Likewise.
4567
4568 2012-03-27 Anton Blanchard <anton@samba.org>
4569
4570 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4571 MAP_HUGETLB.
4572 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4573 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4574 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4575
4576 2012-03-27 David S. Miller <davem@davemloft.net>
4577
4578 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4579
4580 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4581 have-as-vis3 check.
4582
4583 2012-03-27 Andreas Jaeger <aj@suse.de>
4584
4585 * sysdeps/x86_64/elf/configure.in: Moved to ...
4586 * sysdeps/x86_64/configure.in: ... here.
4587 * sysdeps/x86_64/elf/start.S: Moved to ...
4588 * sysdeps/x86_64/start.S: ... here.
4589 * sysdeps/x86_64/elf/configure: Delete.
4590
4591 * sysdeps/x86_64/configure.in: Merge contents from
4592 sysdeps/i386/configure.in (without i686 check).
4593
4594 * sysdeps/i386/elf/Versions: Merge into ...
4595 * sysdeps/i386/Versions: ... this.
4596 * sysdeps/i386/elf/Versions: Delete file.
4597 * sysdeps/i386/elf/start.S: Moved to ...
4598 * sysdeps/i386/start.S: ...here.
4599 * sysdeps/i386/elf/configure.in: Merge into...
4600 * sysdeps/i386/configure.in: ...here.
4601 * sysdeps/i386/elf/configure.in: Delete file.
4602 * sysdeps/i386/elf/configure: Delete file.
4603
4604 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4605 * debug/backtracesyms.c: ... here.
4606 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4607 * debug/backtracesymsfd.c: ... here.
4608 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4609 * sysdeps/generic/ifunc-sel.h: ... here.
4610
4611 * sysdeps/unix/i386/start.c: Delete file.
4612 * sysdeps/unix/sparc/start.c: Delete file.
4613 * sysdeps/unix/start.c: Delete file.
4614
4615 * sysdeps/sh/elf/configure.in: Moved to ...
4616 * sysdeps/sh/configure.in: ... here.
4617 * sysdeps/sh/elf/start.S: Moved to ...
4618 * sysdeps/sh/start.S: ... here.
4619 * sysdeps/sh/elf/configure: Delete file.
4620
4621 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4622 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4623 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4624 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4625 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4626 * sysdeps/powerpc/powerpc64/start.S: here.
4627 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4628 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4629 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4630 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4631 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4632
4633 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4634 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4635 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4636 * sysdeps/powerpc/powerpc32/start.S: ... here.
4637 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4638 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4639 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4640
4641 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4642 * sysdeps/powerpc/ifunc-sel.h: ... here.
4643 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4644 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4645
4646 * sysdeps/sparc/elf/configure.in: Moved to ...
4647 * sysdeps/sparc/configure.in: ... here.
4648 * sysdeps/sparc/elf/configure: Delete file.
4649 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4650 * sysdeps/sparc/sparc32/start.S: ... here.
4651 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4652 * sysdeps/sparc/sparc64/start.S: ... here.
4653 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4654 * sysdeps/sparc/sparc32/Makefile: ... this.
4655 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4656 * sysdeps/sparc/sparc64/Makefile: ... this.
4657
4658 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4659 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4660 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4661 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4662 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4663 * sysdeps/s390/s390-32/setjmp.S: ... here.
4664 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4665 * sysdeps/s390/s390-32/configure.in: ... here.
4666 * sysdeps/s390/s390-32/elf/configure: Delete file.
4667 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4668 * sysdeps/s390/s390-32/start.S: ... here.
4669
4670 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4671 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4672 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4673 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4674 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4675 * sysdeps/s390/s390-64/setjmp.S: ... here.
4676 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4677 * sysdeps/s390/s390-64/configure.in: ... here
4678 * sysdeps/s390/s390-64/elf/configure: Delete file.
4679 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4680 * sysdeps/s390/s390-64/start.S: ... here.
4681 * sysdeps/s390/s390-64/elf/configure: Delete.
4682
4683 * configure.in: Remove support for elf directories in sysdeps.
4684
4685 * configure: Regenerated.
4686 * sysdeps/i386/configure: Regenerated.
4687 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4688 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4689 * sysdeps/s390/s390-32/configure: Regenerated.
4690 * sysdeps/s390/s390-64/configure: Regenerated.
4691 * sysdeps/sh/configure: Regenerated.
4692 * sysdeps/sparc/configure: Regenerated.
4693 * sysdeps/x86_64/configure: Regenerated.
4694
4695 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4696
4697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4698
4699 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4700 denormal result into account.
4701
4702 2012-03-25 Roland McGrath <roland@hack.frob.com>
4703
4704 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4705 Reported by Allan McRae <allan@archlinux.org>.
4706
4707 2012-03-23 Jeff Law <law@redhat.com>
4708
4709 * nss/getnssent.c (__nss_getent): Fix typo.
4710
4711 2012-03-23 David S. Miller <davem@davemloft.net>
4712
4713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4714
4715 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4716
4717 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4718 to pad to uint64_t for each field.
4719 (dl_tls_index): Replace unsigned long with uint64_t.
4720
4721 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4722 Paul Pluzhnikov <ppluzhnikov@google.com>
4723
4724 [BZ #6528]
4725 * grp/Makefile (otherlibs): Don't set it.
4726 * inet/Makefile (otherlibs): Likewise.
4727 * login/Makefile (otherlibs): Likewise.
4728 * nscd/Makefile (otherlibs): Likewise.
4729 * posix/Makefile (otherlibs): Likewise.
4730 * pwd/Makefile (otherlibs): Likewise.
4731 * rt/Makefile (otherlibs): Likewise.
4732 * sunrpc/Makefile (otherlibs): Likewise.
4733 * nss/Makefile (otherlibs): Likewise.
4734 Add libnss_files to routines and static-only-routines.
4735 ($(objpfx)getent): Remove rule.
4736 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4737 static-only-routines.
4738
4739 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4740
4741 [BZ #13892]
4742 * math/s_cexp.c: Include <float.h>.
4743 (__cexp): Handle exp result overflowing not necessarily
4744 overflowing both real and imaginary parts of result.
4745 * math/s_cexpf.c: Likewise.
4746 * math/s_cexpl.c: Likewise.
4747 * math/libm-test.inc (cexp_test): Add more tests.
4748 * sysdeps/i386/fpu/libm-test-ulps: Update.
4749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4750
4751 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4752
4753 * include/link.h (ELFW): New macro.
4754 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4755 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4756
4757 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4758
4759 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4760 with uint64_t.
4761
4762 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4763
4764 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4765 declaration.
4766 (struct La_x32_retval): Likewise.
4767
4768 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4769
4770 * sysdeps/x86_64/preconfigure.in: New file.
4771 * sysdeps/x86_64/preconfigure: New generated file.
4772
4773 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4774
4775 [BZ #13824]
4776 * math/e_exp2l.c: Include <float.h>.
4777 (__ieee754_exp2l): Handle overflow and underflow cases
4778 separately. Only pass fractional part of argument to
4779 __ieee754_expl.
4780 * math/libm-test.inc (exp2_test): Add more tests.
4781
4782 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4783 negating x to take absolute value.
4784 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4785 Likewise.
4786 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4788 Likewise.
4789 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4790 computing low part if x was negated.
4791 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4792
4793 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4794
4795 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4796 la_x32_gnu_pltexit.
4797 (pltexit): Cast int_retval to ptrdiff_t.
4798 * elf/tst-auditmod3b.c: Likewise.
4799 * elf/tst-auditmod4b.c: Likewise.
4800 * elf/tst-auditmod5b.c: Likewise.
4801 * elf/tst-auditmod6b.c: Likewise.
4802 * elf/tst-auditmod6c.c: Likewise.
4803 * elf/tst-auditmod7b.c: Likewise.
4804
4805 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4806 and x32_gnu_pltexit.
4807
4808 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4809 __ELF_NATIVE_CLASS.
4810 (La_x32_regs): New macro.
4811 (La_x32_retval): Likewise.
4812 (la_x32_gnu_pltenter): New function prototype.
4813 (la_x32_gnu_pltexit): Likewise.
4814
4815 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4816
4817 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4818 exponent.
4819
4820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4821
4822 * configure.in (libc_cv_cc_nofma): Check for option to disable
4823 generation of FMA instructions.
4824 * configure: Regenerate.
4825 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4826 * sysdeps/ieee754/dbl-64/Makefile: New file.
4827 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4828 Remove brandred-fma4.
4829 (CFLAGS-brandred-fma4.c): Remove.
4830 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4831 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4832 define.
4833 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4834 define.
4835
4836 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4837
4838 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4839 LLONG_MAX != LONG_MAX.
4840 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4841 (_fitoa_word): Likewise.
4842 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4843 LLONG_MAX != LONG_MAX.
4844 * stdio-common/_itowa.h: Include <_itoa.h>.
4845 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4846 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4847 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4848 only if not defined.
4849 (_ITOA_WORD_TYPE): Likewise.
4850 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4851 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4852
4853 2012-03-21 David S. Miller <davem@davemloft.net>
4854
4855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4856
4857 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4858
4859 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4860 of x86_64 when setting libc_cv_slibdir, libdir and
4861 libc_cv_localedir.
4862 * sysdeps/unix/sysv/linux/configure: Regenerated.
4863
4864 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4865
4866 * manual/lang.texi (Old Varargs): Remove section.
4867 (How Variadic): Update menu.
4868 (va_start): Do not mention varargs.h.
4869
4870 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4871 Joseph Myers <joseph@codesourcery.com>
4872
4873 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4874 link test.
4875 * configure: Regenerated.
4876
4877 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4878
4879 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4880 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4881 conformtest.pl
4882
4883 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4884
4885 * NOTES: Remove.
4886 * Makefile (files-for-dist): Remove NOTES.
4887 (NOTES): Remove rule.
4888 * README: Don't refer to NOTES.
4889 * manual/creature.texi: Don't include macros.texi.
4890 * manual/intro.texi (creature.texi): Remove comment referring to
4891 NOTES.
4892
4893 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4894 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4895 * configure: Regenerated.
4896 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4897 LIBC_TRY_CC_OPTION.
4898 (libc_cv_as_i686): Likewise.
4899 (libc_cv_cc_avx): Likewise.
4900 (libc_cv_cc_sse2avx): Likewise.
4901 (libc_cv_cc_fma4): Likewise.
4902 (libc_cv_cc_novzeroupper): Likewise.
4903 * sysdeps/i386/configure: Regenerated.
4904
4905 [BZ #13883]
4906 * sysdeps/i386/fpu/s_cexp.S: Remove.
4907 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4908 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4909 * math/libm-test.inc (cexp_test): Add more tests.
4910 * sysdeps/i386/fpu/libm-test-ulps: Update.
4911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4912
4913 2012-03-21 Allan McRae <allan@archlinux.org>
4914
4915 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4916
4917 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4918
4919 [BZ #13871]
4920 * math/w_exp2.c: Do not include <float.h>.
4921 (o_threshold, u_threshold): Remove.
4922 (__exp2): Calculate result before checking finiteness and calling
4923 __kernel_standard.
4924 * math/w_exp2f.c: Likewise.
4925 * math/w_exp2l.c: Likewise.
4926 * math/libm-test.inc (exp2_test): Require overflow exception for
4927 1e6 input.
4928
4929 [BZ #3866]
4930 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4931 range of signed 64-bit integers before using fistpll. Remove
4932 checks for whether integers fit in mantissa bits.
4933 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4934 the range of signed 32-bit integers before using fistpl. Remove
4935 checks for whether integers fit in mantissa bits.
4936 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4937 (__ieee754_powl): Test for y outside the range of signed 64-bit
4938 integers before using fistpll. Reduce 64-bit values to 63-bit
4939 ones as needed.
4940 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4941 divide-by-zero is raised for zero to large negative powers.
4942 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4943 (__ieee754_powl): Test for y outside the range of signed 64-bit
4944 integers before using fistpll. Reduce 64-bit values to 63-bit
4945 ones as needed.
4946 * math/libm-test.inc (pow_test): Add more tests.
4947
4948 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4949
4950 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4951 <stdio-common/_itoa.h>.
4952 * debug/segfault.c: Likewise.
4953 * elf/dl-cache.c: Likewise.
4954 * elf/dl-minimal.c: Likewise.
4955 * elf/dl-misc.c: Likewise.
4956 * elf/dl-sysdep.c: Likewise.
4957 * elf/dl-version.c: Likewise.
4958 * elf/rtld.c: Likewise.
4959 * hurd/hurdsock.c: Likewise.
4960 * hurd/lookup-retry.c: Likewise.
4961 * malloc/malloc.c: Likewise.
4962 * malloc/mtrace.c: Likewise.
4963 * nscd/nscd_getgr_r.c: Likewise.
4964 * nscd/nscd_getpw_r.c: Likewise.
4965 * nscd/nscd_getserv_r.c: Likewise.
4966 * posix/getopt_init.c: Likewise.
4967 * posix/wordexp.c: Likewise.
4968 * stdio-common/_itoa.c: Likewise.
4969 * stdio-common/printf_fphex.c: Likewise.
4970 * stdio-common/vfprintf.c: Likewise.
4971 * string/_strerror.c: Likewise.
4972 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4973 * sysdeps/i386/i686/hp-timing.h: Likewise.
4974 * sysdeps/mach/_strerror.c: Likewise.
4975 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4976 * sysdeps/mach/hurd/sethostid.c: Likewise.
4977 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4978 * sysdeps/mach/xpg-strerror.c: Likewise.
4979 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4980 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4981 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4982 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4983 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4984 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4985 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4986 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4987 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4988 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4989 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4990 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4991 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4992 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4993 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4994 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4995 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4996 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4997 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4998 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4999 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5000
5001 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5002
5003 * stdio-common/_itoa.h: Moved to ...
5004 * sysdeps/generic/_itoa.h: Here.
5005
5006 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5007
5008 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5009 instead of "_itoa.h" and "_itowa.h".
5010 * stdio-common/vfprintf.: Likewise.
5011
5012 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5013
5014 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5015 <bits/wordsize.h>.
5016 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5017 (__signbit): Likwise.
5018 (llrintf): Likwise.
5019 (llrint): Likwise.
5020
5021 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5022
5023 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5024 __WORDSIZE != 64.
5025
5026 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5027
5028 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5029 OVERFLOW_EXCEPTION_OK.
5030 * math/libm-test.inc ("Philosophy"): Update comment about
5031 exception testing.
5032 (OVERFLOW_EXCEPTION): Define.
5033 (OVERFLOW_EXCEPTION_OK): Likewise.
5034 (INVALID_EXCEPTION_OK): Renumber.
5035 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5036 (IGNORE_ZERO_INF_SIGN): Likewise.
5037 (test_exceptions): Handle FE_OVERFLOW.
5038 (exp10_test): Expect overflow exceptions.
5039 (exp2_test): Likewise.
5040 (expm1_test): Likewise.
5041 (nextafter_test): Likewise.
5042 (pow_test): Likewise.
5043 (scalbn_test): Likewise.
5044 (scalbln_test): Likewise.
5045
5046 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5047
5048 * sysdeps/x86_64/bits/atomic.h
5049 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5050 64bit integer.
5051 (atomic_exchange_acq): Likewise.
5052 (__arch_exchange_and_add_body): Likewise.
5053 (__arch_add_body): Likewise.
5054 (atomic_add_negative): Likewise.
5055 (atomic_add_zero): Likewise.
5056
5057 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5058
5059 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5060 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5061
5062 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5063
5064 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5065 Check __x86_64__ instead of __WORDSIZE.
5066
5067 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5068
5069 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5070
5071 2012-03-19 David S. Miller <davem@davemloft.net>
5072
5073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5074
5075 * sysdeps/sparc/fpu/fenv_private.h: New file.
5076 * sysdeps/sparc/fpu/math_private.h: Use it.
5077 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5078 Remove.
5079 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5080 (libc_feholdexcept_setroundl): Remove.
5081 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5082 Remove.
5083 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5084 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5085
5086 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5087
5088 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5089 int64_t instead of long int.
5090 (INSERT_WORDS64): Likwise.
5091
5092 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5093
5094 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5095 _Unwind_GetCFA return to _Unwind_Ptr first.
5096
5097 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5098
5099 [BZ #13629]
5100 * math/s_clog.c: Include <float.h>.
5101 (__clog): Scale large or subnormal inputs.
5102 * math/s_clogf.c: Likewise.
5103 * math/s_clogl.c: Likewise.
5104 * math/s_clog10.c: Include <float.h>.
5105 (M_LOG10_2): Define.
5106 (__clog10): Scale large or subnormal inputs.
5107 * math/s_clog10f.c: Likewise.
5108 * math/s_clog10l.c: Likewise.
5109 * math/libm-test.inc (clog_test): Add more tests.
5110 (clog10_test): Likewise.
5111 * sysdeps/i386/fpu/libm-test-ulps: Update.
5112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5113
5114 [BZ #11451]
5115 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5116 x and y.
5117 * math/libm-test.inc (atan2_test): Add another test.
5118
5119 * Makerules (common-objdir-compile): Remove.
5120 * sysdeps/unix/Makefile (config-generated): Do not add
5121 $(unix-generated) to variable.
5122 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5123 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5124 Remove rule.
5125 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5126 Likewise.
5127 [generic bits/local_lim.h] (before-compile): Do not append to
5128 variable.
5129 [generic bits/local_lim.h] (common-generated): Likewise.
5130 [generic sys/param.h] (before-compile): Do not append to variable.
5131 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5132 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5133 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5134 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5135 include.
5136 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5137 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5138 [generic sys/param.h] ($(addprefix
5139 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5140 [generic sys/param.h] (common-generated): Do not append to
5141 variable.
5142 [generic sys/param.h] (sysdep_headers): Likewise.
5143 [generic bits/errno.h] (before-compile): Do not append to
5144 variable.
5145 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5146 rule.
5147 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5148 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5149 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5150 [generic bits/errno.h] (common-generated): Do not append to
5151 variable.
5152 [generic bits/ioctls.h] (before-compile): Do not append to
5153 variable.
5154 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5155 rule.
5156 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5157 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5158 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5159 rule.
5160 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5161 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5162 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5163 [generic bits/ioctls.h] (common-generated): Do not append to
5164 variable.
5165 [generic sys/syscall.h] (syscall.h): Remove variable.
5166 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5167 rule.
5168 [generic sys/syscall.h] (before-compile): Do not append to
5169 variable.
5170 [generic sys/syscall.h] (common-generated): Likewise.
5171 * sysdeps/unix/errnos-tmpl.c: Remove file.
5172 * sysdeps/unix/errnos.awk: Likewise.
5173 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5174 * sysdeps/unix/ioctls.awk: Likewise.
5175 * sysdeps/unix/mk-local_lim.c: Likewise.
5176 * sysdeps/unix/snarf-ioctls: Likewise.
5177
5178 2012-03-19 Richard Henderson <rth@twiddle.net>
5179
5180 * sysdeps/i386/fpu/fenv_private.h: New file.
5181 * sysdeps/i386/fpu/math_private.h: Use it.
5182 (math_opt_barrier, math_force_eval): Remove.
5183 (libc_feholdexcept_setround_53bit): Remove.
5184 (libc_feupdateenv_53bit): Remove.
5185 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5186 (math_opt_barrier, math_force_eval): Remove.
5187 (libc_feholdexcept): Remove.
5188 (libc_feholdexcept_setround): Remove.
5189 (libc_fetestexcept, libc_fesetenv): Remove.
5190 (libc_feupdateenv_test): Remove.
5191 (libc_feupdateenv, libc_feholdsetround): Remove.
5192 (libc_feresetround): Remove.
5193
5194 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5195 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5196
5197 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5198 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5199 (libc_feupdateenv_testl): New.
5200 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5201 (libc_feupdateenv_testf): New.
5202 (libc_feupdateenv): Use libc_feupdateenv_test.
5203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5204 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5205
5206 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5207 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5208 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5209 (libc_feresetround_noex): New.
5210 (libc_feresetround_noexf): New.
5211 (libc_feresetround_noexl): New.
5212 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5213 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5214 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5215 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5216 SET_RESTORE_ROUND.
5217 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5218 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5219 (__cos): Likewise.
5220 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5221 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5222 SET_RESTORE_ROUND_NOEX.
5223 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5224 SET_RESTORE_ROUND_NOEXF.
5225 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5226 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5227 (libc_feholdsetroundf): New.
5228 (libc_feresetround, libc_feresetroundf): New.
5229
5230 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5231 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5232 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5233
5234 * sysdeps/generic/math_private.h: Include <fenv.h>.
5235 (default_libc_feholdexcept): New.
5236 (default_libc_feholdexcept_setround): New.
5237 (default_libc_fesetenv, default_libc_feupdateenv): New.
5238 (libc_feholdexcept): Only define if undefined.
5239 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5240 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5241 (libc_feholdexcept_setroundl): Likewise.
5242 (libc_feholdexcept_setround_53bit): Likewise.
5243 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5244 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5245 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5246 (libc_feupdateenv_53bit): Likewise.
5247 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5248 (libc_feholdexcept): Convert from macro to inline function.
5249 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5250 (libc_fesetenv, libc_feupdateenv): Likewise.
5251
5252 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5253 not previously defined.
5254 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5255 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5256 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5257 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5258 * sysdeps/ieee754/flt-32/math_private.h: New file.
5259 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5260 math_private.h below SET_FLOAT_WORD.
5261 (__isnan, __isinf_ns, __finite): Remove.
5262 (__isnanf, __isinf_nsf, __finitef): Remove.
5263
5264 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5265
5266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5267
5268 2012-03-17 David S. Miller <davem@davemloft.net>
5269
5270 [BZ #6471]
5271 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5272 for 2.16.
5273
5274 2012-03-16 David S. Miller <davem@davemloft.net>
5275
5276 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5277 warnings.
5278
5279 [BZ #6471]
5280 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5281 properly.
5282 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5283 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5284 sysdep_routines when subdir is sysvipc.
5285 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5286 __getshmlba helper.
5287
5288 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5289
5290 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5291
5292 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5293 [__LP64__].
5294
5295 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5296
5297 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5298 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5299 (__lround): Renamed to ...
5300 (__llround): This. Replace long int with long long int.
5301 Define lround functions as aliases of llround functions.
5302 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5303
5304 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5305
5306 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5307 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5308 adresses to uintptr_t. Replace "long int" and "unsigned long
5309 int" with "greg_t" on va_arg.
5310
5311 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5312
5313 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5314 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5315
5316 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5317 Move e_machine check before EI_CLASS check. Handle x32
5318 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5319 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5320 SKIP_EM_IA_64 and include
5321 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5322
5323 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5324 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5325 (add_system_dir): New macro.
5326
5327 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5328 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5329
5330 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5331
5332 [BZ #2551]
5333 [BZ #2552]
5334 [BZ #2553]
5335 [BZ #2554]
5336 [BZ #2562]
5337 [BZ #2563]
5338 [BZ #2565]
5339 [BZ #2566]
5340 [BZ #2576]
5341 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5342 (y0): Likewise.
5343 * math/w_j0f.c (j0f): Likewise.
5344 (y0f): Likewise.
5345 * math/w_j0l.c (__j0l): Likewise.
5346 (__y0l): Likewise.
5347 * math/w_j1.c (j1): Likewise.
5348 (y1): Likewise.
5349 * math/w_j1f.c (j1f): Likewise.
5350 (y1f): Likewise.
5351 * math/w_j1l.c (__j1l): Likewise.
5352 (__y1l): Likewise.
5353 * math/w_jn.c (jn): Likewise.
5354 (yn): Likewise.
5355 * math/w_jnf.c (jnf): Likewise.
5356 (ynf): Likewise.
5357 * math/w_jnl.c (__jnl): Likewise.
5358 (__ynl): Likewise.
5359 * math/libm-test.inc (j0_test): Add more tests.
5360 (j1_test): Likewise.
5361 (jn_test): Likewise. Add trailing semicolon to existing test.
5362 (y0_test): Likewise.
5363 (y1_test): Likewise.
5364 * sysdeps/i386/fpu/libm-test-ulps: Update.
5365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5366
5367 [BZ #13851]
5368 [BZ #13854]
5369 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5370 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5371 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5372 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5373 (__tanl): Set errno for infinite argument.
5374 * sysdeps/i386/fpu/mptan.c: Remove.
5375 * sysdeps/i386/fpu/s_tan.S: Likewise.
5376 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5377 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5378 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5379 * math/libm-test.inc (tan_test): Add more tests and enable more
5380 tests for double and long double.
5381 * sysdeps/i386/fpu/libm-test-ulps: Update.
5382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5383
5384 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5385
5386 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5387 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5388
5389 2012-03-16 Roland McGrath <roland@hack.frob.com>
5390
5391 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5392 * configure.in: Use it for both main tree and add-ons.
5393 * configure: Regenerated.
5394
5395 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5396
5397 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5398
5399 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5400
5401 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5402 in comment.
5403
5404 [BZ #13851]
5405 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5406 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5410 infinite argument.
5411 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5412 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5413 != 0 for prec == 2.
5414 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5415 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5416 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5417 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5418 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5419 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5420 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5421 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5422 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5423 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5424 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5425 * math/libm-test.inc (cos_test): Add more tests and enable more
5426 tests for long double.
5427 (sin_test): Likewise.
5428 (sincos_test): Likewise.
5429 * sysdeps/i386/fpu/libm-test-ulps: Update.
5430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5431
5432 2012-03-16 David S. Miller <davem@davemloft.net>
5433
5434 * sysdeps/sparc/fpu/math_private.h: New file.
5435
5436 2012-03-15 David S. Miller <davem@davemloft.net>
5437
5438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5439 file.
5440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5442 file.
5443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5449 sysdep routines.
5450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5451
5452 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5453 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5454
5455 * sysdeps/sparc/sparc-ifunc.h: New file.
5456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5457 sparc-ifunc.h
5458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5460 Likewise.
5461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5462 Likewise.
5463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5467 Likewise.
5468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5473 Likewise.
5474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5475 Likewise.
5476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5481 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5482 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5483 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5495 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5496 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5497 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5498 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5499 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5500
5501 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5502
5503 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5504 scaling.
5505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5506
5507 2012-03-15 Andreas Jaeger <aj@suse.de>
5508
5509 [BZ #13852]
5510 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5511 ieee754/flt-32 implementation for sin, cos and sincos.
5512 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5513 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5514 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5515 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5516 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5517 ieee754/flt-32 implementation for tan.
5518
5519 * math/libm-test.inc (cos_test): Enable some large input tests for
5520 float as well
5521 (sin_test): Likewise.
5522 (sincos_test): Likewise.
5523 (tan_test): Add tests for large input.
5524
5525 * sysdeps/i386/fpu/libm-test-ulps: Update.
5526
5527 2012-03-15 Andreas Jaeger <aj@suse.de>
5528
5529 [BZ #13658]
5530 * math/libm-test.inc (cos_test): Add more test cases.
5531 (sin_test): Likewise.
5532 (sincos_test): Likewise.
5533
5534 2012-03-15 Andreas Jaeger <aj@suse.de>
5535
5536 [BZ #13837]
5537 * math/libm-test.inc (cos_test): Add a test case for large input
5538 value.
5539 (sin_test): Likewise.
5540 (sincos_test): Likewise.
5541
5542 2012-03-15 Andreas Jaeger <aj@suse.de>,
5543 Joseph Myers <joseph@codesourcery.com>
5544
5545 [BZ #13658]
5546 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5547 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5548 * sysdeps/i386/fpu/branred.c: Likewise.
5549 * sysdeps/i386/fpu/dosincos.c: Likewise.
5550 * sysdeps/i386/fpu/mpa.c: Likewise.
5551 * sysdeps/i386/fpu/s_cos.S: Likewise.
5552 * sysdeps/i386/fpu/s_sin.S: Likewise.
5553 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5554 * sysdeps/i386/fpu/sincos32.c: Likewise.
5555
5556 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5557 Define.
5558 (libc_feupdateenv_53bit): Define.
5559 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5560 Define.
5561 (libc_feupdateenv_53bit): Define.
5562
5563 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5564 53 bit (without extend i386 double precision).
5565
5566 * math/libm-test.inc (sincos_test): Add tests for large input.
5567 (sin): Likewise.
5568 (cos): Likewise.
5569
5570 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5571
5572 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5573
5574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5575
5576 2012-03-15 David S. Miller <davem@davemloft.net>
5577
5578 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5579 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5580 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5581 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5594 file.
5595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5597 file.
5598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5600 file.
5601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5603 file.
5604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5605 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5606 fmin/fmax sysdep routines.
5607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5608
5609 2012-03-14 David S. Miller <davem@davemloft.net>
5610
5611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5617 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5633 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5634 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5636 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5637 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5639 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5640 routines.
5641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5642 file.
5643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5645 file.
5646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5648 file.
5649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5651 file.
5652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5654 file.
5655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5657 file.
5658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5659 file.
5660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5661 file.
5662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5663 file.
5664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5665 New file.
5666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5667 file.
5668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5669 file.
5670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5672 file.
5673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5675 file.
5676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5678 file.
5679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5681 VIS3 routines.
5682
5683 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5684 New file.
5685
5686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5687
5688 * sysdeps/sparc/configure.in: New file.
5689 * sysdeps/sparc/configure: Generate.
5690 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5691 * configure: Regenerate.
5692 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5693 * config.make.in (have-as-vis3): New.
5694 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5695 available use -Av9d instead of -Av9a.
5696 * sysdeps/sparc/sparc64/Makefile: Likewise.
5697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5699 New file.
5700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5701 file.
5702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5703 New file.
5704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5705 file.
5706 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5711
5712 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5713 fzeros/fnegs to load 0x80000000 into a float register instead of
5714 using the stack.
5715 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5716
5717 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5718
5719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5720 bits/syscall.h.
5721 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5722 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5723 ($(inst_includedir)/bits/syscall.h): Remove rule.
5724 ($(objpfx)bits/syscall.d): Include instead of
5725 $(objpfx)syscall-list.d.
5726 (generated): Change syscall-list.h and syscall-list.d to
5727 bits/syscall.h and bits/syscall.d.
5728
5729 2012-03-14 Roland McGrath <roland@hack.frob.com>
5730
5731 [BZ #13846]
5732 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5733
5734 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5735
5736 [BZ #13841]
5737 * math/s_csqrt.c: Include <float.h>.
5738 (__csqrt): Scale large or subnormal inputs.
5739 * math/s_csqrtf.c: Likewise.
5740 * math/s_csqrtl.c: Likewise.
5741 * math/libm-test.inc (csqrt_test): Add more tests.
5742 * sysdeps/i386/fpu/libm-test-ulps: Update.
5743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5744
5745 [BZ #13840]
5746 * math/libm-test.inc (hypot_test): Add more tests.
5747
5748 2012-03-13 David S. Miller <davem@davemloft.net>
5749
5750 [BZ #13840]
5751 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5752 double-precision for the calculation instead of scaling.
5753
5754 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5755
5756 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5757 manipulate bits before adding and subtracting TWO52[sx].
5758 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5759 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5760 Likewise.
5761 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5762
5763 2012-03-13 David S. Miller <davem@davemloft.net>
5764
5765 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5766 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5767 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5768 rtld-global-offsets.h
5769 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5770
5771 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5772 large parameters.
5773
5774 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5775
5776 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5777 'err' in the ifdef scope in which it is actually used.
5778
5779 * nss/nss_db/db-init.c: Include string.h
5780
5781 2012-03-12 David S. Miller <davem@davemloft.net>
5782
5783 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5784 masking out of the most significant byte of random value used.
5785 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5786 Fix coding style in previous change.
5787
5788 * sysdeps/unix/sysv/linux/kernel-features.h
5789 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5790 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5791 expression.
5792 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5793 later.
5794
5795 2012-03-11 David S. Miller <davem@davemloft.net>
5796
5797 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5798 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5799 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5800 for 'resultvar' otherwise things get truncated on 64-bit.
5801
5802 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5803 Fix masking out of the most significant byte of random value used.
5804
5805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5806
5807 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5808
5809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5810
5811 2012-03-09 David S. Miller <davem@davemloft.net>
5812
5813 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5814 variables with appropriate CPP guards.
5815 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5816 frame pointer, not the stack pointer. Correct layout comments. Fix test
5817 on resulting framesize and the management of the outregs buffer for pltexit.
5818 Preserve floating point return values across _dl_call_pltexit call.
5819 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5820 framesize and the management of the outregs buffer for pltexit.
5821 Preserve floating point return values across _dl_call_pltexit
5822 call.
5823 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5824 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5825 (print_exit): Fix format string for return register value.
5826
5827 2012-03-10 Joseph Myers <joseph@codesourcery.com>
5828
5829 * sunrpc/Makefile (others): Add rpcgen.
5830 ($(objpfx)rpcgen): Remove special build rule and dependency on
5831 libc.
5832 * sunrpc/rpcgen.c: New file.
5833
5834 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5835
5836 [BZ #13673]
5837 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5838 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5839 * sysdeps/i386/crti.S: Likewise.
5840 * sysdeps/i386/crtn.S: Likewise.
5841 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5842 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5843 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5844 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5845 * sysdeps/sh/crti.S: Likewise.
5846 * sysdeps/sh/crtn.S: Likewise.
5847 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5848
5849 [BZ #13673]
5850 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5851 with URL.
5852 * locale/programs/locfile-kw.gperf: Likewise.
5853 * locale/programs/charmap-kw.h: Regenerated.
5854 * locale/programs/locfile-kw.h: Likewise.
5855
5856 [BZ #13673]
5857 * intl/plural.y: Replace FSF snail mail address with URL.
5858 * intl/plural.c: Regenerated.
5859
5860 2012-03-09 Richard Henderson <rth@twiddle.net>
5861
5862 * include/math_private.h: Remove file.
5863 * math/math_private.h: Move file ...
5864 * sysdeps/generic/math_private.h: ... here.
5865
5866 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5867 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5868 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5869
5870 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5871 and <math_private.h>.
5872 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5873 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5874 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5875 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5876 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5877 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5878 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5879 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5880 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5881 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5882 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5883 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5884 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5885 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5886 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5888 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5889 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5890 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5891 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5896 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5897 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5898 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5899 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5901 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5902 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5905 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5907 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5908 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5909 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5910 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5913 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5914 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5919 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5920 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5921 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5922 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5923 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5924 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5925 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5926 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5927 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5928 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5929 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5930 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5931 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5932 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5933 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5934 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5935 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5936 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5937 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5938 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5939 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5940 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5941 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5942 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5943 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5944 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5945 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5946 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5947 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5948 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5949 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5950 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5951 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5952 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5953 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5954 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5955 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5956 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5957 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5959 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5960 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5961 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5962 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5963 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5964 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5965 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5966 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5967 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5968 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5969 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5970 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5971 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5972 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5973 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5974 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5975 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5976 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5977 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5978 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5979 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5980 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5981 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5982 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5983 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5984 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5985 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5986 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5987 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5988 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5989 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5990 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5991 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5992 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5993 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5994 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5995 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5996 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5997 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5998 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5999 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6000 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6001 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6002 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6003 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6004 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6005 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6006 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6007 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6008 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6009 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6010 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6011 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6012 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6013 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6014 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6015 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6016 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6017 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6018 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6019 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6020 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6021 * sysdeps/ieee754/k_standard.c: Likewise.
6022 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6023 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6024 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6025 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6026 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6027 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6028 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6029 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6030 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6031 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6032 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6033 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6034 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6035 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6036 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6037 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6038 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6039 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6040 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6041 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6042 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6043 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6044 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6045 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6046 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6047 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6048 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6049 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6050 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6051 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6052 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6053 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6054 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6055 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6056 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6057 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6058 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6059 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6060 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6061 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6062 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6063 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6064 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6065 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6066 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6067 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6068 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6069 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6070 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6071 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6072 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6073 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6074 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6075 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6076 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6077 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6078 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6079 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6080 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6081 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6082 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6083 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6084 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6085 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6086 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6087 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6088 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6089 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6090 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6091 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6092 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6094 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6095 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6096 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6097 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6104 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6105 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6106 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6107 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6108 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6109 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6110 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6111 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6112 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6135 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6137 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6141 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6142 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6143 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6144 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6147 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6148 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6149 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6151 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6154 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6156 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6159 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6160 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6161 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6162 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6163 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6165 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6166 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6167 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6168 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6169 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6170 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6171 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6172 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6173 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6177 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6179 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6182 * sysdeps/ieee754/s_lib_version.c: Likewise.
6183 * sysdeps/ieee754/s_matherr.c: Likewise.
6184 * sysdeps/ieee754/s_signgam.c: Likewise.
6185 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6186 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6187 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6188 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6189 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6190 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6191 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6192 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6193 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6194 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6195 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6196 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6197 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6198 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6199 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6200 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6201 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6202 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6203 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6204 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6206
6207 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6208
6209 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6210 * sunrpc/rpc_main.c: Likewise.
6211 * sunrpc/rpc_svcout.c: Likewise.
6212
6213 2012-03-09 David S. Miller <davem@davemloft.net>
6214
6215 * include/math_private.h: New file.
6216
6217 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6218
6219 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6220 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6221 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6222 from <bits/socket_type.h>.
6223 (enum __socket_type): Don't define here.
6224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6226 bits/socket_type.h.
6227
6228 [BZ #13566]
6229 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6230 checking __USE_GNU.
6231
6232 * Makerules ($(inst_includedir)/%.h): New rule.
6233 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6234 (install-others): Remove variable setting.
6235 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6236
6237 2012-03-08 Richard Henderson <rth@twiddle.net>
6238
6239 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6240 from macro to inline function; merge with the
6241 !__LIBC_INTERNAL_MATH_INLINES version.
6242 (__ieee754_sqrtf): Likewise.
6243
6244 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6245 to inline function.
6246 (__rintf, __floor, __floorf): Likewise.
6247
6248 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6249 macro to inline function.
6250 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6251
6252 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6253 not <math/math_private.h>.
6254
6255 2012-03-08 David S. Miller <davem@davemloft.net>
6256
6257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6258 copyright year.
6259 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6260
6261 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6262
6263 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6264 normalization.
6265 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6266 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6267
6268 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6269
6270 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6271 be defined individually, they must be defined as a block. Define
6272 S for printing a string instead of hidint the different by using a
6273 macro for adding the 'l'.
6274 * stdio-common/tst-fphex-wide.c: Adjust.
6275
6276 2012-03-07 Marek Polacek <polacek@redhat.com>
6277
6278 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6279
6280 2012-03-08 Marek Polacek <polacek@redhat.com>
6281
6282 [BZ #13806]
6283 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6284 * stdio-common/tst-fphex.c: Define a few macros to make the
6285 test reusable. Use them.
6286 * stdio-common/tst-fphex-wide.c: New file.
6287
6288 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6289
6290 [BZ #6911]
6291 * manual/macros.texi (gnusystems): New macro.
6292 (nongnusystems): Likewise.
6293 (gnulinuxhurdsystems): Likewise.
6294 (gnuhurdsystems): Likewise..
6295 (gnulinuxsystems): Likewise.
6296 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6297 variants of the GNU system, not "GNU system".
6298 * manual/conf.texi: Likewise.
6299 * manual/errno.texi: Likewise. Update example of errno macro
6300 expansion.
6301 * manual/filesys.texi: Likewise.
6302 (getumask): Document as specific to GNU/Hurd.
6303 * manual/install.texi: Likewise. Reword some references to
6304 GNU/Linux.
6305 * manual/intro.texi: Likewise.
6306 * manual/io.texi: Likewise.
6307 (File Name Portability): Detail which constraints are inapplicable
6308 to all GNU systems and which are only inapplicable to GNU/Hurd.
6309 * manual/job.texi: Likewise.
6310 * manual/llio.texi: Likewise.
6311 (O_NOCTTY): Document as present on GNU/Linux.
6312 * manual/maint.texi: Likewise.
6313 * manual/memory.texi: Likewise.
6314 * manual/pattern.texi: Likewise.
6315 * manual/pipe.texi: Likewise.
6316 * manual/process.texi: Likewise.
6317 * manual/resource.texi: Likewise.
6318 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6319 child on GNU/Hurd.
6320 * manual/setjmp.texi: Likewise.
6321 * manual/signal.texi: Likewise.
6322 * manual/startup.texi: Likewise.
6323 * manual/stdio.texi: Likewise.
6324 * manual/terminal.texi: Likewise.
6325 (ONLCR): Document as POSIX.
6326 (OXTABS): Document availability on GNU/Linux as XTABS.
6327 (ONOEOT): Document availability separately from other bits.
6328 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6329 * manual/time.texi: Likewise.
6330 * manual/users.texi: Likewise.
6331 * INSTALL: Regenerated.
6332 * sysdeps/gnu/errlist.c: Regenerated.
6333
6334 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6335 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6336 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6337 puts.
6338 * configure: Regenerated.
6339
6340 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6341
6342 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6343 default includes instead of AC_HEADER_CHECK.
6344 * sysdeps/i386/configure: Regenerated.
6345
6346 [BZ #10716]
6347 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6348 * math/s_cacoshf.c (__cacoshf): Likewise.
6349 * math/s_cacoshl.c (__cacoshl): Likewise.
6350 * math/s_casinh.c (__casinh): Set signs of result from argument.
6351 * math/s_casinhf.c (__casinhf): Likewise.
6352 * math/s_casinhl.c (__casinhl): Likewise.
6353 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6354 (casinh_test): Add more tests.
6355 * sysdeps/i386/fpu/libm-test-ulps: Update.
6356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6357
6358 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6359
6360 * po/zh_TW.po: Update from translation team.
6361
6362 * login/Makefile (distribute): Remove variable.
6363 * catgets/Makefile: Likewise.
6364 * mach/Makefile: Likewise.
6365 * malloc/Makefile: Likewise.
6366 * misc/Makefile: Likewise.
6367 * iconv/Makefile: Likewise.
6368 * nscd/Makefile: Likewise.
6369 * hurd/Makefile: Likewise.
6370 * manual/Makefile: Likewise.
6371 * locale/Makefile: Likewise.
6372 * intl/Makefile: Likewise.
6373 * conform/Makefile: Likewise.
6374 * nss/Makefile: Likewise.
6375 * time/Makefile: Likewise.
6376 * soft-fp/Makefile: Likewise.
6377 * dirent/Makefile: Likewise.
6378 * gmon/Makefile: Likewise.
6379 * po/Makefile: Likewise.
6380 * rt/Makefile: Likewise.
6381 * socket/Makefile: Likewise.
6382 * math/Makefile: Likewise.
6383 * signal/Makefile: Likewise.
6384 * debug/Makefile: Likewise.
6385 * elf/Makefile: Likewise.
6386 * timezone/Makefile: Likewise.
6387 * stdlib/Makefile: Likewise.
6388 * iconvdata/Makefile: Likewise.
6389 * sunrpc/Makefile: Likewise.
6390 * io/Makefile: Likewise.
6391 * argp/Makefile: Likewise.
6392 * inet/Makefile: Likewise.
6393 * hesiod/Makefile: Likewise.
6394 * grp/Makefile: Likewise.
6395 * csu/Makefile: Likewise.
6396 * wctype/Makefile: Likewise.
6397 * crypt/Makefile: Likewise.
6398 * libio/Makefile: Likewise.
6399 * string/Makefile: Likewise.
6400 * nis/Makefile: Likewise.
6401 * resolv/Makefile: Likewise.
6402 * stdio-common/Makefile: Likewise.
6403 * wcsmbs/Makefile: Likewise.
6404 * dlfcn/Makefile: Likewise.
6405 * posix/Makefile: Likewise.
6406
6407 [BZ #6959]
6408 * timezone/Makefile: Don't install timezone files, just the programs
6409 and scripts.
6410
6411 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6412
6413 * nss/databases.def: Add missing gshadow entry.
6414
6415 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6416
6417 2012-03-06 Marek Polacek <polacek@redhat.com>
6418
6419 [BZ #13726]
6420 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6421 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6422 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6423 * stdio-common/tst-long-dbl-fphex.c: New file.
6424
6425 2012-03-06 David S. Miller <davem@davemloft.net>
6426
6427 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6428 (set_obp_int): New function.
6429 (get_obp_int): New function.
6430 (__get_clockfreq_via_dev_openprom): Likewise.
6431 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6432 Avoid unused variable warnings on 'val' and use builtin_expect.
6433 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6434 __builtin_expect.
6435 (INLINE_CLONE_SYSCALL): Likewise.
6436
6437 2012-03-05 David S. Miller <davem@davemloft.net>
6438
6439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6440
6441 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6442
6443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6444
6445 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6446 only for |x| >= 40.
6447 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6448
6449 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
6450
6451 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6452 Replace gettimeofday with __vdso_gettimeofday.
6453
6454 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6455 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6456 __vdso_clock_gettime and __vdso_getcpu.
6457
6458 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6459 time with __vdso_time.
6460
6461 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6462
6463 * manual/lang.texi (size_t): Note types to which size_t may be
6464 equivalent with the GNU C Library, but do not describe when
6465 differences between them are significant.
6466
6467 2012-03-05 Andreas Jaeger <aj@suse.de>
6468
6469 * sysdeps/i386/fpu/libm-test-ulps: Update.
6470
6471 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6472
6473 [BZ #3976]
6474 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6475 (__ieee754_pow): Save and restore rounding mode and use
6476 round-to-nearest for main computations.
6477 * math/libm-test.inc (pow_test_tonearest): New function.
6478 (pow_test_towardzero): Likewise.
6479 (pow_test_downward): Likewise.
6480 (pow_test_upward): Likewise.
6481 (main): Call the new functions.
6482 * sysdeps/i386/fpu/libm-test-ulps: Update.
6483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6484
6485 [BZ #3976]
6486 * math/libm-test.inc (cosh_test_tonearest): New function.
6487 (cosh_test_towardzero): Likewise.
6488 (cosh_test_downward): Likewise.
6489 (cosh_test_upward): Likewise.
6490 (sinh_test_tonearest): Likewise.
6491 (sinh_test_towardzero): Likewise.
6492 (sinh_test_downward): Likewise.
6493 (sinh_test_upward): Likewise.
6494 (main): Call the new functions.
6495 * sysdeps/i386/fpu/libm-test-ulps: Update.
6496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6497
6498 2012-03-05 Tom de Vries <tom@codesourcery.com>
6499
6500 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6501 default stack guard is set in last bytes.
6502 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6503
6504 2012-03-05 Kees Cook <keescook@chromium.org>
6505
6506 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6507
6508 [BZ #13656]
6509 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6510 possibly allocate from heap instead of stack.
6511 * stdio-common/bug-vfprintf-nargs.c: New file.
6512 * stdio-common/Makefile (tests): Add nargs overflow test.
6513
6514 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6515
6516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6517
6518 2012-03-03 Marek Polacek <polacek@redhat.com>
6519
6520 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6521 * math/math_private.h: Likewise.
6522 * stdlib/tst-strtod.c: Likewise.
6523 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6524 * sysdeps/x86_64/bits/atomic.h: Likewise.
6525
6526 2012-03-02 David S. Miller <davem@davemloft.net>
6527
6528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6532 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6533 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6534 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6535 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6536
6537 2012-03-02 Roland McGrath <roland@hack.frob.com>
6538
6539 [BZ #13792]
6540 * manual/examples/README: New file, says the example source files
6541 can be used under GPL>=2.
6542 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6543 line containing just "*/".
6544 * manual/examples/add.c: Add copyright header (GPL>=2).
6545 * manual/examples/argp-ex1.c: Likewise.
6546 * manual/examples/argp-ex2.c: Likewise.
6547 * manual/examples/argp-ex3.c: Likewise.
6548 * manual/examples/argp-ex4.c: Likewise.
6549 * manual/examples/atexit.c: Likewise.
6550 * manual/examples/db.c: Likewise.
6551 * manual/examples/dir.c: Likewise.
6552 * manual/examples/dir2.c: Likewise.
6553 * manual/examples/execinfo.c: Likewise.
6554 * manual/examples/filecli.c: Likewise.
6555 * manual/examples/filesrv.c: Likewise.
6556 * manual/examples/fmtmsgexpl.c: Likewise.
6557 * manual/examples/genpass.c: Likewise.
6558 * manual/examples/inetcli.c: Likewise.
6559 * manual/examples/inetsrv.c: Likewise.
6560 * manual/examples/isockad.c: Likewise.
6561 * manual/examples/longopt.c: Likewise.
6562 * manual/examples/memopen.c: Likewise.
6563 * manual/examples/memstrm.c: Likewise.
6564 * manual/examples/mkfsock.c: Likewise.
6565 * manual/examples/mkisock.c: Likewise.
6566 * manual/examples/mygetpass.c: Likewise.
6567 * manual/examples/pipe.c: Likewise.
6568 * manual/examples/popen.c: Likewise.
6569 * manual/examples/rprintf.c: Likewise.
6570 * manual/examples/search.c: Likewise.
6571 * manual/examples/select.c: Likewise.
6572 * manual/examples/setjmp.c: Likewise.
6573 * manual/examples/sigh1.c: Likewise.
6574 * manual/examples/sigusr.c: Likewise.
6575 * manual/examples/stpcpy.c: Likewise.
6576 * manual/examples/strdupa.c: Likewise.
6577 * manual/examples/strftim.c: Likewise.
6578 * manual/examples/strncat.c: Likewise.
6579 * manual/examples/subopt.c: Likewise.
6580 * manual/examples/swapcontext.c: Likewise.
6581 * manual/examples/termios.c: Likewise.
6582 * manual/examples/testopt.c: Likewise.
6583 * manual/examples/testpass.c: Likewise.
6584 * manual/examples/timeval_subtract.c: Likewise.
6585
6586 [BZ #13792]
6587 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6588 function to ...
6589 * manual/timeval_subtract.c.texi: ... here, new file.
6590
6591 2012-03-02 David S. Miller <davem@davemloft.net>
6592
6593 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6594
6595 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6596
6597 [BZ #3976]
6598 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6599 (__sin): Save and restore rounding mode and use round-to-nearest
6600 for all computations.
6601 (__cos): Save and restore rounding mode and use round-to-nearest
6602 for all computations.
6603 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6604 <fenv.h>.
6605 (tan): Save and restore rounding mode and use round-to-nearest for
6606 all computations.
6607 * math/libm-test.inc (cos_test_tonearest): New function.
6608 (cos_test_towardzero): Likewise.
6609 (cos_test_downward): Likewise.
6610 (cos_test_upward): Likewise.
6611 (sin_test_tonearest): Likewise.
6612 (sin_test_towardzero): Likewise.
6613 (sin_test_downward): Likewise.
6614 (sin_test_upward): Likewise.
6615 (tan_test_tonearest): Likewise.
6616 (tan_test_towardzero): Likewise.
6617 (tan_test_downward): Likewise.
6618 (tan_test_upward): Likewise.
6619 (main): Call the new functions.
6620 * sysdeps/i386/fpu/libm-test-ulps: Update.
6621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6622
6623 [BZ #10135]
6624 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6625 small n, then large n, before computing and testing k+n.
6626 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6628 Likewise.
6629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6630 Likewise.
6631 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6632 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6633 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6634 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6635 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6636 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6637 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6638 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6639 * math/libm-test.inc (scalbn_test): Add more tests.
6640 (scalbln_test): Likewise.
6641
6642 * manual/filesys.texi (mode_t): Describe constraints on size and
6643 signedness, not exact equivalence to a particular type.
6644 (ino_t): Likewise.
6645 (ino64_t): Likewise.
6646 (dev_t): Likewise.
6647 (nlink_t): Likewise.
6648 (blkcnt_t): Likewise.
6649 (blkcnt64_t): Likewise.
6650 * manual/llio.texi (off_t): Likewise.
6651
6652 [BZ #3976]
6653 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6654 (__ieee754_exp): Save and restore rounding mode and use
6655 round-to-nearest for all computations.
6656 * math/libm-test.inc (exp_test_tonearest): New function.
6657 (exp_test_towardzero): Likewise.
6658 (exp_test_downward): Likewise.
6659 (exp_test_upward): Likewise.
6660 (main): Call the new functions.
6661 * sysdeps/i386/fpu/libm-test-ulps: Update.
6662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6663
6664 2012-03-01 Chris Demetriou <cgd@google.com>
6665
6666 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6667 have predictable order.
6668
6669 2012-03-01 David S. Miller <davem@davemloft.net>
6670
6671 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6672
6673 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6674 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6675 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6676 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6677
6678 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6679 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6680 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6682 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6683 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6684 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6685 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6686 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6687
6688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6689
6690 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6691 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6692 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6693
6694 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6695 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6696 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6697 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6698 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6699 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6700 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6701 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6702 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6703 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6704 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6705 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6706 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6707 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6708 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6710 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6711 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6712 * sysdeps/sparc/elf/configure: Regenerated.
6713
6714 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6715
6716 * configure.in (AS, LD): Require binutils 2.20 or later.
6717 * configure: Regenerated.
6718 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6719 as required minimum version.
6720 * INSTALL: Regenerated.
6721
6722 [BZ #2541]
6723 [BZ #4108]
6724 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6725 before squaring exponent.
6726 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6727 bottom long double and 27 bits of top long double before squaring
6728 exponent.
6729 * math/libm-test.inc (erfc_test): Add more tests.
6730 * sysdeps/i386/fpu/libm-test-ulps: Update.
6731 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6733
6734 2012-03-01 Kai Tietz <ktietz@redhat.com>
6735
6736 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6737 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6738 containing bit-fields.
6739 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6740 * soft-fp/single.h (_FP_UNION_S): Likewise.
6741 * soft-fp/double.h (_FP_UNION_D): Likewise.
6742
6743 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6744
6745 [BZ #13786]
6746 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6747 not include ../strcmp.S.
6748 [USE_AS_STRNCASECMP_L]: Likewise.
6749 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6750 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6751 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6752 (__strncasecmp_l_ia32): Define as alias to
6753 __strncasecmp_l_nonascii.
6754
6755 [BZ #5794]
6756 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6757 * sysdeps/i386/fpu/libm-test-ulps: Update.
6758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6759
6760 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6762
6763 2012-02-29 Jeff Law <law@redhat.com>
6764
6765 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6766 out of bounds read.
6767
6768 2012-02-29 Marek Polacek <polacek@redhat.com>
6769
6770 [BZ #13706]
6771 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6772 * elf/Makefile: Add rules to run tst-unused-dep.out.
6773
6774 2012-02-28 David S. Miller <davem@davemloft.net>
6775
6776 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6777 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6778 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6779 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6780 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6781 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6782
6783 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6784
6785 * math/libm-test.inc (llround_test): Move one test from
6786 lround_test. Use TEST_f_L in moved test.
6787 (lround_test): Move misplaced test to llround_test. Add testcase
6788 from bug 2561.
6789
6790 2012-02-28 Ulrich Drepper <drepper@gmail.com>
6791
6792 * sysdeps/x86_64/fpu/e_expf.S: New file.
6793 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6794
6795 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6796
6797 [BZ #13637]
6798 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6799 of remain_len that may cause incomplete multi-byte character and
6800 false match.
6801 * posix/bug-regex33.c: New file.
6802 * posix/Makefile (tests): Add bug-regex33.
6803
6804 2012-02-28 Joseph Myers <joseph@codesourcery.com>
6805
6806 * manual/macros.texi: New file.
6807 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6808 * manual/libc.texinfo: Include macros.texi.
6809 * manual/creatute.texi: Likewise.
6810 * manual/install.texi: Likewise.
6811 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6812 @glibcadj{} in references to the GNU C Library.
6813 * manual/charset.texi: Likewise.
6814 * manual/conf.texi: Likewise.
6815 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6816 when not using those macros.
6817 * manual/creature.texi: Likewise.
6818 * manual/crypt.texi: Likewise.
6819 * manual/errno.texi: Likewise.
6820 * manual/filesys.texi: Likewise.
6821 * manual/header.texi: Likewise.
6822 * manual/install.texi: Likewise.
6823 * manual/intro.texi: Likewise.
6824 * manual/io.texi: Likewise.
6825 * manual/job.texi: Likewise.
6826 * manual/lang.texi: Likewise.
6827 * manual/libc.texiinfo: Likewise.
6828 * manual/llio.texi: Likewise.
6829 * manual/locale.texi: Likewise.
6830 * manual/maint.texi: Likewise.
6831 * manual/math.texi: Likewise.
6832 * manual/memory.texi: Likewise.
6833 * manual/message.texi: Likewise.
6834 * manual/nss.texi: Likewise.
6835 * manual/pattern.texi: Likewise.
6836 * manual/process.texi: Likewise.
6837 * manual/resource.texi: Likewise.
6838 * manual/search.texi: Likewise.
6839 * manual/setjmp.texi: Likewise.
6840 * manual/signal.texi: Likewise.
6841 * manual/socket.texi: Likewise.
6842 * manual/startup.texi: Likewise.
6843 * manual/stdio.texi: Likewise.
6844 * manual/string.texi: Likewise.
6845 * manual/sysinfo.texi: Likewise.
6846 * manual/syslog.texi: Likewise.
6847 * manual/terminal.texi: Likewise.
6848 * manual/time.texi: Likewise.
6849 * manual/users.texi: Likewise.
6850 * INSTALL: Regenerated.
6851 * NOTES: Regenerated.
6852 * sysdeps/gnu/errlist.c: Regenerated.
6853
6854 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6855
6856 * include/dirent.h: Include <dirstream.h> before
6857 <dirent/dirent.h>.
6858
6859 2012-02-28 David S. Miller <davem@davemloft.net>
6860
6861 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6862 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6863 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6864 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6865
6866 2012-02-27 David S. Miller <davem@davemloft.net>
6867
6868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6870 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6871 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6872
6873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6874 frame pointer instead of stack pointer relative arg slot.
6875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6876 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6877 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6878
6879 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6880
6881 [BZ #3992]
6882 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6883
6884 2012-02-27 David S. Miller <davem@davemloft.net>
6885
6886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6890 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6891 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6892 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6893 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6894
6895 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6896
6897 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6898 later. Allow versions 5-9.
6899 * configure: Regenerated.
6900 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6901 required minimum version and 4.6 as recommended version. Do not
6902 mention bugs in GCC 2.7 and 2.8.
6903 * INSTALL: Regenerated.
6904
6905 2012-02-27 David S. Miller <davem@davemloft.net>
6906
6907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6911 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6912 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6913 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6914 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6915
6916 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6917 manipulate bits before adding and subtracting TWO112[sx].
6918 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6919
6920 2012-02-27 Roland McGrath <roland@hack.frob.com>
6921
6922 [BZ #13775]
6923 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6924 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6925 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6926 being in POSIX, because they are in 1003.1-2008.
6927
6928 * rt/tst-aio.c: Include <fcntl.h>.
6929 * rt/tst-aio7.c: Likewise.
6930 * rt/tst-aio64.c: Likewise.
6931
6932 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6933
6934 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6935
6936 * manual/install.texi (--with-headers): Describe headers as
6937 interface headers, not private headers.
6938 (Specific advice for GNU/Linux systems): Describe use of headers
6939 from "make headers_install", not private headers from older
6940 kernels.
6941 * INSTALL: Regenerated.
6942 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6943 Change to 2.6.19.
6944 * sysdeps/unix/sysv/linux/configure: Regenerated.
6945
6946 * manual/llio.texi (fclean): Remove documentation.
6947
6948 * manual/Makefile (libc-texi-generated): New variable. Include
6949 version.texi.
6950 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6951 $(libc-texi-generated), not duplicated list of files.
6952 (version.texi, stamp-version): New rules.
6953 (realclean): Remove $(libc-texi-generated), not individual files
6954 from that list. Do not remove dir-add.texinfo.
6955 * manual/libc.texinfo: Comment out uses of edition numbers and
6956 references to printed manual. Remove last-updated dates.
6957 (EDITION): Comment out.
6958 (ISBN): Likewise.
6959 (VERSION, UPDATED): Remove.
6960 (version.texi): Include.
6961
6962 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6963
6964 * sysdeps/posix/spawni.c: Include <signal.h>.
6965 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6966 * sysdeps/pthread/aio_fsync.c: Likewise.
6967
6968 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6969
6970 * conform/Makefile (tests): Run only when not cross-compiling and
6971 when fast-check is not defined.
6972
6973 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6974 * conform/data/limits.h-data: Fixes for POSIX2008.
6975 * conform/run-conformtest.sh: Run all tests.
6976 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6977 headers.
6978 * include/bits/dlfcn.h: Likewise.
6979 * include/langinfo.h: Likewise.
6980 * include/monetary.h: Likewise.
6981 * include/sys/poll.h: Likewise.
6982
6983 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6984 for __USE_GNU.
6985 * posix/spawn.h: Define __need_sigset_t.
6986 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6987 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6988 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6989 to get sigevent_t only.
6990 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6991 only for __USE_GNU.
6992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6993 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6994 process_vm_writev only for __USE_GNU.
6995 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6996
6997 * conform/Makefile: For now ignore errors from run-conformtest.
6998 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6999 POSIX to avoid namespace pollution. Don't prepend headers.
7000 * conform/data/aio.h-data: Fixes for POSIX testing.
7001 * conform/data/fcntl.h-data: Likewise.
7002 * conform/data/glob.h-data: Likewise.
7003 * conform/data/grp.h-data: Likewise.
7004 * conform/data/pthread.h-data: Likewise.
7005 * conform/data/pwd.h-data: Likewise.
7006 * conform/data/signal.h-data: Likewise.
7007 * conform/data/spawn.h-data: Likewise.
7008 * conform/data/stdio.h-data: Likewise.
7009 * conform/data/stdlib.h-data: Likewise.
7010 * conform/data/stropts.h-data: Likewise.
7011 * conform/data/sys/mman.h-data: Likewise.
7012 * conform/data/sys/stat.h-data: Likewise.
7013 * conform/data/sys/types.h-data: Likewise.
7014 * conform/data/sys/wait.h-data: Likewise.
7015 * conform/data/time.h-data: Likewise.
7016 * conform/data/unistd.h-data: Likewise.
7017 * conform/data/utime.h-data: Likewise.
7018
7019 * io/sys/stat.h: fchmod was always in POSIX.
7020 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7021 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7022 * rt/aio.h: Define __need_timespec before including <time.h>.
7023 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7024 struct. Add forward declaration of pthread_attr_t and use it in
7025 sigevent.
7026 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7027 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7028 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7029 always remove CLK_TCK definition.
7030
7031 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7032
7033 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7034
7035 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7036
7037 * conform/run-conformtest.sh: New file.
7038 * conform/Makefile: Run run-conformtest for tests.
7039 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7040 support.
7041
7042 * conform/data/uchar.h-data: New file.
7043 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7044 * conform/data/arpa/inet.h-data: Likewise.
7045 * conform/data/assert.h-data: Likewise.
7046 * conform/data/complex.h-data: Likewise.
7047 * conform/data/cpio.h-data: Likewise.
7048 * conform/data/ctype.h-data: Likewise.
7049 * conform/data/dirent.h-data: Likewise.
7050 * conform/data/dlfcn.h-data: Likewise.
7051 * conform/data/errno.h-data: Likewise.
7052 * conform/data/fcntl.h-data: Likewise.
7053 * conform/data/float.h-data: Likewise.
7054 * conform/data/fmtmsg.h-data: Likewise.
7055 * conform/data/fnmatch.h-data: Likewise.
7056 * conform/data/ftw.h-data: Likewise.
7057 * conform/data/glob.h-data: Likewise.
7058 * conform/data/grp.h-data: Likewise.
7059 * conform/data/iconv.h-data: Likewise.
7060 * conform/data/inttypes.h-data: Likewise.
7061 * conform/data/langinfo.h-data: Likewise.
7062 * conform/data/libgen.h-data: Likewise.
7063 * conform/data/limits.h-data: Likewise.
7064 * conform/data/locale.h-data: Likewise.
7065 * conform/data/math.h-data: Likewise.
7066 * conform/data/monetary.h-data: Likewise.
7067 * conform/data/mqueue.h-data: Likewise.
7068 * conform/data/ndbm.h-data: Likewise.
7069 * conform/data/net/if.h-data: Likewise.
7070 * conform/data/netdb.h-data: Likewise.
7071 * conform/data/netinet/in.h-data: Likewise.
7072 * conform/data/nl_types.h-data: Likewise.
7073 * conform/data/poll.h-data: Likewise.
7074 * conform/data/pthread.h-data: Likewise.
7075 * conform/data/pwd.h-data: Likewise.
7076 * conform/data/regex.h-data: Likewise.
7077 * conform/data/sched.h-data: Likewise.
7078 * conform/data/search.h-data: Likewise.
7079 * conform/data/semaphore.h-data: Likewise.
7080 * conform/data/setjmp.h-data: Likewise.
7081 * conform/data/signal.h-data: Likewise.
7082 * conform/data/spawn.h-data: Likewise.
7083 * conform/data/stdarg.h-data: Likewise.
7084 * conform/data/stdio.h-data: Likewise.
7085 * conform/data/stdlib.h-data: Likewise.
7086 * conform/data/string.h-data: Likewise.
7087 * conform/data/strings.h-data: Likewise.
7088 * conform/data/stropts.h-data: Likewise.
7089 * conform/data/sys/ipc.h-data: Likewise.
7090 * conform/data/sys/mman.h-data: Likewise.
7091 * conform/data/sys/msg.h-data: Likewise.
7092 * conform/data/sys/resource.h-data: Likewise.
7093 * conform/data/sys/select.h-data: Likewise.
7094 * conform/data/sys/sem.h-data: Likewise.
7095 * conform/data/sys/shm.h-data: Likewise.
7096 * conform/data/sys/socket.h-data: Likewise.
7097 * conform/data/sys/stat.h-data: Likewise.
7098 * conform/data/sys/statvfs.h-data: Likewise.
7099 * conform/data/sys/time.h-data: Likewise.
7100 * conform/data/sys/timeb.h-data: Likewise.
7101 * conform/data/sys/times.h-data: Likewise.
7102 * conform/data/sys/types.h-data: Likewise.
7103 * conform/data/sys/uio.h-data: Likewise.
7104 * conform/data/sys/un.h-data: Likewise.
7105 * conform/data/sys/utsname.h-data: Likewise.
7106 * conform/data/sys/wait.h-data: Likewise.
7107 * conform/data/syslog.h-data: Likewise.
7108 * conform/data/tar.h-data: Likewise.
7109 * conform/data/termios.h-data: Likewise.
7110 * conform/data/utime.h-data: Likewise.
7111 * conform/data/utmpx.h-data: Likewise.
7112 * conform/data/varargs.h-data: Likewise.
7113 * conform/data/wchar.h-data: Likewise.
7114 * conform/data/wctype.h-data: Likewise.
7115 * conform/data/wordexp.h-data: Likewise.
7116
7117 * include/stropts.h: New file.
7118 * include/uchar.h: New file.
7119 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7120 * include/assert.h: Likewise.
7121 * include/ctype.h: Likewise.
7122 * include/dirent.h: Likewise.
7123 * include/dlfcn.h: Likewise.
7124 * include/fcntl.h: Likewise.
7125 * include/fnmatch.h: Likewise.
7126 * include/glob.h: Likewise.
7127 * include/grp.h: Likewise.
7128 * include/libio.h: Likewise.
7129 * include/locale.h: Likewise.
7130 * include/math.h: Likewise.
7131 * include/net/if.h: Likewise.
7132 * include/netdb.h: Likewise.
7133 * include/netinet/in.h: Likewise.
7134 * include/pthread.h: Likewise.
7135 * include/pwd.h: Likewise.
7136 * include/regex.h: Likewise.
7137 * include/sched.h: Likewise.
7138 * include/search.h: Likewise.
7139 * include/setjmp.h: Likewise.
7140 * include/signal.h: Likewise.
7141 * include/stdio.h: Likewise.
7142 * include/stdlib.h: Likewise.
7143 * include/string.h: Likewise.
7144 * include/sys/cdefs.h: Likewise.
7145 * include/sys/mman.h: Likewise.
7146 * include/sys/msg.h: Likewise.
7147 * include/sys/resource.h: Likewise.
7148 * include/sys/select.h: Likewise.
7149 * include/sys/socket.h: Likewise.
7150 * include/sys/stat.h: Likewise.
7151 * include/sys/statvfs.h: Likewise.
7152 * include/sys/time.h: Likewise.
7153 * include/sys/times.h: Likewise.
7154 * include/sys/uio.h: Likewise.
7155 * include/sys/utsname.h: Likewise.
7156 * include/sys/wait.h: Likewise.
7157 * include/termios.h: Likewise.
7158 * include/time.h: Likewise.
7159 * include/ulimit.h: Likewise.
7160 * include/unistd.h: Likewise.
7161 * include/utime.h: Likewise.
7162 * include/wchar.h: Likewise.
7163 * include/wctype.h: Likewise.
7164 * include/wordexp.h: Likewise.
7165
7166 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7167
7168 * time/time.h: TIME_UTC must be a macro.
7169 Make timespec_get available for ISO C11 only as well.
7170
7171 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7172
7173 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7174 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7175
7176 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7177
7178 * configure.in: Use -o not -a in test for unsupported multi-arch.
7179
7180 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7181
7182 * manual/texinfo.tex: Update to version 2012-01-19.16.
7183
7184 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7185
7186 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7187
7188 2012-02-24 Roland McGrath <roland@hack.frob.com>
7189
7190 [BZ #13738]
7191 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7192 * manual/fdl-1.3.texi: New file.
7193 * manual/fdl-1.1.texi: File removed.
7194
7195 [BZ #13738]
7196 * manual/libc.texinfo (FDL_VERSION): New @set.
7197 Use it for mention of FDL in cover text.
7198 (Documentation License): Use it in @include file name.
7199
7200 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7201 Roland McGrath <roland@hack.frob.com>
7202
7203 [BZ #5461]
7204 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7205 not LONG_LONG_MAX and LONG_LONG_MIN.
7206 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7207 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7208 name.
7209 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7210
7211 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7212
7213 [BZ #2547]
7214 [BZ #11365]
7215 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7216 manipulate bits before adding and subtracting TWO23[sx].
7217 * math/libm-test.inc (nearbyint_test): Add more tests.
7218
7219 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7220
7221 [BZ #2548]
7222 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7223 bits before adding and subtracting TWO23[sx].
7224 * math/libm-test.inc (rint_test): Add more tests.
7225 (rint_test_tonearest): Likewise.
7226 (rint_test_towardzero): Likewise.
7227 (rint_test_downward): Likewise.
7228 (rint_test_upward: Likewise.
7229
7230 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7231
7232 [BZ #10110]
7233 * include/stdc-predef.h: New file. Extracted from features.h.
7234 * include/features.h: Include stdc-predef.h.
7235 * Makefile (headers): Add stdc-predef.h.
7236 * CONFORMANCE (Compiler limitations): Update.
7237
7238 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7239
7240 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7241
7242 2012-02-21 David S. Miller <davem@davemloft.net>
7243
7244 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7245 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7246
7247 2012-02-20 David S. Miller <davem@davemloft.net>
7248
7249 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7250 using a normal save/restore sequence, rather than allocating a
7251 dummy stack frame just to store a frame pointer and restore.
7252 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7253
7254 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7255
7256 * manual/install.texi: Fix stray word in line-wrapped comment.
7257
7258 2012-02-20 David S. Miller <davem@davemloft.net>
7259
7260 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7261 both binutils and gcc support GOTDATA.
7262
7263 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7264 "rd %pc" in the PIC register setup sequences.
7265
7266 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7267 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7268 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7269 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7270 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7272 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7273 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7274 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7275 (SYSCALL_ERROR_HANDLER): Likewise.
7276 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7277 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7279 (SYSCALL_ERROR_HANDLER): Likewise.
7280
7281 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7282 (HAVE_GCC_GOTDATA): New.
7283 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7284 relocation support in both binutils and gcc.
7285 * sysdeps/sparc/elf/configure: Regenerate.
7286
7287 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7288 * sysdeps/sparc/sparc32/elf/configure: Delete.
7289 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7290 * sysdeps/sparc/sparc64/elf/configure: Delete.
7291 * sysdeps/sparc/elf/configure.in: New file.
7292 * sysdeps/sparc/elf/configure: Generate.
7293
7294 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7295 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7296 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7297 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7298 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7299
7300 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7301
7302 * manual/install.texi: Do not mention specific glibc version
7303 numbers.
7304 * manual/libc.texinfo (VERSION, UPDATED): Update.
7305 (@copying): Use @copyright{} and range of years.
7306
7307 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7308
7309 [BZ #13695]
7310 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7311 [crti.S not in sysdirs] (generated): Do not append.
7312 [crti.S not in sysdirs] (omit-deps): Likewise.
7313 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7314 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7315 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7316 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7317 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7318 Likewise.
7319 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7320 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7321 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7322 * csu/defs.awk: Remove file.
7323 * sysdeps/generic/initfini.c: Likewise.
7324 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7325 variable.
7326 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7327 Likewise.
7328
7329 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7330
7331 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7332 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7333 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7334 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7335 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7336 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7337 <bits/epoll.h>.
7338 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7339 (__EPOLL_PACKED): Define to empty if not defined by
7340 <bits/epoll.h>.
7341 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7343 bits/epoll.h.
7344
7345 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7346
7347 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7348 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7349 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7350 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7351 <bits/timerfd.h>.
7352 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7354 bits/timerfd.h.
7355
7356 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7357
7358 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7359 in C locale.
7360 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7361 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7362 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7364
7365 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7366
7367 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7368 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7369
7370 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7371
7372 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7373 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7374 defined.
7375 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7376 Likewise.
7377 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7378 entry for 2.16.
7379
7380 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7381
7382 * math/w_acos.c: Use non-signaling floating-point comparisons.
7383 * math/w_acosf.c: Likewise.
7384 * math/w_acosh.c: Likewise.
7385 * math/w_acoshf.c: Likewise.
7386 * math/w_acoshl.c: Likewise.
7387 * math/w_acosl.c: Likewise.
7388 * math/w_asin.c: Likewise.
7389 * math/w_asinf.c: Likewise.
7390 * math/w_asinl.c: Likewise.
7391 * math/w_atanh.c: Likewise.
7392 * math/w_atanhf.c: Likewise.
7393 * math/w_atanhl.c: Likewise.
7394 * math/w_exp2.c: Likewise.
7395 * math/w_exp2f.c: Likewise.
7396 * math/w_exp2l.c: Likewise.
7397 * math/w_j0.c: Likewise.
7398 * math/w_j0f.c: Likewise.
7399 * math/w_j0l.c: Likewise.
7400 * math/w_j1.c: Likewise.
7401 * math/w_j1f.c: Likewise.
7402 * math/w_j1l.c: Likewise.
7403 * math/w_jn.c: Likewise.
7404 * math/w_jnf.c: Likewise.
7405 * math/w_log.c: Likewise.
7406 * math/w_log10.c: Likewise.
7407 * math/w_log10f.c: Likewise.
7408 * math/w_log10l.c: Likewise.
7409 * math/w_log2.c: Likewise.
7410 * math/w_log2f.c: Likewise.
7411 * math/w_log2l.c: Likewise.
7412 * math/w_logf.c: Likewise.
7413 * math/w_logl.c: Likewise.
7414 * math/w_sqrt.c: Likewise.
7415 * math/w_sqrtf.c: Likewise.
7416 * math/w_sqrtl.c: Likewise.
7417 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7418 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7419 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7420 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7421 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7422
7423 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7424
7425 [BZ #9739]
7426 * manual/string.texi (strnlen): Use correct parameter name in
7427 equivalent expression.
7428
7429 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7430
7431 [BZ #11174]
7432 * manual/users.texi (seteuid): Consistently use neweuid for
7433 argument name.
7434
7435 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7436
7437 [BZ #13704]
7438 * manual/nss.texi (Services in the NSS configuration): Correct
7439 list of services in example configuration file.
7440
7441 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7442
7443 [BZ #11322]
7444 * manual/arith.texi: Remove statements about negative zero
7445 behaving identically to zero.
7446
7447 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7448
7449 [BZ #5993]
7450 * manual/install.texi: Do not document upgrading from libc5.
7451
7452 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7453
7454 [BZ #4596]
7455 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7456
7457 2012-02-18 David S. Miller <davem@davemloft.net>
7458
7459 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7460 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7461 %o7 across the call.
7462 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7463 instead.
7464 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7465 SETUP_PIC_REG_LEAF.
7466 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7467 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7468 * sysdeps/sparc/crtn.S: Likewise.
7469
7470 2012-02-17 Ulrich Drepper <drepper@gmail.com>
7471
7472 * aout/Makefile: Remove.
7473
7474 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7475
7476 [BZ #13058]
7477 * manual/examples/argp-ex1.c (main): Format definition in GNU
7478 style.
7479 * manual/examples/argp-ex2.c (main): Likewise.
7480 * manual/examples/argp-ex3.c (main): Likewise.
7481 * manual/examples/argp-ex4.c (main): Likewise.
7482 * manual/examples/longopt.c (main): Use new-style prototype
7483 definition.
7484 * manual/examples/strncat.c (main): Specify return type and use
7485 (void) for arguments.
7486 * manual/examples/subopt.c (main): Use char **argv argument.
7487
7488 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7489
7490 [BZ #5077]
7491 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7492 rounding modes.
7493
7494 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7495
7496 [BZ #6907]
7497 * manual/string.texi (strchr): Change when strchrnul is
7498 recommended.
7499
7500 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7501
7502 [BZ #174]
7503 * manual/locale.texi (setlocale): Document LOCPATH.
7504
7505 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7506
7507 [BZ #10210]
7508 * manual/process.texi (execle): Move @dots{} before last argument.
7509
7510 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7511
7512 [BZ #12047]
7513 * manual/charset.texi (Generic Charset Conversion): Fix typo
7514 (LC_TYPE -> LC_CTYPE).
7515
7516 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7517
7518 [BZ #5805]
7519 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7520 (scalbnf): Likewise.
7521 (scalbnl): Likewise.
7522 (scalbln): Likewise.
7523 (scalblnf): Likewise.
7524 (scalblnl): Likewise.
7525 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7526 (vwarnx): Likewise.
7527 (verr): Likewise.
7528 (verrx): Likewise.
7529 * manual/filesys.texi (telldir): Use braces around return type.
7530 * manual/llio.texi (mmap): Add space after comma.
7531 (mmap64): Likewise.
7532 * manual/math.texi (jn): Use @var{} on parameter names.
7533 (jnf): Likewise.
7534 (jnl): Likewise.
7535 (yn): Likewise.
7536 (ynf): Likewise.
7537 (ynl): Likewise.
7538 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7539 line.
7540 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7541 "...".
7542 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7543 (sched_get_priority_max): Likewise.
7544 * manual/signal.texi (sigvec): Add space after comma.
7545 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7546 names.
7547 (if_indextoname): Likewise.
7548 (if_freenameindex): Likewise.
7549 (sendto): Use ',' instead of '.' in prototype.
7550 * manual/startup.texi (syscall): Use @dots{} instead of literal
7551 "...".
7552 * manual/stdio.texi (__fpending): Separate initial words of
7553 paragraph from @deftypefun line.
7554 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7555 "...".
7556 (vsyslog): Use @var{} on parameter names.
7557 * manual/terminal.texi (stty): Use @var{} on parameter names.
7558 * manual/users.texi (getutmp): Use @var{} on parameter names.
7559 (getutmpx): Likewise.
7560
7561 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7562
7563 [BZ #6884]
7564 * manual/stdio.texi (fopen): Fix typos in description of
7565 ",ccs=STRING".
7566
7567 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7568
7569 [BZ #4026]
7570 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7571 get clock_id definition.
7572
7573 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7574
7575 [BZ #4822]
7576 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7577 (madvise): Cast every argument to void on its own.
7578
7579 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7580
7581 [BZ #9902]
7582 * manual/startup.texi (Exit Status): Fix typo.
7583
7584 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7585
7586 [BZ #10140]
7587 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7588 * manual/examples/argp-ex2.c: Likewise.
7589 * manual/examples/argp-ex3.c: Likewise.
7590
7591 2012-02-16 Richard Henderson <rth@redhat.com>
7592
7593 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7594 * sysdeps/s390/s390-32/initfini.c: Remove.
7595 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7596 * sysdeps/s390/s390-64/initfini.c: Remove.
7597
7598 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7599
7600 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7601 compiler output for sysdeps/generic/initfini.c.
7602 * sysdeps/sh/elf/initfini.c: Remove file.
7603
7604 2012-02-16 David S. Miller <davem@davemloft.net>
7605
7606 [BZ #11494]
7607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7608
7609 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7610 * sysdeps/sparc/crti.S: New file.
7611 * sysdeps/sparc/crtn.S: New file.
7612 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7613 * sysdeps/sparc/sparc64/Makefile: Likewise.
7614
7615 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7616
7617 [BZ #3335]
7618 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7619
7620 2012-02-15 Roland McGrath <roland@hack.frob.com>
7621
7622 [BZ #4822]
7623 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7624
7625 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7626 (write, read, close): Likewise.
7627 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7628
7629 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7630
7631 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7632 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7633 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7634 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7635 <bits/signalfd.h>.
7636 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7638 bits/signalfd.h.
7639
7640 2012-02-14 Marek Polacek <polacek@redhat.com>
7641
7642 * sysdeps/x86_64/crti.S: New file.
7643 * sysdeps/x86_64/crtn.S: New file.
7644 * sysdeps/x86_64/elf/initfini.c: Remove file.
7645
7646 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7647
7648 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7649 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7650 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7651 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7652 <bits/inotify.h>.
7653 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7655 bits/inotify.h.
7656
7657 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7658
7659 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7660 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7661 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7662 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7663 <bits/eventfd.h>.
7664 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7666 bits/eventfd.h.
7667
7668 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7669
7670 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7671 __feraiseexcept instead of feraiseexcept.
7672
7673 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7674 nanosleep invocations.
7675 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7676 strings, and add error checking for a nanosleep invocations.
7677
7678 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7679
7680 Replace FSF snail mail address with URLs, as per GNU coding standards.
7681 Most of the snail mail addresses were wrong anyway, and omitting
7682 them makes the source code easier to maintain. Almost all of the
7683 changes are to license notices and to locale LC_IDENTIFICATION
7684 addresses, except for this one:
7685 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7686 not its snail mail address.
7687
7688 2012-02-09 Richard Henderson <rth@twiddle.net>
7689
7690 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7691 of kernel-features.h.
7692
7693 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7694
7695 2012-02-08 Marek Polacek <polacek@redhat.com>
7696
7697 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7698 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7699 * sysdeps/gnu/_G_config.h: Likewise.
7700 * sysdeps/generic/_G_config.h: Likewise.
7701
7702 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7703
7704 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7705 tests.
7706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7707
7708 * sysdeps/powerpc/powerpc32/crti.S: New file.
7709 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7710 * sysdeps/powerpc/powerpc64/crti.S: New file.
7711 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7712
7713 * Makeconfig (have-initfini): Don't set.
7714 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7715 * configure.in (nopic_initfini): Don't substitute.
7716 * config.h.in (HAVE_INITFINI): Don't #undef.
7717 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7718 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7719
7720 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7721
7722 Support crti.S and crtn.S provided directly by architectures.
7723 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7724 [crti.S in sysdirs] (omit-deps): Likewise.
7725 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7726 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7727 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7728 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7729 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7730 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7731 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7732 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7733 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7734 compiler output for sysdeps/generic/initfini.c.
7735 * sysdeps/i386/elf/Makefile: Remove file.
7736 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7737
7738 2012-02-07 Marek Polacek <polacek@redhat.com>
7739
7740 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7741 * sysdeps/gnu/_G_config.h: Likewise.
7742 * sysdeps/mach/hurd/_G_config.h: Likewise.
7743
7744 2012-02-07 Marek Polacek <polacek@redhat.com>
7745
7746 * math/Makefile (tests): Add tst-CMPLX2.
7747 * math/tst-CMPLX2.c: New file.
7748
7749 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7750
7751 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7752
7753 * math/libm-test.inc (jn_test): Add missing L suffix.
7754
7755 2012-02-06 Marek Polacek <polacek@redhat.com>
7756
7757 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7758 * sysdeps/i386/fpu/e_powf.S: Likewise.
7759 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7760 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7761 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7762 * sysdeps/i386/fpu/e_pow.S: Likewise.
7763 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7764 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7765 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7766 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7767 * sysdeps/i386/fpu/e_log2.S: Likewise.
7768 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7769 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7770 * sysdeps/i386/fpu/e_powl.S: Likewise.
7771 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7772 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7773 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7774 * sysdeps/i386/fpu/e_logl.S: Likewise.
7775 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7776 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7777 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7778 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7779 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7780 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7781 * sysdeps/i386/fpu/e_log.S: Likewise.
7782 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7783 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7784 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7785 * sysdeps/i386/fpu/e_logf.S: Likewise.
7786 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7787 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7788 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7789 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7790 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7791 * sysdeps/i386/fpu/e_log10.S: Likewise.
7792 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7793 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7794 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7795 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7796 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7797 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7798 * sysdeps/i386/asm-syntax.h: Likewise.
7799 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7800 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7801 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7802 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7803 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7804 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7805 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7806 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7807 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7808 * sysdeps/powerpc/sysdep.h: Likewise.
7809 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7810 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7811
7812 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7813
7814 [BZ #411]
7815 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7816
7817 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7818
7819 * sysdeps/i386/sysdep.h: Include <features.h>.
7820 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7821 version.
7822
7823 2012-02-05 Joseph Myers <joseph@codesourcery.com>
7824
7825 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7826 Define.
7827 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7828 LOAD_PIC_REG_STR.
7829
7830 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7831
7832 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7833 (SETUP_PIC_REG): Use GET_PC_THUNK.
7834 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7835 macro.
7836
7837 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7838
7839 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7840 for non-PIC compilation.
7841 (SETUP_PIC_REG): Add .p2align directive.
7842 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7843 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7844 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7845 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7846 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7847 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7848 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7849 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7850 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7851 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7852 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7853 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7854 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7855 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7856 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7857 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7858 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7859 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7860 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7861 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7862 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7863 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7864 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7865 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7866 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7868 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7869 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7870 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7871 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7872 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7873 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7874 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7875 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7876 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7877 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7878 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7879 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7880 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7881 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7882 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7883
7884 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7885
7886 * math/tst-CMPLX.c: Include <stdio.h>.
7887
7888 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7889
7890 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7891 float.
7892 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7893 * sysdeps/sparc/bits/mathdef.h: Likewise.
7894
7895 2012-01-31 Marek Polacek <polacek@redhat.com>
7896
7897 * libio/libio.h: Don't define _PARAMS.
7898 * locale/programs/config.h: Don't define PARAMS.
7899 * stdlib/strtol_l.c: Likewise.
7900 (__strtol_l): Remove PARAMS from the prototype.
7901
7902 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7903
7904 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7905 names. Just use the correct names. Remove unnecessary wrapper
7906 functions.
7907 * malloc/arena.c: Likewise.
7908 * malloc/hooks.c: Likewise.
7909
7910 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7911 ARENA_TEST says not to. Simplify test for creation of a new arena.
7912 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7913
7914 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7915
7916 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7917 into tail calls.
7918 (update_get_addr): New function.
7919 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7920 GET_ADDR_MODULE parameter.
7921
7922 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7923
7924 * crypt/cert.c: Remove __STDC__ conditionals.
7925 * crypt/crypt-entry.c: Likewise.
7926 * crypt/crypt_util.c: Likewise.
7927 * libio/filedoalloc.c: Likewise.
7928 * libio/fileops.c: Likewise.
7929 * libio/genops.c: Likewise.
7930 * libio/iofclose.c: Likewise.
7931 * libio/iofdopen.c: Likewise.
7932 * libio/iofopen.c: Likewise.
7933 * libio/iofopen64.c: Likewise.
7934 * libio/iogetdelim.c: Likewise.
7935 * libio/iopopen.c: Likewise.
7936 * libio/obprintf.c: Likewise.
7937 * libio/oldfileops.c: Likewise.
7938 * libio/oldiofclose.c: Likewise.
7939 * libio/oldiofdopen.c: Likewise.
7940 * libio/oldiofopen.c: Likewise.
7941 * libio/oldiopopen.c: Likewise.
7942 * libio/wfiledoalloc.c: Likewise.
7943 * libio/wgenops.c: Likewise.
7944 * locale/programs/xmalloc.c: Likewise.
7945 * misc/syslog.c: Likewise.
7946 * stdio-common/xbug.c: Likewise.
7947 * string/memchr.c: Likewise.
7948 * string/memcmp.c: Likewise.
7949 * string/memrchr.c: Likewise.
7950 * string/rawmemchr.c: Likewise.
7951 * sysdeps/posix/getcwd.c: Likewise.
7952 * time/strftime_l.c: Likewise.
7953
7954 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7955
7956 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7957 * config.make.in (config-cflags-sse2avx): Define.
7958 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7959 Fix typo.
7960
7961 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7962
7963 * scripts/config.guess: Update from upstream config git repository.
7964 * scripts/config.sub: Likewise.
7965
7966 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7967
7968 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7969 (EM_NUM): Update.
7970 (R_TILEPRO_*, R_TILEGX_*): New macros.
7971
7972 * scripts/firstversions.awk: Fix bug in version range handling.
7973
7974 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7975
7976 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7977
7978 * include/sys/epoll.h: New file.
7979 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7980 libc_hidden_def.
7981
7982 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7983
7984 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7985 Avoid unnecessary __WORDSIZE == 64 test.
7986 (fmaxf): Use VEX format if possible.
7987 (fmax): Likewise.
7988 (fminf): Likewise.
7989 (fmin): Likewise.
7990
7991 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7992 * math/math_private.h: Remove libc_fegetround* and
7993 libc_fesetround*.
7994 * sysdeps/i386/configure.in: Check for -msse2avx.
7995 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7996 also if SSE2AVX is defined.
7997 Remove libc_fegetround* and libc_fesetround*.
7998 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7999 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8000 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8001 of HAS_YMM_USABLE.
8002 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8003 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8004 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8005 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8006 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8007
8008 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8009
8010 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8011
8012 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8013 size is not set.
8014 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8015
8016 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8017
8018 [BZ #13618]
8019 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8020 relocation.
8021 * Makeconfig (libm): Define.
8022 * elf/Makefile: Add rules to build and run tst-relsort1.
8023 * elf/tst-relsort1.c: New file.
8024 * elf/tst-relsort1mod1.c: New file.
8025 * elf/tst-relsort1mod2.c: New file.
8026
8027 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8028
8029 * math/s_ldexp.c: Remove __STDC__ conditionals.
8030 * math/s_ldexpf.c: Likewise.
8031 * math/s_ldexpl.c: Likewise.
8032 * math/s_nextafter.c: Likewise.
8033 * math/s_nexttowardf.c: Likewise.
8034 * math/s_significand.c: Likewise.
8035 * math/s_significandf.c: Likewise.
8036 * math/s_significandl.c: Likewise.
8037 * math/w_jnl.c: Likewise.
8038 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8039 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8040 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8041 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8042 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8043 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8052 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8053 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8054 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8055 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8057 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8058 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8059 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8060 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8061 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8062 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8063 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8064 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8065 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8066 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8067 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8068 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8069 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8070 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8071 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8072 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8073 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8074 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8075 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8076 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8077 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8078 * sysdeps/ieee754/k_standard.c: Likewise.
8079 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8080 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8081 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8082 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8083 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8084 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8085 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8086 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8087 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8088 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8089 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8090 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8091 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8092 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8093 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8094 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8095 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8096 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8097 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8098 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8099 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8100 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8101 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8102 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8103 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8104 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8106 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8107 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8108 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8109 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8110 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8111 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8112 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8113 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8114 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8115 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8116 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8117 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8118 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8119 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8120 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8121 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8122 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8123 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8124 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8125 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8126 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8127 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8128 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8129 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8130 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8131 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8132 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8133 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8134 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8135 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8136 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8137 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8138 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8139 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8140 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8141 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8142 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8143 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8144 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8145 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8146 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8147 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8148 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8149 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8150 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8151 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8152 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8153 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8154 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8155 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8156 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8157 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8158 * sysdeps/ieee754/s_matherr.c: Likewise.
8159 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8160 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8161 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8162 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8163
8164 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8165
8166 * crypt/md5.h: Remove __STDC__ conditionals.
8167 * libio/libioP.h: Likewise.
8168 * locale/programs/config.h: Likewise.
8169 * sysdeps/generic/sysdep.h: Likewise.
8170 * sysdeps/i386/asm-syntax.h: Likewise.
8171 * sysdeps/s390/asm-syntax.h: Likewise.
8172 * sysdeps/unix/sysdep.h: Likewise.
8173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8175
8176 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8177
8178 * libio/libio.h: Remove __STDC__ conditionals.
8179 * malloc/obstack.h: Likewise.
8180 * math/complex.h: Likewise.
8181 * math/math.h: Likewise.
8182 * sysdeps/generic/_G_config.h: Likewise.
8183 * sysdeps/gnu/_G_config.h: Likewise.
8184 * sysdeps/mach/hurd/_G_config.h: Likewise.
8185 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8186 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8187 * sysdeps/sparc/bits/mathdef.h: Likewise.
8188
8189 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8190
8191 [BZ #13583]
8192 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8193 Clean up HAS_* macros.
8194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8195 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8196 possible.
8197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8198 HAS_AVX.
8199 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8200 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8201 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8202 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8203 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8204
8205 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8206
8207 * elf/tst-unique3.cc (gets): Remove declaration.
8208 * elf/tst-unique3lib.cc (gets): Likewise.
8209 * elf/tst-unique3lib2.cc (gets): Likewise.
8210 * elf/tst-unique4.cc (gets): Likewise.
8211
8212 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8213
8214 * include/stdio.h: Add C++ protection. Add gets declarations and
8215 definitions.
8216 * debug/tst-chk1.c: Don't declare gets here.
8217 * stdio-common/tst-gets.c: Likewise.
8218
8219 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8220
8221 * posix/glob: Remove directory.
8222
8223 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8224
8225 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8226
8227 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8228
8229 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8230 of the non-standard EPFNOSUPPORT.
8231
8232 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8233
8234 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8235 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8236 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8237
8238 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8239
8240 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8241
8242 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8243
8244 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8245 transient errors.
8246 * nscd/grpcache.c (cache_addgr): Likewise.
8247 * nscd/hstcache.c (cache_addhst): Likewise.
8248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8249 * nscd/pwdcache.c (cache_addpw): Likewise.
8250 * nscd/servicescache.c (cache_addserv): Likewise.
8251
8252 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8253
8254 * malloc/malloc.c: Various cleanups.
8255 * malloc/hooks.c: Likewise.
8256
8257 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8258 * stdlib/bug-fmtmsg1.c: New file.
8259
8260 * stdlib/fmtmsg.c (init): Add missing unlock.
8261 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8262
8263 2012-01-12 Marek Polacek <polacek@redhat.com>
8264
8265 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8266 and _GNU_SOURCE.
8267
8268 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8269
8270 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8271 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8272 macro to ensure uniqueness of label name.
8273 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8274 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8275
8276 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8277
8278 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8279
8280 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8281 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8282 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8284
8285 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8286
8287 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8288
8289 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8290 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8291 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8292
8293 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8294
8295 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8296 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8297 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8299
8300 * math/bits/math-finite.h: Add ldexp support.
8301
8302 2012-01-10 Marek Polacek <polacek@redhat.com>
8303
8304 * locale/programs/localedef.h (show_archive_content): Add noreturn
8305 attribute.
8306
8307 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8308
8309 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8310
8311 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8312
8313 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8314
8315 * io/Makefile (headers): Add bits/poll2.h.
8316
8317 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8318
8319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8320 typo #include statement.
8321
8322 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8323
8324 * include/sys/cdefs.h: Define __attribute_alloc_size.
8325 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8326 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8327 * elf/pldd.c: Likewise.
8328 * iconv/iconv_charmap.c: Likewise.
8329 * iconv/iconvconfig.c: Likewise.
8330 * iconv/strtab.c: Likewise.
8331 * locale/programs/locale.c: Likewise.
8332 * locale/programs/localedef.h: Likewise.
8333 * locale/programs/simple-hash.c: Likewise.
8334 * nscd/nscd.h: Likewise.
8335 * nss/makedb.c: Likewise.
8336 * sysdeps/generic/ldconfig.h: Likewise.
8337 * locale/programs/localedef.c: Remove xmalloc prototype.
8338 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8339
8340 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8341
8342 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8343 appropriate.
8344
8345 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8346
8347 * math/Makefile (tests): Add tst-CMPLX.
8348 * math/tst-CMPLX.c: New file.
8349
8350 * math/complex.h (CMPLXL): Fix typo.
8351
8352 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8353 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8354 GLIBC_2.16.
8355 * debug/tst-chk1.c: Add poll and ppoll tests.
8356 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8357 * include/sys/poll.h: Add hidden proto for ppoll.
8358 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8359 * sysdeps/mach/hurd/ppoll.c: Likewise.
8360 * io/ppoll.c: Likewise.
8361 * debug/poll_chk.c: New file.
8362 * debug/ppoll_chk.c: New file.
8363 * include/bits/poll2.h: New file.
8364 * io/bits/poll2.h: New file.
8365
8366 [BZ #1350]
8367 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8368
8369 * configure.in: static is always set to yes. Remove.
8370 * config.make.in: Don't set build-static.
8371 * Makeconfig: Remove use of build-static.
8372 * dlfcn/Makefile: Likewise.
8373 * elf/Makefile: Likewise.
8374 * math/Makefile: Likewise.
8375 * misc/Makefile: Likewise.
8376 * nptl/Makefile: Likewise.
8377 * sysdeps/mach/hurd/Makefile: Likewise.
8378
8379 * configure.in: PWD_P is not used anymore.
8380 * config.make.in: Remove PWD_P entry.
8381
8382 * configure.in: Remove last remnants of RANLIB.
8383 No need to check for signed size_t anymore.
8384 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8385 and IA-64.
8386 Remove __builtin_expect test because we require at least gcc 3.4.
8387 * aclocal.m4: Likewise.
8388
8389 * wcsmbs/mbrtoc16.c: Implement using towc function.
8390 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8391 * wcsmbs/wcsmbsload.c: Likewise.
8392 * iconv/gconv_simple.c: Likewise.
8393 * iconv/gconv_int.h: Likewise.
8394 * iconv/gconv_builtin.h: Likewise.
8395 * iconv/iconv_prog.c: Remove CHAR16 handling.
8396
8397 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8398
8399 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8400
8401 * configure.in: Remove --with-elf and --enable-bounded options.
8402 Dont set base_machine for ia64. More non-ELF conditions removed.
8403 Remove testing and setting of leading underscore information.
8404 * config.make.in (build-bounded): Set to no.
8405 * config.h.in: Remove NO_UNDERSCORES entry.
8406 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8407 them.
8408 * csu/start.c: Remove !NO_UNDERSCORE code.
8409 * locale/localeinfo.h: Likewise.
8410 * sysdeps/generic/machine-gmon.h: Likewise.
8411 * sysdeps/generic/sysdep.h: Likewise.
8412 * sysdeps/i386/sysdep.h: Likewise.
8413 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8414 * sysdeps/mach/sysdep.h: Likewise.
8415 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8416 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8417 * sysdeps/sh/sysdep.h: Likewise.
8418 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8419 * sysdeps/unix/i386/sysdep.S: Likewise.
8420 * sysdeps/unix/sparc/start.c: Likewise.
8421 * sysdeps/unix/sparc/sysdep.S: Likewise.
8422 * sysdeps/unix/sparc/sysdep.h: Likewise.
8423 * sysdeps/unix/start.c: Likewise.
8424 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8425 * sysdeps/x86_64/sysdep.h: Likewise.
8426
8427 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8428
8429 [BZ #13553]
8430 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8431 for non-gcc.
8432 * argp/argp-fmtstream.h: Use const instead __const.
8433 * argp/argp.h: Likewise.
8434 * assert/assert.h: Likewise.
8435 * bits/fenv.h: Likewise.
8436 * bits/sched.h: Likewise.
8437 * bits/sigset.h: Likewise.
8438 * bits/sigthread.h: Likewise.
8439 * catgets/nl_types.h: Likewise.
8440 * conform/data/pthread.h-data: Likewise.
8441 * crypt/crypt-private.h: Likewise.
8442 * crypt/crypt.h: Likewise.
8443 * crypt/crypt_util.c: Likewise.
8444 * ctype/ctype.h: Likewise.
8445 * debug/execinfo.h: Likewise.
8446 * debug/mbsnrtowcs_chk.c: Likewise.
8447 * debug/mbsrtowcs_chk.c: Likewise.
8448 * debug/wcsnrtombs_chk.c: Likewise.
8449 * debug/wcsrtombs_chk.c: Likewise.
8450 * debug/wcstombs_chk.c: Likewise.
8451 * dirent/dirent.h: Likewise.
8452 * dlfcn/dlfcn.h: Likewise.
8453 * elf/neededtest4.c: Likewise.
8454 * grp/grp.h: Likewise.
8455 * gshadow/gshadow.h: Likewise.
8456 * iconv/gconv.h: Likewise.
8457 * iconv/gconv_int.h: Likewise.
8458 * iconv/gconv_simple.c: Likewise.
8459 * iconv/iconv.h: Likewise.
8460 * iconv/loop.c: Likewise.
8461 * iconv/skeleton.c: Likewise.
8462 * include/aio.h: Likewise.
8463 * include/aliases.h: Likewise.
8464 * include/argz.h: Likewise.
8465 * include/arpa/inet.h: Likewise.
8466 * include/assert.h: Likewise.
8467 * include/dirent.h: Likewise.
8468 * include/dlfcn.h: Likewise.
8469 * include/execinfo.h: Likewise.
8470 * include/fcntl.h: Likewise.
8471 * include/fenv.h: Likewise.
8472 * include/glob.h: Likewise.
8473 * include/grp.h: Likewise.
8474 * include/libintl.h: Likewise.
8475 * include/mntent.h: Likewise.
8476 * include/netdb.h: Likewise.
8477 * include/pwd.h: Likewise.
8478 * include/rpc/netdb.h: Likewise.
8479 * include/sched.h: Likewise.
8480 * include/search.h: Likewise.
8481 * include/shadow.h: Likewise.
8482 * include/signal.h: Likewise.
8483 * include/stdio.h: Likewise.
8484 * include/stdlib.h: Likewise.
8485 * include/string.h: Likewise.
8486 * include/sys/socket.h: Likewise.
8487 * include/sys/stat.h: Likewise.
8488 * include/sys/statfs.h: Likewise.
8489 * include/sys/statvfs.h: Likewise.
8490 * include/sys/syslog.h: Likewise.
8491 * include/sys/time.h: Likewise.
8492 * include/sys/uio.h: Likewise.
8493 * include/time.h: Likewise.
8494 * include/unistd.h: Likewise.
8495 * include/utmp.h: Likewise.
8496 * include/wchar.h: Likewise.
8497 * include/wctype.h: Likewise.
8498 * inet/aliases.h: Likewise.
8499 * inet/arpa/inet.h: Likewise.
8500 * inet/netinet/ether.h: Likewise.
8501 * inet/netinet/in.h: Likewise.
8502 * intl/libintl.h: Likewise.
8503 * io/bits/fcntl2.h: Likewise.
8504 * io/fcntl.h: Likewise.
8505 * io/ftw.h: Likewise.
8506 * io/sys/poll.h: Likewise.
8507 * io/sys/stat.h: Likewise.
8508 * io/sys/statfs.h: Likewise.
8509 * io/sys/statvfs.h: Likewise.
8510 * io/utime.h: Likewise.
8511 * libio/bits/stdio.h: Likewise.
8512 * libio/bits/stdio2.h: Likewise.
8513 * libio/libio.h: Likewise.
8514 * libio/libioP.h: Likewise.
8515 * libio/stdio.h: Likewise.
8516 * locale/lc-ctype.c: Likewise.
8517 * locale/locale.h: Likewise.
8518 * login/utmp.h: Likewise.
8519 * malloc/arena.c: Likewise.
8520 * malloc/malloc.c: Likewise.
8521 * malloc/malloc.h: Likewise.
8522 * malloc/mcheck.c: Likewise.
8523 * malloc/mtrace.c: Likewise.
8524 * math/bits/mathcalls.h: Likewise.
8525 * math/fenv.h: Likewise.
8526 * math/math_private.h: Likewise.
8527 * misc/bits/error.h: Likewise.
8528 * misc/bits/syslog.h: Likewise.
8529 * misc/err.h: Likewise.
8530 * misc/error.h: Likewise.
8531 * misc/fstab.h: Likewise.
8532 * misc/mntent.h: Likewise.
8533 * misc/regexp.h: Likewise.
8534 * misc/search.h: Likewise.
8535 * misc/sgtty.h: Likewise.
8536 * misc/sys/mman.h: Likewise.
8537 * misc/sys/syslog.h: Likewise.
8538 * misc/sys/uio.h: Likewise.
8539 * misc/sys/xattr.h: Likewise.
8540 * misc/ttyent.h: Likewise.
8541 * nis/rpcsvc/ypclnt.h: Likewise.
8542 * nss/nss.h: Likewise.
8543 * posix/bits/unistd.h: Likewise.
8544 * posix/fnmatch.h: Likewise.
8545 * posix/glob.h: Likewise.
8546 * posix/sched.h: Likewise.
8547 * posix/spawn.h: Likewise.
8548 * posix/sys/wait.h: Likewise.
8549 * posix/unistd.h: Likewise.
8550 * posix/wordexp.h: Likewise.
8551 * pwd/pwd.h: Likewise.
8552 * resolv/netdb.h: Likewise.
8553 * resource/sys/resource.h: Likewise.
8554 * rt/aio.h: Likewise.
8555 * rt/bits/mqueue2.h: Likewise.
8556 * rt/mqueue.h: Likewise.
8557 * shadow/shadow.h: Likewise.
8558 * signal/signal.h: Likewise.
8559 * socket/send.c: Likewise.
8560 * socket/sendto.c: Likewise.
8561 * socket/sys/socket.h: Likewise.
8562 * stdio-common/printf.h: Likewise.
8563 * stdlib/bits/stdlib.h: Likewise.
8564 * stdlib/fmtmsg.h: Likewise.
8565 * stdlib/monetary.h: Likewise.
8566 * stdlib/stdlib.h: Likewise.
8567 * stdlib/ucontext.h: Likewise.
8568 * streams/stropts.h: Likewise.
8569 * string/argz.h: Likewise.
8570 * string/bits/string2.h: Likewise.
8571 * string/string.h: Likewise.
8572 * string/strings.h: Likewise.
8573 * sunrpc/rpc/auth.h: Likewise.
8574 * sunrpc/rpc/auth_des.h: Likewise.
8575 * sunrpc/rpc/clnt.h: Likewise.
8576 * sunrpc/rpc/netdb.h: Likewise.
8577 * sunrpc/rpc/pmap_clnt.h: Likewise.
8578 * sunrpc/rpc/xdr.h: Likewise.
8579 * sysdeps/generic/inttypes.h: Likewise.
8580 * sysdeps/generic/net/if.h: Likewise.
8581 * sysdeps/generic/sys/swap.h: Likewise.
8582 * sysdeps/gnu/net/if.h: Likewise.
8583 * sysdeps/gnu/utmpx.h: Likewise.
8584 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8585 * sysdeps/i386/i486/bits/string.h: Likewise.
8586 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8587 * sysdeps/s390/bits/string.h: Likewise.
8588 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8589 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8590 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8591 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8592 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8593 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8594 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8595 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8596 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8597 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8598 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8599 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8600 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8601 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8602 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8603 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8604 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8606 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8607 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8608 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8609 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8610 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8611 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8612 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8613 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8614 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8615 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8616 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8617 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8618 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8619 * sysvipc/sys/ipc.h: Likewise.
8620 * sysvipc/sys/msg.h: Likewise.
8621 * sysvipc/sys/sem.h: Likewise.
8622 * sysvipc/sys/shm.h: Likewise.
8623 * termios/termios.h: Likewise.
8624 * time/sys/time.h: Likewise.
8625 * time/time.h: Likewise.
8626 * wcsmbs/bits/wchar2.h: Likewise.
8627 * wcsmbs/uchar.h: Likewise.
8628 * wcsmbs/wchar.h: Likewise.
8629 * wctype/wctype.h: Likewise.
8630
8631 [BZ #13551]
8632 * Makeconfig: Remove all but ELF support including AIX support.
8633 * Makerules: Likewise.
8634 * config.h.in: Likewise.
8635 * config.make.in: Likewise.
8636 * configure: Likewise.
8637 * configure.in: Likewise.
8638 * csu/Makefile: Likewise.
8639 * csu/version.c: Likewise.
8640 * debug/Makefile: Likewise.
8641 * dlfcn/Makefile: Likewise.
8642 * elf/Makefile: Likewise.
8643 * extra-lib.mk: Likewise.
8644 * iconv/Makefile: Likewise.
8645 * include/libc-symbols.h: Likewise.
8646 * include/shlib-compat.h: Likewise.
8647 * resolv/Makefile: Likewise.
8648 * resolv/res_libc.c: Likewise.
8649 * rt/Makefile: Likewise.
8650 * sysdeps/i386/asm-syntax.h: Likewise.
8651 * sysdeps/i386/sysdep.h: Likewise.
8652 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8653 * sysdeps/mach/sysdep.h: Likewise.
8654 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8655 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8656 * sysdeps/s390/asm-syntax.h: Likewise.
8657 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8658 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8659 * sysdeps/sh/sysdep.h: Likewise.
8660 * sysdeps/unix/sparc/sysdep.h: Likewise.
8661 * sysdeps/wordsize-32/divdi3.c: Likewise.
8662 * sysdeps/x86_64/sysdep.h: Likewise.
8663
8664 * argp/Versions: Remove _argp_unlock_xxx.
8665
8666 [BZ #13559]
8667 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8668 * abilist/libBrokenLocale.abilist: Likewise.
8669 * abilist/libanl.abilist: Likewise.
8670 * abilist/libc.abilist: Likewise.
8671 * abilist/libcrypt.abilist: Likewise.
8672 * abilist/libdl.abilist: Likewise.
8673 * abilist/libm.abilist: Likewise.
8674 * abilist/libnsl.abilist: Likewise.
8675 * abilist/libpthread.abilist: Likewise.
8676 * abilist/libresolv.abilist: Likewise.
8677 * abilist/librt.abilist: Likewise.
8678 * abilist/libthread_db.abilist: Likewise.
8679 * abilist/libutil.abilist: Likewise.
8680 * abilist/libnss_db.abilist: New file.
8681
8682 * scripts/abilist.awk: Add support for indirect functions.
8683
8684 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8685
8686 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8687
8688 * shlib-versions: Remove entries for ports architectures.
8689
8690 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8691 files in ports.
8692 * elf/stackguard-macros.h: Remove support for IA-64.
8693 * elf/tst-auditmod1.c: Likewise.
8694 * sysdeps/generic/ldsodefs.h: Likewise.
8695
8696 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8697 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8698 configure files.
8699
8700 [BZ #13552]
8701 * configure.in: Remove --enable-omitfp support.
8702 * FAQ.in: Adjust.
8703 * config.make.in: Likewise.
8704 * Makeconfig: Likewise.
8705 * manual/install.texi: Likewise.
8706
8707 In case anyone cares, the IA-64 architecture could move to ports.
8708 * sysdeps/ia64/*: Removed.
8709 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8710 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8711
8712 [BZ #13555]
8713 * configure.in: Remove entries for unsupported architectures.
8714
8715 [BZ #13533]
8716 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8717 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8718 routines.
8719 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8720 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8721 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8722 fall back to using wcrtomb.
8723 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8724 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8725 renaming.
8726 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8727 * wcsmbs/tst-c16c32-1.c: New file.
8728
8729 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8730 local variable.
8731
8732 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8733
8734 * elf/tst-unique3.cc: Add explicit declaration of gets.
8735 * elf/tst-unique3lib.cc: Likewise.
8736 * elf/tst-unique3lib2.cc: Likewise.
8737 * elf/tst-unique4.cc: Likewise.
8738
8739 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8740
8741 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8742
8743 [BZ #13566]
8744 * assert/assert.h (static_assert): Don't define for C++.
8745 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8746 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8747
8748 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8749
8750 * iconv/loop.c (single loop): Fix assertion in storing of
8751 remaining bytes.
8752
8753 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8754
8755 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8756
8757 * posix/getconf.c: Update copyright year.
8758 * nss/getent.c: Likewise.
8759 * nss/makedb.c: Likewise.
8760 * iconv/iconvconfig.c: Likewise.
8761 * iconv/iconv_prog.c: Likewise.
8762 * elf/ldconfig.c: Likewise.
8763 * elf/pldd.c: Likewise.
8764 * elf/sotruss.ksh: Likewise.
8765 * catgets/gencat.c: Likewise.
8766 * csu/version.c: Likewise.
8767 * elf/ldd.bash.in: Likewise.
8768 * elf/sprof.c (print_version): Likewise.
8769 * locale/programs/locale.c: Likewise.
8770 * locale/programs/localedef.c: Likewise.
8771 * login/programs/pt_chown.c: Likewise.
8772 * nscd/nscd.c (print_version): Likewise.
8773 * debug/xtrace.sh: Likewise.
8774 * malloc/memusage.sh: Likewise.
8775 * malloc/mtrace.pl: Likewise.
8776 * debug/catchsegv.sh: Likewise.
8777
8778 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8779
8780 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8781 pure attribute.
8782
8783 2011-12-24 Ulrich Drepper <drepper@gmail.com>
8784
8785 [BZ #13533]
8786 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8787 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8788 transformations.
8789 * iconv/gconv_int.h: Likewise.
8790 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8791 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8792 from libc for GLIBC_2.16.
8793 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8794 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8795 * wcsmbs/uchar.h: Really define mbstate_t.
8796 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8797 * wcsmbs/c16rtomb.c: New file.
8798 * wcsmbs/mbrtoc16.c: New file.
8799 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8800 for C/POSIX locale.
8801 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8802 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8803
8804 * wcsmbs/wchar.h: Add missing __restrict.
8805
8806 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8807
8808 [BZ #13532]
8809 * time/Makefile (routines): Add timespec_get.
8810 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8811 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8812 timespec for ISO C11.
8813 * time/timespec_get.c: New file.
8814 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8815 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8816
8817 [BZ #13531]
8818 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8819 * stdlib/stdlib.h: Declare aligned_alloc.
8820 * Versions.def: Add GLIBC_2.16 for libc.
8821 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8822
8823 [BZ 13527]
8824 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8825 ISO C11.
8826
8827 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8828 code.
8829
8830 [BZ #13528]
8831 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8832
8833 [BZ #13529]
8834 * assert/assert.h (static_assert): Define.
8835
8836 * version.h: Update for 2.16 development version.
8837
8838 [BZ #13526]
8839 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8840 _ISOC11_SOURCE.
8841
8842 * version.h (RELEASE): Bump for 2.15 release.
8843 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8844
8845 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8846 Patch by Marek Polacek <mpolacek@redhat.com>.
8847
8848 * bits/byteswap.h: Protect long long constants with __extension__.
8849 * sysdeps/i386/bits/byteswap.h: Likewise.
8850 * sysdeps/ia64/bits/byteswap.h: Likewise.
8851 * sysdeps/s390/bits/byteswap.h: Likewise.
8852 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8853
8854 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8855
8856 [BZ #13540]
8857 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8858 destination buffer.
8859 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8860
8861 2011-12-23 Marek Polacek <polacek@redhat.com>
8862
8863 * elf/dl-addr.c (determine_info): Add inline keyword.
8864 * elf/tst-auditmod4b.c (check_avx): Likewise.
8865 * elf/tst-auditmod6b.c (check_avx): Likewise.
8866 * elf/tst-auditmod6c.c (check_avx): Likewise.
8867 * elf/tst-auditmod7b.c (check_avx): Likewise.
8868
8869 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8870
8871 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8872 !__SSE_MATH__.
8873
8874 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8875
8876 [BZ #13540]
8877 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8878 processing for last bytes.
8879
8880 2011-08-06 Bruno Haible <bruno@clisp.org>
8881
8882 [BZ #13061]
8883 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8884 U+0385, not to U+1FEE.
8885
8886 [BZ #13062]
8887 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8888 entry for U+00A5 U+0301.
8889
8890 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8891
8892 [BZ #13166]
8893 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8894 buffer for the output is too small.
8895
8896 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8897 optimization.
8898
8899 [BZ #13185]
8900 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8901 SSE flags if possible.
8902
8903 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8904
8905 [BZ #13540]
8906 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8907 processing for last bytes.
8908
8909 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8910
8911 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8912 (syscall-list-default-options, syscall-list-default-condition)
8913 (syscall-list-includes): Define.
8914 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8915 list of ABIs and options and #if conditions for each ABI. Do not
8916 handle common syscalls between ABIs specially.
8917 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8918 Remove.
8919 (syscall-list-variants, syscall-list-32bit-options)
8920 (syscall-list-32bit-condition, syscall-list-64bit-options)
8921 (syscall-list-64bit-condition): Define.
8922 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8923 (syscall-list-variants, syscall-list-32bit-options)
8924 (syscall-list-32bit-condition, syscall-list-64bit-options)
8925 (syscall-list-64bit-condition): Define.
8926 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8927 Remove.
8928 (syscall-list-variants, syscall-list-32bit-options)
8929 (syscall-list-32bit-condition, syscall-list-64bit-options)
8930 (syscall-list-64bit-condition): Define.
8931 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8932 Remove.
8933 (syscall-list-variants, syscall-list-32bit-options)
8934 (syscall-list-32bit-condition, syscall-list-64bit-options)
8935 (syscall-list-64bit-condition): Define.
8936
8937 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8938
8939 * locale/iso-639.def: Add brx entry.
8940
8941 [BZ #13328]
8942 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8943 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8944
8945 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8946 __feraiseexcept_renamed.
8947
8948 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8949
8950 [BZ #13538]
8951 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8952 EPOLLET with unsigned values.
8953 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8954 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8955
8956 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8957 to large cancellation.
8958 * math/s_cacoshf.c: Likewise.
8959 * math/s_cacoshl.c: Likewise.
8960
8961 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8962
8963 [BZ #13305]
8964 [BZ #12786]
8965 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8966 * math/s_cacoshf.c: Likewise.
8967 * math/s_cacoshl.c: Likewise.
8968
8969 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8970
8971 [BZ #13439]
8972 * iconv/gconv.h: Define __GCONV_SWAP.
8973 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8974 * iconvdata/utf-16.c: Likewise.
8975 * iconvdata/utf-32.c: Likewise.
8976
8977 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8978
8979 [BZ #13524]
8980 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8981 numerator after shifting it by one limb.
8982
8983 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8984
8985 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8986 under [__USE_EXTERN_INLINES].
8987
8988 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8989
8990 [BZ #13446]
8991 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8992
8993 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8994
8995 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8996 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8997 optimized code.
8998 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8999 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9000 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9001 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9002 for strncasecmp/strncasecmp_l compilation.
9003 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9004 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9005
9006 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9007
9008 [BZ #13484]
9009 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9010 of __asm__.
9011
9012 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9013
9014 [BZ #13506]
9015 * time/tzfile.c (__tzfile_read): Check values from file header.
9016
9017 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9018
9019 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9020 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9021 * powerpc/powerpc32/dl-start.S: Likewise.
9022 * powerpc/powerpc32/elf/start.S: Likewise.
9023 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9024 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9025 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9026 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9027 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9028 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9029 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9030 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9031 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9032 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9033 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9034 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9035 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9036 * powerpc/powerpc32/memset.S: Likewise.
9037 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9038 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9039 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9040 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9041 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9042 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9043 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9044 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9045 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9046 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9047 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9048 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9049 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9050
9051 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9052
9053 * math/libm-test.inc: Added more nearbyint tests.
9054 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9055 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9056 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9057 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9058
9059 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9060
9061 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9062 FD_CLOEXEC.
9063
9064 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9065
9066 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9067 Add wcscpy-ssse3 wcscpy-c.
9068 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9069 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9070 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9071 * sysdeps/x86_64/wcschr.S: New file.
9072 * sysdeps/x86_64/wcsrchr.S: New file.
9073 * string/test-strcmp.c: Remove checking of wcscmp function for
9074 wrong alignments.
9075 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9076 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9077 wcsrchr-sse2 wcsrchr-c.
9078 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9079 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9080 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9081 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9082 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9083 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9084 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9085 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9086 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9087 * wcsmbc/wcschr.c (WCSCHR): New macro.
9088
9089 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9090
9091 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9092 * wcsmbs/test-wcsrchr.c: New file.
9093 * string/test-strrchr.c: Add wcsrchr support.
9094 (WIDE): New macro.
9095 * wcsmbs/test-wcscpy.c: New file.
9096 * string/test-strcpy.c: Add wcscpy support.
9097 (WIDE): New macro.
9098
9099 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9100
9101 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9102 the inner loop.
9103
9104 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9105
9106 [BZ #13472]
9107 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9108
9109 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9110
9111 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9112 Minor optimizations.
9113
9114 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9115 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9116 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9117
9118 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9119
9120 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9121 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9122 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9123 for gcc to avoid warnings.
9124 * inet/Makefile (tests): Add tst-checks.
9125 * inet/tst-checks.c: New file.
9126
9127 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9128 warning.
9129
9130 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9131 __wmemcmp_sse2.
9132
9133 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9134 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9135
9136 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9137
9138 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9139
9140 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9141 problem.
9142
9143 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9144
9145 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9146
9147 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9148 conditional on GCC version.
9149 (__arch_compare_and_exchange_val_8_acq)
9150 (__arch_compare_and_exchange_val_16_acq)
9151 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9152 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9153 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9154
9155 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9156
9157 * sysdeps/sh/backtrace.c: New file.
9158
9159 2011-12-02 Andreas Schwab <schwab@redhat.com>
9160
9161 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9162 parenthesis.
9163
9164 2011-12-01 Andreas Schwab <schwab@redhat.com>
9165
9166 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9167 falling back to utime.
9168
9169 2011-11-30 Andreas Schwab <schwab@redhat.com>
9170
9171 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9172 expectations for float.
9173
9174 2011-11-29 Andreas Schwab <schwab@redhat.com>
9175
9176 * locale/weight.h (findidx): Add parameter len.
9177 * locale/weightwc.h (findidx): Likewise.
9178 * posix/fnmatch_loop.c (FCT): Adjust caller.
9179 * posix/regcomp.c (build_equiv_class): Likewise.
9180 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9181 * posix/regexec.c (check_node_accept_bytes): Likewise.
9182 * string/strcoll_l.c (STRCOLL): Likewise.
9183 * string/strxfrm_l.c (STRXFRM): Likewise.
9184
9185 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9186
9187 * Makefile.in: Remove CVSOPT handling.
9188 * configure.in: Remove use of AC_REVISION.
9189 * iconvdata/Makefile (distribute): No need to filter out CVS.
9190 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9191 handling.
9192
9193 2011-11-16 Andreas Schwab <schwab@redhat.com>
9194
9195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9196 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9197 [USE_AS_STRNCASECMP_L]: Likewise.
9198 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9199 NO_TLS_DIRECT_SEG_REFS.
9200 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9201 Fix argument offsets for non-PIC.
9202 [USE_AS_STRNCASECMP_L]: Likewise.
9203 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9204 NO_TLS_DIRECT_SEG_REFS.
9205
9206 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9207
9208 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9209 O_CLOEXEC.
9210 * locale/loadlocale.c (_nl_load_locale): Likewise.
9211
9212 2011-11-15 Andreas Schwab <schwab@redhat.com>
9213
9214 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9215 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9216 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9217 (SYSCALL_GETTIME): Set errno on error.
9218
9219 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9220 count references to noai6ai_cached.
9221
9222 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9223
9224 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9225
9226 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9227 FD_CLOEXEC for /proc/self/maps.
9228
9229 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9230 FD_CLOEXEC for /proc/meminfo.
9231
9232 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9233 gai.conf.
9234
9235 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9236 FD_CLOEXEC for given file.
9237
9238 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9239
9240 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9241 FD_CLOEXEC for /etc/hosts.
9242 (_gethtent): Likewise.
9243
9244 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9245
9246 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9247 cancellation and set FD_CLOEXEC for /etc/netgroup.
9248
9249 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9250 reading /etc/publickey.
9251
9252 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9253 allow cancellation when reading /etc/group.
9254
9255 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9256 cancellation.
9257 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9258
9259 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9260 when using data file.
9261
9262 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9263
9264 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9265 (write_nis_obj): Use "c" and "e" in fopen.
9266
9267 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9268
9269 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9270
9271 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9272
9273 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9274
9275 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9276 locale.alias.
9277
9278 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9279
9280 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9281
9282 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9283
9284 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9285 file parsing and set FD_CLOEXEC.
9286
9287 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9288
9289 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9290
9291 2011-11-14 Andreas Schwab <schwab@redhat.com>
9292
9293 * malloc/arena.c (arena_get2): Don't call reused_arena when
9294 _int_new_arena failed.
9295
9296 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9297
9298 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9299 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9300 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9301 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9302 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9303 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9304 to compile strcasecmp and strncasecmp.
9305 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9306 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9307
9308 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9309
9310 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9311
9312 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9313 locale-defines.sym to gen-as-const-headers.
9314 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9315 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9316 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9317 to compile strcasecmp and strncasecmp.
9318 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9319 strcasecmp_l and strncasecmp_l.
9320 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9321 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9322 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9323 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9324 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9325 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9326 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9327 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9328 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9329 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9330 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9331
9332 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9333
9334 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9335 result of SYSDEP_GETTIME_CPU to retval.
9336 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9337 parameter list to macro. Remove trailing semicolon. Adjust users.
9338
9339 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9340 variable.
9341
9342 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9343 mantissa words.
9344 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9345
9346 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9347 from unused variable.
9348
9349 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9350 DWARF definitions.
9351 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9352 for assembling.
9353
9354 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9355 over namespaces.
9356
9357 * sunrpc/rpc_prot.c (rejected): Fix case value.
9358
9359 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9360 unsigned long long int to avoid warnings in shift.
9361
9362 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9363 of use of trans.
9364 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9365 variable tmp.
9366
9367 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9368 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9369 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9370
9371 * nis/nis_table.c (nis_list): Use variable of correct type for
9372 result of __follow_path call.
9373
9374 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9375
9376 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9377 of math functions ceil, trunc, floor, round, and sqrt, when
9378 avaliable on the platform.
9379 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9380 name clash.
9381 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9382 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9383 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9384
9385 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9386
9387 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9388 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9389
9390 2011-11-11 Roland McGrath <roland@hack.frob.com>
9391
9392 * include/unistd.h: Fix __readlink return type.
9393 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9394
9395 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9396
9397 * stdlib/ucontext.h: Undo last change for makecontext.
9398
9399 2011-11-11 Andreas Schwab <schwab@redhat.com>
9400
9401 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9402
9403 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9404 * setjmp/setjmp.h: Mark functions as non-leaf.
9405 * setjmp/bits/setjmp2.h: Likewise.
9406 * stdlib/ucontext.h: Likewise.
9407
9408 2011-11-10 Andreas Schwab <schwab@redhat.com>
9409
9410 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9411 (reused_arena): Don't check arena limit.
9412 (arena_get2): Atomically check arena limit.
9413
9414 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9415
9416 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9417 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9418
9419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9420 instructions.
9421
9422 2011-11-07 Andreas Schwab <schwab@redhat.com>
9423
9424 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9425 handler when locking.
9426
9427 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9428 Fix size of allocated buffer.
9429
9430 2011-11-04 Andreas Schwab <schwab@redhat.com>
9431
9432 [BZ #10103]
9433 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9434 declarations for long double functions.
9435 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9436
9437 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9438
9439 2011-11-03 Andreas Schwab <schwab@redhat.com>
9440
9441 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9442 installed.
9443
9444 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9445 is disabled.
9446
9447 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9448
9449 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9450
9451 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9452
9453 * include/alloca.h (stackinfo_alloca_round): Define.
9454 (extend_alloca): Use it.
9455 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9456 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9457 here.
9458
9459 * scripts/check-local-headers.sh: Ignore libaudit.h.
9460
9461 * nscd/Makefile (extra-objs): Make recursively expanded.
9462
9463 2011-11-01 Ulrich Drepper <drepper@gmail.com>
9464
9465 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9466 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9467
9468 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9469 * posix/tst-rfc3484-2.c: Likewise.
9470 * posix/tst-rfc3484-3.c: Likewise.
9471
9472 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9473 process_vm_writev.
9474 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9475 process_vm_writev.
9476 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9477 process_vm_writev from libc using GLIBC_2.15 version.
9478
9479 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9480
9481 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9482
9483 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9484 stack usage.
9485
9486 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9487
9488 [BZ #13367]
9489 * nss/getent.c (initgroups_keys): Show error message in case no group
9490 names are given.
9491
9492 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9493 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9494 __bump_nl_timestamp.
9495 * nscd/connections (nscd_init): When host database is served open
9496 netlink socket and request notification about configuration changes.
9497 (main_loop_poll): Track netlink file descriptor and bump timestamp
9498 in case data becomes available.
9499 (main_loop_epoll): Likewise.
9500 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9501 (database_pers_head): Add extra_data fileds.
9502 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9503 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9504 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9505 Adjust caller.
9506 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9507 in6ai data, call __free_in6ai.
9508 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9509 Add -DHAVE_NETLINK.
9510 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9511 interface information. Reuse previous data if netlink timestamp
9512 is not changed.
9513 (__bump_nl_timestamp): New function.
9514 (__free_in6ai): New function.
9515
9516 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9517
9518 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9519 close_not_cancel_no_status here.
9520 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9521
9522 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9523
9524 [BZ #13276]
9525 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9526 return value.
9527
9528 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9529 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9530 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9531
9532 2011-07-03 Andreas Jaeger <aj@suse.de>
9533
9534 [BZ #10709]
9535 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9536 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9537 * math/libm-test.inc (sin_test): Add test case.
9538
9539 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9540
9541 [BZ #13337]
9542 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9543 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9544
9545 * elf/chroot_canon.c (chroot_canon): Cleanups.
9546
9547 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9548
9549 [BZ #13335]
9550 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9551 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9552
9553 * string/test-strchr.c: Make usable for strchrnul testing.
9554 * string/test-strchrnul.c: New file.
9555 * string/Makefile (strop-tests): Add strchrnul.
9556
9557 * po/it.po: Update from translation team.
9558 * po/es.po: Likewise.
9559
9560 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9561
9562 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9563 the three constants needed as parameters. Drop the others.
9564 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9565 __m128i_strloadu_tolower.
9566 Create and initialize variable zero and use it in all the places
9567 where _mm_setzero_si128 was used.
9568
9569 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9570 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9571 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9572 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9573 anymore.
9574 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9575 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9576 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9577 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9578 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9579 __mpranred, __mptan.
9580 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9581 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9582 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9583 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9584 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9585 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9586 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9587 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9588 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9589
9590 2011-10-28 Andreas Schwab <schwab@redhat.com>
9591
9592 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9593 redefine if SHARED.
9594 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9595
9596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9597 wide char related routines to wcsmbs subdir.
9598
9599 2011-10-27 Andreas Schwab <schwab@redhat.com>
9600
9601 [BZ #13344]
9602 * misc/sys/cdefs.h (__THROWNL): Define.
9603 * posix/unistd.h: Use __THREADNL instead of __THREAD
9604 for memory synchronization functions.
9605
9606 2011-10-26 Roland McGrath <roland@hack.frob.com>
9607
9608 [BZ #13349]
9609 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9610 doesn't exist.
9611 * manual/stdio.texi (Obstack Streams): Node removed.
9612
9613 2011-10-26 Andreas Schwab <schwab@redhat.com>
9614
9615 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9616 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9617 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9618
9619 * math/math_private.h (math_force_eval): Allow non-addressable
9620 arguments.
9621 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9622
9623 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9624
9625 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9626 file is not needed.
9627
9628 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9629 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9630 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9631 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9632 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9633 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9634 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9635 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9636 Add AVX variants.
9637 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9638 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9639 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9640 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9641 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9642 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9643 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9644 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9645 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9646 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9647 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9648 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9649 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9650 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9651 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9652 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9653 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9654 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9655 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9656
9657 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9658 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9659
9660 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9661 place. Use VEX encoding when compiling for AVX.
9662
9663 2011-10-25 Andreas Schwab <schwab@redhat.com>
9664
9665 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9666 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9667
9668 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9669
9670 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9671
9672 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9673 useless if() expression.
9674 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9675 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9676 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9677 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9678 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9679 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9680 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9681 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9682 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9683 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9684 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9685 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9686 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9687 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9688 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9689 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9690 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9691 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9692 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9693
9694 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9695
9696 2011-10-25 Andreas Schwab <schwab@redhat.com>
9697
9698 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9699 condition.
9700 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9701
9702 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9703
9704 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9705 .text section. Avoid duplicate constants.
9706 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9707 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9710 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9712 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9713 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9714 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9715 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9716 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9717 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9718 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9720 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9721 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9722 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9723 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9724 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9726 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9727 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9728 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9729 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9730 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9731 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9732 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9733 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9734 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9735 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9736 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9737 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9738 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9739 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9740 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9741 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9742 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9743 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9744 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9745 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9746 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9747 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9748 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9749 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9750 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9751
9752 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9753
9754 * sysdeps/x86_64/dla.h: Move to ...
9755 * sysdeps/x86_64/fpu/dla.h: ...here.
9756 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9757 situations. Use __builtin_fma only for gcc 4.6 and up.
9758
9759 * config.make.in: Add have-mfma4 entry.
9760 * configure.in: Substitute libc_cv_cc_fma4.
9761 * math/Makefile (dbl-only-routines): Add sincostab.
9762 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9763 Use __sincostab not sincos.
9764 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9765 name is a macro.
9766 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9767 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9770 using __copysign.
9771 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9772 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9773 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9774 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9775 and __inv.
9776 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9777 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9778 __copysign.
9779 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9780 define aliases when function name is a macro.
9781 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9782 sysdeps/ieee754/dbl-64/sincos.tbl.
9783 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9784 fma4-enabled routines.
9785 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9786 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9787 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9788 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9789 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9790 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9791 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9792 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9793 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9794 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9795 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9796 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9797 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9798 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9799 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9800 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9801 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9802 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9803 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9804 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9805 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9806 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9807 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9808 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9809 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9810 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9811 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9812 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9813 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9814 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9815
9816 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9817 rename.
9818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9819 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9823 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9824 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9825 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9826
9827 2011-10-24 Andreas Schwab <schwab@redhat.com>
9828
9829 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9830
9831 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9832
9833 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9834
9835 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9836 prediction.
9837 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9838
9839 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9840 Remove unused variable magic_bits.
9841 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9842
9843 * string/strnlen.c: Define and use STRNLEN macro.
9844 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9845 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9846 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9847 * wcsmbs/wcslen.c: Define and use WCSLEN.
9848 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9849 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9850 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9851 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9852 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9853 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9854 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9855
9856 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9857
9858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9859 strnlen-sse2-no-bsf.
9860 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9861 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9862 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9863 Add strnlen support.
9864 (USE_AS_STRNLEN): New macro.
9865 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9866 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9867 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9868 * sysdeps/x86_64/wcslen.S: New file.
9869
9870 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9871
9872 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9873 XMM-moves are used for copying on small sizes.
9874
9875 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9876
9877 * wcsmbs/Makefile (strop-tests): Add wcschr.
9878 * wcsmbs/test-wcschr.c: New file.
9879 * string/test-strchr.c: Update.
9880 Add wcschr support.
9881 (WIDE): New macro.
9882
9883 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9884
9885 * wcsmbs/Makefile (strop-tests): Add wcslen.
9886 * wcsmbs/test-wcslen.c: New file.
9887 * string/test-strlen.c: Update.
9888 Add wcslen support.
9889 (WIDE): New macro.
9890
9891 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9892
9893 * po/it.po: Update from translation team.
9894
9895 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9896
9897 * sysdeps/x86_64/wcscmp.S: Update.
9898 Fix wrong comparison semantics.
9899 wcscmp shall use signed comparison not unsigned.
9900 Don't use substraction to avoid overflow bug.
9901 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9902 * wcsmbc/wcscmp.c: Likewise.
9903 * string/test-strcmp.c: Likewise.
9904 Add new tests to check cases with negative values.
9905
9906 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9907
9908 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9909 * sysdeps/x86_64/dla.h: ...here. New file.
9910 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9913 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9914 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9915 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9916 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9917 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9918 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9919
9920 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9921
9922 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9923 __ynl_finite aliases.
9924
9925 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9926
9927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9928
9929 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9930 define DLA_FMA.
9931 [DLA_FMA] (EMULV): Use DLA_FMA.
9932 [DLA_FMA] (MUL12): Use EMULV.
9933 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9934 that are not needed.
9935 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9937 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9938 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9939 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9940 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9941 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9942
9943 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9944
9945 * math/s_nan.c: Undef __nan.
9946 * math/s_nanf.c: Undef __nanf.
9947 * math/s_nanl.c: Undef __nanl.
9948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9949 "math_private.h".
9950
9951 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9952
9953 * math/s_catan.c: Add branch predictions.
9954 * math/s_catanf.c: Likewise.
9955 * math/s_catanh.c: Likewise.
9956 * math/s_catanhf.c: Likewise.
9957 * math/s_catanhl.c: Likewise.
9958 * math/s_catanl.c: Likewise.
9959 * math/s_cexp.c: Likewise.
9960 * math/s_cexpf.c: Likewise.
9961 * math/s_cexpl.c: Likewise.
9962 * math/s_clog.c: Likewise.
9963 * math/s_clog10.c: Likewise.
9964 * math/s_clog10f.c: Likewise.
9965 * math/s_clog10l.c: Likewise.
9966 * math/s_clogf.c: Likewise.
9967 * math/s_clogl.c: Likewise.
9968 * math/s_csqrt.c: Likewise.
9969 * math/s_csqrtf.c: Likewise.
9970 * math/s_csqrtl.c: Likewise.
9971 * math/s_ctanf.c: Likewise.
9972 * math/s_ctanh.c: Likewise.
9973 * math/s_ctanhf.c: Likewise.
9974 * math/s_ctanhl.c: Likewise.
9975 * math/s_ctanl.c: Likewise.
9976
9977 * math/math_private.h: Define __nan, __nanf, __nanl.
9978 * math/s_cacosh.c: Include <math_private.h>.
9979 * math/s_cacoshl.c: Likewise.
9980 * math/s_casinh.c: Likewise.
9981 * math/s_casinhf.c: Likewise.
9982 * math/s_casinhl.c: Likewise.
9983 * math/s_ccos.c: Rely entire on ccosh.
9984 * math/s_ccosf.c: Rely entire on ccoshf.
9985 * math/s_ccosl.c: Rely entirely on ccoshl.
9986 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9987 Remove tests for FE_INVALID.
9988 * math/s_ccoshf.c: Likewise.
9989 * math/s_ccoshl.c: Likewise.
9990 * math/s_csin.c: Likewise.
9991 * math/s_csinf.c: Likewise.
9992 * math/s_csinh.c Likewise.
9993 * math/s_csinhf.c: Likewise.
9994 * math/s_csinhl.c: Likewise.
9995 * math/s_csinl.c: Likewise.
9996 * math/s_ctan.c: Likewise.
9997 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9998 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9999 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10000
10001 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10002
10003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10004 compilation problems.
10005
10006 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10007 __builtin_expect.
10008
10009 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10010
10011 * sysdeps/i386/configure.in: Test for -mfma4 option.
10012 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10013 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10014 COMMON_CPUID_INDEX_80000001.
10015 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10016 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10017 use it if FMA3 is not supported.
10018 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10019
10020 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10021 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10022
10023 2011-10-20 Andreas Schwab <schwab@redhat.com>
10024
10025 [BZ #12892]
10026 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10027 it would create a cycle with a link time dependency.
10028
10029 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10030
10031 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10032 instruction.
10033 * string/Makefile (strop-tests): Add rawmemchr.
10034 * string/test-rawmemchr.c: New file.
10035
10036 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10037 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10038 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10039 when compiling str{,n}casecmp and when AVX is available. Hook up
10040 new optimized code in initializers.
10041
10042 2011-10-19 Andreas Schwab <schwab@redhat.com>
10043
10044 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10045 __feraiseexcept instead of feraiseexcept.
10046
10047 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10048
10049 * math/math_private.h: Define defaults for libc_fetestexcept and
10050 libc_feupdateenv.
10051 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10052 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10053 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10054 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10055 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10056 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10057 libc_fetestexcept and libc_feupdateenv.
10058
10059 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10060 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10061 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10062 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10063 libc_feholdexcept_setround.
10064
10065 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10066 Add s_nearbyint-c and s_nearbyintf-c.
10067 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10068 nearbyintf inlines.
10069 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10070 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10071 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10072 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10073
10074 * math/math_private.h: Define defaults for libc_fegetround,
10075 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10076 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10077 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10078 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10079 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10080 standard functions.
10081 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10082 Remove comments and hacks for old compiler versions.
10083 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10084 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10085 libc_feholdexceptl.
10086
10087 2011-10-18 Andreas Schwab <schwab@redhat.com>
10088
10089 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10090 (__feraiseexcept_renamed): Add __NTH.
10091 (feraiseexcept): Add __NTH. Rename local variables to fix
10092 namespace violations.
10093
10094 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10095
10096 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10097
10098 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10099
10100 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10101 recently added interfaces.
10102 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10103
10104 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10105 about macro parameter expansion.
10106
10107 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10108 __NO_MATH_INLINES is defined. Cleanups.
10109
10110 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10111 and __floorf is target has SSE4.1.
10112 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10113 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10114 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10115 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10116
10117 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10118 name.
10119 (floorf): Likewise.
10120
10121 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10122
10123 2011-10-17 Andreas Schwab <schwab@redhat.com>
10124
10125 * misc/sys/cdefs.h: Fix last change.
10126
10127 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10128 database lookup.
10129
10130 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10131
10132 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10133
10134 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10139 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10140 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10141 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10142 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10143 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10144 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10145 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10146 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10147 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10148 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10149 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10150 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10151 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10152 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10153 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10154 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10155 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10156
10157 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10158 ceil, ceilf, floor, floorf.
10159
10160 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10161 Perform IRELATIVE relocations last.
10162
10163 * elf/do-rel.h: Add another parameter nrelative, replacing the
10164 local variable with the same name. Change name of the function
10165 to end in Rel or Rela (uppercase).
10166 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10167 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10168 elf_dynamic_do_##reloc function.
10169
10170 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10171
10172 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10173 is sufficient, at least on modern CPUs.
10174
10175 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10176
10177 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10178 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10179
10180 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10181 __expl_finite.
10182 * math/bits/math-finite.h: Add entries for exp.
10183 * math/e_expl.c: Add __*_finite alias.
10184 * sysdeps/i386/fpu/e_exp.S: Likewise.
10185 * sysdeps/i386/fpu/e_expf.S: Likewise.
10186 * sysdeps/i386/fpu/e_expl.c: Likewise.
10187 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10188 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10189 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10190 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10192 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10193 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10194
10195 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10196 is sufficient, at least on modern CPUs.
10197
10198 * ctype/ctype-info.c (__ctype_init): Define.
10199 * include/ctype.h (__ctype_init): Declare.
10200 (__ctype_b_loc): The variable is always initialized.
10201 (__ctype_toupper_loc): Likewise.
10202 (__ctype_tolower_loc): Likewise.
10203 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10204 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10205
10206 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10207
10208 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10209
10210 * configure.in: Also look in $cxxmachine/include for C++ system
10211 headers.
10212
10213 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10214
10215 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10216 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10217 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10218 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10219 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10220 (USE_AS_WMEMCMP): New macro.
10221 Fixing indents.
10222 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10223 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10224 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10225 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10226 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10227 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10228 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10229 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10230 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10231 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10232 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10233 (USE_AS_WMEMCMP): New macro.
10234 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10235 * sysdeps/string/test-memcmp.c: Update.
10236 Fix simple_wmemcmp.
10237 Add new tests.
10238 * wcsmbs/wmemcmp.c: Update.
10239 (WMEMCMP): New macro.
10240 Fix overflow bug.
10241
10242 2011-10-12 Andreas Jaeger <aj@suse.de>
10243
10244 [BZ #13268]
10245 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10246
10247 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10248
10249 * libio/iofwide.c (do_length): Avoid warning.
10250
10251 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10252
10253 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10254
10255 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10256
10257 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10258 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10259 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10260 * sysdeps/i386/i686/fpu/e_log.S: New file.
10261 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10262 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10263
10264 * ctype/ctype.h: Add support for inlined isXXX functions when
10265 compiling C++ code.
10266
10267 2011-10-14 Andreas Schwab <schwab@redhat.com>
10268
10269 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10270
10271 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10272
10273 2011-10-13 Roland McGrath <roland@hack.frob.com>
10274
10275 [BZ #13291]
10276 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10277
10278 2011-10-13 Andreas Schwab <schwab@redhat.com>
10279
10280 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10281 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10282 feraiseexcept.
10283
10284 * sysdeps/x86_64/memrchr.S: Check for zero size.
10285
10286 * string/stratcliff.c: Add memrchr tests.
10287
10288 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10289
10290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10291 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10292 rawmemchr-sse2 rawmemchr-sse2-bsf.
10293 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10294 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10295 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10296 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10297 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10298 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10299 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10300 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10301 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10302 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10303 * string/memrchr.c (MEMRCHR): New macro.
10304
10305 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10306
10307 Add integration with gcc's -ffinite-math-only and optimize wrapper
10308 functions in libm.
10309 * Versions.def: Define GLIBC_2.15 version for libm.
10310 * math/Makefile (headers): Add bits/math-finite.h.
10311 * math/bits/math-finite.h: New file.
10312 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10313 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10314 * math/e_acoshl.c: Add __*_finite alias.
10315 * math/e_acosl.c: Likewise.
10316 * math/e_asinl.c: Likewise.
10317 * math/e_atan2l.c: Likewise.
10318 * math/e_atanhl.c: Likewise.
10319 * math/e_coshl.c: Likewise.
10320 * math/e_exp10.c: Likewise.
10321 * math/e_exp10f.c: Likewise.
10322 * math/e_exp10l.c: Likewise.
10323 * math/e_exp2l.c: Likewise.
10324 * math/e_fmodl.c: Likewise.
10325 * math/e_gammal_r.c: Likewise.
10326 * math/e_hypotl.c: Likewise.
10327 * math/e_j0l.c: Likewise.
10328 * math/e_j1l.c: Likewise.
10329 * math/e_jnl.c: Likewise.
10330 * math/e_lgammal_r.c: Likewise.
10331 * math/e_log10l.c: Likewise.
10332 * math/e_log2l.c: Likewise.
10333 * math/e_logl.c: Likewise.
10334 * math/e_powl.c: Likewise.
10335 * math/e_sinhl.c: Likewise.
10336 * math/e_sqrtl.c: Likewise.
10337 * math/e_scalb.c: Completely rewritten and optimized.
10338 * math/e_scalbf.c: Likewise.
10339 * math/e_scalbl.c: Likewise.
10340 * math/w_acos.c: Likewise.
10341 * math/w_acosf.c: Likewise.
10342 * math/w_acosl.c: Likewise.
10343 * math/w_acosh.c: Likewise.
10344 * math/w_acoshf.c: Likewise.
10345 * math/w_acoshl.c: Likewise.
10346 * math/w_asin.c: Likewise.
10347 * math/w_asinf.c: Likewise.
10348 * math/w_asinl.c: Likewise.
10349 * math/w_atan2.c: Likewise.
10350 * math/w_atan2f.c: Likewise.
10351 * math/w_atan2l.c: Likewise.
10352 * math/w_atanh.c: Likewise.
10353 * math/w_atanhf.c: Likewise.
10354 * math/w_atanhl.c: Likewise.
10355 * math/w_exp10.c: Likewise.
10356 * math/w_exp10f.c: Likewise.
10357 * math/w_exp10l.c: Likewise.
10358 * math/w_fmod.c: Likewise.
10359 * math/w_fmodf.c: Likewise.
10360 * math/w_fmodl.c: Likewise.
10361 * math/w_j0.c: Likewise.
10362 * math/w_j0f.c: Likewise.
10363 * math/w_j0l.c: Likewise.
10364 * math/w_j1.c: Likewise.
10365 * math/w_j1f.c: Likewise.
10366 * math/w_j1l.c: Likewise.
10367 * math/w_jn.c: Likewise.
10368 * math/w_jnf.c: Likewise.
10369 * math/w_log.c: Likewise.
10370 * math/w_logf.c: Likewise.
10371 * math/w_logl.c: Likewise.
10372 * math/w_log10.c: Likewise.
10373 * math/w_log10f.c: Likewise.
10374 * math/w_log10l.c: Likewise.
10375 * math/w_log2.c: Likewise.
10376 * math/w_log2f.c: Likewise.
10377 * math/w_log2l.c: Likewise.
10378 * math/w_pow.c: Likewise.
10379 * math/w_powf.c: Likewise.
10380 * math/w_powl.c: Likewise.
10381 * math/w_remainder.c: Likewise.
10382 * math/w_remainderf.c: Likewise.
10383 * math/w_remainderl.c: Likewise.
10384 * math/w_scalb.c: Likewise.
10385 * math/w_scalbf.c: Likewise.
10386 * math/w_scalbl.c: Likewise.
10387 * math/w_sqrt.c: Likewise.
10388 * math/w_sqrtf.c: Likewise.
10389 * math/w_sqrtl.c: Likewise.
10390 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10391 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10392 used.
10393 * math/math_private.h: Declare __kernel_standard_f.
10394 * math/w_cosh.c: Remove cruft and optimize a bit.
10395 * math/w_coshf.c: Likewise.
10396 * math/w_coshl.c: Likewise.
10397 * math/w_exp2.c: Likewise.
10398 * math/w_exp2f.c: Likewise.
10399 * math/w_exp2l.c: Likewise.
10400 * math/w_hypot.c: Likewise.
10401 * math/w_hypotf.c: Likewise.
10402 * math/w_hypotl.c: Likewise.
10403 * math/w_lgamma.c: Likewise.
10404 * math/w_lgamma_r.c: Likewise.
10405 * math/w_lgammaf.c: Likewise.
10406 * math/w_lgammaf_r.c: Likewise.
10407 * math/w_lgammal.c: Likewise.
10408 * math/w_lgammal_r.c: Likewise.
10409 * math/w_sinh.c: Likewise.
10410 * math/w_sinhf.c: Likewise.
10411 * math/w_sinhl.c: Likewise.
10412 * math/w_tgamma.c: Likewise.
10413 * math/w_tgammaf.c: Likewise.
10414 * math/w_tgammal.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10416 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10417 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10418 Minor optimizations. Pretty printing. Remove cruft.
10419 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10420 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10421 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10422 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10423 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10424 * sysdeps/i386/fpu/e_asin.S: Likewise.
10425 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10426 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10427 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10428 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10429 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10430 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10431 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10432 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10433 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10434 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10435 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10436 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10437 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10438 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10439 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10440 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10441 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10442 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10443 * sysdeps/i386/fpu/e_log.S: Likewise.
10444 * sysdeps/i386/fpu/e_log10.S: Likewise.
10445 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10446 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10447 * sysdeps/i386/fpu/e_log2.S: Likewise.
10448 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10449 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10450 * sysdeps/i386/fpu/e_logf.S: Likewise.
10451 * sysdeps/i386/fpu/e_logl.S: Likewise.
10452 * sysdeps/i386/fpu/e_pow.S: Likewise.
10453 * sysdeps/i386/fpu/e_powf.S: Likewise.
10454 * sysdeps/i386/fpu/e_powl.S: Likewise.
10455 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10456 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10457 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10458 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10459 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10460 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10461 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10462 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10463 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10464 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10465 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10468 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10469 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10470 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10471 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10472 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10474 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10475 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10478 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10479 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10480 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10481 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10482 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10484 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10485 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10486 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10487 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10488 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10489 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10490 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10491 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10492 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10493 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10494 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10495 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10496 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10497 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10498 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10499 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10500 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10501 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10502 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10503 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10504 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10505 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10506 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10510 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10513 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10514 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10515 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10516 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10517 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10519 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10520 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10521 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10523 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10524 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10528 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10529 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10531 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10532 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10534 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10535 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10536 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10537 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10538 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10539 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10540 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10541 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10542 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10543 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10544 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10545 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10546 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10547 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10548 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10549 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10550 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10551 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10552 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10553 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10554 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10555 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10556 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10557 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10558 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10559 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10560 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10561 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10562 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10563 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10564 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10565 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10566 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10567 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10568 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10569 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10570 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10571 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10572 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10573 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10574 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10575 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10576 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10577 (__isnanf): Likewise.
10578 (__isinf_ns): Likewise.
10579 (__isinf_nsf): Likewise.
10580 (__finite): Likewise.
10581 (__finitef): Likewise.
10582 (__ieee754_sqrt): Define as macro.
10583 (__ieee754_sqrtf): Define as macro.
10584 (__ieee754_sqrtl): Define as macro.
10585 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10586 inlined copy.
10587 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10588 __FINITE_MATH_ONLY__ consistent.
10589 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10590
10591 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10592
10593 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10594 of rawmemchr.
10595
10596 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10597
10598 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10599
10600 * po/ja.po: Update from translation team.
10601
10602 2011-10-08 Roland McGrath <roland@hack.frob.com>
10603
10604 * locale/programs/locarchive.c (prepare_address_space): New function.
10605 (create_archive, enlarge_archive, open_archive): Use it.
10606
10607 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10608 inside [SHARED], where it is used.
10609
10610 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10611
10612 * nss/getent.c (netgroup_keys): Remove unused variable.
10613 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10614
10615 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10616
10617 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10618 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10620 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10621 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10622 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10623 * math/Makefile (libm-calls): Add s_isinf_ns.
10624 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10625 * math/multc3.c: Likewise.
10626 * math/s_casin.c: Likewise.
10627 * math/s_casinf.c: Likewise.
10628 * math/s_casinl.c: Likewise.
10629 * math/s_ccos.c: Likewise.
10630 * math/s_ccosf.c: Likewise.
10631 * math/s_ccosl.c: Likewise.
10632 * math/s_ctan.c: Likewise.
10633 * math/s_ctanf.c: Likewise.
10634 * math/s_ctanh.c: Likewise.
10635 * math/s_ctanhf.c: Likewise.
10636 * math/s_ctanhl.c: Likewise.
10637 * math/s_ctanl.c: Likewise.
10638 * math/w_fmod.c: Likewise.
10639 * math/w_fmodf.c: Likewise.
10640 * math/w_fmodl.c: Likewise.
10641 * math/w_remainder.c: Likewise.
10642 * math/w_remainderf.c: Likewise.
10643 * math/w_remainderl.c: Likewise.
10644 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10645 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10646 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10647 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10648 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10649 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10650 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10651 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10652
10653 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10654 of the number.
10655 * stdio-common/printf_fphex.c: Likewise.
10656 * stdio-common/printf_size.c: Likewise.
10657
10658 * math/e_exp10.c: Include math_private.h using <...> not "...".
10659 * math/e_exp10f.c: Likewise.
10660 * math/e_exp10l.c: Likewise.
10661 * math/e_exp2l.c: Likewise.
10662 * math/e_j0l.c: Likewise.
10663 * math/e_j1l.c: Likewise.
10664 * math/e_jnl.c: Likewise.
10665 * math/e_lgammal_r.c: Likewise.
10666 * math/e_rem_pio2l.c: Likewise.
10667 * math/e_scalb.c: Likewise.
10668 * math/e_scalbf.c: Likewise.
10669 * math/e_scalbl.c: Likewise.
10670 * math/k_cosl.c: Likewise.
10671 * math/k_sinl.c: Likewise.
10672 * math/k_tanl.c: Likewise.
10673 * math/s_cacoshf.c: Likewise.
10674 * math/s_catan.c: Likewise.
10675 * math/s_catanf.c: Likewise.
10676 * math/s_catanh.c: Likewise.
10677 * math/s_catanhf.c: Likewise.
10678 * math/s_catanhl.c: Likewise.
10679 * math/s_catanl.c: Likewise.
10680 * math/s_ccosh.c: Likewise.
10681 * math/s_ccoshf.c: Likewise.
10682 * math/s_ccoshl.c: Likewise.
10683 * math/s_cexp.c: Likewise.
10684 * math/s_cexpf.c: Likewise.
10685 * math/s_cexpl.c: Likewise.
10686 * math/s_clog.c: Likewise.
10687 * math/s_clog10.c: Likewise.
10688 * math/s_clog10f.c: Likewise.
10689 * math/s_clog10l.c: Likewise.
10690 * math/s_clogf.c: Likewise.
10691 * math/s_clogl.c: Likewise.
10692 * math/s_csin.c: Likewise.
10693 * math/s_csinf.c: Likewise.
10694 * math/s_csinh.c: Likewise.
10695 * math/s_csinhf.c: Likewise.
10696 * math/s_csinhl.c: Likewise.
10697 * math/s_csinl.c: Likewise.
10698 * math/s_csqrt.c: Likewise.
10699 * math/s_csqrtf.c: Likewise.
10700 * math/s_csqrtl.c: Likewise.
10701 * math/s_ctan.c: Likewise.
10702 * math/s_ctanf.c: Likewise.
10703 * math/s_ctanh.c: Likewise.
10704 * math/s_ctanhf.c: Likewise.
10705 * math/s_ctanhl.c: Likewise.
10706 * math/s_ctanl.c: Likewise.
10707 * math/s_ldexp.c: Likewise.
10708 * math/s_ldexpf.c: Likewise.
10709 * math/s_ldexpl.c: Likewise.
10710 * math/s_significand.c: Likewise.
10711 * math/s_significandf.c: Likewise.
10712 * math/s_significandl.c: Likewise.
10713 * math/w_acos.c: Likewise.
10714 * math/w_acosf.c: Likewise.
10715 * math/w_acosh.c: Likewise.
10716 * math/w_acoshf.c: Likewise.
10717 * math/w_acoshl.c: Likewise.
10718 * math/w_acosl.c: Likewise.
10719 * math/w_asin.c: Likewise.
10720 * math/w_asinf.c: Likewise.
10721 * math/w_asinl.c: Likewise.
10722 * math/w_atan2.c: Likewise.
10723 * math/w_atan2f.c: Likewise.
10724 * math/w_atan2l.c: Likewise.
10725 * math/w_atanh.c: Likewise.
10726 * math/w_atanhf.c: Likewise.
10727 * math/w_atanhl.c: Likewise.
10728 * math/w_cosh.c: Likewise.
10729 * math/w_coshf.c: Likewise.
10730 * math/w_coshl.c: Likewise.
10731 * math/w_dremf.c: Likewise.
10732 * math/w_exp10.c: Likewise.
10733 * math/w_exp10f.c: Likewise.
10734 * math/w_exp10l.c: Likewise.
10735 * math/w_exp2.c: Likewise.
10736 * math/w_exp2f.c: Likewise.
10737 * math/w_fmod.c: Likewise.
10738 * math/w_fmodf.c: Likewise.
10739 * math/w_fmodl.c: Likewise.
10740 * math/w_hypot.c: Likewise.
10741 * math/w_hypotf.c: Likewise.
10742 * math/w_hypotl.c: Likewise.
10743 * math/w_j0.c: Likewise.
10744 * math/w_j0f.c: Likewise.
10745 * math/w_j0l.c: Likewise.
10746 * math/w_j1.c: Likewise.
10747 * math/w_j1f.c: Likewise.
10748 * math/w_j1l.c: Likewise.
10749 * math/w_jn.c: Likewise.
10750 * math/w_jnf.c: Likewise.
10751 * math/w_jnl.c: Likewise.
10752 * math/w_lgamma.c: Likewise.
10753 * math/w_lgamma_r.c: Likewise.
10754 * math/w_lgammaf.c: Likewise.
10755 * math/w_lgammaf_r.c: Likewise.
10756 * math/w_lgammal.c: Likewise.
10757 * math/w_lgammal_r.c: Likewise.
10758 * math/w_log.c: Likewise.
10759 * math/w_log10.c: Likewise.
10760 * math/w_log10f.c: Likewise.
10761 * math/w_log10l.c: Likewise.
10762 * math/w_log2.c: Likewise.
10763 * math/w_log2f.c: Likewise.
10764 * math/w_log2l.c: Likewise.
10765 * math/w_logf.c: Likewise.
10766 * math/w_logl.c: Likewise.
10767 * math/w_pow.c: Likewise.
10768 * math/w_powf.c: Likewise.
10769 * math/w_powl.c: Likewise.
10770 * math/w_remainder.c: Likewise.
10771 * math/w_remainderf.c: Likewise.
10772 * math/w_remainderl.c: Likewise.
10773 * math/w_scalb.c: Likewise.
10774 * math/w_scalbf.c: Likewise.
10775 * math/w_scalbl.c: Likewise.
10776 * math/w_sinh.c: Likewise.
10777 * math/w_sinhf.c: Likewise.
10778 * math/w_sinhl.c: Likewise.
10779 * math/w_sqrt.c: Likewise.
10780 * math/w_sqrtf.c: Likewise.
10781 * math/w_sqrtl.c: Likewise.
10782 * math/w_tgamma.c: Likewise.
10783 * math/w_tgammaf.c: Likewise.
10784 * math/w_tgammal.c: Likewise.
10785
10786 * po/ja.po: Update from translation team.
10787
10788 2011-09-29 Andreas Jaeger <aj@suse.de>
10789
10790 [BZ #13179]
10791 * sunrpc/netname.c (netname2host): Fix logic.
10792
10793 [BZ #6779]
10794 [BZ #6783]
10795 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10796 correctly.
10797 * math/w_remainder.c (__remainder): Likewise.
10798 * math/w_remainderf.c (__remainderf): Likewise.
10799 * math/libm-test.inc (remainder_test): Add test cases.
10800
10801 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10802
10803 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10804 sdiv_qrnnd.
10805
10806 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10807
10808 * string/test-memcmp.c: Avoid unncessary #defines.
10809 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10810
10811 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10812
10813 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10814 Use new sse2 version for core i3 - i7 as it's faster
10815 than sse42 version.
10816 (bit_Prefer_PMINUB_for_stringop): New.
10817 * sysdeps/x86_64/rawmemchr.S: Update.
10818 Replace with faster SSE2 version.
10819 * sysdeps/x86_64/memrchr.S: New file.
10820 * sysdeps/x86_64/memchr.S: Update.
10821 Replace with faster SSE2 version.
10822
10823 2011-09-12 Marek Polacek <mpolacek@redhat.com>
10824
10825 * elf/dl-load.c (lose): Add cast to avoid warning.
10826
10827 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10828
10829 * po/ca.po: Update from translation team.
10830
10831 * inet/getnetgrent_r.c: Hook up nscd.
10832 * nscd/Makefile (routines): Add nscd_netgroup.
10833 (nscd-modules): Add netgroupcache.
10834 (CFLAGS-netgroupcache.c): Define.
10835 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10836 (cache_search): Add const to second parameter.
10837 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10838 INNETGR.
10839 (dbs): Add netgrdb entry.
10840 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10841 (verify_persistent_db): Handle netgrdb.
10842 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10843 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10844 GETFDNETGR.
10845 (netgroup_response_header): Define.
10846 (innetgroup_response_header): Define.
10847 (datahead): Add netgroup_response_header and innetgroup_response_header
10848 elements.
10849 * nscd/nscd.conf: Add entries for netgroup cache.
10850 * nscd/nscd.h (dbtype): Add netgrdb.
10851 (_PATH_NSCD_NETGROUP_DB): Define.
10852 (netgroup_iov_disabled): Declare.
10853 (xmalloc, xcalloc, xrealloc): Move declarations here.
10854 (cache_search): Adjust prototype.
10855 Add netgroup-related prototypes.
10856 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10857 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10858 (__nscd_innetgr): Declare.
10859 * nscd/selinux.c (perms): Use access_vector_t as element type and
10860 add netgroup-related initializers.
10861 * nscd/netgroupcache.c: New file.
10862 * nscd/nscd_netgroup.c: New file.
10863 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10864 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10865 For four parameters use innetgr.
10866 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10867 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10868 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10869 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10870
10871 * nscd/connections.c (register_traced_file): Don't register file
10872 for disabled databases.
10873
10874 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10875
10876 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10877
10878 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10879 from tree and freeing node.
10880
10881 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10882
10883 * nss/nsswitch.c (__nss_database_lookup): Handle
10884 nss_parse_service_list out of memory case.
10885
10886 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10887
10888 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10889 out of memory case.
10890
10891 2011-10-04 Andreas Schwab <schwab@redhat.com>
10892
10893 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10894 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10895 pass it down.
10896 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10897 elf_machine_rela, elf_machine_lazy_rel.
10898 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10899 (ELF_DYNAMIC_DO_REL): Likewise.
10900 (ELF_DYNAMIC_DO_RELA): Likewise.
10901 (ELF_DYNAMIC_RELOCATE): Likewise.
10902 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10903 to ELF_DYNAMIC_DO_REL.
10904 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10905 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10906 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10907 elf_machine_rela.
10908 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10909 skip_ifunc, don't call ifunc function if non-zero.
10910 (elf_machine_rela): Likewise.
10911 (elf_machine_lazy_rel): Likewise.
10912 (elf_machine_lazy_rela): Likewise.
10913 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10914 (elf_machine_lazy_rel): Likewise.
10915 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10916 Likewise.
10917 (elf_machine_lazy_rel): Likewise.
10918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10919 Likewise.
10920 (elf_machine_lazy_rel): Likewise.
10921 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10922 (elf_machine_lazy_rel): Likewise.
10923 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10924 (elf_machine_lazy_rel): Likewise.
10925 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10926 (elf_machine_lazy_rel): Likewise.
10927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10928 (elf_machine_lazy_rel): Likewise.
10929 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10930 (elf_machine_lazy_rel): Likewise.
10931 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10932 (elf_machine_lazy_rel): Likewise.
10933
10934 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10935
10936 * nss/nss_files/files-init.c (_nss_files_init): Use static
10937 initialization for all the *_traced_file variables.
10938
10939 2011-09-28 Andreas Schwab <schwab@redhat.com>
10940
10941 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10942
10943 2011-09-27 Roland McGrath <roland@hack.frob.com>
10944
10945 [BZ #13226]
10946 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10947
10948 2011-09-27 Andreas Schwab <schwab@redhat.com>
10949
10950 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10951 Reread the line before reparsing it.
10952
10953 2011-09-26 Andreas Schwab <schwab@redhat.com>
10954
10955 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10956
10957 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10958 Maxim Kuvyrkov <maxim@codesourcery.com>
10959 Joseph Myers <joseph@codesourcery.com>
10960
10961 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10962 if needed for __stack_chk_guard.
10963
10964 2011-09-19 Roland McGrath <roland@hack.frob.com>
10965
10966 * sysdeps/posix/spawni.c (script_execute): Always define it.
10967 It will be optimized away if unused.
10968 (maybe_script_execute): New function.
10969 (__spawni): Call it.
10970
10971 * Makerules: Don't include tls.make.
10972 (config-tls): Always set to thread.
10973 * tls.make.c: File removed.
10974
10975 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10976
10977 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10978 * config.make.in (CPPFLAGS-config): New substituted variable.
10979
10980 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10981
10982 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10983
10984 [BZ #13192]
10985 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10986 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10987
10988 2011-09-15 Roland McGrath <roland@hack.frob.com>
10989
10990 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10991 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10992 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10993 (CALL_FAIL): Likewise.
10994 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10995 (CALL_FAIL): Macro removed.
10996 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10997
10998 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10999
11000 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11001 for __FINITE_MATH_ONLY__ == 1.
11002
11003 2011-09-15 Andreas Schwab <schwab@redhat.com>
11004
11005 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11006 __ieee754_sqrt instead of sqrt.
11007 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11008 __ieee754_sqrtf instead of sqrtf.
11009 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11010 __floorf instead of floorf.
11011 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11012 __floorf, __truncf instead of floorf, truncf.
11013
11014 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11015
11016 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11017
11018 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11019 __extern_always_inline.
11020 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11021 32-bit.
11022
11023 2011-09-14 Andreas Schwab <schwab@redhat.com>
11024
11025 * elf/rtld.c (dl_main): Also relocate in dependency order when
11026 doing symbol dependency testing.
11027
11028 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11029
11030 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11031 Always define `refsym'.
11032
11033 2011-09-13 Andreas Schwab <schwab@redhat.com>
11034
11035 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11036 (__FD_ELT): Renamed from __FDELT.
11037 * misc/bits/select2.h (__FD_ELT): Likewise.
11038 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11039 __FD_MASK instead of __FDELT, __FDMASK.
11040 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11041 Likewise.
11042 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11043 Likewise.
11044
11045 * elf/Makefile (gen-ldd): Fix pattern.
11046
11047 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11048 (init_tls): Likewise.
11049
11050 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11051
11052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11053
11054 2011-09-12 Andreas Schwab <schwab@redhat.com>
11055
11056 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11057 `struct cmsghdr *' instead of `void *'.
11058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11059 Likewise.
11060
11061 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11062
11063 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11064 if non-absolute.
11065 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11066 ldd_rewrite_script.
11067
11068 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11069
11070 * configure.in: Remove --with-tls option.
11071 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11072 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11073 out in case it is missing.
11074 * sysdeps/ia64/elf/configure.in: Likewise.
11075 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11076 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11077 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11078 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11079 * sysdeps/sh/elf/configure.in: Likewise.
11080 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11081 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11082 * sysdeps/x86_64/elf/configure.in: Likewise.
11083 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11084 * sysdeps/mach/hurd/tls.h: Likewise.
11085
11086 [BZ #13067]
11087 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11088
11089 [BZ #13090]
11090 * configure.in: Fix use of AC_INIT.
11091
11092 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11093
11094 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11095
11096 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11097 __set_errno.
11098 * malloc/hooks.c: Likewise.
11099
11100 [BZ #11929]
11101 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11102 variables statically.
11103 (narenas): Initialize.
11104 (list_lock): Initialize.
11105 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11106 initializtion of main_arena and list_lock. Small cleanups.
11107 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11108 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11109 Add initializers to main_arena and mp_.
11110 (malloc_state): Remove pagesize member. Change all users to use
11111 GLRO(dl_pagesize).
11112
11113 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11114 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11115 is always initialized.
11116
11117 * malloc/malloc.c: Removed unused configurations and dead code.
11118 * malloc/arena.c: Likewise.
11119 * malloc/hooks.c: Likewise.
11120 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11121
11122 * include/tls.h: Removed. USE___THREAD must always be defined.
11123 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11124 * elf/dl-libc.c: Likewise.
11125 * elf/dl-tsd.c: Likewise.
11126 * include/errno.h: Likewise.
11127 * include/netdb.h: Likewise.
11128 * include/resolv.h: Likewise.
11129 * inet/herrno-loc.c: Likewise.
11130 * inet/herrno.c: Likewise.
11131 * malloc/arena.c: Likewise.
11132 * malloc/hooks.c: Likewise.
11133 * malloc/malloc.c: Likewise.
11134 * resolv/res-state.c: Likewise.
11135 * resolv/res_libc.c: Likewise.
11136 * sysdeps/i386/dl-machine.h: Likewise.
11137 * sysdeps/ia64/dl-machine.h: Likewise.
11138 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11139 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11140 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11141 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11142 * sysdeps/sh/dl-machine.h: Likewise.
11143 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11144 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11145 * sysdeps/unix/i386/sysdep.S: Likewise.
11146 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11147 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11149 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11150 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11151 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11152 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11153 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11154 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11156 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11157 * sysdeps/x86_64/dl-machine.h: Likewise.
11158 * tls.make.c: Likewise.
11159
11160 * configure.in: Remove --with-__thread option. Make tests for
11161 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11162 tls_model attribute fail if no support is available. Remove
11163 USE_IN_LIBIO.
11164 * Makeconfig: Adjust for dropped configure option. All features are
11165 now mandatory.
11166 * Makerules: Likewise.
11167 * Versions.def: Likewise.
11168 * argp/argp-fmtstream.c: Likewise.
11169 * argp/argp-fmtstream.h: Likewise.
11170 * argp/argp-help.c: Likewise.
11171 * assert/assert.c: Likewise.
11172 * config.h.in: Likewise.
11173 * config.make.in: Likewise.
11174 * configure: Likewise.
11175 * configure.in: Likewise.
11176 * csu/Versions: Likewise.
11177 * csu/init.c: Likewise.
11178 * elf/tst-audit2.c: Likewise.
11179 * elf/tst-tls10.c: Likewise.
11180 * elf/tst-tls10.h: Likewise.
11181 * elf/tst-tls11.c: Likewise.
11182 * elf/tst-tls12.c: Likewise.
11183 * elf/tst-tls14.c: Likewise.
11184 * elf/tst-tlsmod11.c: Likewise.
11185 * elf/tst-tlsmod12.c: Likewise.
11186 * elf/tst-tlsmod13.c: Likewise.
11187 * elf/tst-tlsmod13a.c: Likewise.
11188 * elf/tst-tlsmod14a.c: Likewise.
11189 * elf/tst-tlsmod15b.c: Likewise.
11190 * elf/tst-tlsmod16a.c: Likewise.
11191 * elf/tst-tlsmod16b.c: Likewise.
11192 * elf/tst-tlsmod7.c: Likewise.
11193 * elf/tst-tlsmod8.c: Likewise.
11194 * elf/tst-tlsmod9.c: Likewise.
11195 * gmon/gmon.c: Likewise.
11196 * grp/fgetgrent_r.c: Likewise.
11197 * grp/putgrent.c: Likewise.
11198 * hurd/fopenport.c: Likewise.
11199 * include/libc-symbols.h: Likewise.
11200 * include/tls.h: Likewise.
11201 * intl/gettextP.h: Likewise.
11202 * intl/loadinfo.h: Likewise.
11203 * locale/global-locale.c: Likewise.
11204 * locale/localeinfo.h: Likewise.
11205 * mach/devstream.c: Likewise.
11206 * malloc/arena.c: Likewise.
11207 * malloc/set-freeres.c: Likewise.
11208 * misc/err.c: Likewise.
11209 * misc/getttyent.c: Likewise.
11210 * misc/mntent_r.c: Likewise.
11211 * posix/getopt.c: Likewise.
11212 * posix/wordexp.c: Likewise.
11213 * pwd/fgetpwent_r.c: Likewise.
11214 * resolv/Versions: Likewise.
11215 * resolv/res_hconf.c: Likewise.
11216 * shadow/fgetspent_r.c: Likewise.
11217 * shadow/putspent.c: Likewise.
11218 * stdio-common/printf_fphex.c: Likewise.
11219 * stdio-common/tmpfile.c: Likewise.
11220 * stdlib/abort.c: Likewise.
11221 * stdlib/fmtmsg.c: Likewise.
11222 * sunrpc/auth_unix.c: Likewise.
11223 * sunrpc/clnt_perr.c: Likewise.
11224 * sunrpc/clnt_tcp.c: Likewise.
11225 * sunrpc/clnt_udp.c: Likewise.
11226 * sunrpc/clnt_unix.c: Likewise.
11227 * sunrpc/openchild.c: Likewise.
11228 * sunrpc/svc_simple.c: Likewise.
11229 * sunrpc/svc_tcp.c: Likewise.
11230 * sunrpc/svc_udp.c: Likewise.
11231 * sunrpc/svc_unix.c: Likewise.
11232 * sunrpc/xdr.c: Likewise.
11233 * sunrpc/xdr_array.c: Likewise.
11234 * sunrpc/xdr_rec.c: Likewise.
11235 * sunrpc/xdr_ref.c: Likewise.
11236 * sunrpc/xdr_stdio.c: Likewise.
11237
11238 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11239
11240 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11241
11242 2011-07-03 Andreas Jaeger <aj@suse.de>
11243
11244 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11245 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11246 regenerate with gen-libm-tests.pl.
11247
11248 2010-05-12 Petr Baudis <pasky@suse.cz>
11249
11250 [BZ #11589]
11251 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11252 around j0() zero points by switching to j1().
11253 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11257
11258 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11259
11260 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11261 instead of 0.
11262 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11263 instead of 0. .
11264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11265 Patch in part by Pavel Roskin <proski@gnu.org>.
11266
11267 [BZ #13138]
11268 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11269 realloc.
11270 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11271 Free memory block if necessary.
11272
11273 [BZ #12847]
11274 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11275 be NULL. Don't lock in this case.
11276
11277 2011-09-09 Roland McGrath <roland@hack.frob.com>
11278
11279 * elf/elf.h (ELFOSABI_GNU): New macro.
11280 (ELFOSABI_LINUX): Define to that.
11281
11282 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11283
11284 * string/strncat.c (strncat): Undef the symbol in case it has been
11285 defined in bits/string.h.
11286
11287 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11288
11289 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11290
11291 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11292 link map.
11293
11294 2011-08-17 Andreas Jaeger <aj@suse.de>
11295
11296 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11297
11298 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11299 Ian Lance Taylor <iant@google.com>
11300
11301 * math/libm-test.inc (lround_test): New testcase.
11302 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11303
11304 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11305
11306 * Makefile: Remove support for automatic cvs check-ins.
11307 * Makerules: Likewise.
11308 * config.make.in: Likewise.
11309 * configure.in: Likewise.
11310 * intl/Makefile: Likewise.
11311 * locale/Makefile: Likewise.
11312 * po/Makefile: Likewise.
11313 * posix/Makefile: Likewise.
11314 * sysdeps/gnu/Makefile: Likewise.
11315 * sysdeps/mach/hurd/Makefile: Likewise.
11316 * sysdeps/sparc/sparc32/Makefile: Likewise.
11317
11318 [BZ #13118]
11319 * posix/Makefile (bug-regex32-ENV): Define.
11320 Patch by John Stanley <jpsinthemix@verizon.net>.
11321
11322 * misc/Makefile (headers): Add bits/select2.h.
11323 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11324 * misc/bits/select2.h: New file.
11325 * include/bits/select2.h: New file.
11326 * debug/Makefile (routines): Add fdelt_chk.
11327 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11328 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11329 FD_ISSET.
11330 * debug/fdelt_chk.c: New file.
11331
11332 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11333 * wcsmbs/test-wmemcmp.c: Likewise.
11334 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11335 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11336
11337 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11338
11339 * string/Makefile (strop-tests): Add memcmp.
11340 * string/test-wmemcmp.c: New file.
11341 * string/test-memcmp.c: Add wmemcmp support.
11342
11343 2011-09-08 Roland McGrath <roland@hack.frob.com>
11344
11345 [BZ #13153]
11346 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11347 2011-07-19 change.
11348
11349 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11350 garbage value in a __mach_port_mod_refs call in the cases of the
11351 task-self and thread-self ports.
11352
11353 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11354
11355 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11356
11357 2011-09-08 Andreas Schwab <schwab@redhat.com>
11358
11359 * elf/dl-load.c (lose): Check for non-null L.
11360
11361 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11362
11363 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11364
11365 * elf/dl-libc.c (dlerror_run): Pass back error code from
11366 dl_catch_error.
11367
11368 [BZ #13123]
11369 * elf/dl-load.c (lose): Free l_origin if it is valid.
11370
11371 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11372 names.
11373 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11374 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11375 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11376 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11377 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11378 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11379
11380 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11381
11382 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11383 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11384 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11385 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11386 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11387 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11388 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11389 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11390 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11391 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11392
11393 2011-08-15 Alan Modra <amodra@gmail.com>
11394
11395 [BZ #13092]
11396 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11397 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11398 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11399 ppc_mcount to static-only-routines.
11400 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11401 __mcount_internal.
11402 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11403 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11404
11405 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11406
11407 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11408 for finite and infinity parameters.
11409
11410 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11411
11412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11413 and add nop instructions for throughput optimization.
11414 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11415
11416 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11417
11418 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11419 aligned copy for power7 with vector-scalar instructions.
11420 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11421
11422 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11423
11424 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11425 AVX check.
11426
11427 2011-09-07 Andreas Schwab <schwab@redhat.com>
11428
11429 [BZ #13144]
11430 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11431 last change.
11432
11433 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11434
11435 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11436 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11437 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11438 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11439 clock_gettime.
11440
11441 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11442
11443 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11444 Forgot to demangle the pointer.
11445
11446 * sysdeps/i386/sysdep.h: Define atom_text_section.
11447 * sysdeps/x86_64/sysdep.h: Likewise.
11448 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11449 section with atom_text_section.
11450 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11451 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11452 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11453 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11454 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11455
11456 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11457 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11458 already be defined. Change to take two parameters and don't assign
11459 result to variable. Adjust all users.
11460 Define INTERNAL_GETTIME if not already defined.
11461 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11462 call.
11463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11464 HAVE_CLOCK_GETTIME_VSYSCALL.
11465 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11466
11467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11468 gettimeofday vsyscall, just use time.
11469
11470 2011-09-06 Andreas Schwab <schwab@redhat.com>
11471
11472 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11473 <errno.h>.
11474
11475 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11476
11477 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11478 syscall on x86-64.
11479 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11480 syscall.
11481 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11482 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11483 syscall if possible.
11484
11485 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11486
11487 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11488 e_ident. Don't pass to find_mapsXX.
11489 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11490
11491 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11492
11493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11494 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11495 * sysdeps/x86_64/multiarch/strchr.S: Update.
11496 Check bit_slow_BSF bit.
11497 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11498 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11499 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11500
11501 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11502
11503 [BZ #13134]
11504 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11505 before glibc 2.15.
11506 (tryshell): Define.
11507 (__spawni): Change last parameter to be flag. Test
11508 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11509 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11510 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11511 * posix/spawni.c: Likewise.
11512 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11513 * posix/spawnp.c: Likewise. Change normal version to use
11514 SPAWN_XFLAGS_USE_PATH.
11515 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11516 SPAWN_XFLAGS_TRY_SHELL.
11517
11518 [BZ #13150]
11519 * posix/glob.h: Remove gcc 1.x support.
11520
11521 [BZ #13068]
11522 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11523
11524 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11525
11526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11527 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11528 strrchr-sse2-bsf
11529 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11530 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11531 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11532 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11533 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11534 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11535
11536 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11537
11538 * sysdeps/x86_64/wcscmp.S: New file.
11539
11540 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11541 wcscmp-c wcscmp-sse2
11542 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11543 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11544 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11545 * wcsmbs/wcscmp.c: Allow renaming.
11546
11547 2011-09-05 David S. Miller <davem@davemloft.net>
11548
11549 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11550 stack slot, rather than the struct return pointer slot.
11551 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11552 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11554 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11555
11556 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11557
11558 * po/ja.po: Update from translation team.
11559
11560 [BZ #13144]
11561 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11562 kernel in 64-bit binaries.
11563
11564 2011-09-01 David S. Miller <davem@davemloft.net>
11565
11566 * elf/elf.h (HWCAP_SPARC_*): Move to..
11567 * sysdeps/sparc/sysdep.h: this new file and add new values.
11568 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11569 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11570 _DL_HWCAP_COUNT to 24.
11571 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11572 entries.
11573 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11574 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11575 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11577 instead of magic constants.
11578 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11579
11580 2011-08-31 David S. Miller <davem@davemloft.net>
11581
11582 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11584 Reimplement to do errno handling inline.
11585 (SYSCALL_ERROR_HANDLER): New macro.
11586 (__SYSCALL_STRING): Do not do errno handling in asm.
11587 (__CLONE_SYSCALL_STRING): Delete.
11588 (__INTERNAL_SYSCALL_STRING): Delete.
11589 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11590 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11591 (PSEUDO): Reimplement to do errno handling inline.
11592 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
11598 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11599 i386.
11600 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11601 (inline_syscall*): Add 'err' argument.
11602 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11603 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11604 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11605 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11606
11607 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11608 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11609
11610 2011-08-30 Andreas Schwab <schwab@redhat.com>
11611
11612 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11613
11614 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11615
11616 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11617 directive.
11618
11619 2011-08-24 David S. Miller <davem@davemloft.net>
11620
11621 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11622
11623 2011-08-24 Andreas Schwab <schwab@redhat.com>
11624
11625 * elf/Makefile: Add rules to build and run unload8 test.
11626 * elf/unload8.c: New file.
11627 * elf/unload8mod1.c: New file.
11628 * elf/unload8mod1x.c: New file.
11629 * elf/unload8mod2.c: New file.
11630 * elf/unload8mod3.c: New file.
11631
11632 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11633 it wasn't used.
11634
11635 2011-08-23 David S. Miller <davem@davemloft.net>
11636
11637 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11638 subtract stack bias.
11639 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11640 %sp not %fp in calculations.
11641 (_JMPBUF_UNWINDS_ADJ): Likewise.
11642
11643 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11644 (aio_suspend): Call it to force an exception region around the
11645 AIO_MISC_WAIT() invocation.
11646
11647 2011-08-23 Andreas Schwab <schwab@redhat.com>
11648
11649 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11650 backslash.
11651
11652 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11653
11654 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11655 protection macro.
11656 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11657 and <dl-machine.h>.
11658 (Elf64_FuncDesc): Remove.
11659
11660 2011-08-22 David S. Miller <davem@davemloft.net>
11661
11662 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11663 sigaltstack check, add missing cfi directives.
11664 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11665 missing cfi directives, and sigaltstack handling.
11666
11667 2011-08-16 Andreas Schwab <schwab@redhat.com>
11668
11669 [BZ #11724]
11670 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11671 object is seen twice.
11672 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11673
11674 * elf/Makefile (distribute): Add tst-initorder2.c.
11675 (tests): Add tst-initorder2.
11676 (modules-names): Add tst-initorder2a tst-initorder2b
11677 tst-initorder2c tst-initorder2d. Add rules to build them.
11678 ($(objpfx)tst-initorder2.out): New rule.
11679 * elf/tst-initorder2.c: New file.
11680 * elf/tst-initorder2.exp: New file.
11681
11682 2011-08-22 Andreas Schwab <schwab@redhat.com>
11683
11684 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11685
11686 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11687 dependencies back to end of function.
11688
11689 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11690 $(elfobjdir)/ld.so.
11691
11692 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11693
11694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11695 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11697 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11698 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11699 of __vdso_gettimeofday.
11700 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11701 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11702 attribute_hidden.
11703 (_libc_vdso_platform_setup): Remove initialization of
11704 __vdso_gettimeofday and __vdso_time.
11705
11706 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11707
11708 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11709 and fgetc_unlocked.
11710 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11711 getc_unlocked.
11712
11713 * elf/dl-open.c (add_to_global): Report additions to the global scope
11714 for LD_DEBUG=scopes.
11715 (dl_open_worker): Also print scope of newly loaded dependencies.
11716 (_dl_show_scope): Indicate if there is no scope.
11717
11718 [BZ #13114]
11719 * stdio-common/Makefile (tests): Add bug24.
11720 * stdio-common/bug24.c: New file.
11721
11722 2011-08-19 Andreas Jaeger <aj@suse.de>
11723
11724 [BZ #13114]
11725 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11726 non-existant file when using close-on-exec mode.
11727
11728 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11729
11730 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11731 the very first instruction.
11732
11733 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11734 the CFI state in the end.
11735 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11736 inclusion of dl-trampoline.h.
11737 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11738
11739 2011-08-19 Andreas Schwab <schwab@redhat.com>
11740
11741 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11742 expectations for long double.
11743
11744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11745 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11746
11747 2011-08-14 David S. Miller <davem@davemloft.net>
11748
11749 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11750 artificual limit depends upon the system page size.
11751
11752 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11753
11754 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11755 * resolv/Makefile: Define CFLAGS-libresolv.
11756
11757 2011-08-17 Andreas Schwab <schwab@redhat.com>
11758
11759 * nss/makedb.c (compute_tables): Make variables used in nested
11760 function static.
11761
11762 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11763
11764 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11765 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11766 if buffer was too small.
11767
11768 * elf/pldd.c (main): Attach to all threads in the process.
11769 Rewrite /proc handling to use *at functions.
11770
11771 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11772
11773 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11774 specifies first scope to show.
11775 (dl_open_worker): Update callers. Move printing scope of new
11776 object to before the relocation.
11777 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11778 * sysdeps/generic/ldsodefs.h: Update declaration.
11779
11780 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11781 string for the scope number.
11782
11783 2011-08-14 Ulrich Drepper <drepper@gmail.com>
11784
11785 * nscd/servicescache.c (cache_addserv): Make sure written is always
11786 initialized.
11787
11788 2011-08-14 Roland McGrath <roland@hack.frob.com>
11789
11790 * sysdeps/i386/i486/bits/atomic.h
11791 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11792 statement expression, so as to suppress "set but not used" warning.
11793 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11794
11795 * string/strncat.c (STRNCAT): Use prototype definition.
11796
11797 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11798 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11799 -Iprograms here.
11800 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11801 (localedef-modules): Add localedef.
11802 (locale-modules): Add locale.
11803
11804 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11805 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11806 to avoid a warning.
11807
11808 2011-08-14 David S. Miller <davem@davemloft.net>
11809
11810 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11811 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11812
11813 2011-08-13 Ulrich Drepper <drepper@gmail.com>
11814
11815 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11816 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11817 * elf/rtld.c (dl_main): Set l_name of vDSO.
11818 Call _dl_show_scope when DL_DEBUG_SCOPES.
11819 (process_dl_debug): Recognize scopes flag and also set it for all.
11820 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11821 Declare _dl_show_scope.
11822
11823 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11824 (do_dlopen): Pass caller_dlopen to dl_open.
11825 (__libc_dlopen_mode): Initialize caller_dlopen.
11826
11827 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11828 of libc. Make tolower call locale-independent. Optimize a bit by
11829 using isdigit instead of isalnum.
11830 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11831
11832 2011-08-12 Ulrich Drepper <drepper@gmail.com>
11833
11834 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11835 was a dependency or dynamically loaded.
11836
11837 2011-08-11 Ulrich Drepper <drepper@gmail.com>
11838
11839 * intl/l10nflist.c: Allow architecture-specific pop function.
11840 * sysdeps/x86_64/l10nflist.c: New file.
11841
11842 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11843 classification.
11844
11845 2011-08-10 Andreas Schwab <schwab@redhat.com>
11846
11847 * include/dirent.h: Add libc_hidden_proto for scandirat and
11848 scandirat64. Don't declare __scandirat64.
11849 * dirent/scandirat.c: Add libc_hidden_def.
11850 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11851 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11852
11853 2011-08-10 David S. Miller <davem@davemloft.net>
11854
11855 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11856 enum.
11857 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11858 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11859 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11860
11861 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11862
11863 * Versions.def [libc]: Add GLIBC_2.15.
11864 * dirent/Makefile (routines): Add scandirat and scandirat64.
11865 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11866 GLIBC_2.15.
11867 * dirent/dirent.h: Declare scandirat and scandirat64.
11868 * dirent/scandirat.c: New file.
11869 * dirent/scandirat64.c: New file.
11870 * sysdeps/wordsize-64/scandirat.c: New file.
11871 * sysdeps/wordsize-64/scandirat64.c: New file.
11872 * dirent/opendir.c: Define opendirat.
11873 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11874 using scandirat.
11875 * dirent/scandir64.c: Adjust for scandir.c change.
11876 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11877 __scandirat64, and __scandir_cancel_handler.
11878 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11879 additional parameter and use openat instead of open (outside of ld.so).
11880 Add new __opendir as wrapper around __opendirat.
11881 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11882 here without requiring old scandirat implementation.
11883
11884 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11885
11886 * dirent/scandir.c (cancel_handler): Renamed to
11887 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11888 defined. Adjust users.
11889 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11890 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11891
11892 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11893
11894 * string/test-string.h (IMPL): Use __STRING to expand name and then
11895 stringify it.
11896
11897 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11898 of cleanups.
11899
11900 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11901
11902 * string/Makefile: Update.
11903 (strop-tests): Append strncat.
11904 * string/test-wcscmp.c: New file.
11905 New comprehensive test for wcscmp.
11906 * string/test-strcmp.c: Update.
11907 (WIDE): New define.
11908
11909 2011-07-22 Andreas Schwab <schwab@redhat.com>
11910
11911 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11912 line.
11913
11914 2011-07-26 Andreas Schwab <schwab@redhat.com>
11915
11916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11917 encoding to ACE if AI_IDN.
11918
11919 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11920
11921 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11922 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11923
11924 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11925
11926 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11927 Fix overflow bug in strncat.
11928 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11929
11930 * string/test-strncat.c: Update.
11931 Add new tests for checking overflow bugs.
11932
11933 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11934
11935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11936 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11937 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11938 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11939 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11940 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11941 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11942 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11943 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11944
11945 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11946 (USE_AS_STRCAT): Define.
11947 Add strcat and strncat support.
11948 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11949
11950 2011-07-25 Andreas Schwab <schwab@redhat.com>
11951
11952 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11953 __n bigger than INT_MAX+1.
11954 (__strncmp_g): Likewise.
11955
11956 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11957
11958 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11959 * libio/stido.h: Likewise.
11960
11961 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11962 (AF_NFC): Define.
11963 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11964 (AF_NFC): Define.
11965
11966 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11967 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11968 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11969 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11971
11972 [BZ #13021]
11973 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11974 installed.
11975
11976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11977 typo.
11978 (_dl_x86_64_save_sse): Likewise.
11979
11980 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11981
11982 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11983 OSXSAVE.
11984 (_dl_x86_64_save_sse): Likewise.
11985
11986 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11987
11988 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11989
11990 2011-07-21 Andreas Schwab <schwab@redhat.com>
11991
11992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11993 change.
11994 (_dl_x86_64_save_sse): Use correct AVX check.
11995
11996 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11997
11998 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11999 bug in strncpy/strncat.
12000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12001
12002 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12003
12004 * string/tester.c (test_strcat): Add tests for different alignments
12005 of source and destination.
12006 (test_strncat): Likewise.
12007
12008 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12009
12010 [BZ #12852]
12011 * posix/glob.c (glob): Check passed in values before using them in
12012 expressions to avoid some overflows.
12013 (glob_in_dir): Likewise.
12014
12015 [BZ #13007]
12016 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12017 check for AVX enablement so that we don't crash with old kernels and
12018 new hardware.
12019 * elf/tst-audit4.c: Add same checks here.
12020 * elf/tst-audit6.c: Likewise.
12021
12022 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12023
12024 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12025
12026 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12027
12028 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12029
12030 * po/cs.po: Update from translation team.
12031 * po/bg.po: Likewise.
12032
12033 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12034
12035 * misc/sys/cdefs.h: Add support for const attribute.
12036 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12037 to gnu_dev_{major,minor,makedev} functions.
12038
12039 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12040
12041 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12042
12043 2011-07-20 Andreas Schwab <schwab@redhat.com>
12044
12045 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12046 strlen results.
12047
12048 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12049
12050 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12051 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12052 register in order to avoid conflicts with the soft frame pointer
12053 being held in r11 when necessary.
12054 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12055 (INTERNAL_VSYSCALL_NCS): Likewise.
12056
12057 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12058
12059 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12060 * elf/dl-fini.c (_dl_fini): Adjust caller.
12061 * elf/dl-close.c (_dl_close_worker): Likewise.
12062 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12063
12064 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12065
12066 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12067 "aux_cache->nlibs < 0".
12068
12069 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12070 in the reload-count case.
12071
12072 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12073
12074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12075 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12076 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12077 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12078 * sysdeps/x86_64/multiarch/strcat.S: New file.
12079 * sysdeps/x86_64/multiarch/strncat.S: New file.
12080 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12081 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12082 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12083 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12085 (USE_AS_STRCAT): Define.
12086 Add strcat and strncat support.
12087 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12088 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12089 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12090 * string/strncat.c: Update.
12091 (USE_AS_STRNCAT): Define.
12092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12093 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12094 and i7.
12095 * sysdeps/x86_64/multiarch/init-arch.h
12096 (bit_Prefer_PMINUB_for_stringop): New.
12097 (index_Prefer_PMINUB_for_stringop): Likewise.
12098 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12099 bit_Prefer_PMINUB_for_stringop.
12100
12101 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12102
12103 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12104 buffer64.
12105 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12106 of casting of buffer.
12107 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12108 buffer32 and buffer64.
12109 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12110 writes instead of casting of buffer.
12111 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12112 buffer32.
12113 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12114 casting of buffer.
12115
12116 2011-07-19 Andreas Schwab <schwab@redhat.com>
12117
12118 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12119
12120 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12121
12122 * nscd/nscd.c (termination_handler): Don't do anything for a database
12123 if it has not yet been initialized.
12124
12125 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12126
12127 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12128
12129 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12130
12131 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12132
12133 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12134
12135 * po/nl.po: Update from translation team.
12136 * po/sv.po: Likewise.
12137
12138 2011-07-16 Roland McGrath <roland@hack.frob.com>
12139
12140 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12141 now disallowed by GCC.
12142
12143 * configure.in (use-default-link): Default to yes if a test -shared
12144 link meets our qualifications.
12145 * configure: Regenerated.
12146
12147 * config.make.in (output-format): New variable.
12148 * configure.in: Check for ld --print-output-format support.
12149 * configure: Regenerated.
12150 * Makerules ($(common-objpfx)format.lds)
12151 [$(output-format) != unknown]: Just use $(output-format),
12152 instead of the linker-script munging.
12153
12154 2011-07-14 Roland McGrath <roland@hack.frob.com>
12155
12156 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12157 of $(common-objpfx)shlib.lds.
12158 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12159
12160 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12161 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12162
12163 * configure.in (-z relro check): Adjust test code to add a large
12164 writable data section after it.
12165 * configure: Regenerated.
12166
12167 2011-07-11 Roland McGrath <roland@hack.frob.com>
12168
12169 * configure.in (-z relro check): Fix test code to make the variable
12170 truly const.
12171 * configure: Regenerated.
12172
12173 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12174
12175 * nscd/nscd.h (struct traced_file): Define.
12176 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12177 elements. Add traced_files.
12178 (inotify_fd): Declare.
12179 (register_traced_file): Declare.
12180 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12181 (inotify_fd): Export.
12182 (resolv_conf_descr): Remove.
12183 (nscd_init): Move inotify descriptor creation to main.
12184 Don't register files for notification here.
12185 (register_traced_file): New function.
12186 (invalidate_cache): Don't use reset_res to determine whether to call
12187 res_init, go through the list of registered files.
12188 (main_loop_poll): The inotify descriptors are now stored in the
12189 structures for the traced files.
12190 (main_loop_epoll): Likewise
12191 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12192 to __nss_disable_nscd.
12193 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12194 for a database anymore. Check the records for all the registered
12195 files instead.
12196 * nss/Makefile (libnss_files-routines): Add files-init.
12197 (libnss_db-routines): Add db-init.
12198 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12199 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12200 * nss/nss_db/db-init.c: New file.
12201 * nss/nss_files/files-init.c: New file.
12202 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12203 __nss_lookup_function.
12204 (__nss_lookup_function): Call nss_load_library.
12205 (nss_load_all_libraries): New function.
12206 (__nss_disable_nscd): Take parameter with callback function for files
12207 to register. Set is_nscd. Load all the DSOs for the NSS modules
12208 used for the cached services.
12209 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12210 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12211 options for features to all the files in nscd.
12212
12213 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12214
12215 2011-07-10 Roland McGrath <roland@hack.frob.com>
12216
12217 * csu/elf-init.c (__libc_csu_init): Comment typo.
12218
12219 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12220
12221 * po/pl.po: Update from translation team.
12222 * po/ja.po: Likewise.
12223 * po/ru.po: Likewise.
12224 * po/ko.po: Likewise.
12225 * po/fr.po: Likewise.
12226
12227 2011-07-09 Roland McGrath <roland@hack.frob.com>
12228
12229 * configure.in (.ctors/.dtors header and trailer check):
12230 Use an empirical test on a built program.
12231 * configure: Regenerated.
12232
12233 * configure.in (-z relro check): Use an empirical test on a built DSO.
12234 Detect, but do not require, on ia64.
12235 * configure: Regenerated.
12236
12237 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12238 Update tests that use readelf to use $READELF instead.
12239 * configure: Regenerated.
12240
12241 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12242
12243 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12244 if the result is not used.
12245
12246 2011-07-05 Andreas Jaeger <aj@suse.de>
12247
12248 [BZ#9696]
12249 * stdlib/tst-strtod.c: Add testcase.
12250
12251 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12252
12253 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12254 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12255 The latter has a higher limit. Take additional parameter to pass to
12256 the new function.
12257 (__pathconf): Pass file to __statfs_link_max.
12258 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12259 __statfs_link_max.
12260 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12261 __statfs_link_max.
12262
12263 [BZ #12868]
12264 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12265 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12266 Handle Lustre.
12267 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12268 (__statfs_filesize_max): Likewise.
12269 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12270
12271 2011-07-05 Andreas Jaeger <aj@suse.de>
12272
12273 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12274
12275 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12276
12277 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12278 `status' variable.
12279 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12280 Likewise.
12281
12282 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12283
12284 * Makefile (strop-tests): Add strncat.
12285 * string/test-strncat.c: New file.
12286
12287 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12288
12289 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12290
12291 2011-06-21 Andreas Jaeger <aj@suse.de>
12292
12293 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12294 Copy rule from iconvdata/Makefile.
12295
12296 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12297
12298 [BZ #12922]
12299 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12300 but no long options are defined, just return 'W'.
12301
12302 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12303
12304 [BZ #9696]
12305 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12306
12307 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12308
12309 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12310 netgroups to read.
12311 (innetgr): Likewise.
12312
12313 2011-07-05 Roland McGrath <roland@hack.frob.com>
12314
12315 * config.make.in (install_root): Default to $(DESTDIR).
12316
12317 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12318
12319 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12320
12321 2011-07-02 Roland McGrath <roland@hack.frob.com>
12322
12323 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12324
12325 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12326 containing directory rather than embedding absolute directory names.
12327
12328 * scripts/check-local-headers.sh: Rewritten using awk.
12329 Match by word, not by line. Print error messages for matches.
12330 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12331
12332 * Makerules [shlib-lds-flags empty]:
12333 ($(common-objpfx)libc_pic.opts): New target.
12334 ($(common-objpfx)libc_pic.os.clean): New target.
12335 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12336
12337 * config.make.in (OBJCOPY): New variable.
12338 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12339 * configure: Regenerated.
12340
12341 * config.make.in (use-default-link): New variable.
12342 * configure.in (use_default_link): Grok --with-default-link to set it.
12343 * configure: Regenerated.
12344 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12345 (shlib-lds, shlib-lds-flags): Define to empty.
12346
12347 * Makerules (shlib-lds): New variable.
12348 (shlib-lds-flags): New variable.
12349 (build-shlib, build-moduile, build-module-asneeded): Use it.
12350 ($(common-objpfx)libc.so): Use $(shlib-lds).
12351 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12352 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12353
12354 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12355 DT_FLAGS/DT_FLAGS_1 with zero flags.
12356
12357 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12358 linker script munging.
12359
12360 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12361
12362 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12363 as 128-bit value.
12364 * crypt/sha512.c (sha512_process_block): Perform total addition using
12365 128-bit if possible.
12366 (__sha512_finish_ctx): Likewise.
12367 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12368 as 64-bit value.
12369 * crypt/sha256.c (SWAP64): Define.
12370 (sha256_process_block): Perform total addition using 64-bit if
12371 possible.
12372 (__sha256_finish_ctx): Likewise.
12373
12374 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12375
12376 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12377 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12378 * nscd/hstcache.c (cache_addhst): Likewise.
12379 * nscd/grpcache.c (cache_addgr): Likewise.
12380 * nscd/aicache.c (addhstaiX): Likewise
12381 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12382
12383 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12384
12385 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12386 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12387 * nscd/hstcache.c (cache_addhst): Likewise.
12388 * nscd/grpcache.c (cache_addgr): Likewise.
12389 * nscd/aicache.c (addhstaiX): Likewise
12390
12391 2011-07-01 Andreas Schwab <schwab@redhat.com>
12392
12393 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12394 domain only when needed.
12395
12396 2011-06-30 Andreas Schwab <schwab@redhat.com>
12397
12398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12399 is always restored.
12400
12401 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12402
12403 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12404 are re-adding the entry.
12405 * nscd/servicescache.c (cache_addserv): Likewise.
12406
12407 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12408
12409 * sysdeps/generic/dl-irel.h: fix protection against multiple
12410 inclusions.
12411 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12412
12413 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12414
12415 [BZ #12935]
12416 * malloc/memusage.sh: Fix quoting in message.
12417 * debug/xtrace.sh: Likewise.
12418
12419 * configure.in: Remove support for --experimental-malloc option, make
12420 it the default.
12421 * config.make.in: Likewise.
12422 * malloc/Makefile: Likewise.
12423
12424 2011-06-27 Andreas Schwab <schwab@redhat.com>
12425
12426 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12427 two-byte characters.
12428
12429 2011-06-27 Roland McGrath <roland@hack.frob.com>
12430
12431 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12432 AC_CACHE_CHECK invocation.
12433 * configure: Regenerated.
12434
12435 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12436
12437 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12438
12439 [BZ #12350]
12440 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12441 bit from old_res_options.
12442
12443 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12444
12445 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12446 value type for setfct.
12447
12448 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12449
12450 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12451 __gettimeofday instead of gettimeofday.
12452
12453 2011-06-26 Ulrich Drepper <drepper@gmail.com>
12454
12455 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12456
12457 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12458
12459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12460
12461 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12462 info.
12463
12464 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12465
12466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12467 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12468 strcpy-sse2-unaligned strncpy-sse2-unaligned
12469 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12470 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12471 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12472 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12473 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12474 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12475 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12476 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12477 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12478 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12479 (STRCPY): Support SSE2 and SSSE3 versions.
12480
12481 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12482
12483 [BZ #12874]
12484 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12485 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12486 kernels which artificially limit size of requests.
12487
12488 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12489
12490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12491 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12492 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12493 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12494 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12495 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12496 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12497 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12498 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12499 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12500 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12501 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12502 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12503 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12504 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12506 Enable unaligned load optimization for Intel Core i3, i5 and i7
12507 processors.
12508 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12509 Define.
12510 (index_Fast_Unaligned_Load): Define.
12511 (HAS_FAST_UNALIGNED_LOAD): Define.
12512
12513 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12514
12515 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12516
12517 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12518
12519 [BZ #12907]
12520 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12521 until it is clear that the information is realy needed.
12522 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12523
12524 2011-06-22 Andreas Schwab <schwab@redhat.com>
12525
12526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12527
12528 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12529
12530 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12531 /sys/devices/system/cpu/online if it is usable.
12532
12533 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12534 reading the information from the /proc filesystem to once a second.
12535
12536 2011-06-21 Andreas Jaeger <aj@suse.de>
12537
12538 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12539 NULL after inclusion of kernel headers.
12540
12541 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12542
12543 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12544 calls to internal_setent.
12545
12546 [BZ #12885]
12547 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12548 addresses using gethostbyname4_r ignore IPv4 addresses.
12549
12550 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12551 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12552
12553 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12554
12555 2011-06-20 David S. Miller <davem@davemloft.net>
12556
12557 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12558 inclusions.
12559 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12560
12561 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12562 (elf_irel): Use it.
12563 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12564 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12565 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12566 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12567 * sysdeps/x86_64/dl-irel.h: Likewise.
12568
12569 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12570 * elf/dl-sym.c: Likewise.
12571
12572 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12573
12574 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12575 need to dereference resplen2.
12576
12577 2011-06-14 Andreas Schwab <schwab@redhat.com>
12578
12579 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12580
12581 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12582
12583 * Makeconfig: Define vardbdir and inst_vardbdir.
12584 * nss/Makefile: Add rules to install db-Makefile.
12585
12586 * nss/nss_db/db-XXX.c: Cleanup.
12587
12588 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12589 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12590 GLIBC_PRIVATE.
12591 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12592 * nss/makedb.c: Implement -g option to specify that value strings
12593 are generated and should not be added to table iterated over for
12594 get*ent calls.
12595 * nss/nss_db/db-initgroups.c: New file.
12596
12597 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12598 interface.
12599
12600 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12601 (internal_getgrouplist): Adjust to name change.
12602 Update use_initgroups_entry if this is not the first call.
12603 * nss/databases.def: Add initgroups entry.
12604
12605 * nss/makedb.c (compute_tables): Check result of multiple hash table
12606 sizes to minimize maximum chain length.
12607
12608 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12609
12610 * Versions.def: Add entry for libnss_db.
12611 * shlib-versions: Likewise.
12612 * nss/Makefile: Add rules to build libnss_db.
12613 * nss/Versions: Add libnss_db information. Organize libnss_files
12614 entries better.
12615 * nss/db-Makefile: Add gshadow support. Change rules for the new
12616 makedb progra. Some minor improvements to generate smaller files.
12617 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12618 here from...
12619 * nss/makedb.c: ...here.
12620 Improve database format to be smaller and require less memory at
12621 runtime.
12622 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12623 db anymore.
12624 * nss/nss_db/db-netgrp.c: Likewise.
12625 * nss/nss_db/db-open.c: Likewise.
12626 * nss/nss_files/flies-XXX.x: Adjust comments.
12627 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12628 * nss/nss_files/files-grp.c: Likewise.
12629 * nss/nss_files/files-hosts.c: Likewise.
12630 * nss/nss_files/files-network.c: Likewise.
12631 * nss/nss_files/files-proto.c: Likewise.
12632 * nss/nss_files/files-pwd.c: Likewise.
12633 * nss/nss_files/files-rpc.c: Likewise.
12634 * nss/nss_files/files-service.c: Likewise.
12635 * nss/nss_files/files-sgrp.c: Likewise.
12636 * nss/nss_files/files-spwd.c: Likewise.
12637 * nss/nss_db/db-alias.c: Removed.
12638 * nss/nss_db/dummy-db.h: Removed.
12639
12640 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12641
12642 * nss/makedb.c: Rewritten to not use database library.
12643 * nss/Makefile: Update to build new makedb program.
12644
12645 2011-06-14 Andreas Jaeger <aj@suse.de>
12646
12647 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12648 memset declaration.
12649
12650 2011-06-10 Andreas Schwab <schwab@redhat.com>
12651
12652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12653 tmpbuf.
12654
12655 2011-06-10 Roland McGrath <roland@hack.frob.com>
12656
12657 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12658 * elf/Makefile ($(objpfx)ld.so): Likewise.
12659
12660 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12661 Don't list ld.so twice in dependencies.
12662
12663 * posix/bug-regex31.c: Include <stdlib.h>.
12664
12665 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12666
12667 * nis/nss_compat/compat-spwd.c
12668 (getspent_next_nss_netgr): Remove unused variable.
12669 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12670
12671 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12672 nonmembers" output to use the right array.
12673
12674 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12675
12676 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12677
12678 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12679 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12680 * catgets/gencat.c (read_input_file): Likewise.
12681 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12682
12683 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12684 variable definition inside #if's controlling its use.
12685
12686 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12687
12688 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12689
12690 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12691
12692 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12693 unreachable code.
12694
12695 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12696
12697 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12698 * configure: Regenerated.
12699
12700 * Makerules: Revert last change.
12701 * elf/Makefile: Likewise.
12702
12703 2011-06-09 Roland McGrath <roland@hack.frob.com>
12704
12705 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12706 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12707 (reloc-link): Likewise.
12708
12709 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12710
12711 * elf/Makefile: Add rules to build pldd.
12712 * elf/pldd.c: New file.
12713 * elf/pldd-xx.c: New file.
12714
12715 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12716
12717 * version.h: Update for 2.15 development version.
12718
12719 2011-06-07 David S. Miller <davem@davemloft.net>
12720
12721 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12722 ifuncs.
12723 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12724 elf_machine_lazy_rel): Likewise.
12725 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12726 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12727 elf_machine_lazy_rel): Likewise.
12728 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12729 dl_hwcap via passed in argument.
12730 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12731 Likewise.
12732
12733 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12734
12735 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12736
12737 2011-06-06 Roland McGrath <roland@hack.frob.com>
12738
12739 [BZ #12849]
12740 * manual/fdl-1.1.texi: New file, verbatim from:
12741 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12742 * manual/lgpl-2.1.texi: New file, verbatim from:
12743 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12744 * manual/Makefile (licenses): New variable, list those new file names.
12745 (texis): Use it.
12746 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12747
12748 * manual/fdl.texi: File removed.
12749 * manual/lesser.texi: File removed.
12750 * manual/libc.texinfo (Copying, Documentation License):
12751 Use new @include file names, put @appendix directive before @include.
12752
12753 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12754
12755 [BZ #12841]
12756 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12757 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12758 (mq_open): Add __NTH.
12759
12760 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12761
12762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12763 Assume Intel Core i3/i5/i7 processor if AVX is available.
12764
12765 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12766
12767 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12768 typo.
12769
12770 2011-05-31 Andreas Schwab <schwab@redhat.com>
12771
12772 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12773 memory. Use alloca_account. Fix memory leak when retrying.
12774
12775 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12776
12777 * version.h (RELEASE): Bump for 2.14 release.
12778 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12779
12780 * config.make.in (RANLIB): Remove entry.
12781
12782 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12783
12784 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12785 (libc.pot): Work around missing support for .ksh extension in xgettext.
12786
12787 [BZ #12684]
12788 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12789 if both request failed.
12790 (send_dg): In case of server errors clear resplen or *resplen2.
12791
12792 [BZ #12454]
12793 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12794 when there are multiple maps.
12795 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12796 (_dl_fini): Remove test here.
12797
12798 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12799
12800 2011-05-29 Ulrich Drepper <drepper@gmail.com>
12801
12802 [BZ #12350]
12803 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12804 bit from old_res_options.
12805 (gaih_inet): Likewise.
12806
12807 [BZ #11099]
12808 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12809 as signed.
12810
12811 * resolv/res_init.c (res_setoptions): Make the code more compact.
12812
12813 [BZ #11558]
12814 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12815 set RES_USEVC.
12816
12817 [BZ #11634]
12818 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12819
12820 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12821
12822 [BZ #11781]
12823 * malloc/malloc.h: Declare malloc hook variables as volatile.
12824
12825 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12826 in last patch.
12827
12828 [BZ #11799]
12829 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12830 raise in the comment.
12831 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12832 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12833 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12834
12835 2011-05-28 Ulrich Drepper <drepper@gmail.com>
12836
12837 [BZ #12811]
12838 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12839 grow the buffers more if it already has to be sufficient.
12840 (build_wcs_upper_buffer): Likewise.
12841 * posix/regexec.c (check_matching): Likewise.
12842 (clean_state_log_if_needed): Likewise.
12843 (extend_buffers): Don't enlarge buffers beyond size of the input
12844 buffer.
12845 Patches mostly by Emil Wojak <emil@wojak.eu>.
12846 * posix/bug-regex32.c: New file.
12847 * posix/Makefile (tests): Add bug-regex32.
12848
12849 * locale/findlocale.c (_nl_find_locale): Return right away if
12850 _nl_explode_name failed.
12851 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12852
12853 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12854
12855 * debug/xtrace.sh: Unify messages.
12856 * malloc/memusage.sh: Likewise.
12857
12858 [BZ #12813]
12859 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12860 time symbol from vDSO. Substitute with vsyscall if not available.
12861 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12862 __vdso_time.
12863
12864 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12865 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12866 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12867 Add sendmmsg and internal_sendmmsg.
12868 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12869 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12870 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12871
12872 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12873 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12874 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12875
12876 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12877
12878 [BZ #12813]
12879 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12880 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12881 available.
12882 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12883 __vdso_getcpu.
12884
12885 [BZ #12814]
12886 * iconvdata/Makefile (tests): Add bug-iconv9.
12887 * iconvdata/bug-iconv9.c: New file.
12888
12889 2011-05-27 Andreas Schwab <schwab@redhat.com>
12890
12891 [BZ #12814]
12892 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12893
12894 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12895
12896 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12897 (struct user_regs_struct): Change intcs field back to cs.
12898
12899 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12900
12901 * po/ja.po: Update from translation team.
12902
12903 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12904
12905 [BZ #12795]
12906 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12907 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12908
12909 2011-05-20 Andreas Schwab <schwab@redhat.com>
12910
12911 * stdlib/longlong.h: Update from GCC.
12912
12913 2011-05-23 Andreas Schwab <schwab@redhat.com>
12914
12915 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12916 parameter name.
12917 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12918 Add parameter name.
12919 (__sysconf): Pass it down.
12920
12921 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12922
12923 [BZ #12671]
12924 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12925 some situations.
12926 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12927 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12928 add in in __libc_use_alloca calls. Adjust callers.
12929 (glob): Use malloc in some situations.
12930
12931 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12932 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12933 pltexit.
12934
12935 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12936
12937 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12938 and CLOCK_BOOTTIME_ALARM.
12939
12940 [BZ #12782]
12941 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12942 is returned.
12943
12944 * string/_strerror.c (__strerror_r): Print negative errors as signed
12945 numbers.
12946
12947 [BZ #12777]
12948 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12949 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12950 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12951
12952 * configure.in: Fix typo in redirection and correct removal of test
12953 files in two cases.
12954
12955 [BZ #12788]
12956 * locale/setlocale.c (new_composite_name): Fix test to check for
12957 identical name of all categories.
12958
12959 [BZ #12792]
12960 * libio/filedoalloc.c (local_isatty): New function.
12961 (_IO_file_doallocate): Use local_isatty.
12962 * stdio-common/perror.c (perror): In case a new stream is used
12963 forward the stream error.
12964 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12965 error flag.
12966
12967 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12968
12969 [BZ #11869]
12970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12971 alloca.
12972 * include/alloca.h (extend_alloca_account): Define.
12973
12974 [BZ #11857]
12975 * posix/regex.h: Fix comments with documentation of user-accessible
12976 fields after compilation and describe correct free'ing of pattern
12977 after re_compile_pattern.
12978 Patch by Reuben Thomas <rrt@sc3d.org>.
12979
12980 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12981
12982 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12983 and -mno-altivec to prevent the compiler from using Altivec and/or
12984 VSX instructions when the corresponding registers are not available.
12985
12986 2011-05-19 Andreas Schwab <schwab@redhat.com>
12987
12988 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12989
12990 2011-05-19 Ulrich Drepper <drepper@gmail.com>
12991
12992 * libio/freopen.c (freopen): Use __dup2, not dup2.
12993 * libio/freopen64.c (freopen64): Likewise.
12994
12995 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12996
12997 [BZ #12775]
12998 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12999 * math/Makefile (tests): Add test-powl.
13000 (CFLAGS-test-powl.c): Define.
13001 * math/test-powl.c: New file.
13002
13003 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13004
13005 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13006
13007 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13008
13009 [BZ #11837]
13010 * iconvdata/gb18030.c: Update to GB18020-2005.
13011
13012 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13013
13014 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13015 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13016 Patch by Aharon Robbins <arnold@skeeve.com>.
13017
13018 [BZ #11892]
13019 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13020 on the stack.
13021
13022 [BZ #11895]
13023 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13024 through underflows.
13025
13026 [BZ #12766]
13027 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13028 point to strings before performing equality test for error_one_per_line
13029 mode.
13030
13031 [BZ #11697]
13032 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13033
13034 [BZ #11820]
13035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13036 (struct user_fpregs_struct): Avoid __uint*_t types.
13037
13038 [BZ #6420]
13039 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13040 symbol info. Use it instead of calling _dl_addr locally.
13041 (lock_and_info): New function.
13042 (tr_freehook): Call lock_and_info and pass symbol info as additional
13043 parameter to tr_where.
13044 (tr_mallochook): Likewise.
13045 (tr_reallochook): Likewise.
13046 (tr_memalignhook): Likewise.
13047
13048 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13049 used and couldn't be at all thread-safe.
13050
13051 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13052
13053 * libio/freopen.c (freopen): Don't close old file descriptor
13054 before the new one is opened. Instead dup the new file descriptor
13055 to the old one after the new stream is created.
13056 * libio/freopen64.c (freopen64): Likewise.
13057 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13058 * libio/fileops.c (_IO_new_file_close_it): Handle new
13059 _IO_FLAGS2_NOCLOSE flag.
13060 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13061 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13062 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13063 _IO_FLAGS2_NOCLOSE flag.
13064 * include/unistd.h: Add hidden_proto for dup3.
13065 Define __have_dup3.
13066 * io/dup3.c: Define hidden symbol.
13067 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13068
13069 [BZ #7101]
13070 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13071 when an incomplete long option is used.
13072 * posix/tst-getopt_long1.c: New file.
13073 * posix/Makefile (tests): Add tst-getopt_long1.
13074
13075 [BZ #10138]
13076 * scripts/config.guess: Update from autoconf-2.68.
13077 * scripts/config.sub: Likewise.
13078
13079 [BZ #10157]
13080 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13081 tests into ...
13082 (has_cpuclock): ...this. New function.
13083 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13084 macro here based on has_cpuclock code.
13085
13086 [BZ #10149]
13087 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13088 First byte (not low byte) is now always NUL.
13089 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13090
13091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13092 Use non-cancelable interfaces.
13093
13094 [BZ #9809]
13095 * locale/iso-639.def: Add entry for Sorani.
13096
13097 [BZ #11901]
13098 * include/stdlib.h: Move include protection to the right place.
13099 Define abort_msg_s. Declare __abort_msg with it.
13100 * stdlib/abort.c (__abort_msg): Adjust type.
13101 * assert/assert.c (__assert_fail_base): New function. Majority
13102 of code from __assert_fail. Allocate memory for __abort_msg with
13103 mmap.
13104 (__assert_fail): Now call __assert_fail_base.
13105 * assert/assert-perr.c: Remove bulk of implementation. Use
13106 __assert_fail_base.
13107 * include/assert.hL Declare __assert_fail_base.
13108 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13109 mmap.
13110 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13111
13112 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13113
13114 [BZ #11952]
13115 [BZ #12453]
13116 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13117 until all modules are registered in the DTV.
13118 * elf/Makefile: Add rules to build and run tst-tls19.
13119 * elf/tst-tls19.c: New file.
13120 * elf/tst-tls19mod1.c: New file.
13121 * elf/tst-tls19mod2.c: New file.
13122 * elf/tst-tls19mod3.c: New file.
13123 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13124
13125 [BZ #12083]
13126 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13127 correctly.
13128
13129 [BZ #12601]
13130 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13131 two-byte sequence errors.
13132 * iconvdata/Makefile (tests): Add bug-iconv8.
13133 * iconvdata/bug-iconv8.c: New file.
13134
13135 [BZ #12626]
13136 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13137 buf2 definition.
13138
13139 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13140
13141 [BZ #12432]
13142 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13143 (dummy_getcfa): New function.
13144 (init): Get _Unwind_GetCFA address, use dummy if not found.
13145 (backtrace_helper): In recursion check, also check whether CFA changes.
13146 (__backtrace): Completely initialize arg.
13147
13148 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13149 storing incomplete byte sequence in state object. Avoid testing for
13150 guaranteed too small input if we know there is enough data available.
13151
13152 2011-05-11 Andreas Schwab <schwab@redhat.com>
13153
13154 * Makeconfig (+link-pie): Indent.
13155 * Rules (binaries-pie): Define if $(have-fpie) and
13156 $(build-shared).
13157 (binaries-shared): Also filter out $(binaries-pie).
13158 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13159 * nscd/Makefile (others-pie): Add nscd.
13160 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13161 ($(objpfx)nscd): Remove command override.
13162 * login/Makefile (others-pie): Add pt_chown.
13163 ($(objpfx)pt_chown): Remove command override.
13164 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13165 remove command overrides.
13166
13167 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13168
13169 * libio/tst_putwc.c: Fix error messages.
13170
13171 [BZ #12724]
13172 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13173 currently writing and seek to current position when not.
13174 * libio/Makefile (tests): Add bug-fclose1.
13175 * libio/bug-fclose1.c: New file.
13176
13177 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13178
13179 [BZ #12511]
13180 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13181 don't set DF_1_NODELETE here.
13182 (do_lookup_x): When entering new entry test for copy relocation
13183 and if necessary set DF_1_NODELETE flag.
13184 * elf/tst-unique4.cc: New file.
13185 * elf/tst-unique4.h: New file.
13186 * elf/tst-unique4lib.cc: New file.
13187 * elf/Makefile: Add rules to build and run tst-unique4.
13188 Patch by Piotr Bury <pbury@goahead.com>.
13189
13190 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13191
13192 [BZ #12052]
13193 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13194
13195 [BZ #12625]
13196 * misc/mntent_r.c (addmntent): Flush the stream after the output
13197
13198 [BZ #12393]
13199 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13200 (is_trusted_path_normalize): Skip initial colon. Append slash
13201 to empty buffer. Duplicate is_trusted_path code but allow
13202 constructed patch to be prefix.
13203 (is_dst): Allow $ORIGIN followed by /.
13204 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13205 Correct testing of result of is_trusted_path_normalize
13206 (decompose_rpath): Fix warning.
13207
13208 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13209
13210 [BZ #11257]
13211 * grp/initgroups.c (internal_getgrouplist): When we found the service
13212 list through the initgroups entry in nsswitch.conf do not always
13213 continue on a successful lookup. Don't always use the
13214 __nss_group_database value if it is set.
13215 * nss/nsswitch.conf (initgroups): Change action for successful db
13216 lookup to continue for compatibility.
13217
13218 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13219
13220 [BZ #11532]
13221 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13222 and CP774 modules.
13223 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13224 and CP774 modules.
13225 * iconvdata/tst-tables.sh: Likewise.
13226 * iconvdata/cp770.c: New file.
13227 * iconvdata/cp771.c: New file.
13228 * iconvdata/cp772.c: New file.
13229 * iconvdata/cp773.c: New file.
13230 * iconvdata/cp774.c: New file.
13231 * iconvdata/testdata/CP770: New file.
13232 * iconvdata/testdata/CP770..UTF8: New file.
13233 * iconvdata/testdata/CP771: New file.
13234 * iconvdata/testdata/CP771..UTF8: New file.
13235 * iconvdata/testdata/CP772: New file.
13236 * iconvdata/testdata/CP772..UTF8: New file.
13237 * iconvdata/testdata/CP773: New file.
13238 * iconvdata/testdata/CP773..UTF8: New file.
13239 * iconvdata/testdata/CP774: New file.
13240 * iconvdata/testdata/CP774..UTF8: New file.
13241
13242 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13243 END CHARMAP line.
13244 * iconvdata/gen-8bit-gap.sh: Likewise.
13245 * iconvdata/gen-8bit.sh: Likewise.
13246
13247 * locale/iso-639.def: Add ary entry.
13248
13249 [BZ #11258]
13250 * locale/C-translit.h.in: Add U20A1 transliteration.
13251
13252 [BZ #12178]
13253 * locale/iso-639.def: Add wae entry.
13254 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13255
13256 [BZ #12545]
13257 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13258 for n.
13259
13260 [BZ #12711]
13261 * locale/C-translit.h.in: Add entry for U20B9.
13262 Patch by pravin.d.s@gmail.com.
13263
13264 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13265
13266 [BZ #12713]
13267 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13268 ENAMETOOLONG use generic getcwd.
13269 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13270 in rtld. Use *stat64.
13271 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13272 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13273 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13274 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13275 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13276 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13277 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13278 __fstatat64 macros.
13279 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13280 * dirent/rewinddir.c: Add libc_hidden_def.
13281 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13282 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13283
13284 * include/dirent.h (__alloc_dir): Add flags parameter.
13285 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13286 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13287 __alloc_dir.
13288 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13289 from fdopendir if O_CLOEXEC is already set.
13290
13291 2011-03-15 Alan Modra <amodra@gmail.com>
13292
13293 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13294 l_tls_firstbyte_offset non-zero. Save padding offset in
13295 l_tls_firstbyte_offset for later use.
13296 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13297 freeing static tls block.
13298
13299 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13300
13301 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13302 where #ifdef was intended. The intent is to prevent ARG_MAX from
13303 being defined by the kernel headers.
13304
13305 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13306
13307 [BZ #12734]
13308 * resolv/resolv.h: Define RES_NOTLDQUERY.
13309 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13310 no-tld-query and set RES_NOTLDQUERY.
13311 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13312 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13313 modern BIND to search name as TLD unless forbidden.
13314
13315 2011-05-07 Petr Baudis <pasky@suse.cz>
13316 Ulrich Drepper <drepper@gmail.com>
13317
13318 [BZ #12393]
13319 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13320 (is_trusted_path): ...to here.
13321 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13322 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13323 using is_trusted_path_normalize() in setuid scripts.
13324
13325 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13326
13327 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13328 __BEGIN/__END_DECLS.
13329
13330 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13331
13332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13333 NSS_STATUS_NOTFOUND if no record was found.
13334
13335 2011-05-05 Andreas Schwab <schwab@redhat.com>
13336
13337 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13338 (headers-not-in-tirpc): Remove rpc/netdb.h
13339 * resolv/netdb.h: Revert last change.
13340
13341 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13342
13343 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13344 circular dependency between libgcc.a and libc.a.
13345
13346 2011-05-05 Andreas Schwab <schwab@redhat.com>
13347
13348 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13349 * nis/Makefile: Don't install rpcsvc/*.
13350 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13351 instead of <rpc/types.h>.
13352 (MAXHOSTNAMELEN): Define.
13353
13354 2011-05-03 Andreas Schwab <schwab@redhat.com>
13355
13356 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13357
13358 2011-04-28 Maciej Babinski <mbabinski@google.com>
13359
13360 [BZ #12714]
13361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13362 gethostbyname4_r when IPv6 results are possible.
13363
13364 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13365
13366 [BZ #12723]
13367 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13368 _PC_PIPE_BUF handling.
13369
13370 2011-04-30 Bruno Haible <bruno@clisp.org>
13371
13372 [BZ #12717]
13373 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13374 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13375 to 'int'.
13376 * inet/getnameinfo.c (getnameinfo): Likewise.
13377
13378 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13379
13380 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13381 to groups setting in database lookup.
13382 * nss/nsswitch.conf: Add initgroups entry.
13383
13384 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13385
13386 [BZ #12685]
13387 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13388 mode string.
13389 Patch by Eric Blake <eblake@redhat.com>.
13390
13391 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13392
13393 * sunrpc/Makefile (need-export-routines): Add svc_run.
13394 (routines): Remove svc_run.
13395 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13396 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13397 * sunrpc/svc_run.c (svc_run): Likewise.
13398 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13399
13400 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13401
13402 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13403 problem in reallocation in last patch.
13404
13405 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13406
13407 * sunrpc/Makefile: Move inclusion of Rules.
13408
13409 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13410
13411 * nss/nss_files/files-initgroups.c: New file.
13412 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13413 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13414 _nss_files_initgroups_dyn.
13415
13416 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13417
13418 * elf/elf.h (R_ARM_IRELATIVE): Define.
13419
13420 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13421
13422 * po/ru.po: Update from translation team.
13423
13424 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13425
13426 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13427 dependencies.
13428
13429 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13430
13431 [BZ #12653]
13432 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13433 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13435 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13436 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13437
13438 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13439
13440 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13441 differing bytes.
13442 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13443 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13444 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13445
13446 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13447
13448 [BZ #12420]
13449 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13450 storing it.
13451 * stdlib/bug-getcontext.c: New file.
13452 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13453
13454 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13455
13456 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13457 instructions into .machine "z9-109".
13458 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13459 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13460
13461 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13462
13463 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13464 between environment variables and auxiliary vector.
13465
13466 2011-04-16 Ulrich Drepper <drepper@gmail.com>
13467
13468 * Makefile: Add rules to build linkobj/libc.so.
13469 * include/libc-symbols.h: Define libc_hidden_nolink.
13470 * include/rpc/auth.h: Mark functions which are to be hidden.
13471 * include/rpc/auth_des.h: Likewise.
13472 * include/rpc/auth_unix.h: Likewise.
13473 * include/rpc/clnt.h: Likewise.
13474 * include/rpc/des_crypt.h: Likewise.
13475 * include/rpc/key_prot.h: Likewise.
13476 * include/rpc/pmap_clnt.h: Likewise.
13477 * include/rpc/pmap_prot.h: Likewise.
13478 * include/rpc/pmap_rmt.h: Likewise.
13479 * include/rpc/rpc_msg.h: Likewise.
13480 * include/rpc/svc.h: Likewise.
13481 * include/rpc/svc_auth.h: Likewise.
13482 * include/rpc/xdr.h: Likewise.
13483 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13484 * nss/Makefile: Likewise.
13485 * sunrpc/Makefile: Don't install headers. Build library with normal
13486 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13487 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13488 for the compat linking library. Remove use of INTDEF/INTUSE.
13489 * sunrpc/auth_none.c: Likewise.
13490 * sunrpc/auth_unix.c: Likewise.
13491 * sunrpc/authdes_prot.c: Likewise.
13492 * sunrpc/authuxprot.c: Likewise.
13493 * sunrpc/clnt_gen.c: Likewise.
13494 * sunrpc/clnt_perr.c: Likewise.
13495 * sunrpc/clnt_raw.c: Likewise.
13496 * sunrpc/clnt_simp.c: Likewise.
13497 * sunrpc/clnt_tcp.c: Likewise.
13498 * sunrpc/clnt_udp.c: Likewise.
13499 * sunrpc/clnt_unix.c: Likewise.
13500 * sunrpc/des_crypt.c: Likewise.
13501 * sunrpc/des_soft.c: Likewise.
13502 * sunrpc/get_myaddr.c: Likewise.
13503 * sunrpc/key_call.c: Likewise.
13504 * sunrpc/key_prot.c: Likewise.
13505 * sunrpc/netname.c: Likewise.
13506 * sunrpc/pm_getmaps.c: Likewise.
13507 * sunrpc/pm_getport.c: Likewise.
13508 * sunrpc/pmap_clnt.c: Likewise.
13509 * sunrpc/pmap_prot.c: Likewise.
13510 * sunrpc/pmap_prot2.c: Likewise.
13511 * sunrpc/pmap_rmt.c: Likewise.
13512 * sunrpc/publickey.c: Likewise.
13513 * sunrpc/rpc_cmsg.c: Likewise.
13514 * sunrpc/rpc_common.c: Likewise.
13515 * sunrpc/rpc_dtable.c: Likewise.
13516 * sunrpc/rpc_prot.c: Likewise.
13517 * sunrpc/rpc_thread.c: Likewise.
13518 * sunrpc/rtime.c: Likewise.
13519 * sunrpc/svc.c: Likewise.
13520 * sunrpc/svc_auth.c: Likewise.
13521 * sunrpc/svc_authux.c: Likewise.
13522 * sunrpc/svc_raw.c: Likewise.
13523 * sunrpc/svc_run.c: Likewise.
13524 * sunrpc/svc_simple.c: Likewise.
13525 * sunrpc/svc_tcp.c: Likewise.
13526 * sunrpc/svc_udp.c: Likewise.
13527 * sunrpc/svc_unix.c: Likewise.
13528 * sunrpc/svcauth_des.c: Likewise.
13529 * sunrpc/xcrypt.c: Likewise.
13530 * sunrpc/xdr.c: Likewise.
13531 * sunrpc/xdr_array.c: Likewise.
13532 * sunrpc/xdr_float.c: Likewise.
13533 * sunrpc/xdr_intXX_t.c: Likewise.
13534 * sunrpc/xdr_mem.c: Likewise.
13535 * sunrpc/xdr_rec.c: Likewise.
13536 * sunrpc/xdr_ref.c: Likewise.
13537 * sunrpc/xdr_sizeof.c: Likewise.
13538 * sunrpc/xdr_stdio.c: Likewise.
13539
13540 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13541
13542 [BZ #12650]
13543 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13544 * sysdeps/ia64/dl-tls.h: Likewise.
13545 * sysdeps/powerpc/dl-tls.h: Likewise.
13546 * sysdeps/s390/dl-tls.h: Likewise.
13547 * sysdeps/sh/dl-tls.h: Likewise.
13548 * sysdeps/sparc/dl-tls.h: Likewise.
13549 * sysdeps/x86_64/dl-tls.h: Likewise.
13550 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13551
13552 2011-03-14 Andreas Schwab <schwab@redhat.com>
13553
13554 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13555 rpath element also skip the following colon.
13556 (expand_dynamic_string_token): Add is_path parameter and pass
13557 down to DL_DST_REQUIRED and _dl_dst_substitute.
13558 (decompose_rpath): Call expand_dynamic_string_token with
13559 non-zero is_path. Ignore empty rpaths.
13560 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13561 with zero is_path.
13562
13563 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13564
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13566 Make cancelable.
13567
13568 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13569
13570 [BZ #12655]
13571 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13572 Patch by Filipe David Manana <fdmanana@apache.org>.
13573
13574 2011-04-07 Andreas Schwab <schwab@redhat.com>
13575
13576 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13577 Maintain aligned stack.
13578 (CHECK_RSP): Remove unused macro.
13579
13580 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13581
13582 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13583 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13584
13585 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13586
13587 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13588
13589 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13590
13591 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13592
13593 [BZ #12518]
13594 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13595 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13596 * sysdeps/x86_64/memmove.c: New file.
13597 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13598 (memcpy): Renamed to ...
13599 (__new_memcpy): This.
13600 (memcpy): Provide GLIBC_2_14 memcpy.
13601 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13602 (memcpy): Provide GLIBC_2_2_5 memcpy.
13603
13604 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13605
13606 [BZ #12631]
13607 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13608
13609 2011-03-30 Andreas Schwab <schwab@redhat.com>
13610
13611 * misc/syncfs.c: New file.
13612 * misc/Makefile (routines): Add syncfs.
13613 * posix/unistd.h: Declare syncfs.
13614 * sysdeps/unix/syscalls.list: Add syncfs.
13615
13616 2011-04-01 Andreas Schwab <schwab@redhat.com>
13617
13618 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13619 open_by_handle_at.
13620 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13621 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13623 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13625 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13627
13628 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13629
13630 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13631 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13632 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13637
13638 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13639 sync_file_range.c with -fexceptions.
13640 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13641 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13642 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13643 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13644 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13645 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13646 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13647 sync_file_range as cancellation point
13648 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13649 now a wrapper around __call_sync_file_range with cancellation handling.
13650 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13651 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13652 function name to __call_sync_file_range.
13653 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13654 Add call_sync_file_range.
13655
13656 2011-04-01 Andreas Schwab <schwab@redhat.com>
13657
13658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13659 bits/timex.h.
13660
13661 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13662
13663 * iconv/iconv.h: Fix typo in comment.
13664 * io/fcntl.h: Likewise.
13665 * libio/stdio.h: Likewise.
13666 * posix/spawn.h: Likewise.
13667 * posix/unistd.h: Likewise.
13668 * stdlib/stdlib.h: Likewise.
13669 * time/time.h: Likewise.
13670 * wcsmbs/wchar.h: Likewise.
13671
13672 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13673 open_by_handle): Add.
13674 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13675 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13676 Augment a few comments.
13677 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13679 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13681 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13682 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13683 open_by_handle.
13684
13685 * io/fcntl.h (AT_EMPTY_PATH): Define.
13686
13687 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13688
13689 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13690 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13691 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13692 to...
13693 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13694 * Versions.def: Add GLIBC_2.14.
13695 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13696 Export.
13697
13698 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13699
13700 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13701 round counter.
13702 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13703
13704 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13705
13706 [BZ #12597]
13707 * string/test-strncmp.c (do_page_test): New function.
13708 (check2): Likewise.
13709 (test_main): Call check2.
13710 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13711
13712 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13713
13714 [BZ #12587]
13715 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13716 Handle cache information in CPU leaf 4.
13717 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13718
13719 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13720
13721 [BZ #12583]
13722 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13723 character representation.
13724 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13725
13726 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13727
13728 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13729 END(__isnan) to END(__isnanf) to match function entry point/label
13730 EALIGN(__isnanf,...).
13731
13732 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13733
13734 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13735
13736 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13737
13738 [BZ #12510]
13739 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13740 copy from the symbol referenced in the relocation to initialize the
13741 used variable.
13742 Patch by Piotr Bury <pbury@goahead.com>.
13743 * elf/Makefile: Add rules to build and tst-unique3.
13744 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13745 * elf/tst-unique3.cc: New file.
13746 * elf/tst-unique3.h: New file.
13747 * elf/tst-unique3lib.cc: New file.
13748 * elf/tst-unique3lib2.cc: New file.
13749
13750 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13751
13752 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13753
13754 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13755 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13756 to _start.
13757
13758 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13759
13760 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13761 to-be-loaded object along a path to loader is ld.so.
13762
13763 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13764 Ulrich Drepper <drepper@gmail.com>
13765
13766 * sysdeps/x86_64/memset.S: After aligning destination, code
13767 branches to different locations depending on the value of
13768 misalignment, when multiarch is enabled. Fix this.
13769
13770 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13771
13772 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13773 Set _x86_64_preferred_memory_instruction for AMD processsors.
13774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13775 Set bit_Prefer_SSE_for_memop for AMD processors.
13776
13777 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13778
13779 * libio/fmemopen.c (fmemopen): Optimize a bit.
13780
13781 2011-03-03 Andreas Schwab <schwab@redhat.com>
13782
13783 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13784
13785 2011-03-03 Roland McGrath <roland@redhat.com>
13786
13787 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13788
13789 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13790
13791 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13792 __bzero_ultra1 instead of __memset_ultra1.
13793
13794 2011-02-23 Andreas Schwab <schwab@redhat.com>
13795 Ulrich Drepper <drepper@gmail.com>
13796
13797 [BZ #12509]
13798 * include/link.h (struct link_map): Add l_orig_initfini.
13799 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13800 returning unsuccessfully.
13801 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13802 close of a file loaded at startup, restore the original l_initfini
13803 list.
13804 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13805 list, store the pointer.
13806 * elf/Makefile ($(objpfx)noload-mem): New rule.
13807 (noload-ENV): Define.
13808 (tests): Add $(objpfx)noload-mem.
13809 * elf/noload.c: Include <memcheck.h>.
13810 (main): Call mtrace. Close all opened handles.
13811
13812 2011-02-17 Andreas Schwab <schwab@redhat.com>
13813
13814 [BZ #12454]
13815 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13816 dependencies are missing.
13817
13818 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13819
13820 Fix __if_freereq crash: Unlike the generic version which uses free,
13821 Hurd needs munmap.
13822 * sysdeps/mach/hurd/ifreq.h: New file.
13823
13824 2011-01-27 Petr Baudis <pasky@suse.cz>
13825 Ulrich Drepper <drepper@gmail.com>
13826
13827 [BZ 12445]#
13828 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13829 to extend_alloca().
13830 * stdio-common/bug23.c: New file.
13831 * stdio-common/Makefile (tests): Add bug23.
13832
13833 2010-09-28 Andreas Schwab <schwab@redhat.com>
13834 Ulrich Drepper <drepper@gmail.com>
13835
13836 [BZ #12489]
13837 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13838 before performing relro protection. At old place add assertion
13839 to make sure nothing changed.
13840
13841 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13842 Glauber de Oliveira Costa <glommer@gmail.com>
13843
13844 * elf/elf.h: Add new ARM TLS relocs.
13845
13846 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13847
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13849 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13850 cast from r3.
13851 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13852 'tests' variable.
13853 * sysdeps/wordsize-64/tst-writev.c: New file.
13854
13855 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13856
13857 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13858 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13859 insns in _dl_start to prevent a TOC reference before relocs are
13860 resolved.
13861
13862 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13863
13864 [BZ #12469]
13865 * Makeconfig: Remove RANLIB definition.
13866 * Makerules: Don't use RANLIB.
13867 * aclocal.m4: Remove ranlib test.
13868 * configure.in: No need to check for ranlib.
13869 * elf/rtld-Rules: Don't use RANLIB.
13870
13871 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13872
13873 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13874 protection macro.
13875 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13876 inclusion protection macro.
13877
13878 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13879 SIGRTMIN and SIGRTMAX and print information in that case only when
13880 SIGRTMIN is defined.
13881
13882 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13883
13884 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13885 arginfo fn returning -1.
13886
13887 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13888 and thousands string is zero terminated.
13889
13890 2011-02-03 Andreas Schwab <schwab@redhat.com>
13891
13892 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13893 sysdeps/unix/sysv/linux/bits/socket.h.
13894
13895 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13896
13897 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13898 (__CPU_COUNT): Remove old macros.
13899 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13900 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13901 (__CPU_ALLOC, __CPU_FREE): Add macros.
13902 (__sched_cpualloc, __sched_cpufree): Add declarations.
13903
13904 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13905
13906 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13907 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13908 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13909 (readdhstai): Return value of addhstaiX call.
13910 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13911 (addgrbyX): Return value returned by cache_addgr.
13912 (readdgrbyname): Return value returned by addgrbyX.
13913 (readdgrbygid): Likewise.
13914 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13915 (addpwbyX): Return value returned by cache_addpw.
13916 (readdpwbyname): Return value returned by addhstbyX.
13917 (readdpwbyuid): Likewise.
13918 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13919 (addservbyX): Return value returned by cache_addserv.
13920 (readdservbyname): Return value returned by addservbyX:
13921 (readdservbyport): Likewise.
13922 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13923 (addhstbyX): Return value returned by cache_addhst.
13924 (readdhstbyname): Return value returned by addhstbyX.
13925 (readdhstbyaddr): Likewise.
13926 (readdhstbynamev6): Likewise.
13927 (readdhstbyaddrv6): Likewise.
13928 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13929 (readdinitgroups): Return value returned by addinitgroupsX.
13930 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13931 (prune_cache): Keep track of timeout value of re-added entries.
13932 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13933 * nscd/nscd.h: Adjust prototypes of readd* functions.
13934
13935 2011-02-04 Roland McGrath <roland@redhat.com>
13936
13937 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13938 (nis_stats): Likewise.
13939 * nis/nis_modify.c (nis_modify): Likewise.
13940 * nis/nis_remove.c (nis_remove): Likewise.
13941 * nis/nis_add.c (nis_add): Likewise.
13942
13943 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13944
13945 * posix/fnmatch_loop.c: Add some consts.
13946
13947 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13948
13949 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13950
13951 [BZ #12460]
13952 * config.make.in (config-cflags-novzeroupper): Define.
13953 * configure.in: Substitute libc_cv_cc_novzeroupper.
13954 * elf/Makefile (AVX-CFLAGS): Define.
13955 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13956 (CFLAGS-tst-auditmod4a.c): Likewise.
13957 (CFLAGS-tst-auditmod4b.c): Likewise.
13958 (CFLAGS-tst-auditmod6b.c): Likewise.
13959 (CFLAGS-tst-auditmod6c.c): Likewise.
13960 (CFLAGS-tst-auditmod7b.c): Likewise.
13961 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13962
13963 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13964
13965 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13966 function to the callback.
13967 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13968
13969 2011-02-02 Andreas Schwab <schwab@redhat.com>
13970
13971 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13972 of errno.
13973
13974 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13975
13976 [BZ #11724]
13977 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13978 of constructors.
13979 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13980 of destructors.
13981 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13982
13983 [BZ #11724]
13984 * elf/Makefile: Add rules to build and run new test.
13985 * elf/tst-initorder.c: New file.
13986 * elf/tst-initorder.exp: New file.
13987 * elf/tst-initordera1.c: New file.
13988 * elf/tst-initordera2.c: New file.
13989 * elf/tst-initordera3.c: New file.
13990 * elf/tst-initordera4.c: New file.
13991 * elf/tst-initorderb1.c: New file.
13992 * elf/tst-initorderb2.c: New file.
13993 * elf/tst-order-a1.c: New file.
13994 * elf/tst-order-a2.c: New file.
13995 * elf/tst-order-a3.c: New file.
13996 * elf/tst-order-a4.c: New file.
13997 * elf/tst-order-b1.c: New file.
13998 * elf/tst-order-b2.c: New file.
13999 * elf/tst-order-main.c: New file.
14000 New test case by George Gensure <werkt0@gmail.com>.
14001
14002 2010-10-01 Andreas Schwab <schwab@redhat.com>
14003
14004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14005 decoding ACE if AI_CANONIDN.
14006
14007 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14008
14009 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14010
14011 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14012
14013 * version.h (RELEASE): Bump for 2.13 release.
14014 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14015
14016 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14017
14018 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14019 MADV_NOHUGEPAGE.
14020 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14021 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14022 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14023 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14024 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14025 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14026
14027 * posix/getconf.c: Update copyright year.
14028 * catgets/gencat.c: Likewise.
14029 * csu/version.c: Likewise.
14030 * debug/catchsegv.sh: Likewise.
14031 * debug/xtrace.sh: Likewise.
14032 * elf/ldconfig.c: Likewise.
14033 * elf/ldd.bash.in: Likewise.
14034 * elf/sprof.c (print_version): Likewise.
14035 * iconv/iconv_prog.c: Likewise.
14036 * iconv/iconvconfig.c: Likewise.
14037 * locale/programs/locale.c: Likewise.
14038 * locale/programs/localedef.c: Likewise.
14039 * malloc/memusage.sh: Likewise.
14040 * malloc/mtrace.pl: Likewise.
14041 * nscd/nscd.c (print_version): Likewise.
14042 * nss/getent.c: Likewise.
14043
14044 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14045 PF_CAIF, and PF_ALG.
14046 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14047
14048 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14049
14050 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14051 (modules-names): Use them.
14052 (ifunc-test-modules, ifunc-pie-tests): Define.
14053 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14054 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14055 (test-extras): Likewise.
14056 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14057 $(compile-command.c).
14058 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14059 (all-built-dso): Define.
14060 (check-textrel.out, check-execstack.out): Depend on it.
14061
14062 * configure.in: Don't override --enable-multi-arch.
14063
14064 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14065
14066 [BZ #6812]
14067 * nscd/hstcache.c (tryagain): Define.
14068 (cache_addhst): Return tryagain not notfound for temporary errors.
14069 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14070 failed.
14071
14072 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14073
14074 [BZ #10563]
14075 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14076 to make the syscall.
14077 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14078
14079 [BZ #12378]
14080 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14081 and fall back to matching as normal character if the string ends before
14082 the matching ']' is found. This is what POSIX requires.
14083 * posix/testfnm.c: Adjust test result.
14084 * posix/globtest.sh: Adjust test result. Add new test.
14085 * posix/tst-fnmatch.input: Likewise.
14086 * posix/tst-fnmatch2.c: Add new test.
14087
14088 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14089
14090 * elf/Makefile (check-execstack): Revert last change. Depend on
14091 check-execstack.h.
14092 (check-execstack.h): New target.
14093 (generated): Add check-execstack.h.
14094 * elf/check-execstack.c: Include "check-execstack.h".
14095 (main): Revert last change.
14096 (handle_file): Return zero if GNU_STACK is absent and
14097 DEFAULT_STACK_PERMS doesn't include PF_X.
14098
14099 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14100
14101 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14102 in child fails because the descriptor is already closed.
14103 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14104 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14105 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14106
14107 [BZ #12397]
14108 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14109 syscall.
14110
14111 [BZ #10484]
14112 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14113 temporary buffer used to handle multi lookups locally.
14114 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14115
14116 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14117
14118 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14119 loader is ld.so.
14120
14121 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14122
14123 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14124 alignment for SSE2.
14125
14126 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14127
14128 [BZ #12394]
14129 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14130 characters. When rounding increased number of integer digits recompute
14131 number of groups.
14132 * stdio-common/tst-grouping.c: New file.
14133 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14134
14135 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14136
14137 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14138 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14139
14140 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14141 void.
14142 * bits/select.h: Likewise.
14143
14144 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14145
14146 * po/ja.po: Update from translation team.
14147
14148 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14149
14150 [BZ #11155]
14151 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14152 implementation just like for lxstat, fxstatat, et al.
14153
14154 2010-12-27 Jim Meyering <meyering@redhat.com>
14155
14156 [BZ #12348]
14157 * posix/regexec.c (build_trtable): Return failure indication upon
14158 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14159
14160 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14161
14162 [BZ #12201]
14163 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14164 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14165 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14166 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14167
14168 [BZ #12207]
14169 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14170
14171 [BZ #12204]
14172 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14173 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14174
14175 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14176
14177 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14178 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14179 script has SORT_BY_INIT_PRIORITY.
14180 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14181 NO_CTORS_DTORS_SECTIONS is defined.
14182 * elf/soinit.c: Likewise.
14183 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14184 NO_CTORS_DTORS_SECTIONS is defined.
14185 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14186 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14187 * sysdeps/sh/init-first.c: Likewise.
14188 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14189
14190 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14191
14192 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14193 always use the slow path.
14194
14195 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14196
14197 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14198 similar rule which adds the sysdep directories to the header search in
14199 order to pick up the correct platform stackinfo.h.
14200 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14201 perform test if it is, otherwise return successfully without testing.
14202 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14203 DEFAULT_STACK_PERMS define in stackinfo.h.
14204 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14205 defined in stackinfo.h.
14206 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14207 DEFAULT_STACK_PERMS defined in stackinfo.h.
14208 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14209 * sysdeps/ia64/stackinfo.h: Likewise.
14210 * sysdeps/s390/stackinfo.h: Likewise.
14211 * sysdeps/sh/stackinfo.h: Likewise.
14212 * sysdeps/sparc/stackinfo.h: Likewise.
14213 * sysdeps/x86_64/stackinfo.h: Likewise.
14214 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14215 PF_X for powerpc64. Retain PF_X for powerpc32.
14216
14217 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14218
14219 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14220 accurately.
14221 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14222 GETDENTS_64BIT_ALIGNED.
14223
14224 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14225
14226 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14227
14228 2010-12-10 Andreas Schwab <schwab@redhat.com>
14229
14230 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14231 _GNU_SOURCE.
14232
14233 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14234 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14235 Remove __restrict.
14236 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14237 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14238
14239 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14240
14241 [BZ #11655]
14242 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14243 are initialized.
14244
14245 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14246
14247 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14248
14249 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14250
14251 * po/it.po: Update from translation team.
14252
14253 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14254
14255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14256 unused codes.
14257
14258 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14259
14260 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14261
14262 2010-11-24 Andreas Schwab <schwab@redhat.com>
14263
14264 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14265 specially.
14266 (gaih_getanswer_slice): Likewise.
14267
14268 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14269
14270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14271
14272 2010-05-31 Petr Baudis <pasky@suse.cz>
14273
14274 [BZ #11149]
14275 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14276 silently even in the chroot mode.
14277
14278 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14279
14280 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14281 last patch a bit. Pretty printing
14282
14283 2010-05-31 Petr Baudis <pasky@suse.cz>
14284
14285 [BZ #10085]
14286 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14287 initialization of skip_initgroups_dyn.
14288
14289 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14290
14291 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14292 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14293
14294 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14295
14296 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14297
14298 2010-11-11 Andreas Schwab <schwab@redhat.com>
14299
14300 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14301 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14302 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14303 ($(objpfx)tst-fnmatch-mem): New rule.
14304 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14305 * posix/tst-fnmatch.c (main): Call mtrace.
14306
14307 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14308
14309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14310 Support Intel processor model 6 and model 0x2c.
14311
14312 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14313
14314 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14315 signed comparison.
14316
14317 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14318
14319 [BZ #12205]
14320 * string/test-strncasecmp.c (check_result): New function.
14321 (do_one_test): Use it.
14322 (check1): New function.
14323 (test_main): Use it.
14324 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14325 Support strcasecmp and strncasecmp.
14326
14327 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14328
14329 [BZ #12194]
14330 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14331 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14332
14333 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14334
14335 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14336 IFUNC support.
14337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14338 memset-x86-64.
14339 * sysdeps/x86_64/multiarch/bzero.S: New file.
14340 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14341 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14342 * sysdeps/x86_64/multiarch/memset.S: New file.
14343 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14345 Set bit_Prefer_SSE_for_memop for Intel processors.
14346 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14347 Define.
14348 (index_Prefer_SSE_for_memop): Define.
14349 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14350
14351 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14352
14353 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14354 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14355
14356 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14357
14358 [BZ #12191]
14359 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14360 (__x86_64_raw_data_cache_size_half): Likewise.
14361 (__x86_64_raw_shared_cache_size): Likewise.
14362 (__x86_64_raw_shared_cache_size_half): Likewise.
14363
14364 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14365 (__x86_64_raw_data_cache_size_half): Likewise.
14366 (__x86_64_raw_shared_cache_size): Likewise.
14367 (__x86_64_raw_shared_cache_size_half): Likewise.
14368 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14369 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14370 and __x86_64_raw_shared_cache_size_half. Round
14371 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14372 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14373 to multiple of 256 bytes.
14374
14375 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14376
14377 [BZ #12167]
14378 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14379 of inacessible symlinks. Verify result of symlink before returning it.
14380 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14381 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14382
14383 2010-10-28 Erich Ritz <erichritz@gmail.com>
14384
14385 * math/math.h (isinf): Fix typo in comment.
14386
14387 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14388
14389 * po/da.po: Update from translation team.
14390
14391 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14392
14393 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14394 is added to the list.
14395
14396 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14397 Ulrich Drepper <drepper@gmail.com>
14398
14399 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14400 the global list here. Move code to...
14401 (_dl_add_to_namespace_list): ...here. New function.
14402 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14403 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14404 * elf/dl-load.c (lose): Don't remove the element from the list.
14405 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14406 (_dl_map_object): Likewise.
14407
14408 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14409
14410 [BZ #12159]
14411 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14412 into all bytes of SSE register.
14413 Patch by Richard Li <richardpku@gmail.com>.
14414
14415 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14416
14417 [BZ #12140]
14418 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14419 perturbing.
14420
14421 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14422
14423 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14424 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14425 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14426 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14428 submachine.
14429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14430
14431 2010-10-22 Andreas Schwab <schwab@redhat.com>
14432
14433 * include/dlfcn.h (__RTLD_SECURE): Define.
14434 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14435 mode & __RTLD_SECURE instead.
14436 (open_path): Rename preloaded parameter to secure.
14437 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14438 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14439 * elf/dl-deps.c (openaux): Likewise.
14440 * elf/rtld.c (struct map_args): Remove is_preloaded.
14441 (map_doit): Don't use it.
14442 (dl_main): Likewise.
14443 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14444 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14445
14446 2010-09-09 Andreas Schwab <schwab@redhat.com>
14447
14448 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14449 (sysd-rules-targets): Remove duplicates.
14450 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14451 rtld-%.$o dependency.
14452
14453 2010-10-18 Andreas Schwab <schwab@redhat.com>
14454
14455 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14456 _dl_map_object do it.
14457
14458 2010-10-19 Ulrich Drepper <drepper@gmail.com>
14459
14460 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14461 fast fma builtins, define the macros in the C99 standard.
14462 (FP_FAST_FMAF): Likewise.
14463 (FP_FAST_FMAL): Likewise.
14464 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14465
14466 * bits/mathdef.h: Update copyright year.
14467 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14468
14469 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14470
14471 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14472 builtins, define the macros in the C99 standard.
14473 (FP_FAST_FMAF): Likewise.
14474 (FP_FAST_FMAL): Likewise.
14475 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14476 multiply/add.
14477 (FP_FAST_FMAF): Likewise.
14478
14479 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14480
14481 [BZ #3268]
14482 * math/libm-test.inc (fma_test): Some new testcases.
14483 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14484 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14485 y and infinite z. Do multiplication by C already in long double.
14486 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14488 y and infinite z. Do bitwise or of inexact bit into u.d.
14489 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14490 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14491 * sysdeps/i386/fpu/s_fma.S: Removed.
14492 * sysdeps/i386/fpu/s_fmal.S: Removed.
14493
14494 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14495
14496 [BZ #3268]
14497 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14499 computation is not scheduled after fetestexcept. Fix value
14500 of minimum denormal long double.
14501
14502 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14503
14504 [BZ #3268]
14505 * math/libm-test.inc (fma_test): Add some more tests.
14506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14507 correctly.
14508
14509 2010-10-15 Andreas Schwab <schwab@redhat.com>
14510
14511 * scripts/data/localplt-s390-linux-gnu.data: New file.
14512 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14513
14514 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14515
14516 [BZ #3268]
14517 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14518 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14519 instead of dbl-64.
14520 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14521 inlines.
14522 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14524 if one of x and y is very large and the other is subnormal.
14525 * sysdeps/s390/fpu/s_fmaf.c: New file.
14526 * sysdeps/s390/fpu/s_fma.c: New file.
14527 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14528 * sysdeps/powerpc/fpu/s_fma.S: New file.
14529 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14530 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14531 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14532
14533 2010-10-12 Jakub Jelinek <jakub@redhat.com>
14534
14535 [BZ #3268]
14536 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14537 fma tests.
14538 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14539 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14540 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14541 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14542 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14543 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14544 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14545
14546 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14547
14548 [BZ #12078]
14549 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14550 * posix/bug-regex31.input: Add test case.
14551
14552 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14553
14554 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14555 * posix/bug-regex31.input: New file.
14556
14557 [BZ #12078]
14558 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14559 (parse_sub_exp): Fix last change, use postorder.
14560
14561 * posix/bug-regex31.c: New file.
14562 * posix/Makefile: Add rules to build and run bug-regex31.
14563
14564 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14565
14566 [BZ #12078]
14567 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14568
14569 [BZ #12108]
14570 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14571 to have entries in sys_siglist.
14572
14573 [BZ #12093]
14574 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14575 be NULL.
14576
14577 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14578
14579 [BZ #3268]
14580 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14581 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14582 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14583 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14584 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14585 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14586 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14587 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14588 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14589 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14590 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14591 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14592 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14593 * math/ftestexcept.c (fetestexcept): Likewise.
14594 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14595 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14596 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14597 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14598 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14599 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14600 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14601
14602 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14603
14604 [BZ #12107]
14605 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14606 newline.
14607
14608 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14609
14610 * string/bug-strstr1.c: New file.
14611 * string/Makefile: Add rules to build and run bug-strstr1.
14612
14613 2010-10-05 Eric Blake <eblake@redhat.com>
14614
14615 [BZ #12092]
14616 * string/str-two-way.h (two_way_long_needle): Always clear memory
14617 when skipping input due to the shift table.
14618
14619 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14620
14621 [BZ #12005]
14622 * malloc/mcheck.c: Handle large requests.
14623
14624 [BZ #12077]
14625 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14626 for strncmp and strncasecmp.
14627 * string/stratcliff.c: Add tests for strcmp and strncmp.
14628 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14629
14630 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14631
14632 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14633 __set_fpscr.
14634
14635 2010-09-30 Andreas Jaeger <aj@suse.de>
14636
14637 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14638 (CGROUP_SUPER_MAGIC): Define.
14639 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14640 Handle btrfs and cgroup file systems.
14641 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14642 Likewise.
14643
14644 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14645
14646 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14647 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14648
14649 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14650
14651 [BZ #12067]
14652 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14653 trying to locate the ELF header.
14654
14655 2010-09-27 Andreas Schwab <schwab@redhat.com>
14656
14657 [BZ #11611]
14658 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14659 Mask out sign-bit copies when constructing f_fsid.
14660
14661 2010-09-24 Petr Baudis <pasky@suse.cz>
14662
14663 * debug/stack_chk_fail_local.c: Add missing licence exception.
14664 * debug/warning-nop.c: Likewise.
14665
14666 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14667
14668 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14669 implementing getdents64 using getdents syscall, set d_type if
14670 __ASSUME_GETDENTS32_D_TYPE.
14671
14672 2010-09-16 Andreas Schwab <schwab@redhat.com>
14673
14674 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14675 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14676
14677 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14678
14679 [BZ #12037]
14680 * posix/unistd.h: Undo change of feature selection for ftruncate from
14681 2010-01-11.
14682
14683 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14684
14685 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14686 detection.
14687
14688 2010-09-20 Andreas Schwab <schwab@redhat.com>
14689
14690 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14691 fanotify_mark.
14692 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14693
14694 2010-09-14 Andreas Schwab <schwab@redhat.com>
14695
14696 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14697 variables after CHECK_SP call.
14698 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14699
14700 2010-09-13 Andreas Schwab <schwab@redhat.com>
14701 Ulrich Drepper <drepper@redhat.com>
14702
14703 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14704 re-relocationg ld.so.
14705 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14706 _dl_init_paths call.
14707 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14708 here anymore.
14709
14710 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14711
14712 * resolv/res_init.c (__res_vinit): Count the default server we added.
14713
14714 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14715 Ulrich Drepper <drepper@redhat.com>
14716
14717 [BZ #11968]
14718 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14719 (____longjmp_chk): Use %ebx for saving value across system call.
14720 Add unwind info.
14721
14722 2010-09-06 Andreas Schwab <schwab@redhat.com>
14723
14724 * manual/Makefile: Don't mix pattern rules with normal rules.
14725
14726 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14727
14728 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14729 operation.
14730 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14731 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14732 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14733 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14735 Likewise.
14736
14737 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14738
14739 [BZ #11979]
14740 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14741 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14742
14743 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14744
14745 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14746 * sysdeps/x86_64/addmul_1.S: Likewise.
14747 * sysdeps/x86_64/lshift.S: Likewise.
14748 * sysdeps/x86_64/mul_1.S: Likewise.
14749 * sysdeps/x86_64/rshift.S: Likewise.
14750 * sysdeps/x86_64/sub_n.S: Likewise.
14751 * sysdeps/x86_64/submul_1.S: Likewise.
14752
14753 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14754
14755 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14756 Define __sched_param instead of SCHED_* and sched_param when
14757 <bits/sched.h> is included with __need_schedparam defined.
14758 * bits/sched.h [__need_schedparam]
14759 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14760 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14761 (__defined_schedparam): Define to 1.
14762 (__sched_param): New structure, identical to sched_param.
14763 (__need_schedparam): Undefine.
14764
14765 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14766
14767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14768 (epoll_create1): Declare.
14769
14770 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14771
14772 2010-08-31 Andreas Schwab <schwab@redhat.com>
14773
14774 [BZ #7066]
14775 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14776 shifting retval into place.
14777
14778 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14779
14780 * nis/rpcsvc/nis.h: Update copyright notice.
14781 * nis/rpcsvc/nis.x: Likewise.
14782 * nis/rpcsvc/nis_callback.h: Likewise.
14783 * nis/rpcsvc/nis_callback.x: Likewise.
14784 * nis/rpcsvc/nis_object.x: Likewise.
14785 * nis/rpcsvc/nis_tags.h: Likewise.
14786 * nis/rpcsvc/yp.h: Likewise.
14787 * nis/rpcsvc/yp.x: Likewise.
14788 * nis/rpcsvc/ypupd.h: Likewise.
14789 * nis/yp_xdr.c: Likewise.
14790 * nis/ypupdate_xdr.c: Likewise.
14791
14792 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14793 mainly the body of pmap_getport. Add parameters to specify timeouts.
14794 (pmap_getport): Use __libc_rpc_getport.
14795 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14796 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14797 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14798
14799 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14800
14801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14802 fanotify_mark.
14803
14804 2010-08-27 Roland McGrath <roland@redhat.com>
14805
14806 * sysdeps/i386/i686/multiarch/Makefile
14807 (CFLAGS-varshift.c): New variable.
14808
14809 2010-08-27 Ulrich Drepper <drepper@redhat.com>
14810
14811 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14812 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14813
14814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14815
14816 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14817
14818 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14819
14820 * sysdeps/x86_64/strlen.S: Unroll the loop.
14821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14822 strlen-sse2 strlen-sse2-bsf.
14823 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14824 __strlen_no_bsf if bit_Slow_BSF is set.
14825 (__strlen_sse42): Removed.
14826 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14827 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14828
14829 2010-08-25 Roland McGrath <roland@redhat.com>
14830
14831 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14832 * sysdeps/x86_64/multiarch/varshift.c: New file.
14833 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14834 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14835 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14836 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14837
14838 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14839
14840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14841 strlen-sse2 strlen-sse2-bsf.
14842 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14843 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14844 (__strlen_sse2): Removed.
14845 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14846 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14848 bit_Slow_BSF for Atom.
14849 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14850 (index_Slow_BSF): Define.
14851 (HAS_SLOW_BSF): Define.
14852
14853 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14854
14855 [BZ #10851]
14856 * resolv/res_init.c (__res_vinit): When no server address at all
14857 is given default to loopback.
14858
14859 2010-08-24 Roland McGrath <roland@redhat.com>
14860
14861 * configure.in: Remove config-name.h generation.
14862 * configure: Regenerated.
14863 * config-name.in: File removed.
14864 * scripts/config-uname.sh: New file.
14865 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14866 ($(objdir)config-name.h): New target.
14867
14868 * sunrpc/rpc_parse.h: Avoid nested comment.
14869
14870 2010-08-24 Richard Henderson <rth@redhat.com>
14871 Ulrich Drepper <drepper@redhat.com>
14872 H.J. Lu <hongjiu.lu@intel.com>
14873
14874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14876 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14877 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14878 _mm_alignr_epi8 with _mm_loadu_si128.
14879 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14880 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14881 (__m128i_shift_right): Removed.
14882 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14883 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14884 * sysdeps/x86_64/multiarch/varshift.h: New file.
14885 * sysdeps/x86_64/multiarch/varshift.S: New file.
14886
14887 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14888
14889 * configure.in: Move assembler checks to before sysdep dir checking.
14890
14891 2010-08-20 Petr Baudis <pasky@suse.cz>
14892
14893 * LICENSES: Sync the sunrpc license.
14894
14895 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14896
14897 * sunrpc/auth_des.c: Update copyright notice once again.
14898 * sunrpc/auth_none.c: Likewise.
14899 * sunrpc/auth_unix.c: Likewise.
14900 * sunrpc/authdes_prot.c: Likewise.
14901 * sunrpc/authuxprot.c: Likewise.
14902 * sunrpc/bindrsvprt.c: Likewise.
14903 * sunrpc/clnt_gen.c: Likewise.
14904 * sunrpc/clnt_perr.c: Likewise.
14905 * sunrpc/clnt_raw.c: Likewise.
14906 * sunrpc/clnt_simp.c: Likewise.
14907 * sunrpc/clnt_tcp.c: Likewise.
14908 * sunrpc/clnt_udp.c: Likewise.
14909 * sunrpc/clnt_unix.c: Likewise.
14910 * sunrpc/des_crypt.c: Likewise.
14911 * sunrpc/des_soft.c: Likewise.
14912 * sunrpc/get_myaddr.c: Likewise.
14913 * sunrpc/getrpcport.c: Likewise.
14914 * sunrpc/key_call.c: Likewise.
14915 * sunrpc/key_prot.c: Likewise.
14916 * sunrpc/openchild.c: Likewise.
14917 * sunrpc/pm_getmaps.c: Likewise.
14918 * sunrpc/pm_getport.c: Likewise.
14919 * sunrpc/pmap_clnt.c: Likewise.
14920 * sunrpc/pmap_prot.c: Likewise.
14921 * sunrpc/pmap_prot2.c: Likewise.
14922 * sunrpc/pmap_rmt.c: Likewise.
14923 * sunrpc/rpc/auth.h: Likewise.
14924 * sunrpc/rpc/auth_unix.h: Likewise.
14925 * sunrpc/rpc/clnt.h: Likewise.
14926 * sunrpc/rpc/des_crypt.h: Likewise.
14927 * sunrpc/rpc/key_prot.h: Likewise.
14928 * sunrpc/rpc/netdb.h: Likewise.
14929 * sunrpc/rpc/pmap_clnt.h: Likewise.
14930 * sunrpc/rpc/pmap_prot.h: Likewise.
14931 * sunrpc/rpc/pmap_rmt.h: Likewise.
14932 * sunrpc/rpc/rpc.h: Likewise.
14933 * sunrpc/rpc/rpc_des.h: Likewise.
14934 * sunrpc/rpc/rpc_msg.h: Likewise.
14935 * sunrpc/rpc/svc.h: Likewise.
14936 * sunrpc/rpc/svc_auth.h: Likewise.
14937 * sunrpc/rpc/types.h: Likewise.
14938 * sunrpc/rpc/xdr.h: Likewise.
14939 * sunrpc/rpc_clntout.c: Likewise.
14940 * sunrpc/rpc_cmsg.c: Likewise.
14941 * sunrpc/rpc_common.c: Likewise.
14942 * sunrpc/rpc_cout.c: Likewise.
14943 * sunrpc/rpc_dtable.c: Likewise.
14944 * sunrpc/rpc_hout.c: Likewise.
14945 * sunrpc/rpc_main.c: Likewise.
14946 * sunrpc/rpc_parse.c: Likewise.
14947 * sunrpc/rpc_parse.h: Likewise.
14948 * sunrpc/rpc_prot.c: Likewise.
14949 * sunrpc/rpc_sample.c: Likewise.
14950 * sunrpc/rpc_scan.c: Likewise.
14951 * sunrpc/rpc_scan.h: Likewise.
14952 * sunrpc/rpc_svcout.c: Likewise.
14953 * sunrpc/rpc_tblout.c: Likewise.
14954 * sunrpc/rpc_util.c: Likewise.
14955 * sunrpc/rpc_util.h: Likewise.
14956 * sunrpc/rpcinfo.c: Likewise.
14957 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14958 * sunrpc/rpcsvc/key_prot.x: Likewise.
14959 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14960 * sunrpc/rpcsvc/mount.x: Likewise.
14961 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14962 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14963 * sunrpc/rpcsvc/rex.x: Likewise.
14964 * sunrpc/rpcsvc/rstat.x: Likewise.
14965 * sunrpc/rpcsvc/rusers.x: Likewise.
14966 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14967 * sunrpc/rpcsvc/spray.x: Likewise.
14968 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14969 * sunrpc/rtime.c: Likewise.
14970 * sunrpc/svc.c: Likewise.
14971 * sunrpc/svc_auth.c: Likewise.
14972 * sunrpc/svc_authux.c: Likewise.
14973 * sunrpc/svc_raw.c: Likewise.
14974 * sunrpc/svc_run.c: Likewise.
14975 * sunrpc/svc_simple.c: Likewise.
14976 * sunrpc/svc_tcp.c: Likewise.
14977 * sunrpc/svc_udp.c: Likewise.
14978 * sunrpc/svc_unix.c: Likewise.
14979 * sunrpc/svcauth_des.c: Likewise.
14980 * sunrpc/xcrypt.c: Likewise.
14981 * sunrpc/xdr.c: Likewise.
14982 * sunrpc/xdr_array.c: Likewise.
14983 * sunrpc/xdr_float.c: Likewise.
14984 * sunrpc/xdr_mem.c: Likewise.
14985 * sunrpc/xdr_rec.c: Likewise.
14986 * sunrpc/xdr_ref.c: Likewise.
14987 * sunrpc/xdr_sizeof.c: Likewise.
14988 * sunrpc/xdr_stdio.c: Likewise.
14989
14990 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14991 handling.
14992
14993 2010-08-19 Andreas Schwab <schwab@redhat.com>
14994
14995 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14996
14997 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
14998
14999 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15000 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15001 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15002 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15003 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15004 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15005 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15006 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15007 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15008 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15009 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15010 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15011 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15012 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15013
15014 2010-07-26 Anton Blanchard <anton@samba.org>
15015
15016 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15017 * malloc/arena.c (heap_trim): Likewise.
15018
15019 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15020
15021 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15022 here. Not...
15023 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15024 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15025
15026 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15027
15028 * sysdeps/i386/elf/Makefile: New file.
15029
15030 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15031
15032 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15033 from fanotify_init.
15034 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15035 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15036
15037 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15038
15039 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15040 of strncasecmp_l.
15041 * sysdeps/multiarch/strcmp.S: Likewise.
15042
15043 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15044
15045 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15046 strncase_l-nonascii.
15047 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15048 Add strncase_l-ssse3.
15049 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15050 * sysdeps/x86_64/strcmp.S: Likewise.
15051 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15052 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15053 * sysdeps/x86_64/strncase.S: New file.
15054 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15055 * sysdeps/x86_64/strncase_l.S: New file.
15056 * string/Makefile (strop-tests): Add strncasecmp.
15057 * string/test-strncasecmp.c: New file.
15058
15059 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15060 warning.
15061
15062 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15063 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15064
15065 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15066
15067 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15068
15069 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15070
15071 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15072 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15073 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15074
15075 2010-05-01 Alan Modra <amodra@gmail.com>
15076
15077 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15078 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15079 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15080 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15081 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15082 tidying. Don't tail-call __sigjmp_save for static lib.
15083 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15084 save location.
15085 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15086 (CALL_MCOUNT): Add eh info, and nop after bl.
15087 (TAIL_CALL_SYSCALL_ERROR): New macro.
15088 (PSEUDO_RET): Use it.
15089 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15090 Correct save location of integer regs and cr.
15091 (_dl_profile_resolve): Correct cr save location. Delete nops
15092 after bl when SHARED. Reduce cfi size a little by better
15093 placement of cfi directives.
15094 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15095 make a stack frame. Instead use parm save area as a temp.
15096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15097 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15099 Don't make a stack frame for parent, use parm save area.
15100 Increase child stack frame to 112 bytes. Don't save unused reg,
15101 and adjust reg usage. Set up cfi on error recovery and
15102 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15104 (__makecontext): Add dummy nop after jump to exit.
15105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15106 Use correct parm save area and cr save, reduce stack frame.
15107 Correct cfi for possible PSEUDO_RET frame setup.
15108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15109 Branch to local label emitted by PSEUDO_RET rather than
15110 __syscall_error.
15111
15112 2010-08-12 Andreas Schwab <schwab@redhat.com>
15113
15114 [BZ #11904]
15115 * locale/programs/locale.c (print_assignment): New function.
15116 (show_locale_vars): Use it.
15117
15118 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15119
15120 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15121 field.
15122 (struct statfs64): Likewise.
15123 (_STATFS_F_FLAGS): Define.
15124 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15125 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15126 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15127 (ST_VALID): Define locally.
15128 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15129 __statvfs_getflags, use the provided value.
15130 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15131 __ASSUME_STATFS_F_FLAGS.
15132
15133 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15134
15135 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15136 Add sys/fanotify.h.
15137 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15138 fanotify_mask for GLIBC_2.13.
15139 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15140 fanotify_init and fanotify_mark.
15141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15142 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15143
15144 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15145 Add prlimit.
15146 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15147 prlimit64 for GLIBC_2.13.
15148 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15149 prlimit64.
15150 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15151 syscall.
15152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15153 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15154 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15155 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15156 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15157 add prlimit alias.
15158 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15159
15160 [BZ #11903]
15161 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15162 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15163
15164 * nss/Makefile: Add rules to build and run tst-nss-test1.
15165 * shlib-versions: Add entry for libnss_test1.
15166 * nss/nss_test1.c: New file.
15167 * nss/tst-nss-test1.c: New file.
15168
15169 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15170 (__nss_configure_lookup): Set appropriate entry in
15171 __nss_configure_lookup to true.
15172 * nss/nsswitch.h: Define enum with indeces of databases in
15173 databases and __nss_database_custom arrays. Declare
15174 __nss_database_custom.
15175 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15176 to avoid using nscd when custom rules are installed.
15177 * nss/getXXbyYY_r.c: Likewise.
15178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15179
15180 * nss/nss_files/files-parse.c: Whitespace fixes.
15181
15182 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15183
15184 [BZ #11883]
15185 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15186 * posix/fnmatch_loop.c: Likewise.
15187
15188 2010-07-17 Andi Kleen <ak@linux.intel.com>
15189
15190 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15191 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15192 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15193 * Versions.def [GLIBC_2.13]: Add.
15194
15195 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15196
15197 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15198 Also fail if tpwd after pwuid call is NULL.
15199
15200 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15201
15202 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15203 when converting to ms.
15204
15205 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15206
15207 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15208 EOPNOTSUPP errors with ENOTTY.
15209 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15210 EOPNOTSUPP errors with ENOTTY.
15211
15212 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15213
15214 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15215 Add strcasecmp_l-ssse3.
15216 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15217 strcasecmp.
15218 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15219 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15220 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15221
15222 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15223
15224 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15225
15226 * string/Makefile (strop-tests): Add strcasecmp.
15227 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15228 strcasecmp_l-nonascii.
15229 (gen-as-const-headers): Add locale-defines.sym.
15230 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15231 * sysdeps/x86_64/strcasecmp.S: New file.
15232 * sysdeps/x86_64/strcasecmp_l.S: New file.
15233 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15234 * sysdeps/x86_64/locale-defines.sym: New file.
15235 * string/test-strcasecmp.c: New file.
15236
15237 * string/test-strcasestr.c: Test both ends of the range of characters.
15238 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15239
15240 2010-07-29 Roland McGrath <roland@redhat.com>
15241
15242 [BZ #11856]
15243 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15244
15245 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15246
15247 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15248 for ld.so.
15249
15250 2010-07-27 Andreas Schwab <schwab@redhat.com>
15251
15252 * manual/memory.texi (Malloc Tunable Parameters): Document
15253 M_PERTURB.
15254
15255 2010-07-26 Roland McGrath <roland@redhat.com>
15256
15257 [BZ #11840]
15258 * configure.in (-fgnu89-inline check): Set and substitute
15259 gnu89_inline, not libc_cv_gnu89_inline.
15260 * configure: Regenerated.
15261 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15262
15263 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15264
15265 * string/test-strnlen.c: New file.
15266 * string/Makefile (strop-tests): Add strnlen.
15267 * string/tester.c (test_strnlen): Add a few more test cases.
15268 * string/tst-strlen.c: Better error reporting.
15269
15270 * sysdeps/x86_64/strnlen.S: New file.
15271
15272 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15273
15274 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15275 lower-latency instructions.
15276
15277 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15278
15279 * string/test-strcasestr.c: New file.
15280 * string/test-strstr.c: New file.
15281 * string/Makefile (strop-tests): Add strstr and strcasestr.
15282 * string/str-two-way.h: Don't undefine MAX.
15283 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15284
15285 2010-07-21 Andreas Schwab <schwab@redhat.com>
15286
15287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15288 strcasestr-nonascii.
15289 (CFLAGS-strcasestr-nonascii.c): Define.
15290 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15291 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15292 Remove unused attribute.
15293
15294 2010-07-20 Roland McGrath <roland@redhat.com>
15295
15296 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15297 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15298 ld.so.cache was broken. With it, there is no way to disable dsocaps
15299 like LD_HWCAP_MASK can disable hwcaps.
15300
15301 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15302
15303 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15304
15305 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15306
15307 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15308 call in strcasestr.
15309 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15310 __strcasestr_sse42_nonascii.
15311 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15312 strcasestr-nonascii.c.
15313 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15314
15315 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15316
15317 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15318 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15319 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15320 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15321
15322 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15323
15324 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15325 fcntl.
15326
15327 2010-07-06 Andreas Schwab <schwab@redhat.com>
15328
15329 [BZ #11577]
15330 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15331 dl_signal_cerror.
15332
15333 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15334
15335 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15336 _PC_PIPE_BUF using F_GETPIPE_SZ.
15337
15338 2010-07-05 Roland McGrath <roland@redhat.com>
15339
15340 * manual/arith.texi (Rounding Functions): Fix rint description
15341 implicit in round description.
15342
15343 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15344
15345 * elf/Makefile: Fix linking for a few tests to make recent linker
15346 happy.
15347
15348 2010-06-30 Andreas Schwab <schwab@redhat.com>
15349
15350 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15351 $(common-objpfx)libc_nonshared.a.
15352
15353 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15354
15355 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15356 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15357 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15358 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15359 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15360 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15361 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15362 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15377 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15378 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15379 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15380 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15381 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15382 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15383 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15384 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15385 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15386 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15387 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15388 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15403
15404 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15405
15406 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15407 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15408 * string/memmove.c (memmove): Renamed to ...
15409 (MEMMOVE): ...this. Default to memmove.
15410 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15411 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15412 (END_CHK): Define.
15413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15414 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15415 mempcpy-ssse3-back memmove-ssse3-back.
15416 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15417 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15418 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15419 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15420 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15421 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15422 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15423 * sysdeps/x86_64/multiarch/memmove.c: New file.
15424 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15425 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15426 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15427 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15428 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15430 Define.
15431 (index_Fast_Copy_Backward): Define.
15432 (HAS_ARCH_FEATURE): Define.
15433 (HAS_FAST_REP_STRING): Define.
15434 (HAS_FAST_COPY_BACKWARD): Define.
15435
15436 2010-06-21 Andreas Schwab <schwab@redhat.com>
15437
15438 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15439 Restore proper fallback handling.
15440
15441 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15442
15443 [BZ #11701]
15444 * posix/group_member.c (__group_member): Correct checking loop.
15445
15446 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15447 OOM in getpwuid_r correctly. Return error number when the caller
15448 should return, otherwise -1.
15449 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15450 call returning > 0 value.
15451 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15452
15453 2010-06-07 Andreas Schwab <schwab@redhat.com>
15454
15455 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15456 libc_nonshared.a from targets in modules-names.
15457
15458 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15459
15460 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15461 requires it.
15462
15463 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
15464
15465 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15466 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15467 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15468 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15469
15470 2010-06-02 Andreas Schwab <schwab@redhat.com>
15471
15472 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15473
15474 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15475
15476 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15477 and F_GETPIPE_SZ.
15478 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15482 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15484
15485 2010-06-14 Roland McGrath <roland@redhat.com>
15486
15487 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15488
15489 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15490
15491 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15492 __REDIRECT followed by __THROW.
15493 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15494 * posix/getopt.h (getopt): Likewise.
15495
15496 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15497
15498 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15499 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15500 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15501 in AT_FLAGS.
15502 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15503 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15504
15505 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15506
15507 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15508
15509 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15510
15511 [BZ #11640]
15512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15513 Properly check family and model.
15514
15515 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15516
15517 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15518
15519 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15520
15521 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15522
15523 2010-05-21 Ulrich Drepper <drepper@redhat.com>
15524
15525 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15526 symbol reference.
15527
15528 2010-05-19 Andreas Schwab <schwab@redhat.com>
15529
15530 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15531 symbol reference.
15532
15533 2010-05-21 Andreas Schwab <schwab@redhat.com>
15534
15535 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15536 and internal_recvmmsg.
15537 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15538 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15539 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15540 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15541
15542 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15543 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15544 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15545
15546 2010-05-20 Andreas Schwab <schwab@redhat.com>
15547
15548 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15549
15550 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15551
15552 POWER7 optimizations.
15553 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15554 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15555
15556 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15557
15558 * version.h: Update for 2.13 development version.
15559
15560 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15561
15562 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15563 exceptions. Return 0.
15564
15565 2010-05-07 Roland McGrath <roland@redhat.com>
15566
15567 * elf/ldconfig.c (main): Add a const.
15568
15569 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15570
15571 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15572 (args_options): Add no-idn option.
15573 (ahosts_keys_int): Add idn_flags to ai_flags.
15574 (parse_option): Handle 'i' option to clear idn_flags.
15575
15576 * malloc/malloc.c (_int_free): Possible race in the most recently
15577 added check. Only act on the data if no current modification
15578 happened.
15579
15580 See ChangeLog.17 for earlier changes.