]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Make free chunk size a multiple of MALLOC_ALIGNMENT
[thirdparty/glibc.git] / ChangeLog
CommitLineData
347c92e9
L
12012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #13576]
4 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5 multiple of MALLOC_ALIGNMENT in size.
6 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7
6bcc8b3f
JM
82012-05-24 Joseph Myers <joseph@codesourcery.com>
9
10 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11 Require >= 256.
12 (FILENAME_MAX): Use macro-int-constant.
13 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
14 (_IOFBF): Use macro-int-constant.
15 (_IOLBF): Likewise.
16 (_IONBF): Likewise.
17 (SEEK_CUR): Likewise.
18 (SEEK_END): Likewise.
19 (SEEK_SET): Likewise.
20 (TMP_MAX): Likewise.
21 (EOF): Use macro-int-constant. Require < 0.
22 (NULL): Use macro-constant. Require == 0.
23 (stdin): Require type to be FILE *.
24 (stdout): Likewise.
25 (stderr): Likewise.
26 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27 macro-int-constant.
28 (EXIT_SUCCESS): Likewise.
29 (NULL): Use macro-constant. Require == 0.
30 (RAND_MAX): Use macro-int-constant.
31 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32 [C99-based standards] (strtof): Require function.
33 [C99-based standards] (strtold): Likewise.
34 [C99-based standards] (strtoll): Likewise.
35 [C99-based standards] (strtoull): Likewise.
36 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38 [ISO || ISO99 || ISO11] (math.h): Likewise.
39 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42
d18ea0c5
AS
432012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44
45 [BZ #14132]
56d25bb8
AS
46 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48 * intl/dgettext.c (DCGETTEXT): Likewise.
49 * intl/gettext.c (DCGETTEXT): Likewise.
50 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
51 * posix/regex_internal.h (gettext): Likewise.
52 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
53 Remove declaration.
54 * include/argz.h (__argz_count_internal)
55 (__argz_stringify_internal): Remove declaration.
56 (__argz_count, __argz_stringify): Declare hidden proto.
57 * intl/dcgettext.c: Remove use of INTDEF.
58 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
59 * string/argz-stringify.c: Likewise.
60 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62 Declare hidden proto.
d18ea0c5
AS
63 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65 Declare hidden proto.
66 * include/stdio.h (__asprintf_internal): Don't declare.
67 (__asprintf): Don't define as macro. Declare hidden proto.
68 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
69 (__fsetlocking): Declare hidden proto.
70 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
71 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
72 hidden proto.
73 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74 (_IO_setlinebuf): Remove use of INTUSE.
75 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
76 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
77 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
78 Remove declaration.
79 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80 (_IO_do_flush): Remove use of INTUSE.
81 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
82 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
83 (_IO_adjust_column, _IO_least_wmarker)
84 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
85 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
86 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
87 (_IO_default_doallocate, _IO_wdefault_doallocate)
88 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
89 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
90 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
91 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
92 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
93 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
94 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
95 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
96 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
97 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
98 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
99 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
100 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
101 proto.
102 (_IO_flush_all_internal, _IO_adjust_column_internal)
103 (_IO_default_uflow_internal, _IO_default_finish_internal)
104 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
105 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
106 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
107 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
108 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
109 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
110 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
111 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
112 (_IO_file_close_internal, _IO_file_close_it_internal)
113 (_IO_file_underflow_internal, _IO_file_overflow_internal)
114 (_IO_file_init_internal, _IO_file_attach_internal)
115 (_IO_file_fopen_internal, _IO_file_read_internal)
116 (_IO_file_sync_internal, _IO_file_seek_internal)
117 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
118 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
119 (_IO_str_underflow_internal, _IO_str_overflow_internal)
120 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
121 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
122 (_IO_list_all_internal, _IO_link_in_internal)
123 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
124 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
125 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
126 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
127 (_IO_do_write_internal, _IO_padn_internal)
128 (_IO_getline_info_internal, _IO_getline_internal)
129 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
130 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
131 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
132 (_IO_vfscanf_internal, _IO_vfprintf_internal)
133 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
134 (_IO_init_internal, _IO_un_link_internal): Don't declare.
135 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
136 with libc_hidden_ver, remove use of INTUSE.
137 * libio/genops.c: Likewise.
138 * libio/freopen.c: Likewise.
139 * libio/freopen64.c: Likewise.
140 * libio/iofclose.c: Likewise.
141 * libio/iofdopen.c: Likewise.
142 * libio/iofflush.c: Likewise.
143 * libio/iofflush_u.c: Likewise.
144 * libio/iofgets.c: Likewise.
145 * libio/iofgets_u.c: Likewise.
146 * libio/iofopen.c: Likewise.
147 * libio/iofopncook.c: Likewise.
148 * libio/iofread.c: Likewise.
149 * libio/iofread_u.c: Likewise.
150 * libio/ioftell.c: Likewise.
151 * libio/iofwrite.c: Likewise.
152 * libio/iogetline.c: Likewise.
153 * libio/iogets.c: Likewise.
154 * libio/iogetwline.c: Likewise.
155 * libio/iopadn.c: Likewise.
156 * libio/iopopen.c: Likewise.
157 * libio/ioseekoff.c: Likewise.
158 * libio/ioseekpos.c: Likewise.
159 * libio/iosetbuffer.c: Likewise.
160 * libio/iosetvbuf.c: Likewise.
161 * libio/ioungetc.c: Likewise.
162 * libio/ioungetwc.c: Likewise.
163 * libio/iovdprintf.c: Likewise.
164 * libio/iovsprintf.c: Likewise.
165 * libio/iovsscanf.c: Likewise.
166 * libio/memstream.c: Likewise.
167 * libio/obprintf.c: Likewise.
168 * libio/oldfileops.c: Likewise.
169 * libio/oldiofclose.c: Likewise.
170 * libio/oldiofdopen.c: Likewise.
171 * libio/oldiofopen.c: Likewise.
172 * libio/oldiopopen.c: Likewise.
173 * libio/oldstdfiles.c: Likewise.
174 * libio/putc.c: Likewise.
175 * libio/setbuf.c: Likewise.
176 * libio/setlinebuf.c: Likewise.
177 * libio/stdfiles.c: Likewise.
178 * libio/strops.c: Likewise.
179 * libio/vasprintf.c: Likewise.
180 * libio/vscanf.c: Likewise.
181 * libio/vsnprintf.c: Likewise.
182 * libio/vswprintf.c: Likewise.
183 * libio/wfiledoalloc.c: Likewise.
184 * libio/wfileops.c: Likewise.
185 * libio/wgenops.c: Likewise.
186 * libio/wmemstream.c: Likewise.
187 * libio/wstrops.c: Likewise.
188 * libio/__fpurge.c: Likewise.
189 * libio/__fsetlocking.c: Likewise.
190 * assert/assert.c: Likewise.
191 * debug/fgets_chk.c: Likewise.
192 * debug/fgets_u_chk.c: Likewise.
193 * debug/fread_chk.c: Likewise.
194 * debug/fread_u_chk.c: Likewise.
195 * debug/gets_chk.c: Likewise.
196 * debug/obprintf_chk.c: Likewise.
197 * debug/vasprintf_chk.c: Likewise.
198 * debug/vdprintf_chk.c: Likewise.
199 * debug/vsnprintf_chk.c: Likewise.
200 * debug/vsprintf_chk.c: Likewise.
201 * malloc/mtrace.c: Likewise.
202 * misc/error.c: Likewise.
203 * misc/syslog.c: Likewise.
204 * stdio-common/asprintf.c: Likewise.
205 * stdio-common/fxprintf.c: Likewise.
206 * stdio-common/getw.c: Likewise.
207 * stdio-common/isoc99_fscanf.c: Likewise.
208 * stdio-common/isoc99_scanf.c: Likewise.
209 * stdio-common/isoc99_vfscanf.c: Likewise.
210 * stdio-common/isoc99_vscanf.c: Likewise.
211 * stdio-common/isoc99_vsscanf.c: Likewise.
212 * stdio-common/printf-prs.c: Likewise.
213 * stdio-common/printf_fp.c: Likewise.
214 * stdio-common/printf_fphex.c: Likewise.
215 * stdio-common/printf_size.c: Likewise.
216 * stdio-common/putw.c: Likewise.
217 * stdio-common/scanf.c: Likewise.
218 * stdio-common/sprintf.c: Likewise.
219 * stdio-common/tmpfile.c: Likewise.
220 * stdio-common/vfprintf.c: Likewise.
221 * stdio-common/vfscanf.c: Likewise.
222 * stdlib/strfmon_l.c: Likewise.
223 * sunrpc/openchild.c: Likewise.
224 * sunrpc/xdr_stdio.c: Likewise.
225 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
226 * sysdeps/mach/hurd/tmpfile.c: Likewise.
227
d6c33fda
RM
2282012-05-24 Roland McGrath <roland@hack.frob.com>
229
c1487492
RM
230 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
231
232 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
233 in the third column, to generate for the shared library an IFUNC
234 that uses _dl_vdso_vsym.
235 * Makerules (COMPILE.c, compile-stdin.c): New variables.
236 * Makeconfig (object-suffixes-noshared): New variable.
237
238 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
239 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
240 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
241 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
242
d6c33fda
RM
243 [BZ #14132]
244 * include/sys/time.h (__gettimeofday): Remove macro.
245 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
246 * time/gettimeofday.c (__gettimeofday): Remove #undef.
247 Remove INTDEF.
248 (__gettimeofday): Add libc_hidden_def.
249 (gettimeofday): Add libc_hidden_weak.
250 * sysdeps/mach/gettimeofday.c: Likewise.
251 * sysdeps/posix/gettimeofday.c: Likewise.
252 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
253 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
254 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
255 (__gettimeofday_internal): Remove strong_alias.
256 (__gettimeofday): Add libc_hidden_def.
257 (gettimeofday): Add libc_hidden_weak.
258 * sysdeps/unix/syscalls.list (gettimeofday):
259 Remove __gettimeofday_internal alias.
260
b5a2bbe6
L
2612012-05-24 Daniel Jacobowitz <drow@false.org>
262 H.J. Lu <hongjiu.lu@intel.com>
263
264 [BZ #12495]
265 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
266 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
267 (largebin_index_32_big): New.
268 (largebin_index): Use it for 16-byte alignment.
269 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
270 correction with front_misalign.
271
cfba4fda
L
2722012-05-24 H.J. Lu <hongjiu.lu@intel.com>
273
7f907421
L
274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
276 Likewise.
277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
278 Likewise.
279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
280 Likewise.
281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
282 Likewise.
283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
284 Likewise.
285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
286 Likewise.
287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
288 Likewise.
289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
290 Likewise.
291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
292 Likewise.
293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
294 Likewise.
295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
296 Likewise.
297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
298 Likewise.
299
cfba4fda
L
300 * scripts/data/c++-types-x32-linux-gnu.data: New file.
301 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
302
80bad0cc
JM
3032012-05-24 Joseph Myers <joseph@codesourcery.com>
304
7a25eb06
JM
305 [BZ #10846]
306 [BZ #14036]
307 * math/libm-test.inc (exp_test): Add test from bug 14036.
308 (pow_test): Add test from bug 10846.
309
795405f9
JM
310 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
311 and other flags.
312 (special_function): Do not include flags in test name.
313 (parse_args): Likewise.
314 * sysdeps/i386/fpu/libm-test-ulps: Update.
315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
316 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
317 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
319
80bad0cc
JM
320 * math/gen-libm-test.pl (%beautify): Add entries for underflow
321 exceptions.
322 * math/libm-test.inc ("Philosophy"): Update comment about
323 exception testing.
324 (UNDERFLOW_EXCEPTION): New macro.
325 (UNDERFLOW_EXCEPTION_OK): Likewise.
326 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
327 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
328 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
329 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
330 (INVALID_EXCEPTION_OK): Update value.
331 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
332 (OVERFLOW_EXCEPTION_OK): Likewise.
333 (IGNORE_ZERO_INF_SIGN): Likewise.
334 (test_exceptions): Handle underflow exceptions.
335 (acos_test): Update for underflow exception expectations.
336 (cexp_test): Likewise.
337 (clog_test): Likewise.
338 (clog10_test): Likewise.
339 (csqrt_test): Likewise.
340 (ctan_test): Likewise.
341 (ctanh_test): Likewise.
342 (exp_test): Likewise.
343 (exp10_test): Likewise.
344 (exp2_test): Likewise.
345 (expm1_test): Likewise.
346 (fma_test): Likewise.
347 (j0_test): Likewise.
348 (jn_test): Likewise.
349 (nexttoward_test): Likewise.
350 (pow_test): Likewise.
351 (scalbn_test): Likewise.
352 (scalbln_test): Likewise.
353 (tan_test): Likewise.
354 (y1_test): Likewise.
355 * sysdeps/i386/fpu/libm-test-ulps: Update.
356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
357
9e0e3d0b
DM
3582012-05-23 David S. Miller <davem@davemloft.net>
359
360 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
361 (__libc_sigaction): Remove unused local variables.
362
ccd0a08f
L
3632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
364
365 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
366
62bdf9a6
PE
3672012-05-23 Paul Eggert <eggert@cs.ucla.edu>
368
f8591f80
PE
369 mktime: avoid signed integer overflow
370 * time/mktime.c (__mktime_internal): Do not mishandle the case
371 where diff == INT_MIN.
372
94c7d826
PE
373 mktime: simplify computation of average
374 * time/mktime.c (ranged_convert): Use new time_t_avg function
375 instead of rolling our own (probably-slower) code.
376
ce73d683
PE
377 mktime: do not assume signed right shift propagates sign bit
378 * time/mktime.c (isdst_differ): New static function.
379 (__mktime_internal): No need to normalize tm_isdst now.
380 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
381 tm_isdst values.
382
72a22e59
PE
383 mktime: merge another wrapv change from gnulib
384 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
385 from some compilers.
386
68605433
PE
387 mktime: remove incorrect attempt at unusual arithmetics
388 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
389 The code didn't really work on such machines anyway.
390 (TYPE_MINIMUM): Assume two's complement.
391 (twos_complement_arithmetic): Verify that long_int and time_t
392 are two's complement (or unsigned, in the latter case).
393
03cf7fe3
PE
394 mktime: check signed shifts on long_int and time_t, too
395 * time/mktime.c (SHR): Check that shifts work as desired
396 on the types long_int and time_t too, as SHR is used on
397 such types.
398
f04dfbc2
PE
399 mktime: do not assume 'long' is wide enough
400 * time/mktime.c (verify): Move decl up.
401 (long_int): New type.
402 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
403 to remove assumption in the code that 'long' is wide enough to
404 store year values. This assumption is not true on x32 and on
405 some non-glibc platforms.
406
62bdf9a6
PE
407 mktime: merge wrapv change from gnulib
408 * time/mktime.c (WRAPV): New macro.
409 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
410 (guess_time_tm, __mktime_internal): Do not assume that signed
411 integer overflow wraps around; modern compilers generate code
412 where this assumption is no longer valid.
413
5e292e4f
L
4142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
415
416 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
417 Replace "jmp L(pseudo_end)" with "ret".
418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
419 Likewise.
420
8caf8c87
AJ
4212012-05-23 Andreas Jaeger <aj@suse.de>
422
423 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
424 * sysdeps/unix/sysv/linux/poll.c: Remove file.
425
1a09dc56
AJ
4262012-05-23 Andreas Jaeger <aj@suse.de>
427 Maximilian Attems <max@stro.at>
428
429 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
430 New macros.
431
1c87aba0
L
4322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
433
434 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
435 code so that pseudo_end is just ret and the stack pointer is
436 correct also for static library in error case.
437
40e45bd5
JM
4382012-05-23 Joseph Myers <joseph@codesourcery.com>
439
c2670533
JM
440 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
441 move to syscalls.list.
442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
446
40e45bd5
JM
447 * manual/install.texi (Running make install): Do not mention Linux
448 kernel version for which pt_chown is not needed.
449 (Linux): Do not mention problems with nscd with 2.0 kernels.
450 * INSTALL: Regenerated.
451
be08eda5
AJ
4522012-05-23 Andreas Jaeger <aj@suse.de>
453
454 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
455 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
456 macro.
457 * sysdeps/unix/sysv/linux/s390/bits/mman.h
458 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
459 * sysdeps/unix/sysv/linux/sh/bits/mman.h
460 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
461 * sysdeps/unix/sysv/linux/i386/bits/mman.h
462 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
463 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
464 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
465 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
466 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
467 * sysdeps/unix/sysv/linux/bits/in.h
468 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
469
a6a056bb
RM
4702012-05-22 Roland McGrath <roland@hack.frob.com>
471
472 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
473 (PREPARE_VERSION): Just use assert instead, it will be elided
474 under [NDEBUG] anyway.
475
c9009328
L
4762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
477
478 * sysdeps/unix/sysv/linux/Makefile: Include
479 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 480 (sysdep_routines): Remove sysctl.
c9009328
L
481 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
482 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
483 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
484 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
485 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
486
73338355
AJ
4872012-05-22 Andreas Jaeger <aj@suse.de>
488
489 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
490 that pseudo_end is just ret and the stack pointer is correct also
491 for static library in error case.
492
d44638b0
PP
4932012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
494
495 [BZ #14122]
496 * nss/nsswitch.c (defconfig_entries): New variable.
497 (__nss_database_lookup): Don't leak defconfig entries.
498 (nss_parse_service_list): Don't leak on error paths.
499 (free_database_entries): New function.
500 (free_defconfig): New function.
501 (free_mem): Move common code to free_database_entries.
502
31a39bd8
L
5032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
504
da0331a8
L
505 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
506 Add arch_prctl.
507 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
508
31a39bd8
L
509 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
510 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
512 New macro.
513 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
514 (INTERNAL_SYSCALL_TYPES): Likewise.
515 (LOAD_ARGS_TYPES_[1-6]): Likewise.
516 (LOAD_REGS_TYPES_[1-6]): Likewise.
517 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
518 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
519
45470df3
AZ
5202012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
521
522 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
523 copysignl for GLIBC_2_0.
524 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
525 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
527 logbl for GLIBC_2_0.
528 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
529 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
530
98a61bcb
L
5312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
532
a4f6e481
L
533 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
534 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
535
f63d5db6
L
536 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
537 Use "neg %eax".
538
98a61bcb
L
539 * time/mktime.c: Update copyright years.
540
95770f14
PE
5412012-05-22 Paul Eggert <eggert@cs.ucla.edu>
542
6226efbd
PE
543 mktime: merge comment-quoting-style change from gnulib
544 * time/mktime.c: Quote 'like this' in comments.
545 The GNU coding standards suggest that we no longer quote `like this',
546 as "`" and "'" are typically rendered asymmetrically nowadays.
547 The typical gnulib style is to quote 'like this' when quoting
548 code, and "like this" when quoting English.
549
b99e4f78
PE
550 * time/mktime.c (compile-command): Add "-I.".
551
643e01e6
PE
552 mktime: merge mktime-internal.h change from gnulib
553 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
554
2554247d
PE
555 mktime: merge time_r change from gnulib
556 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
557
826dd0ab
PE
558 mktime: merge DEBUG change from gnulib
559 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
560 case system <time.h> has a #define.
561
bd83aabe
PE
562 mktime: merge <sys/types.h> change from gnulib
563 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
564 since <time.t> is now guaranteed to define time_t.
565
95770f14
PE
566 mktime: merge HAVE_CONFIG_H change from gnulib
567 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
568
5e1a27a9
L
5692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
570
0e44a77e
L
571 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
572 Use "neg %eax".
573
5e1a27a9
L
574 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
575 __rlim_t cast.
576 (struct rusage): Use anonymous union to pad each field to
577 __syscall_slong_t.
578
46259bec
DM
5792012-05-21 David S. Miller <davem@davemloft.net>
580
581 * Makefules (o-iterator): Remove .s cases.
582 (compile-command.s): Delete.
583 (COMPILE.s): Delete.
584 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
585
59f0c22e
JM
5862012-05-21 Joseph Myers <joseph@codesourcery.com>
587
588 * configure.in (libc_cv_predef_stack_protector): Only consider
589 "foobar" and "__stack_chk_fail" lines in libc_undefs.
590 * configure: Regenerated.
591
20c07380
L
5922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
593
bbb3154b
L
594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
595 New macro. Use R*LP on int and pointer.
596 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
597 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
598 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
599 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
600
20c07380
L
601 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
602 [__WORDSIZE_TIME64_COMPAT32] instead of
603 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
604 (struct utmp): Likewise.
605 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
606 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
607 Renamed to ...
608 (__WORDSIZE_TIME64_COMPAT32): This.
609 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
610 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
611 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
612 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
613 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
614 (__WORDSIZE_TIME64_COMPAT32): New macro.
615
d8d1017e
AJ
6162012-05-21 Andreas Jaeger <aj@suse.de>
617
618 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
619 only if [SHARED]. Add prototype for __wcschr_ia32.
620
6c7fb145
RM
6212012-05-21 Roland McGrath <roland@hack.frob.com>
622
623 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
624 of %rbp unmolested in the jmp_buf while mangling the low bits.
625 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
626 unmolested high bits of %rbp while demangling the low bits.
627 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
628
66274218
AJ
6292012-05-21 Andreas Jaeger <aj@suse.de>
630
07c58f8f
AJ
631 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
632 * sunrpc/svc_simple.c: Use it for registerrpc.
633 * sunrpc/xcrypt.c: Use it for passwd2des.
634
66274218
AJ
635 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
636
61f65140
L
6372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
638
639 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
640 Don't define if [__SYSCALL_WORDSIZE != 32].
641 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
642 New macro.
643
5fefb436
AJ
6442012-05-21 Bruno Haible <bruno@clisp.org>
645 Andreas Jaeger <aj@suse.de>
646
647 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
648 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
649 inptr and inend for must_buffer_ch.
650 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
651 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
652 * stdio-common/Makefile (tests): Remove bug15.
653 (bug15-ENV): Remove macro.
654 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
655 anymore.
656
d8e272ab
AJ
6572012-05-19 Andreas Jaeger <aj@suse.de>
658 Roland McGrath <roland@hack.frob.com>
659
660 * manual/contrib.texi: Completely rewritten. It contains now an
661 alphabetical list of contributors and their contributions.
662
4a56a162
RH
6632012-05-21 Richard Henderson <rth@twiddle.net>
664
665 * misc/getauxval.c (__getauxval): Use unsigned long int.
666 * misc/sys/auxv.h: Include <sys/cdefs.h>.
667 (getauxval): Use unsigned long int.
668
d024d23c
L
6692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
670
671 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
672
cbc00a03
RM
6732012-05-21 Roland McGrath <roland@hack.frob.com>
674
675 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
676 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
677 __alignof__ (long double).
678
478143fa
AZ
6792012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
680
681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
682
c7683a6d
RH
6832012-05-20 Richard Henderson <rth@twiddle.net>
684
685 * misc/getauxval.c: New file.
686 * misc/sys/auxv.h: New file.
687 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
688 (routines): Add getauxval.
689 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
690 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
691 * elf/dl-sysdep.c (_dl_auxv): Remove.
692 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
693 * elf/dl-support.c (_dl_auxv): New variable.
694 (_dl_aux_init): Initialize it.
695 * manual/startup.texi (Auxiliary Vector): New node.
696 * sysdeps/generic/bits/hwcap.h: New file.
697 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
698 * sysdeps/powerpc/sysdep.h: ... here. Include it.
699 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
700 * sysdeps/sparc/sysdep.h: ... here. Include it.
701 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
702 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
704 Update.
c7683a6d
RH
705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
708 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
713
a6f1845d
AZ
7142012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
715
716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
717
cbcbe830
DM
7182012-05-19 David S. Miller <davem@davemloft.net>
719
720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
721
e0b16cc2
JM
7222012-05-19 Joseph Myers <joseph@codesourcery.com>
723
724 [BZ #14123]
725 * math/s_ccosh.c: Include <float.h>
726 (__ccosh): Avoid internal overflow calculating sinh and cosh
727 values before multiplying by sin and cos values.
728 * math/s_ccoshf.c: Likewise.
729 * math/s_ccoshl.c: Likewise.
730 * math/s_csin.c: Likewise.
731 * math/s_csinf.c: Likewise.
732 * math/s_csinl.c: Likewise.
733 * math/s_csinh.c: Likewise.
734 * math/s_csinhf.c: Likewise.
735 * math/s_csinhl.c: Likewise.
736 * math/libm-test.inc (ccos_test): Add more tests.
737 (ccosh_test): Likewise.
738 (csin_test): Likewise.
739 (csinh_test): Likewise.
740 * sysdeps/i386/fpu/libm-test-ulps: Update.
741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
742
6ad13e08
L
7432012-05-19 H.J. Lu <hongjiu.lu@intel.com>
744
f66f0ce8
L
745 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
746 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
747
6ad13e08
L
748 * sysdeps/x86_64/x32/_itoa.h: Add comment.
749
b1d072a7
JM
7502012-05-19 Joseph Myers <joseph@codesourcery.com>
751
752 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
753 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
754 * sysdeps/powerpc/soft-fp/Versions: Likewise.
755 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
756 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
757 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
758 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
759 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
760 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
761 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
762 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
763 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
764 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
765 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
766 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
767 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
768 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
769 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
770 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
771 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
772 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
773 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
774 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
775 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
776 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
777 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
778 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
779 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
780 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
781 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
782 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
783
9eae47cb
AJ
7842012-05-18 Andreas Jaeger <aj@suse.de>
785
786 * csu/.gitignore: Delete.
787
bb07f69f
L
7882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
789
790 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
791 (timex): Use __syscall_slong_t.
792
e6bdb741
AJ
7932012-05-18 Andreas Jaeger <aj@suse.de>
794 Carlos O'Donell <carlos_odonell@mentor.com>
795
796 * manual/install.texi (Configuring and compiling): Update
797 description about files modified in the source directory.
d6c33fda 798 * INSTALL: Regenerated.
e6bdb741 799
1b74487e
L
8002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
801
802 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
803 value. Use "or" to set return value to -1.
804 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
805 negate return value.
806
a88b64b9
TMQMF
8072012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
808
809 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
810 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
811 failure if the compiler has Graphite support disabled.
812 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
813 Likewise.
814 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
815 CFLAGS-memmove.c): Likewise.
816 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
817 Likewise.
818
3707636e
L
8192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
820
610b8622
L
821 * sysdeps/x86_64/x32/_itoa.h: New file.
822
7cd195df
L
823 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
824 getdents system call only if kernel and user dirents have the
825 same d_ino and d_off.
826
94b07d20
L
827 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
828 LLONG_MAX != LONG_MAX.
829 (_itoa_word): Use _ITOA_WORD_TYPE on value.
830 (_fitoa_word): Likewise.
831
18298070
L
832 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
833 years.
834 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
835 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
836 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
837
553c7ea4
L
838 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
839 include <bits/wordsize.h>. Check __x86_64__ instead of
840 __WORDSIZE.
841 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
842 if __x86_64__ is defined. Use anonymous union on fpstate.
843
3707636e
L
844 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
845 anonymous union.
846
b53ef01a
AS
8472012-05-18 Andreas Schwab <schwab@linux-m68k.org>
848
37fb1dc0
AS
849 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
850 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
851 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
852 Refer to _rtld_local_ro instead of _rtld_global_ro.
853 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
854 Likewise.
855 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
856 Likewise.
857 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
858 Likewise.
859 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
860 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
861 of _rtld_global, and rtld_progname instead of _dl_argv[0].
862
b53ef01a
AS
863 * sysdeps/powerpc/powerpc32/dl-machine.c
864 (__elf_machine_runtime_setup) [PROF]: Don't reference
865 _dl_prof_resolve.
866
7a185db2
AJ
8672012-05-18 Andreas Jaeger <aj@suse.de>
868
869 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
870 function only available for GCCs before 3.4 since GCC 3.4
871 introduced a builtin.
872 (lrint): Likewise.
873 (llrintf): Likewise.
874 (llrint): Likewise.
875 (fmaxf): Likewise.
876 (fmax): Likewise.
877 (fminf): Likewise.
878 (fmin): Likewise.
879 (rint): Likewise.
880 (rintf): Likewise.
881 (nearbyint): Likewise.
882 (nearbyintf): Likewise.
883 (ceil): Likewise.
884 (ceilf): Likewise.
885 (floor): Likewise.
886 (floorf): Likewise.
887
3e5aef87
L
8882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
889
428bd707
L
890 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
891 on both fields and cast pointer to __syscall_ulong_t.
892
3e5aef87
L
893 * bits/types.h (__fsword_t): New type.
894 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
895 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
896 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
897 (__FSWORD_T_TYPE): Likewise.
898 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
899 (__FSWORD_T_TYPE): Likewise.
900 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
901 (__FSWORD_T_TYPE): Likewise.
902 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
903 (__FSWORD_T_TYPE): Likewise.
904 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
905 __SWORD_TYPE with __fsword_t.
906 (statfs64): Likewise.
907
1ba7c3dc
DM
9082012-05-17 David S. Miller <davem@davemloft.net>
909
910 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
911
59910343
AJ
9122012-05-17 Andreas Jaeger <aj@suse.de>
913
914 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
915 warning.
916
2e4c1e9e
L
9172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
918
919 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
920
de7f5ce7
AJ
9212012-05-17 Andreas Jaeger <aj@suse.de>
922
923 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
924 when it is used.
925
286abc3d
CM
9262012-05-17 Chris Metcalf <cmetcalf@tilera.com>
927
928 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
929
477cc68e
L
9302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
931
932 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
933 * sysdeps/x86_64/tst-mallocalign1.c: New file.
934
1a0994f5
CD
9352012-05-17 Andreas Jaeger <aj@suse.de>
936 Carlos O'Donell <carlos_odonell@mentor.com>
937
938 [BZ #14059]
939 * sysdeps/x86_64/multiarch/init-arch.h
940 (bit_YMM_Usable): Rename to...
941 (bit_AVX_Usable): ... this.
942 (bit_FMA4_Usable): New macro.
943 (bit_XMM_state): New macro.
944 (bit_YMM_state): New macro.
945 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
946 [__ASSEMBLER__] (index_AVX_Usable): ... this.
947 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
948 (CPUID_OSXSAVE): New macro.
949 (CPUID_AVX): New macro.
950 (CPUID_FMA4): New macro.
951 (index_YMM_Usable): Rename to...
952 (index_AVX_Usable): ... this.
953 (HAS_AVX): Use HAS_ARCH_FEATURE.
954 (HAS_FMA4): Likewise.
955 (HAS_YMM_USABLE): Remove.
956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
957 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
958 are present.
959 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
960 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
961 * sysdeps/x86_64/multiarch/Makefile: Likewise.
962 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
963 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
964
0af797de
CM
9652012-05-17 Chris Metcalf <cmetcalf@tilera.com>
966
967 * math/libm-test.c: Support platforms without multiple rounding modes.
968 * math/bug-nextafter.c: Support platforms without FP exceptions.
969 * math/bug-nexttoward.c: Likewise.
970 * math/test-fenv.c: Likewise.
971 * math/test-misc.c: Likewise.
972 * stdlib/bug-getcontext.c: Likewise.
973
e39745ff
AJ
9742012-05-17 Andreas Jaeger <aj@suse.de>
975
976 * manual/examples/search.c (critter_cmp): Change signature to
977 avoid warnings.
978 * manual/string.texi (Collation Functions): Likewise.
979
48970aba
L
9802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
981
982 * bits/types.h: Fold copyright years.
983 * bits/typesizes.h: Likewise.
984 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
985 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
986 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
988 * time/time.h: Likewise.
989
bedee953
PP
9902012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
991
992 [BZ #208]
993 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
994 in instead of returning them. Return void.
995 (__libc_mallinfo): Accumulate over all arenas.
996 (__malloc_stats): Adjust for change in int_mallinfo interface.
997
61653dfb
RM
9982012-05-16 Roland McGrath <roland@hack.frob.com>
999
30b99d79
RM
1000 [BZ #10375]
1001 * configure.in (NM): Add AC_CHECK_TOOL for it.
1002 (libc_extra_cflags): New substituted variable.
1003 Check for -fstack-protector being used implicitly.
1004 * configure: Regenerated.
1005 * config.make.in (config-extra-cflags): New variable,
1006 gets @libc_extra_cflags@.
1007 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1008
61653dfb
RM
1009 [BZ #10375]
1010 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1011 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1012 * configure: Regenerated.
1013 * config.make.in (CPPUNDEFS): New substituted variable.
1014 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1015 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1016 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1017
661768bb
L
10182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1019
1020 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1021 (mq_attr): Use __syscall_slong_t.
1022
d4261567
L
10232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1024
1025 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1026 Check __x86_64__ instead of __WORDSIZE.
1027 (_STAT_VER_LINUX): Likewise.
1028 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1029 __syscall_ulong_t and __syscall_slong_t.
1030 (stat64): Likewise.
1031
cf3ff365
L
10322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1033
1034 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1035
76cf3e4d
L
10362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1037
1038 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1039
a637753a
L
10402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1041
1042 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1043 __syscall_ulong_t.
1044
d5e05119
L
1045 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1046 include <bits/wordsize.h>. Check __x86_64__ instead of
1047 __WORDSIZE.
1048 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1049 defined.
1050 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1051
f62ee380
L
1052 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1053 include <bits/wordsize.h>. Check __x86_64__ instead of
1054 __WORDSIZE.
1055 (user_regs_struct): Use "__extension__ unsigned long long"
1056 instead of "unsigned long" if __x86_64__ is defined.
1057 (user): Likewise. Pad after pointer field if __ILP32__ is
1058 defined.
1059
4e124ced
JM
10602012-05-16 Joseph Myers <joseph@codesourcery.com>
1061
6a3951a0
JM
1062 * configure.in (makeinfo): Require version 4.5 or later. Allow
1063 versions 5 to 9.
1064 * configure: Regenerated.
1065 * manual/install.texi (texinfo): Increase version requirement to
1066 4.5 or later.
1067 * INSTALL: Regenerated.
1068
4e124ced
JM
1069 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1070
953ca31a
L
10712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1072
1073 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1074
617aca05
L
1075 * sysdeps/x86_64/x32/ffs.c: New file.
1076
5762f7ae
L
1077 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1078 __syscall_ulong_t.
1079 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1080 defined. Use __syscall_ulong_t.
1081 (shminfo): Use __syscall_ulong_t.
1082 (shm_info): Likewise.
1083
a26b6856
L
1084 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1085 __syscall_ulong_t.
1086
cb2b9ef7
L
1087 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1088 <bits/wordsize.h>.
1089 (msgqnum_t): Use __syscall_ulong_t.
1090 (msglen_t): Likewise.
1091 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1092 __syscall_ulong_t.
1093
34683bb0
L
1094 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1095 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1096
84a68786
L
1097 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1098
48baa5f1
L
1099 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1100 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1101
180be88b
L
1102 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1103 __syscall_slong_t.
1104
5e90c8ad
L
1105 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1106 include <bits/wordsize.h>. Check __x86_64__ instead of
1107 __WORDSIZE.
1108
23dfb58b
L
1109 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1110 "unsigned long long int" if __x86_64__ is defined.
1111 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1112
ce5d54b0
L
1113 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1114 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1115 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1116
13dc9eac
L
1117 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1118 <stdint.h>.
1119 (GET_PC): Cast to uintptr_t first.
1120 (GET_FRAME): Likewise.
1121 (GET_STACK): Likewise.
1122
a7895d15
L
1123 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1124 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1125 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1126 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1127 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1128 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1129 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1130 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1131 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1132 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1133 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1134 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1135 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1136 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1137 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1138 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1139 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1140 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1141 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1142 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1143 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1144 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1145 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1146 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1147 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1148 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1149 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1150 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1151 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1152
656416c9
AS
11532012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1154
5bd66283
AS
1155 * Makerules (+depfiles): Also collect depfiles from .oS in
1156 $(extra-objs).
1157 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1158 .oS, $(libnldbl-routines)).
1159
656416c9
AS
1160 * Makerules (native-compile-mkdep-flags): Define.
1161 * sunrpc/Makefile (extra-objs): Add $(addprefix
1162 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1163 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1164 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1165 calling $(make-target-directory).
1166
a46f2169
L
11672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1168
1169 * bits/types.h (__snseconds_t): Removed.
1170 * time/time.h (struct timespec): Replace __snseconds_t with
1171 __syscall_slong_t.
1172 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1173 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1174 Likewise.
1175 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1176 (__SNSECONDS_T_TYPE): Likewise.
1177 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1178 (__SNSECONDS_T_TYPE): Likewise.
1179 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1180 (__SNSECONDS_T_TYPE): Likewise.
1181
6af6528b
L
11822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1183
1184 * sysdeps/mach/hurd/bits/typesizes.h
1185 (__SYSCALL_SLONG_TYPE): New macro.
1186 (__SYSCALL_ULONG_TYPE): Likewise.
1187
de986b56
L
11882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1189
1190 * bits/types.h (__syscall_slong_t): New type.
1191 (__syscall_ulong_t): Likewise.
1192
1193 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1194 (__SYSCALL_ULONG_TYPE): Likewise.
1195 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1196 (__SYSCALL_SLONG_TYPE): Likewise.
1197 (__SYSCALL_ULONG_TYPE): Likewise.
1198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1199 (__SYSCALL_SLONG_TYPE): Likewise.
1200 (__SYSCALL_ULONG_TYPE): Likewise.
1201 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1202 (__SYSCALL_SLONG_TYPE): Likewise.
1203 (__SYSCALL_ULONG_TYPE): Likewise.
1204
85736dc7
L
12052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1206
1207 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1208 Add sigaltstack-offsets.sym.
1209 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1210 <sigaltstack-offsets.h>.
1211 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1212 longjmp_msg pointer.
1213 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1214 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1215 signal stack.
1216 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1217
cc03b296
JM
12182012-05-15 Joseph Myers <joseph@codesourcery.com>
1219
a9538892
JM
1220 * elf/stackguard-macros.h: Remove file.
1221 * sysdeps/generic/stackguard-macros.h: New file.
1222 * sysdeps/i386/stackguard-macros.h: Likewise.
1223 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1224 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1225 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1226 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1227 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1228 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1229 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1230 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1231 <elf/stackguard-macros.h>.
1232
cc03b296
JM
1233 [BZ #14109]
1234 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1235 __aligned__ in attribute.
1236 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1237 (gregset_t): Likewise.
1238
93171016
L
12392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1240
1241 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1242 * sysdeps/x86_64/64/Implies-after: Here. New file.
1243 * sysdeps/x86_64/x32/Implies-after: New file.
1244
d86813a0
L
12452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1246
1247 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1248 and access return value for _dl_profile_fixup. Use R10_LP to
1249 load frame size.
1250
2953ec75
L
12512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1252
1253 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1254
3b550e9e
L
12552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1256
1257 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1258 * sysdeps/x86_64/x32/sysdep.h: New file.
1259
eda41706
L
12602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1261
1262 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1263 * sysdeps/x86_64/setjmp.S: Likewise.
1264
9ea01d93
AZ
12652012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1266
1267 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1268 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1269 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1270 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1271 remove unused global constant.
1272
02a91938
CM
12732012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1274
1275 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1276 include of <not-cancel.h>.
1277
6540185f
RM
12782012-05-15 Roland McGrath <roland@hack.frob.com>
1279
1280 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1281
509072a0
AJ
12822012-05-15 Jeff Law <law@redhat.com>
1283 Andreas Jaeger <aj@suse.de>
1284
1285 [BZ #13594]
1286 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1287 out from...
1288 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1289 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1290 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1291 code changing __hst_map_handle.map.
1292
ba75122d
RM
12932012-05-15 Roland McGrath <roland@hack.frob.com>
1294
1295 * configure.in (sysnames): Look for Implies-before and Implies-after
1296 files.
1297 * configure: Regenerated.
1298
890d8bd8
L
12992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1300
1301 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1302 8-byte data alignment with LP_SIZE alignment.
1303
f6ee6623
L
13042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1305
1306 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1307 into R10_LP.
1308
ea2626f6
L
13092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1310
1311 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1312
085f715e
L
13132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1314
1315 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1316 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1317 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1318 Likewise.
1319 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1320
be8498fc
L
13212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1322
1323 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1324 (stackinfo_sub_sp): Likewise.
1325
70bc83b9
L
13262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1327
1328 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1329 RAX_LP.
1330
9bc0b730
L
13312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1332
1333 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1334 into R*_LP.
1335
6d2850e7
L
13362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1337
1338 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1339 sizes into R*_LP.
1340
3cb84561
L
13412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1342
1343 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1344
54e2ed81
L
13452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1346
1347 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1348 into R11_LP and load __x86_64_shared_cache_size_half into
1349 R8_LP.
1350
8a17f349
L
13512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1352
1353 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1354 R8_LP.
1355
777b1eea
AZ
13562012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1357
1358 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1359 logb for POWER7.
1360 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1361 logbf for POWER7.
1362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1363 logbl for POWER7.
1364 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1365 powerpc32/power7/fpu/s_logb.c via #include.
1366 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1367 powerpc32/power7/fpu/s_logbf.c via #include.
1368 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1369 powerpc32/power7/fpu/s_logbl.c via #include.
1370
d20d4ac2
JM
13712012-05-15 Joseph Myers <joseph@codesourcery.com>
1372
1373 * README.libm: Remove file.
1374
6cdef1ab
L
13752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1376
1377 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1378 count for x32. Use R*_LP and omit operand-size suffix.
1379
0b254d8f
L
13802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1381
1382 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1383 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1384 * sysdeps/x86_64/x32/shlib-versions: New file.
1385
ceb809dc
RM
13862012-05-14 Roland McGrath <roland@hack.frob.com>
1387
1388 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1389 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1390 Use _dl_fatal_printf instead.
1391
37f1abd4
JM
13922012-05-14 Joseph Myers <joseph@codesourcery.com>
1393
1394 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1395 set if not set by the user. Do not allow for being unset.
1396 * sysdeps/unix/sysv/linux/configure: Regenerated.
1397
11de3a33
L
13982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1401 the `q' suffix from lea and replace .quad with ASM_ADDR.
1402
e02f153a
L
14032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1404
1405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1406 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1407 instead of $17.
1408 (PTR_DEMANGLE): Likewise.
1409
520ae0fd
L
14102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1411
1412 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1413 (LP_OP): Likewise.
1414 (ASM_ADDR): Likewise.
1415 (RAX_LP): Likewise.
1416 (RBP_LP): Likewise.
1417 (RBX_LP): Likewise.
1418 (RCX_LP): Likewise.
1419 (RDI_LP): Likewise.
1420 (RSI_LP): Likewise.
1421 (RSP_LP): Likewise.
1422 (R8_LP): Likewise.
1423 (R9_LP): Likewise.
1424 (R10_LP): Likewise.
1425 (R10_LP): Likewise.
1426 (R11_LP): Likewise.
1427 (R12_LP): Likewise.
1428 (R13_LP): Likewise.
1429 (R14_LP): Likewise.
1430 (R15_LP): Likewise.
1431
b985be81
L
14322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1433
1434 * sysdeps/x86_64/x32/dl-machine.h: New file.
1435
6a4888ff
AJ
14362012-05-14 Andreas Jaeger <aj@suse.de>
1437
1438 * manual/Makefile (subdir): Remove export of subdir.
1439 (all): Remove target.
1440 (.PHONY): Remove all from list.
1441 (mkinstalldirs): Remove.
1442 (.PHONY): Remove installdirs from list.
1443 ($(inst_infodir)/libc.info): Use make-target-directory.
1444 (installdirs): Remove.
1445 (subdir_%): Remove.
1446 (glibc-targets): Remove.
1447 (lib): Remove.
1448 (stubs): Remove.
1449 ($(objpfx)stubs ../po/manual.pot): Remove.
1450 ($(objpfx)stamp%): Remove.
1451 (make-target-directory): Remove.
1452 (subdir_install): Remove.
1453 (routines): Remove.
1454 (aux): Remove.
1455 (sources): Remove.
1456 (objects): Remove.
1457 (headers): Remove.
1458
1459 [BZ #13750]
1460 * manual/.gitignore: Remove, it's not needed anymore.
1461 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1462 all files in it.
1463 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1464 directory.
1465 (texis): Renamed to $(objpfx)texis.
1466 (texis-path): New, contains path to generated files.
1467 (chapters.%): Use texis-path for complete path, add extra argument
1468 libc-texinfo.sh.
1469 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1470 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1471 (summary,texi, stamp-summary): Use complete path of
1472 files. Generate files in build dir.
1473 (dir-add.texi): Build in build dir.
1474 (libm-err.texi,stamp-libm-err): Likewise.
1475 (version.texi, stamp-version): Likewise.
1476 (.%c.texi): Likewise.
1477 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1478 (mostlyclean): Remove target.
1479 (realclean): Remove target.
1480 (generated): Add new variable with contents from mostlyclean and
1481 realclean, remove entries duplicated in common-mostlyclean, add
1482 stamp-libm-err and stamp-version.
1483 (generated-dirs): Add libc directory.
1484 ($(inst_infodir)/libc.info): Install files from build dir.
1485
1486 * manual/install.texi (Configuring and compiling): Adjust since
1487 the info files are not part of the tar ball anymore.
1488
7ac77294
AJ
14892012-05-14 Andreas Jaeger <aj@suse.de>
1490
1491 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1492 variable.
1493
ffb7875d
JM
14942012-05-14 Joseph Myers <joseph@codesourcery.com>
1495
1496 [BZ #13717]
1497 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1498 to 2.2.0 where earlier.
1499 * sysdeps/unix/sysv/linux/configure: Regenerated.
1500 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1501 Remove conditional code.
1502 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1503 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1504 Remove conditional code.
1505 [!__NR_lchown]: Likewise.
1506 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1507 [__NR_lchown]: Likewise.
1508 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1509 comment referencing __ASSUME_LCHOWN_SYSCALL.
1510 * sysdeps/unix/sysv/linux/i386/sigaction.c
1511 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1512 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1513 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1514 Remove conditional code.
1515 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1516 (__protocol_available): Remove #if 0 code.
1517 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1518 conditional code.
1519 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1520 * sysdeps/unix/sysv/linux/kernel-features.h
1521 (__ASSUME_GETCWD_SYSCALL): Don't define.
1522 (__ASSUME_REALTIME_SIGNALS): Likewise.
1523 (__ASSUME_PREAD_SYSCALL): Likewise.
1524 (__ASSUME_PWRITE_SYSCALL): Likewise.
1525 (__ASSUME_POLL_SYSCALL): Likewise.
1526 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1527 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1528 non-SPARC.
1529 (__ASSUME_SIOCGIFNAME): Don't define.
1530 (__ASSUME_MSG_NOSIGNAL): Likewise.
1531 (__ASSUME_SENDFILE): Define unconditionally.
1532 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1533 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1534 conditional code.
1535 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1536 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1537 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1538 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1539 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1540 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1541 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1543 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1544 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1546 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1547 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1549 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1550 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1552 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1553 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1555 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1556 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1558 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1559 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1561 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1562 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1564 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1566 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1567 Remove conditional code.
1568 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1569 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1570 Remove conditional code.
1571 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1572 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1573 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1574 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1575 Remove conditional code.
1576 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1577 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1578 Remove conditional code.
1579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1580 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1581 Remove conditional code.
1582 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1583 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1584 Remove conditional code.
1585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1586 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1587 Remove conditional code.
1588 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1589 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1590 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1591 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1592 * sysdeps/unix/sysv/linux/sigaction.c
1593 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1594 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1595 * sysdeps/unix/sysv/linux/sigpending.c
1596 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1597 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1598 * sysdeps/unix/sysv/linux/sigprocmask.c
1599 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1600 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1601 * sysdeps/unix/sysv/linux/sigsuspend.c
1602 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1603 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1604 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1605 (__libc_missing_rt_sigs): Remove.
1606 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1607 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1608 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1609 Remove conditional code.
1610 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1611 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1612 return 1.
1613 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1614 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1615 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1616 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1617
1bfb7291
AJ
16182012-05-14 Andreas Jaeger <aj@suse.de>
1619
caae5a81
AJ
1620 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1621 it's not used in glibc.
1622 (__coshm1): Likewise.
1623 (__acosh1p): Likewise.
1624 (__sgn): Likewise.
1625
1bfb7291
AJ
1626 * manual/string.texi (Copying and Concatenation): Add missing
1627 variable in concat example.
1628 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1629
c044d724
L
16302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1631
144c5467 1632 [BZ #14103]
c044d724
L
1633 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1634 __builtin_clzl with __builtin_clzll.
1635
2523c62b
L
16362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1637
1638 [BZ #14104]
1639 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1640 libc_freeres_ptr.
1641
d7bb4c42
LD
16422012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1643
1644 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1645 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1646 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1647 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1648
9dc4e1fb
MF
16492012-05-14 Mike Frysinger <vapier@gentoo.org>
1650
1651 * NEWS: Update ia64 info.
1652
c7df0112
AS
16532012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1654
1655 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1656 used as bcopy.
1657
dc70356c
TS
16582012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1659
1660 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1661 * sysdeps/unix/syscalls.list (dup3): Likewise.
1662 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1663 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1664
9fb1a21f
L
16652012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1666
1667 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1668 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1669
4822a2a5
L
16702012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1671
1672 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1673 thread pointer.
1674 (TLS_IE): Use mov/add instead of movq/addq to load thread
1675 pointer.
1676 (TLS_GD_PREFIX): New.
1677 (TLS_GD): Use it.
1678
842b81d6
DM
16792012-05-11 David S. Miller <davem@davemloft.net>
1680
1681 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1682 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1683 (_FPU_SETCW): Likewise.
1684
1cf463cd
L
16852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1686
1687 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1688 is 32-byte aligned.
1689
60cc4a18
AS
16902012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1691
1692 [BZ #11837]
1693 * iconvdata/gb18030.c: Update tables.
1694 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1695 characters specially.
1696 (BODY for TO_LOOP): Add encoding of missing ranges.
1697
febb44a4
TS
16982012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1699
1700 [BZ #13673]
1701 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1702 * sysdeps/mach/hurd/dup3.c: Likewise.
1703 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1704 * sysdeps/powerpc/memmove.c:: Likewise.
1705
0a10fb9e
L
17062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1707
1708 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1709 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1710
df8a552f
L
17112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1712
1713 * elf/elf.h (R_X86_64_RELATIVE64): New.
1714 (R_X86_64_NUM): Updated.
1715 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1716 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1717 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1718 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1719 tst-quad1pie tst-quad2pie
1720 (modules-names): Add tst-quadmod1 tst-quadmod2.
1721 ($(objpfx)tst-quad1): New dependency.
1722 ($(objpfx)tst-quad2): Likewise.
1723 ($(objpfx)tst-quad1pie): Likewise.
1724 ($(objpfx)tst-quad2pie): Likewise.
1725 * sysdeps/x86_64/tst-quad1.c: New file.
1726 * sysdeps/x86_64/tst-quad1pie.c: New file.
1727 * sysdeps/x86_64/tst-quad2.c: Likewise.
1728 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1729 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1730 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1731 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1732 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1733
f34d6f84
ST
17342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1735
f42d41d1
ST
1736 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1737 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1738 * streams/stropts.h (t_scalar_t): Define type.
1739
3c3571fc
ST
1740 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1741 (_PATH_PRESERVE): Set to "/var/lib".
1742 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1743
61f06bd3
ST
1744 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1745 instead of int.
1746
918d4d71
ST
1747 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1748 if __dir_mkfile succeeded.
1749
f34d6f84
ST
1750 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1751 checking for _hurd_dtablesize. Unlock it right after having
1752 finished _hurd_dtable allocation.
1753
10589b4a
TS
17542012-05-10 Thomas Schwinge <thomas@schwinge.name>
1755
674cdbc7
TS
1756 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1757 * sysdeps/mach/hurd/configure: Regenerated.
1758 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1759 special-casing to...
1760 * sysdeps/gnu/configure.in: ... this new file.
1761 * sysdeps/unix/sysv/linux/configure: Regenerated.
1762 * sysdeps/gnu/configure: New generated file.
1763
8e41b99f
TS
1764 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1765 for Linux: use nsec instead of usec, as well as:
1766 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1767 members of type struct timespec.
1768 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1769 New macros.
1770 (struct stat64): Likewise.
1771 (_STATBUF_ST_NSEC): New macro.
1772 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1773
10589b4a
TS
1774 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1775 __strtoul_internal rather than strtoul.
1776
63643c85
PT
17772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1778
1779 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1780 and reject them.
1781
3faebe6a
ST
17822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1783
1784 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1785 which preserves existing values.
1786 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1787
c6474b07
PT
17882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1789
1790 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1791 TIMEOUT values. Return EINVAL for NFDS values either negative or
1792 greater than FD_SETSIZE.
1793
1043890b
ST
17942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1795
1796 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1797 allocated, call __vm_protect to finish enabling the existing space, and
1798 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1799 allocate the remainder.
1800
37ed8b9b
PT
18012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1802
1803 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1804 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1805
db653660
ST
18062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1807
37ed8b9b
PT
1808 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1809 sysdeps/mach/hurd/readlink.c.
b29d4053 1810
db653660
ST
1811 * posix/tst-sysconf.c (posix_options): Only use
1812 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1813 _POSIX_SYNCHRONIZED_IO when they are defined
1814 * sysdeps/mach/hurd/bits/posix_opt.h:
1815 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1816 (_XOPEN_REALTIME): Undefine macro.
1817 (_XOPEN_REALTIME_THREADS): Undefine macro.
1818 (_XOPEN_SHM): Undefine macro.
1819 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1820 macro to -1.
1821 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1822 macro to -1.
1823 (_POSIX_ASYNC_IO): Undefine macro.
1824 (_POSIX_PRIORITIZED_IO): Undefine macro.
1825 (_POSIX_SPIN_LOCKS): Define macro to -1.
1826
ee16e894
ST
1827 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1828 SA_NODEFER, SA_RESETHAND.
1829 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1830 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1831 F_DUPFD_CLOEXEC.
1832
6103ae3b
TS
18332012-05-10 Thomas Schwinge <thomas@schwinge.name>
1834
1835 * elf/Makefile (pldd-modules): Define unconditionally.
1836
80b4e5f3
TS
18372012-05-10 Thomas Schwinge <thomas@schwinge.name>
1838
1839 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1840
edadcbd6
ST
18412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1842
1843 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1844 Return ENOENT when name is empty.
1845 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1846
80694780
TS
18472012-05-10 Thomas Schwinge <thomas@schwinge.name>
1848
1792c087
TS
1849 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1850
80694780
TS
1851 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1852
6b645f0d
ST
18532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1854
80694780
TS
1855 Fix mlock in all cases except non-readable pages.
1856 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1857 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 1858
6b645f0d
ST
1859 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1860 (__mkdir): When path is `/', just fail with EEXIST.
1861 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1862
e468f8a3
TS
18632012-05-10 Thomas Schwinge <thomas@schwinge.name>
1864
1865 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1866 <sys/uio.h> (for writev).
1867 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1868 and <sys/param.h> (for MIN).
1869
a4186cff
PT
18702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1871
1872 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1873 REQUESTED_TIME. Properly set the remaining time and return EINTR
1874 if interrupted.
1875
510bbf14
TS
18762012-05-10 Thomas Schwinge <thomas@schwinge.name>
1877
1878 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1879 Depend on against $(link-rpcuserlibs).
1880
5d5722e8
ST
18812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1882
a4186cff
PT
1883 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1884 (__libc_stack_end): Do not use attribute_relro.
1885 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1886 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 1887 to libthread-provided value.
a4186cff
PT
1888 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1889 attribute_relro.
5d5722e8 1890
37233df9
TS
18912012-05-10 Thomas Schwinge <thomas@schwinge.name>
1892
be971a2b
TS
1893 [BZ #3748]
1894 * bits/libc-lock.h (__libc_once_get): New macro.
1895 * sysdeps/mach/bits/libc-lock.h: Likewise.
1896 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1897 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1898 instead of using implementation details.
1899
37233df9
TS
1900 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1901 * libio/freopen.c: Likewise.
1902 * libio/freopen64.c: Likewise.
1903 * misc/syslog.c: Likewise.
1904 * nscd/connections.c: Likewise.
1905 * nscd/netgroupcache.c: Likewise.
1906 * sysdeps/posix/getcwd.c: Likewise.
1907
38de94a5
RM
19082012-05-10 Roland McGrath <roland@hack.frob.com>
1909
1910 * math/w_ilogbf.c: Add #include <limits.h>.
1911
67530489
ST
19122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1913
a4186cff 1914 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
1915 path instead of returning without unlocking.
1916
67530489
ST
1917 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1918 immediate-write ioctls.
1919 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1920
5aa3a74a
TS
19212012-05-10 Thomas Schwinge <thomas@schwinge.name>
1922
18bad2ae
TS
1923 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1924 __builtin_frame_address instead of making assumptions about the
1925 location of the return address relative to DATA. Force early load of
1926 the return address.
1927 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1928 __builtin_frame_address.
1929
5aa3a74a
TS
1930 dup3 for GNU Hurd.
1931 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1932 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1933 implement dup3 and do some further code clean-ups.
1934 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1935 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1936
ecd0de9a
ST
19372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1938
cd9fa985
ST
1939 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1940
a4186cff
PT
1941 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1942 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1943 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1944 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1945 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1946 d->port.lock.
802ca5a5 1947
a4186cff
PT
1948 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1949 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1950 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 1951
bcf55240
TS
19522012-05-10 Thomas Schwinge <thomas@schwinge.name>
1953
6960eb42
TS
1954 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1955 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1956 definitions.
1957
eb43375f
TS
1958 accept4 for GNU Hurd.
1959 * include/sys/socket.h (__libc_accept4): New prototype.
1960 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1961 to implement __libc_accept4.
1962 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1963 __libc_accept4.
1964 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1965
bcf55240
TS
1966 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1967 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1968 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1969 signal-defines.sym.
1970
6178c55b
ST
19712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1972
a4186cff 1973 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 1974
6f080c2f
TS
19752012-05-10 Thomas Schwinge <thomas@schwinge.name>
1976
1977 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1978 assertion on O_CLOEXEC flag.
1979 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1980 * hurd/intern-fd.c: Likewise.
1981 * hurd/port2fd.c: Likewise.
1982
bcfe3a54
ST
19832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1984
1985 [BZ #3906]
1986 * bits/in.h (IPV6_PKTINFO): Define new macro.
1987 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1988
89c9aa49
AZ
19892012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1990
1991 [BZ #13954]
1992 [BZ #13955]
1993 [BZ #13956]
1994 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1996 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1997 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1998 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1999 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2000 * math/libm-test.inc (logb_test) : Additional logb tests.
2001
021db4be
AJ
20022012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2003 Andreas Jaeger <aj@suse.de>
2004
2005 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2006 * configure: Regenerated.
2007 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2008 * config.make.in (link-obsolete-rpc): New substituted variable.
2009 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2010 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2011 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2012 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2013 so that libc.a contains the symbols.
2014 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2015 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2016 * sunrpc/auth_none.c: Likewise.
2017 * sunrpc/auth_unix.c: Likewise.
2018 * sunrpc/authdes_prot.c: Likewise.
2019 * sunrpc/authuxprot.c: Likewise.
2020 * sunrpc/clnt_gen.c: Likewise.
2021 * sunrpc/clnt_perr.c: Likewise.
2022 * sunrpc/clnt_raw.c: Likewise.
2023 * sunrpc/clnt_simp.c: Likewise.
2024 * sunrpc/clnt_tcp.c: Likewise.
2025 * sunrpc/clnt_udp.c: Likewise.
2026 * sunrpc/clnt_unix.c: Likewise.
2027 * sunrpc/des_crypt.c: Likewise.
2028 * sunrpc/des_soft.c: Likewise.
2029 * sunrpc/get_myaddr.c: Likewise.
2030 * sunrpc/key_call.c: Likewise.
2031 * sunrpc/key_prot.c: Likewise.
2032 * sunrpc/netname.c: Likewise.
2033 * sunrpc/pm_getmaps.c: Likewise.
2034 * sunrpc/pm_getport.c: Likewise.
2035 * sunrpc/pmap_clnt.c: Likewise.
2036 * sunrpc/pmap_prot.c: Likewise.
2037 * sunrpc/pmap_prot2.c: Likewise.
2038 * sunrpc/pmap_rmt.c: Likewise.
2039 * sunrpc/publickey.c: Likewise.
2040 * sunrpc/rpc_cmsg.c: Likewise.
2041 * sunrpc/rpc_common.c: Likewise.
2042 * sunrpc/rpc_dtable.c: Likewise.
2043 * sunrpc/rpc_prot.c: Likewise.
2044 * sunrpc/rpc_thread.c: Likewise.
2045 * sunrpc/rtime.c: Likewise.
2046 * sunrpc/svc.c: Likewise.
2047 * sunrpc/svc_auth.c: Likewise.
2048 * sunrpc/svc_raw.c: Likewise.
2049 * sunrpc/svc_run.c: Likewise.
2050 * sunrpc/svc_tcp.c: Likewise.
2051 * sunrpc/svc_udp.c: Likewise.
2052 * sunrpc/svc_unix.c: Likewise.
2053 * sunrpc/svcauth_des.c: Likewise.
2054 * sunrpc/xcrypt.c: Likewise.
2055 * sunrpc/xdr.c: Likewise.
2056 * sunrpc/xdr_array.c: Likewise.
2057 * sunrpc/xdr_float.c: Likewise.
2058 * sunrpc/xdr_intXX_t.c: Likewise.
2059 * sunrpc/xdr_mem.c: Likewise.
2060 * sunrpc/xdr_rec.c: Likewise.
2061 * sunrpc/xdr_ref.c: Likewise.
2062 * sunrpc/xdr_sizeof.c: Likewise.
2063 * sunrpc/xdr_stdio.c: Likewise.
2064
b5c086a2
RM
20652012-05-10 Roland McGrath <roland@hack.frob.com>
2066
2067 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2068 change. Update copyright years.
2069
6d74dd09
JM
20702012-05-10 Joseph Myers <joseph@codesourcery.com>
2071
2072 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2073
28e72501
MK
20742012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2075 Joseph Myers <joseph@codesourcery.com>
2076 Paul Pluzhnikov <ppluzhnikov@google.com>
2077
2078 [BZ #14012]
2079 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2080 requiring rpcgen.
2081 [cross-compiling] (extra-libs): Likewise.
2082 [cross-compiling] (extra-libs-others): Likewise.
2083 [cross-compiling] (librpcsvc-routines): Likewise.
2084 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2085 [cross-compiling] (omit-deps): Likewise.
2086 (sunrpc-CPPFLAGS): New variable.
2087 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2088 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2089 (cross-rpcgen-objs): New variable.
2090 (extra-objs): Append $(cross-rpcgen-objs).
2091 ($(cross-rpcgen-objs)): New rule.
2092 ($(objpfx)cross-rpcgen): Likewise.
2093 (rpcgen-cmd): Define to use $(built-program-file). Expand
2094 comment.
2095 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2096 ($(objpfx)x%.stmp): Likewise.
2097 * sunrpc/proto.h [IS_IN_build] (_): Define.
2098 [IS_IN_build] (_libc_intl_domainname): Likewise.
2099
c8c59454
L
21002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2101
2102 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2103 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2104 and R_X86_64_TPOFF64.
2105
6f27cd16
JM
21062012-05-10 Joseph Myers <joseph@codesourcery.com>
2107
2108 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2109 sysdeps/unix/sysv/syscalls.list.
2110 (stime): Likewise.
2111 (utime): Likewise.
2112 * sysdeps/unix/sysv/syscalls.list: Remove file.
2113
02467e1c
PE
21142012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2115
2116 [BZ #3440]
2117 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2118 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2119 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2120 (__LC_IDENTIFICATION): Make these macros useful in #if
2121 expressions, as required by C99.
2122
da392631
AS
21232012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2124
2125 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2126 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2127 after this.
2128
8115f29b
L
21292012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2130
2131 * stdlib/longlong.h: Updated from GCC.
2132
bdd74070
AJ
21332012-05-09 Andreas Jaeger <aj@suse.de>
2134
edfe0dbe
AJ
2135 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2136 default is first entry.
2137 (run_mode): Set type.
2138 (main): Remove informal message about syslog.
2139 (options): Fix typo.
2140
bcfe3a54
ST
2141 [BZ #14053]
2142 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2143 to asm.
bcfe3a54
ST
2144 (lrint): Likewise.
2145 (llrintf): Likewise.
2146 (llrint): Likewise.
2147 (rint): Likewise.
2148 (rintf): Likewise.
2149 (nearbyint): Likewise.
2150 (nearbyintf): Likewise.
bdd74070 2151
91d8d69e
AJ
21522012-05-09 Andreas Jaeger <aj@suse.de>
2153 Pedro Alves <palves@redhat.com>
2154
2155 * nscd/nscd.c (run_mode): Use enum.
2156 (main): Cleanup coding style issue.
2157
bb90b80b
AJ
21582012-05-09 Alexandre Oliva <aoliva@redhat.com>
2159 Andreas Jaeger <aj@suse.de>
2160
bcfe3a54
ST
2161 * nscd/nscd.c (go_background): Replaced with...
2162 (run_mode): ... this.
bb90b80b 2163 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2164 (options): Add -F --foreground.
2165 (main): Implement it.
2166 (parse_opt): Parse it.
bb90b80b 2167
1a4b75a1
AJ
21682012-05-09 Andreas Jaeger <aj@suse.de>
2169
2170 [BZ #14083]
2171 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2172 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2173 -Wconversion warning.
2174 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2175 Likewise.
2176
b1cc2472
JM
21772012-05-09 Joseph Myers <joseph@codesourcery.com>
2178
2179 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2180 == 0.
2181 (LC_ALL): Use macro-int-constant.
2182 (LC_COLLATE): Likewise.
2183 (LC_CTYPE): Likewise.
2184 (LC_MESSAGES): Likewise.
2185 (LC_MONETARY): Likewise.
2186 (LC_NUMERIC): Likewise.
2187 (LC_TIME): Likewise.
2188 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2189 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2190 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2191 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2192 Specify type.
2193 [C99-based standards] (float_t): Expect type.
2194 [C99-based standards] (double_t): Expect type.
2195 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2196 type.
2197 [C99-based standards] (HUGE_VALL): Likewise.
2198 [C99-based standards] (INFINITY): Likewise.
2199 [C99-based standards] (NAN): Likewise.
2200 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2201 [C99-based standards] (FP_NAN): Likewise.
2202 [C99-based standards] (FP_NORMAL): Likewise.
2203 [C99-based standards] (FP_SUBNORMAL): Likewise.
2204 [C99-based standards] (FP_ZERO): Likewise.
2205 [C99-based standards] (FP_FAST_FMA): Use
2206 optional-macro-int-constant. Specify type. Require == 1.
2207 [C99-based standards] (FP_FAST_FMAF): Likewise.
2208 [C99-based standards] (FP_FAST_FMAL): Likewise.
2209 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2210 [C99-based standards] (FP_ILOGBNAN): Likewise.
2211 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2212 Specify type.
2213 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2214 [C99-based standards] (math_errhandling): Specify type.
2215 [ISO99 || ISO11] (signgam): Do not allow.
2216 [non-C99-based standards] (copysignf): Do not allow.
2217 [non-C99-based standards] (exp2f): Likewise.
2218 [non-C99-based standards] (log2f): Likewise.
2219 [non-C99-based standards] (modff): Allow.
2220 [non-C99-based standards] (erff): Do not allow.
2221 [non-C99-based standards] (erfcf): Likewise.
2222 [non-C99-based standards] (gammaf): Likewise.
2223 [non-C99-based standards] (hypotf): Likewise.
2224 [non-C99-based standards] (j0f): Likewise.
2225 [non-C99-based standards] (j1f): Likewise.
2226 [non-C99-based standards] (jnf): Likewise.
2227 [non-C99-based standards] (lgammaf): Likewise.
2228 [non-C99-based standards] (tgammaf): Likewise.
2229 [non-C99-based standards] (y0f): Likewise.
2230 [non-C99-based standards] (y1f): Likewise.
2231 [non-C99-based standards] (ynf): Likewise.
2232 [non-C99-based standards] (isnanf): Likewise.
2233 [non-C99-based standards] (acoshf): Likewise.
2234 [non-C99-based standards] (asinhf): Likewise.
2235 [non-C99-based standards] (atanhf): Likewise.
2236 [non-C99-based standards] (cbrtf): Likewise.
2237 [non-C99-based standards] (expm1f): Likewise.
2238 [non-C99-based standards] (ilogbf): Likewise.
2239 [non-C99-based standards] (log1pf): Likewise.
2240 [non-C99-based standards] (logbf): Likewise.
2241 [non-C99-based standards] (nextafterf): Likewise.
2242 [non-C99-based standards] (remainderf): Likewise.
2243 [non-C99-based standards] (rintf): Likewise.
2244 [non-C99-based standards] (scalbf): Likewise.
2245 [non-C99-based standards] (copysignl): Likewise.
2246 [non-C99-based standards] (exp2l): Likewise.
2247 [non-C99-based standards] (log2l): Likewise.
2248 [non-C99-based standards] (modfl): Allow.
2249 [non-C99-based standards] (erfl): Do not allow.
2250 [non-C99-based standards] (erfcl): Likewise.
2251 [non-C99-based standards] (gammal): Likewise.
2252 [non-C99-based standards] (hypotl): Likewise.
2253 [non-C99-based standards] (j0l): Likewise.
2254 [non-C99-based standards] (j1l): Likewise.
2255 [non-C99-based standards] (jnl): Likewise.
2256 [non-C99-based standards] (lgammal): Likewise.
2257 [non-C99-based standards] (tgammal): Likewise.
2258 [non-C99-based standards] (y0l): Likewise.
2259 [non-C99-based standards] (y1l): Likewise.
2260 [non-C99-based standards] (ynl): Likewise.
2261 [non-C99-based standards] (isnanl): Likewise.
2262 [non-C99-based standards] (acoshl): Likewise.
2263 [non-C99-based standards] (asinhl): Likewise.
2264 [non-C99-based standards] (atanhl): Likewise.
2265 [non-C99-based standards] (cbrtl): Likewise.
2266 [non-C99-based standards] (expm1l): Likewise.
2267 [non-C99-based standards] (ilogbl): Likewise.
2268 [non-C99-based standards] (log1pl): Likewise.
2269 [non-C99-based standards] (logbl): Likewise.
2270 [non-C99-based standards] (nextafterl): Likewise.
2271 [non-C99-based standards] (remainderl): Likewise.
2272 [non-C99-based standards] (rintl): Likewise.
2273 [non-C99-based standards] (scalbl): Likewise.
2274 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2275 [non-C99-based standards] (FP_*): Do not allow.
2276 [C99-based standards] (FP_*): Change to
2277 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2278 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2279 allow.
2280 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2281 (SIG_ERR): Likewise.
2282 [X/Open-based standards] (SIG_HOLD): Likewise.
2283 (SIG_IGN): Likewise.
2284 (SIGABRT): Use macro-int-constant. Specify type. Require
2285 positive value.
2286 (SIGFPE): Likewise.
2287 (SIGILL): Likewise.
2288 (SIGINT): Likewise.
2289 (SIGSEGV): Likewise.
2290 (SIGTER): Likewise.
2291 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2292 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2293 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2294 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2295 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2296 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2297 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2298 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2299 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2300 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2301 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2302 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2303 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2304 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2305 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2306 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2307 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2308 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2309 [X/Open-based standards] (SIGTRAP): Likewise.
2310 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2311 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2312 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2313 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2314 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2315 allow.
2316
b9f1922d
IW
23172012-05-08 Ian Wienand <ianw@vmware.com>
2318
2319 [BZ #14080]
2320 * time/tzset.c (__tzset_parse_tz): Update default rules for
2321 daylight time changes in the Energy Policy Act of 2005.
2322
1db86e88
AJ
23232012-05-09 Andreas Jaeger <aj@suse.de>
2324
2325 [BZ #13983]
2326 * elf/ldconfig.c (parse_conf): Change string to make clear that
2327 ldconfig only issued a warning if ld.so.conf does not exist.
2328
dee4a4e3
DM
23292012-05-08 David S. Miller <davem@davemloft.net>
2330
ee0db190
DM
2331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2332 movxtod instead of popping the value on the stack.
2333
dee4a4e3
DM
2334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2335
6a43ec98
CD
23362012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2337
2338 * config.h.in: Add HAVE_ARM_PCS_VFP.
2339
05c2c961
RMG
23402012-05-08 Roland Mc Grath <roland@hack.frob.com>
2341
bcfe3a54
ST
2342 [BZ #13979]
2343 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2344 checking but the checks are disabled for any reason.
05c2c961 2345
4b30f61a
L
23462012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2347
2348 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2349 and ELF64_R_TYPE with ELFW(R_TYPE).
2350
eee2bc67
JM
23512012-05-08 Joseph Myers <joseph@codesourcery.com>
2352
7ea5391a
JM
2353 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2354 (ulimit): Likewise.
2355
eee2bc67
JM
2356 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2357 (settimeofday): Likewise.
2358
abb66a67
MF
23592012-05-08 Mike Frysinger <vapier@gentoo.org>
2360
2361 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2362 a struct th_u2 inside the union, and move tu_block/tu_code into
2363 a new th_u3 union of tu_block/tu_code inside of that. Move
2364 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2365 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2366 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2367 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2368 (th_stuff): Change to th_u1.tu_stuff.
2369 (th_data): Define.
2370 (th_msg): Change to th_u1.th_u2.tu_data.
2371
7f18b530
DM
23722012-05-07 David S. Miller <davem@davemloft.net>
2373
05760585
DM
2374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2375
7f18b530
DM
2376 [BZ #14074]
2377 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2378 (SETUP_PIC_REG): Use it.
2379 (SETUP_PIC_REG_LEAF): Use it.
2380
495fd99f
JM
23812012-05-07 Joseph Myers <joseph@codesourcery.com>
2382
2383 [BZ #13885]
2384 [BZ #13923]
2385 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2386 USE_AS_EXPM1L.
2387 (EXPL_FINITE): Likewise.
2388 (FLDLOG): Likewise.
2389 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2390 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2391 e_expl.S.
2392 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2393 USE_AS_EXPM1L.
2394 (EXPL_FINITE): Likewise.
2395 (FLDLOG): Likewise.
2396 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2397 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2398 e_expl.S.
2399 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2400 test of -max_value argument for long double.
2401 * sysdeps/i386/fpu/libm-test-ulps: Update.
2402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2403
6693d694
DM
24042012-05-06 David S. Miller <davem@davemloft.net>
2405
2406 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2407 quad soft-float symbols whose references which are compiler
2408 generated.
2409 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2410
6c23e11c
JM
24112012-05-06 Joseph Myers <joseph@codesourcery.com>
2412
d8b82cad
JM
2413 [BZ #13884]
2414 [BZ #13914]
2415 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2416 USE_AS_EXP10L.
2417 (EXPL_FINITE): Likewise.
2418 (FLDLOG): Likewise.
2419 (c0): Likewise.
2420 (c1): Likewise.
2421 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2422 Adjust comments for base varying.
2423 (__expl_finite): Change alias to EXPL_FINITE.
2424 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2425 e_expl.S.
2426 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2427 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2428 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2429 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2430 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2431 USE_AS_EXP10L.
2432 (EXPL_FINITE): Likewise.
2433 (FLDLOG): Likewise.
2434 (c0): Likewise.
2435 (c1): Likewise.
2436 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2437 Adjust comments for base varying.
2438 (__expl_finite): Change alias to EXPL_FINITE.
2439 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2440 tests for bugs.
2441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2442
6c23e11c
JM
2443 [BZ #14064]
2444 * math/libm-test.inc (check_float_internal): Correct ulp
2445 calculation for subnormal expected results.
2446
29ba805c
AJ
24472012-05-06 Andreas Jaeger <aj@suse.de>
2448
2449 * Makeconfig (+math-flags): New, set to -frounding-math.
2450 (+cflags): Add +math-flags so that all of glibc gets compiled with
2451 it.
2452
2453 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2454
7b17aeda
JM
24552012-05-05 Joseph Myers <joseph@codesourcery.com>
2456
5779f134
JM
2457 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2458 Disable one test.
2459
41498f4d
JM
2460 [BZ #13787]
2461 [BZ #13922]
2462 [BZ #14036]
2463 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2464 (__ieee754_expl): Allow for and saturate large arguments.
2465 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2466 (u_threshold): Likewise.
2467 (__exp): Call __ieee754_exp before checking for overflow and
2468 underflow.
2469 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2470 (u_threshold): Likewise.
2471 (__expf): Call __ieee754_expf before checking for overflow and
2472 underflow.
2473 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2474 (u_threshold): Likewise.
2475 (__expl): Call __ieee754_expl before checking for overflow and
2476 underflow.
2477 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2478 (__ieee754_expl): Allow for and saturate large arguments.
2479 * math/libm-test.inc (exp_test): Add another test. Do not allow
2480 missing overflow exception on overflow.
2481 (expm1_test): Do not allow missing overflow exception on overflow.
2482
6698b8bf
JM
2483 * sysdeps/i386/fpu/e_expl.c: Move to ...
2484 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2485 rather than using inline asm.
2486 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2487 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2488 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2489
7b17aeda
JM
2490 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2491 (nice): Likewise.
2492 (poll): Likewise.
2493 (signal): Likewise.
2494 (time): Likewise.
2495 (times): Likewise.
2496
f7c85819
JM
24972012-05-04 Joseph Myers <joseph@codesourcery.com>
2498
2499 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2500 sysdeps/unix/common/syscalls.list.
2501 (fchmod): Likewise.
2502 (fchown): Likewise.
2503 (ftruncate): Likewise.
2504 (getrusage): Likewise.
2505 (gettimeofday): Likewise.
2506 (setpgid): Likewise.
2507 (setregid): Likewise.
2508 (setreuid): Likewise.
2509 (sigaction): Likewise.
2510 (truncate): Likewise.
2511 (vhangup): Likewise.
2512 * sysdeps/unix/common/syscalls.list: Remove file.
2513 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2514 * sysdeps/unix/sysv/linux/Implies: Likewise.
2515
336270d0
L
25162012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2517
2518 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2520 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2521 Moved to ...
2522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2523 Here.
2524 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2525 to ...
2526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2527 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2528 to ...
2529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2530 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2531 to ...
2532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2533 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2534 to ...
2535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2536 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2537 to ...
2538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2539 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2540 to ...
2541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2542 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2543 to ...
2544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2545 Here.
2546 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2547 to ...
2548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2549 Here.
2550 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2551 to ...
2552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2553 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2554 Moved to ...
2555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2556 Here.
2557 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2558 to ...
2559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2560
d128e450
JM
25612012-05-04 Joseph Myers <joseph@codesourcery.com>
2562
fa8ee516
JM
2563 * sysdeps/unix/common/bits/dirent.h: Remove file.
2564 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2565
d128e450
JM
2566 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2567 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2568 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2569 * sysdeps/unix/bsd/isatty.c: Likewise.
2570 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2571 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2572 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2573
ff8faaf0 25742012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 2575
62881be4 2576 [BZ #13563]
31dc8730
AZ
2577 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2578 long double comparison inaccuracies.
2579 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2581
6fef930c
AS
25822012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2583
2584 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2585 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2586
8f203e6c
JM
25872012-05-04 Joseph Myers <joseph@codesourcery.com>
2588
2589 [BZ #14049]
2590 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2591 nonzero digits before rounding a hex value.
2592 * stdlib/tst-strtod.c (tests): Add another test.
2593
5197d9c2
AK
25942012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2595
2596 * sysdeps/s390/fpu/libm-test-ulps: Update.
2597
f0c1dedf
AJ
25982012-05-03 Andreas Jaeger <aj@suse.de>
2599
2600 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2601 does not get optimized out.
2602 (malloc_opt_barrier): New.
2603
a65ef2ae 26042012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 2605 Roland McGrath <roland@hack.frob.com>
a65ef2ae 2606
2b942cb7 2607 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 2608 intermediate file deletion.
2b942cb7 2609 (generated): Add .symlist files.
a65ef2ae 2610
54b71e02
JM
26112012-05-03 Joseph Myers <joseph@codesourcery.com>
2612
2613 [BZ #13775]
2614 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2615 Redirect under this condition.
2616 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2617 [__USE_GNU] (__dprintf_chk): Not under this condition.
2618 [__USE_GNU] (__vdprintf_chk): Likewise.
2619 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2620 under this condition.
2621 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2622 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2623 [__USE_XOPEN2K8] (vdprintf): Likewise.
2624 [__USE_GNU] (__dprintf_chk): Not under this condition.
2625 [__USE_GNU] (__vdprintf_chk): Likewise.
2626 [__USE_GNU] (dprintf): Likewise.
2627 [__USE_GNU] (vdprintf): Likewise.
2628
d3dfcc41
RM
26292012-05-03 Roland McGrath <roland@hack.frob.com>
2630
2631 * elf/Makefile (common-generated): Set this instead of generated for
2632 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2633 $(all-built-dso)-derived lists.
2634
7ac30cc5
AJ
26352012-05-03 Andreas Jaeger <aj@suse.de>
2636
0c51e550
AJ
2637 * sysdeps/i386/fpu/libm-test-ulps: Update.
2638
7ac30cc5
AJ
2639 * FAQ: Removed.
2640 * FAQ.in: Likewise.
2641 * scripts/gen-FAQ.pl: Likewise.
2642 * manual/install.texi (Installation): Point to online location of
2643 FAQ.
2644 * Makefile (files-for-dist): Remove FAQ.
2645 (FAQ): Remove.
2646
d4c2917f
AM
26472012-05-02 Allan McRae <allan@archlinux.org>
2648
2649 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2650 (LDFLAGS-reldepmod5.so): Likewise.
2651 (LDFLAGS-reldep6mod1.so): Likewise.
2652 (LDFLAGS-reldep6mod4.so): Likewise.
2653 (LDFLAGS-reldep8mod3.so): Likewise.
2654 (LDFLAGS-unload4mod1.so): Likewise.
2655 (LDFLAGS-unload4mod2.so): Likewise.
2656 (LDFLAGS-tst-initorder): Likewise.
2657 (LDFLAGS-tst-initordera2.so): Likewise.
2658 (LDFLAGS-tst-initordera3.so): Likewise.
2659 (LDFLAGS-tst-initordera4.so): Likewise.
2660 (LDFLAGS-tst-initorderb2.so): Likewise.
2661 (LDFLAGS-noload): Likewise.
2662 (LDFLAGS-next): Likewise.
2663 (LDFLAGS-order2mod1.so): Likewise.
2664 (LDFLAGS-order2mod2.so): Likewise.
2665 (LDFLAGS-tst-initorder2): Likewise.
2666 (LDFLAGS-tst-initorder2a.so): Likewise.
2667 (LDFLAGS-tst-initorder2b.so): Likewise.
2668 (LDFLAGS-tst-initorder2c.so): Likewise.
2669 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2670
d77f993f
DM
26712012-05-02 David S. Miller <davem@davemloft.net>
2672
2673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2674
171a70b4
PP
26752012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2676
2677 [BZ #14055]
2678 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2679
0be196ad
AJ
26802012-05-02 Andreas Jaeger <aj@suse.de>
2681
2682 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2683 since we manipulate rounding mode.
2684 (CPPFLAGS-test-idouble.c): Likewise.
2685 (CPPFLAGS-test-ifloat.c): Likewise.
2686 (CFLAGS-test-ldouble.c): Likewise.
2687 (CFLAGS-test-double.c): Likewise.
2688 (CFLAGS-test-float.c): Likewise.
2689 (CFLAGS-test-misc.c): Likewise.
2690 (CFLAGS-test-test-fenv.c): Likewise.
2691
4f9d04aa
AZ
26922012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2693
2b942cb7
RM
2694 [BZ #2550]
2695 [BZ #2570]
2696 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2697 comparisons to determine direction to adjust input.
4f9d04aa 2698
82a79e7d
RM
26992012-05-01 Roland McGrath <roland@hack.frob.com>
2700
f5a01ca9
RM
2701 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2702 output to the target.
2703
90fe4186
RM
2704 * scripts/localplt.awk: New file.
2705 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2706 (check-localplt-CFLAGS): Variable removed.
2707 ($(all-built-dso:=.jmprel)): New static pattern rule.
2708 (generated): Add those targets.
2709 (localplt-built-dso): New variable.
2710 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2711
2712 * elf/check-localplt.c: File removed.
2713
82397ed6
RM
2714 * scripts/check-execstack.awk: New file.
2715 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2716 (check-execstack-CFLAGS): Variable removed.
2717 ($(objpfx)check-execstack.h): Target removed.
2718 ($(objpfx)execstack-default): New target.
2719 (generated): Add that instead of check-execstack.h.
2720 ($(all-built-dso:=.phdr)): New static pattern rule.
2721 (generated): Add those targets.
2722 * elf/check-execstack.c: File removed.
2723
82a79e7d
RM
2724 * scripts/check-textrel.awk: New file.
2725 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2726 (check-textrel-CFLAGS): Variable removed.
2727 (all-built-dso): Use := to define.o
2728 ($(all-built-dso:=.dyn)): New static pattern rule.
2729 (generated): Add those targets.
2730 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2731 * config.make.in (READELF): New substituted variable.
2732 * elf/check-textrel.c: File removed.
2733
62fde54f 27342012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2735
615605c9
JM
2736 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2737 allow.
2738 * conform/data/ctype.h-data [C99-based standards] (isblank):
2739 Expect function.
2740 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2741 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2742 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2743 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2744 Specify type. Require positive value.
2745 (EILSEQ): Likewise.
2746 (ERANGE): Likewise.
2747 [ISO || POSIX] (EILSEQ): Do not expect.
2748 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2749 Specify type. Require positive value.
2750 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2751 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2752 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2753 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2754 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2755 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2756 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2757 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2758 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2759 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2760 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2761 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2762 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2763 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2764 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2765 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2766 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2767 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2768 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2769 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2770 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2771 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2772 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2773 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2774 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2775 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2776 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2777 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2778 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2779 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2780 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2781 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2782 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2783 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2784 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2785 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2786 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2787 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2788 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2789 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2790 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2791 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2792 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2793 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2794 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2795 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2796 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2797 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2798 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2799 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2800 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2801 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2802 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2803 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2804 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2805 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2806 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2807 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2808 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2809 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2810 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2811 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2812 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2813 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2814 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2815 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2816 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2817 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2818 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2819 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2820 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2821 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2822 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2823 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2824 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2825 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2826 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2827 Require >= 2.
2828 (FLT_ROUNDS): Expect as macro, not constant.
2829 (FLT_MANT_DIG): Use macro-int-constant.
2830 (DBL_MANT_DIG): Likewise.
2831 (LDBL_MANT_DIG): Likewise.
2832 (FLT_DIG): Likewise.
2833 (DBL_DIG): Likewise.
2834 (LDBL_DIG): Likewise.
2835 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2836 (DBL_MIN_EXP): Likewise.
2837 (LDBL_MIN_EXP): Likewise.
2838 (FLT_MAX_EXP): Use macro-int-constant.
2839 (DBL_MAX_EXP): Likewise.
2840 (LDBL_MAX_EXP): Likewise.
2841 (FLT_MAX_10_EXP): Likewise.
2842 (DBL_MAX_10_EXP): Likewise.
2843 (LDBL_MAX_10_EXP): Likewise.
2844 (FLT_MAX): Use macro-constant.
2845 (DBL_MAX): Likewise.
2846 (LDBL_MAX): Likewise.
2847 (FLT_EPSILON): Use macro-constant. Give upper bound.
2848 (DBL_EPSILON): Likewise.
2849 (LDBL_EPSILON): Likewise.
2850 (FLT_MIN): Likewise.
2851 (DBL_MIN): Likewise.
2852 (LDBL_MIN): Likewise.
2853 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2854 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2855 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2856 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2857 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2858 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2859 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2860 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2861 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2862 [ISO11] (FLT_TRUE_MIN): Likewise.
2863 [ISO11] (LDBL_TRUE_MIN): Likewise.
2864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2865 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2866 (SCHAR_MIN): Use macro-int-constant. Specify type.
2867 (SCHAR_MAX): Likewise.
2868 (UCHAR_MAX): Likewise.
2869 (CHAR_MIN): Likewise.
2870 (CHAR_MAX): Likewise.
2871 (MB_LEN_MAX): Use macro-int-constant.
2872 (SHRT_MIN): Use macro-int-constant. Specify type.
2873 (SHRT_MAX): Likewise.
2874 (USHRT_MAX): Likewise.
2875 (INT_MAX): Likewise.
2876 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2877 bound negative.
2878 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2879 bound with "U".
2880 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2881 bound with "L".
2882 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2883 bound negative. Suffix upper bound with "L".
2884 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2885 bound with "UL".
2886 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2887 Specify type.
2888 [C99-based standards] (LLONG_MAX): Likewise.
2889 [C99-based standards] (ULLONG_MAX): Likewise.
2890 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2891 == 0.
2892 [ISO11] (max_align_t): Require type.
2893 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2894
c9140a62
JM
2895 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2896 from $CFLAGS, without defining away __attribute__ calls.
2897 (checknamespace): Use $CFLAGS_namespace.
2898
9af0bf29
JM
2899 * conform/conformtest.pl (@keywords): Only include C99 keywords
2900 for standards based on C99 or C11.
2901
343222a2
JM
2902 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2903 Disable tests.
2904 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2905 UNIX98]: Likewise.
2906
661f8cf0
JM
2907 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2908 usability of symbols in #if.
2909
ee74b9cb
JM
2910 * conform/conformtest.pl: If macro or constant types start
2911 "promoted:", expect the symbol to be of the following type
2912 promoted by the integer promotions.
62fde54f 2913
aafc49b3
JM
2914 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2915 in one place. Also handle "macro-constant".
2916
fefdf574
JM
2917 * conform/conformtest.pl: Only accept expected macro values with
2918 "==". Parse all "macro" lines in one place.
2919 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2920
f2d922fe
JM
2921 * conform/conformtest.pl: Handle braced types on "constant" lines
2922 instead of handling "typed-constant".
2923 * conform/data/signal.h-data: Use "constant" instead of
2924 "typed-constant".
2925
d22956c9
JM
2926 * conform/conformtest.pl: Handle "optional-" at start of lines in
2927 one place rather than duplicating several cases. Handle each
2928 format of "macro" line with initial "optional-".
2929
028e2e38
JM
2930 * conform/conformtest.pl: Only accept expected constant or
2931 optional-constant values with "==". Parse all "constant" lines in
2932 one place. Parse all "optional-constant" lines in one place.
2933 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2934 * conform/data/fmtmsg.h-data: Likewise.
2935 * conform/data/netinet/in.h-data: Likewise.
2936 * conform/data/tar.h-data: Likewise.
2937 * conform/data/limits.h-data: Use "==" form on "constant" and
2938 "optional-constant" lines.
2939
1b8f2850
JM
2940 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2941 Use -std=c99 for XOPEN2K.
2942 (@knownproblems): Remove.
2943 (newtoken): Don't check %isknown.
2944
a05a144b
JM
2945 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2946 Do not expect macro.
2947 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2948 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2949 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2950 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2951 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2952 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2953 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2954 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2955 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2956 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2957 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2958 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2959 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2960 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2961 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2962 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2963 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2964 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2965 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2966 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2967 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2968 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2969 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2970 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2971 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2972 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2973 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2974 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2975 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2976 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2977 [XPG3] (acosh): Likewise.
2978 [XPG3] (asinh): Likewise.
2979 [XPG3] (atanh): Likewise.
2980 [XPG3] (cbrt): Likewise.
2981 [XPG3] (expm1): Likewise.
2982 [XPG3] (ilogb): Likewise.
2983 [XPG3] (log1p): Likewise.
2984 [XPG3] (logb): Likewise.
2985 [XPG3] (nextafter): Likewise.
2986 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2987 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2988 [XPG3] (remainder): Likewise.
2989 [XPG3] (rint): Likewise.
2990 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2991 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2992 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2993 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2994 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2995 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2996 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2997 [UNIX98 || XOPEN2K] (scalb): Expect.
2998 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2999 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3000 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3001 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3002 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3003 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3004 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3005 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3006 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3007 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3008 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3009 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3010 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3011 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3012 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3013 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3014 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3015 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3016 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3017 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3018 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3019 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3020 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3021 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3022 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3023 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3024 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3025 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3026 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3027 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3028 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3029 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3030 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3031 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3032 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3033 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3034 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3035 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3036 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3037 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3038 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3039 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3040 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3041 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3042 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3043 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3044 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3045 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3046 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3047 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3048 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3049 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3050 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3051 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3052 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3053 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3054 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3055 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3056 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3057 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3058 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3059 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3060 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3061 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3062 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3063 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3064 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3065 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3066 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3067 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3068 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3069 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3070 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3071 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3072 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3073 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3074 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3075 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3076 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3077 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3078 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3079 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3080 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3081 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3082 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3083 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3084 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3085 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3086 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3087 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3088 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3089 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3090 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3091 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3092 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3093 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3094 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3095 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3096 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3097 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3098 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3099 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3100 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3101 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3102 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3103 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3104 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3105 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3106 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3107 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3108 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3109 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3110 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3111 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3112 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3113 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3114 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3115 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3116 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3117 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3118 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3119 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3120 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3121 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3122 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3123 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3124 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3125 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3126 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3127 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3128 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3129 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3130 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3131 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3132 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3133 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3134 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3135
73c5ebe3
JM
3136 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3137 _XOPEN_SOURCE_EXTENDED for XPG4.
3138
39c33b6c
JM
3139 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3140
62fde54f
JM
3141 * Makeconfig (localtime): Remove variable.
3142 (inst_localtime-file): Likewise.
3143
0741d64c
AS
31442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3145
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3147 Update.
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3149 Update.
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3151 Update.
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3153 Update.
3154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3155 Update.
3156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3157 Update.
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3159 Update.
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3161 Update.
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3163 Update.
3164
7cb029ee
JM
31652012-05-01 Joseph Myers <joseph@codesourcery.com>
3166
3167 [BZ #2550]
3168 [BZ #2570]
3169 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3170 comparisons to determine direction to adjust input.
3171 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3172 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3173 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3174 Likewise.
3175 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3176 Likewise.
3177 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3178 Likewise.
3179 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3180 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3181 Likewise.
3182 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3183 Likewise.
3184 * math/libm-test.inc (nexttoward_test): Add more tests.
3185
412bd966
AS
31862012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3187
3188 [BZ #14040]
3189 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3190 in version GLIBC_2.1, not GLIBC_2.0.
3191 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3192 Likewise.
3193
9568c0c2
JM
31942012-04-30 Joseph Myers <joseph@codesourcery.com>
3195
adfbc8ac
JM
3196 [BZ #13942]
3197 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3198 (1 - x) * (1 + x).
3199 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3200 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3201 * math/libm-test.inc (acos_test): Add more tests.
3202 (asin_test): Likewise.
3203 * sysdeps/i386/fpu/libm-test-ulps: Update.
3204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3205
5ba3cc69
JM
3206 [BZ #14034]
3207 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3208 of square root.
3209 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3210 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3211 * math/libm-test.inc (acos_test_tonearest): New function.
3212 (acos_test_towardzero): Likewise.
3213 (acos_test_downward): Likewise.
3214 (acos_test_upward): Likewise.
3215 (asin_test_tonearest): Likewise.
3216 (asin_test_towardzero): Likewise.
3217 (asin_test_downward): Likewise.
3218 (asin_test_upward): Likewise.
3219 (main): Call the new functions.
3220 * sysdeps/i386/fpu/libm-test-ulps: Update.
3221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3222
9568c0c2
JM
3223 [BZ #13884]
3224 [BZ #13924]
3225 * math/e_exp10.c: Include <float.h>.
3226 (__ieee754_exp10): Handle underflow here rather than multiplying
3227 large negative argument by M_LN10.
3228 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3229 of __ieee754_expf.
3230 * math/e_exp10l.c: Include <float.h>.
3231 (__ieee754_exp10l): Handle underflow here rather than multiplying
3232 large negative argument by M_LN10l.
3233 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3234 spurious overflow exception on underflow.
3235
5ac3ea17
MP
32362012-04-29 Marek Polacek <polacek@redhat.com>
3237
3238 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3239 (__fortify_function): New macro.
3240 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3241 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3242 __extern_always_inline.
3243 * libio/bits/stdio2.h: Likewise.
3244 * libio/bits/stdio.h: Likewise.
3245 * string/string.h: Likewise.
3246 * string/bits/string3.h: Likewise.
3247 * include/stdio.h: Likewise.
3248 * stdlib/bits/stdlib.h: Likewise.
3249 * stdlib/stdlib.h: Likewise.
3250 * rt/bits/mqueue2.h: Likewise.
3251 * rt/mqueue.h: Likewise.
3252 * posix/bits/unistd.h: Likewise.
3253 * posix/unistd.h: Likewise.
3254 * io/bits/poll2.h: Likewise.
3255 * io/bits/fcntl2.h: Likewise.
3256 * io/fcntl.h: Likewise.
3257 * io/sys/poll.h: Likewise.
3258 * misc/bits/syslog.h: Likewise.
3259 * misc/bits/syslog-ldbl.h: Likewise.
3260 * misc/sys/syslog.h: Likewise.
3261 * socket/bits/socket2.h: Likewise.
3262 * socket/sys/socket.h: Likewise.
3263 * debug/tst-chk1.c: Likewise.
3264 * wcsmbs/bits/wchar2.h: Likewise.
3265 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3266 * wcsmbs/wchar.h: Likewise.
3267
ecf0ebfb
AJ
32682012-04-29 Andreas Jaeger <aj@suse.de>
3269
3270 * Makerules (tests): Remove enable-check-abi protection.
3271 (check-abi-warn): Remove.
3272 (check-abi-%): Remove check-abi-warn usage.
3273
3274 * configure.in: Remove check-abi configure option.
3275 * configure: Regenerated.
3276 * config.make.in (enable-check-abi): Remove.
3277
6d5c57fa
AS
32782012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3279
24c5d07e 3280 [BZ #14033]
ded5180a
AS
3281 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3282 double functions to double *_finite functions.
3283
7e0d315d
AS
3284 [BZ #13941]
3285 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3286 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3287 LDBL_MIN_EXP.
3288 * stdio-common/Makefile (tests): Add tst-sprintf3.
3289 * stdio-common/tst-sprintf3.c: New file.
3290
6d5c57fa
AS
3291 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3292 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3293
0749ff8b
JM
32942012-04-28 Joseph Myers <joseph@codesourcery.com>
3295
3296 * conform/conformtest.pl: Remove duplicate typed-constant
3297 handling.
3298
8dbd5d7b
DM
32992012-04-28 David S. Miller <davem@davemloft.net>
3300
3301 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3302 (check-abi-%): Remove AWK script prerequisite and explicit
3303 abilist directory.
3304 (check-abi): Rewrite to just diff the symlist with the abilist.
3305 (config-tls, config-abi-config): Delete, no longer used.
3306 (update-abi-%): Remove AWK script and explicit abilist directory.
3307 (update-abi): Rewrite to simply compare and conditionally copy the
3308 symlist and the sysdep abilist file. Remove update-abi-config
3309 checks.
3310 * abilist/ld.abilist: Remove.
3311 * abilist/libBrokenLocale.abilist: Remove.
3312 * abilist/libanl.abilist: Remove.
3313 * abilist/libcrypt.abilist: Remove.
3314 * abilist/libdl.abilist: Remove.
3315 * abilist/librt.abilist: Remove.
3316 * abilist/libthread_db.abilist: Remove.
3317 * abilist/libutil.abilist: Remove.
3318 * scripts/extract-abilist.awk: Remove.
3319 * scripts/merge-abilist.awk: Remove.
3320 * sysdeps/generic/libcidn.abilist: New file.
3321 * sysdeps/generic/libnss_compat.abilist: New file.
3322 * sysdeps/generic/libnss_db.abilist: New file.
3323 * sysdeps/generic/libnss_dns.abilist: New file.
3324 * sysdeps/generic/libnss_files.abilist: New file.
3325 * sysdeps/generic/libnss_hesiod.abilist: New file.
3326 * sysdeps/generic/libnss_nis.abilist: New file.
3327 * sysdeps/generic/libnss_nisplus.abilist: New file.
3328 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3329 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3330 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3331 file.
3332 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3333 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3334 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3335 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3336 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3337 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3338 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3339 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3340 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3341 file.
3342 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3343 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3344 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3345 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3346 file.
3347 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3348 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3349 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3350 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3351 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3352 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3353 file.
3354 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3355 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3356 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3357 file.
3358 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3360 New file.
3361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3362 New file.
3363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3364 New file.
3365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3366 New file.
3367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3368 New file.
3369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3370 New file.
3371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3372 New file.
3373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3374 New file.
3375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3376 New file.
3377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3378 New file.
3379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3380 New file.
3381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3382 New file.
3383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3384 New file.
3385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3386 file.
3387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3388 New file.
3389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3390 New file.
3391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3392 file.
3393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3394 New file.
3395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3396 New file.
3397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3398 file.
3399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3400 New file.
3401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3402 New file.
3403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3404 New file.
3405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3406 New file.
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3408 New file.
3409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3410 New file.
3411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3413 file.
3414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3415 New file.
3416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3417 file.
3418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3419 file.
3420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3421 file.
3422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3423 file.
3424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3425 file.
3426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3427 New file.
3428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3429 file.
3430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3431 file.
3432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3433 New file.
3434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3435 file.
3436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3438 file.
3439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3440 New file.
3441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3442 file.
3443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3444 file.
3445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3446 file.
3447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3448 file.
3449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3450 file.
3451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3452 New file.
3453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3454 file.
3455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3456 file.
3457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3458 New file.
3459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3460 file.
3461 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3462 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3463 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3464 file.
3465 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3466 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3467 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3468 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3469 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3470 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3471 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3472 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3473 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3474 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3477 file.
3478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3479 New file.
3480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3481 file.
3482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3483 file.
3484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3485 file.
3486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3487 file.
3488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3489 file.
3490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3491 New file.
3492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3493 New file.
3494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3495 file.
3496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3497 New file.
3498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3499 file.
3500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3502 file.
3503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3504 New file.
3505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3506 file.
3507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3508 file.
3509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3510 file.
3511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3512 file.
3513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3514 file.
3515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3516 New file.
3517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3518 New file.
3519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3520 file.
3521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3522 New file.
3523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3524 file.
3525
41d73a1b
JM
35262012-04-28 Joseph Myers <joseph@codesourcery.com>
3527
3528 * conform/conformtest.pl: Fix typo in handling typed-constant from
3529 allow-header.
3530
28aeeda4
JM
35312012-04-27 Joseph Myers <joseph@codesourcery.com>
3532
adae8f5e
JM
3533 * README: Cut down references to pre-2.6 Linux kernels and
3534 Linuxthreads. Update lists of configurations in libc and ports
3535 and sort alphabetically. Say "or newer" with Linux kernel version
3536 requirements.
3537
28aeeda4
JM
3538 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3539
a462cb63
RA
35402012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3541
3542 [BZ #887]
3543 * math/libm-test.inc (logb_test_downward): New test to expose
3544 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3545 rounding mode.
3546
6ad3493e
JM
35472012-04-27 Joseph Myers <joseph@codesourcery.com>
3548
3549 [BZ #14027]
3550 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3551 to be done.
3552 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3553 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3554
2ce4f015
JM
35552012-04-26 Joseph Myers <joseph@codesourcery.com>
3556
5aeb141a
JM
3557 * sysdeps/unix/i386/brk.S: Remove file.
3558 * sysdeps/unix/i386/dl-brk.S: Likewise.
3559 * sysdeps/unix/i386/pipe.S: Likewise.
3560 * sysdeps/unix/i386/sigreturn.S: Likewise.
3561 * sysdeps/unix/i386/syscall.S: Likewise.
3562 * sysdeps/unix/i386/vfork.S: Likewise.
3563 * sysdeps/unix/i386/wait.S: Likewise.
3564
7143acae
JM
3565 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3566 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3567
2ce4f015
JM
3568 * configure.in (arm*-none*): Do not allow without
3569 --enable-hacker-mode.
3570 (netbsd*): Remove case setting base_os.
3571 (386bsd*): Likewise.
3572 (freebsd*): Likewise.
3573 (bsdi*): Likewise.
3574 (osf*): Likewise.
3575 (sunos*): Likewise.
3576 (ultrix*): Likewise.
3577 (newsos*): Likewise.
3578 (dynix*): Likewise.
3579 (*bsd*): Likewise.
3580 (sysv*): Likewise.
3581 (isc*): Likewise.
3582 (esix*): Likewise.
3583 (sco*): Likewise.
3584 (minix*): Likewise.
3585 (irix4*): Likewise.
3586 (irix6*): Likewise.
3587 (solaris[2-9]*): Likewise.
3588 (none): Likewise.
3589 * configure: Regenerated.
3590
0ac229c8
AZ
35912012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3592
3593 [BZ #11521]
3594 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3595 overflow or cancellation in calculating denominator.
3596 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3597 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3598 down expression to avoid unexpected rounding in newer GCCs.
3599 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3600
33f244f4
DM
36012012-04-26 David S. Miller <davem@davemloft.net>
3602
3603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3604 long-double compat symbols.
3605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3618
cfa1f3e8
DM
36192012-04-25 David S. Miller <davem@davemloft.net>
3620
3621 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3622 HWCAP_* values only after the memory barriers have been defined.
3623 (atomic_full_barrier): Define.
3624 (atomic_read_barrier): Define.
3625 (atomic_write_barrier): Define.
3626
6e236b92
SP
36272012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3628
3629 * shlib-versions: Add libgcc_s version information.
3630 * sysdeps/generic/libgcc_s.h: Remove.
3631 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3632 libgcc_s.h.
3633 * sysdeps/gnu/unwind-resume.c: Likewise.
3634 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3635
aab39a09
DM
36362012-04-25 David S. Miller <davem@davemloft.net>
3637
3638 * sysdeps/unix/sparc/brk.S: Delete.
3639 * sysdeps/unix/sparc/dl-brk.S: Delete.
3640 * sysdeps/unix/sparc/pipe.S: Delete.
3641 * sysdeps/unix/sparc/sysdep.S: Delete.
3642 * sysdeps/unix/sparc/sysdep.h: Delete.
3643 * sysdeps/unix/sparc/vfork.S: Delete.
3644 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3645 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3646 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3647 ret_ERRVAL, r0, r1, MOVE): Define.
3648 (JUMPTARGET): Remove.
3649 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3650 sysdeps/unix/sparc/sysdep.h
3651 (ENTRY, END): Remove.
3652 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3653
a3cc4f48
JM
36542012-04-25 Joseph Myers <joseph@codesourcery.com>
3655
2ed8cda2
JM
3656 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3657 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3658 -DIS_IN_build.
3659
35d76d59
JM
3660 * timezone/README: Update upstream location and email address for
3661 tzcode and tzdata.
3662 * timezone/zdump.c: Update from tzcode 2012b.
3663 * timezone/zic.c: Likewise.
3664
a3cc4f48
JM
3665 * configure.in (libc_cv_as_needed): Remove test.
3666 * configure: Regenerated.
3667 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3668 conditional definition.
3669 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3670 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3671 * config.make.in (have-as-needed): Remove variable.
3672
ceab42c3
SP
36732012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3674 Paul Pluzhnikov <ppluzhnikov@google.com>
3675
3676 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3677 strings correctly.
3678
3ce2865f
CLT
36792012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3680
3681 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3682 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3683 * sysdeps/sh/strlen.S: Likewise.
3684
f37e0d68
JM
36852012-04-24 Joseph Myers <joseph@codesourcery.com>
3686
ae186e9a
JM
3687 * sysdeps/unix/fork.S: Remove file.
3688 * sysdeps/unix/i386/fork.S: Likewise.
3689 * sysdeps/unix/sparc/fork.S: Likewise.
3690
b96914af
JM
3691 * sysdeps/unix/system.c: Remove file.
3692 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3693
f37e0d68
JM
3694 * sysdeps/unix/getegid.S: Remove file.
3695 * sysdeps/unix/geteuid.S: Likewise.
3696
87ef29ca
RM
36972012-04-24 Roland McGrath <roland@hack.frob.com>
3698
83bcd236
RM
3699 * scripts/check-localplt.awk: New file.
3700 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3701 of diff.
3702 * scripts/data/localplt-generic.data: Add a comment.
3703
87ef29ca
RM
3704 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3705 NODE when __dir_mkfile failed.
3706 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3707 Reported by Ludovic Courtès <ludo@gnu.org>.
3708
e5a6e567
AJ
37092012-04-24 Andreas Jaeger <aj@suse.de>
3710
3711 * Makerules (common-clean): Also remove gen-as-const-headers
3712 files.
3713
c1820385
JM
37142012-04-24 Joseph Myers <joseph@codesourcery.com>
3715
3716 * Makerules (native-compile): Do not change working directory for
3717 build. Use $(OUTPUT_OPTION) in command.
3718 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3719
94e02fc4
AZ
37202012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3721
3722 [BZ #13886]
3723 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3724 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3725 * math/libm-test.inc (floor_test): Add more tests.
3726 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3727
3a533ca3
JM
37282012-04-24 Joseph Myers <joseph@codesourcery.com>
3729
940ab4b3
JM
3730 * sysdeps/unix/getdents.c: Remove file.
3731 * sysdeps/unix/sysv/getdents.c: Likewise.
3732 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3733
90e037bd
JM
3734 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3735 sysdeps/unix/mman/syscalls.list.
3736 (mmap): Likewise.
3737 (mprotect): Likewise.
3738 (msync): Likewise.
3739 (munmap): Likewise.
3740 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3741 * sysdeps/unix/mman/syscalls.list: Remove.
3742 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3743
3a533ca3
JM
3744 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3745 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3746 * configure: Regenerated.
3747 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3748 $(libgcc_s_suffix).
3749 * config.make.in (libgcc_s_suffix): Remove variable.
3750
1ad743de
JM
37512012-04-23 Joseph Myers <joseph@codesourcery.com>
3752
4ad451e2
JM
3753 * sysdeps/unix/sysv/gethostname.c: Move to ...
3754 * sysdeps/posix/gethostname.c: ... here.
3755
5e37ce39
JM
3756 * sysdeps/unix/execve.S: Remove file.
3757
1ad743de
JM
3758 * sysdeps/unix/_exit.S: Remove file.
3759
4e681b5b
AJ
37602012-04-23 Andreas Jaeger <aj@suse.de>
3761
3762 [BZ #13739]
3763 * manual/Makefile: Remove make dist support, there's no
3764 need for a stand-alone documentation tar ball.
3765 (TEXI2DVI): Define always, it's not in Makeconfig.
3766 (dist): Removed.
3767 (tar-it): Removed.
3768 (edition): Removed.
3769 (glibc-doc-$(edition).tar): Removed
3770 (%.Z): Removed.
3771 (%.gz): Removed.
3772 (%.uu): Removed.
3773 (ETAGS): Remove, it's in Makeconfig.
3774 (move-if-change): Remove, it's in Makeconfig.
3775
c0baea34
PE
37762013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3777
3778 [BZ #13970]
3779 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3780 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3781 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3782 (strtod_l, strtof_l, strtold_l): Remove __wur.
3783 It is not necessarily an error to ignore strtol's return value.
3784 One can reliably look at the stored endptr to decide whether
3785 the number had valid syntax.
3786
7c0616fa
AJ
37872012-04-21 Andreas Jaeger <aj@suse.de>
3788
803cb6b7 3789 [BZ #13739]
7c0616fa
AJ
3790 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3791
b0fe253f
JM
37922012-04-21 Joseph Myers <joseph@codesourcery.com>
3793
3794 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3795 * sysdeps/unix/sysv/Versions: Remove file.
3796
8280f22d
MT
37972012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3798
3799 [BZ #13927]
3800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3801
75ce411f 38022012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
3803
3804 [BZ #7064]
3805 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3806 version from __vm86.
3807
097d59fa
JM
38082012-04-20 Joseph Myers <joseph@codesourcery.com>
3809
a90f3bcb
JM
3810 * sysdeps/unix/common/lxstat.c: Remove file.
3811 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3812
edc7ea78
JM
3813 * sysdeps/unix/sysv/Makefile: Remove file.
3814
cb78c221
JM
3815 * sysdeps/unix/sysv/direct.h: Remove file.
3816
efa6a45f
JM
3817 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3818 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3819 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3820 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3821 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3822 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3823 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3824
9c9f2d0c
JM
3825 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3826
4541c83b
JM
3827 * sysdeps/unix/xmknod.c: Remove file.
3828 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3829
f5d153a0
JM
3830 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3831
aa746595
JM
3832 * sysdeps/unix/sysv/i386/time.S: Remove file.
3833
cce5905e
JM
3834 * sysdeps/unix/fxstat.c: Remove file.
3835 * sysdeps/unix/xstat.c: Likewise.
3836 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3837
37fa3841
JM
3838 * sysdeps/unix/sysv/sigaction.c: Remove file.
3839
ff1962a3
JM
3840 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3841 (sysdep_headers): Remove variable.
3842 [termio.h not in sysdep_headers] (generated): Likewise.
3843 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3844 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3845 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3846 * sysdeps/unix/sysv/tcflow.c: Likewise.
3847 * sysdeps/unix/sysv/tcflush.c: Likewise.
3848 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3849 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3850 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3851 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3852 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3853
e7740d31
JM
3854 * sysdeps/unix/siglist.c: Remove file.
3855
ee06f18b
JM
3856 * sysdeps/unix/getppid.S: Remove file.
3857
097d59fa
JM
3858 * sysdeps/unix/mkdir.c: Remove file.
3859 * sysdeps/unix/rmdir.c: Likewise.
3860
ff3d51ec
AS
38612012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3862
3863 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3864 ERR_MAX value.
3865 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3866 errlist-compat value.
3867
50f81fd7
DM
38682012-04-18 David S. Miller <davem@davemloft.net>
3869
3870 * sysdeps/generic/memcopy.h (reg_char): Delete.
3871 * debug/strcat_chk.c: Use char, not reg_char.
3872 * debug/strcpy_chk.c: Likewise.
3873 * debug/strncat_chk.c: Likewise.
3874 * debug/strncpy_chk.c: Likewise.
3875 * string/memchr.c: Likewise.
3876 * string/memrchr.c: Likewise.
3877 * string/rawmemchr.c: Likewise.
3878 * string/strcat.c: Likewise.
3879 * string/strchr.c: Likewise.
3880 * string/strchrnul.c: Likewise.
3881 * string/strcmp.c: Likewise.
3882 * string/strcpy.c: Likewise.
3883 * string/strncat.c: Likewise.
3884 * string/strncmp.c: Likewise.
3885 * string/strncpy.c: Likewise.
3886
8ff41c46
WS
38872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3888
3889 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3890 __builtin_memcopy is called when src and dest ranges are known to not
3891 overlap.
3892
6b652f46
WS
38932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3894
3895 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3896 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3897 fwd_align_merge macro call.
3898 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3899 bwd_align_merge macro call.
3900 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3901
b282631e
WS
39022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3903
3904 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3905 bwd_align_merge macros.
3906 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3907 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3908 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3909
95aa737c
DM
39102012-04-18 David S. Miller <davem@davemloft.net>
3911
3912 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3913
7a99a614
AJ
39142012-04-18 Andreas Jaeger <aj@suse.de>
3915
3916 [BZ# 6794]
3917 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3918 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3919 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3920
3921 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3922 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3923 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3924
3925 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3926 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3927 Adjust for changed ldbl-128 files.
3928
3929 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3930 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3931 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3932
e5270c23
DM
39332012-04-17 David S. Miller <davem@davemloft.net>
3934
3935 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3936
fb5e92c9
AS
39372012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3938
3939 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3940 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3941 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3942 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3943 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3944 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3945
76da7265
AZ
39462012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3947
3948 [BZ #6794]
3949 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3950 * math/libm-test.inc: Add ilogb errno and exception tests.
3951 * math/w_ilogb.c: New file: ilogb wrapper.
3952 * math/w_ilogbf.c: New file: ilogbf wrapper.
3953 * math/w_ilogbl.c: New file: ilogbl wrapper.
3954 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3955 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3956 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3957 exception being thrown with 0.0 as argument.
3958 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3959 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3960 exception being thrown with 0.0 as argument.
3961 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3962 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3963 exception being thrown with 0.0 as argument.
3964 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3965 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3966 exception being thrown with 0.0 as argument.
3967 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3968 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 3969 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
3970 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3971 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3972 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3973 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3974 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3975 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3976
0396e69d
PB
39772012-04-17 Petr Baudis <pasky@ucw.cz>
3978
3979 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3980 with altivec.
3981
750b5926
MP
39822012-04-16 Marek Polacek <polacek@redhat.com>
3983
3984 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3985
751728a1
MP
39862012-04-16 Marek Polacek <polacek@redhat.com>
3987
3988 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3989 operands of fdivp instruction.
3990
34a27407
L
39912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3992
3993 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3994 * elf/tst-auditmod3b.c: Likewise.
3995 * elf/tst-auditmod4b.c: Likewise.
3996 * elf/tst-auditmod5b.c: Likewise.
3997 * elf/tst-auditmod6b.c: Likewise.
3998 * elf/tst-auditmod6c.c: Likewise.
3999 * elf/tst-auditmod7b.c: Likewise.
4000 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4001 * sysdeps/x86_64/preconfigure.in: Likewise.
4002 * sysdeps/x86_64/preconfigure: Regenerated.
4003
7e73e17d
L
40042012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4005
4006 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4007 __ILP32__.
4008
c7a6ab72
AB
40092012-04-13 Antoine Balestrat <merkil33@gmail.com>
4010
4011 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4012 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4013
a9e8e0e0
CL
40142012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4015
4016 [BZ #13973]
4017 * locale/iso-639.def: Fix gl language name. Spotted by
4018 Yaron Shahrabani.
4019
ec98af7d
RM
40202012-04-12 Roland McGrath <roland@hack.frob.com>
4021
4022 [BZ #2074]
4023 * libio/libio.h (__io_write_fn): Update comment.
4024
247c3ede
PB
40252012-04-12 Petr Baudis <pasky@ucw.cz>
4026
4027 [BZ #2074]
4028 * stdio.texi (Hook Functions): The user provided writer function
4029 is not allowed to return -1.
4030
55939d6d
DM
40312012-04-11 David S. Miller <davem@davemloft.net>
4032
4033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4034
90020f5a
MF
40352012-04-11 Mike Frysinger <vapier@gentoo.org>
4036
4037 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4038 Add a leading slash to rtkaio.
4039
288f9098
JM
40402012-04-11 Jim Meyering <meyering@redhat.com>
4041
90020f5a
MF
4042 [BZ #11959]
4043 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4044 It is not necessarily an error to ignore fwrite's return
4045 value. One can reliably use ferror to test for errors after
4046 the fact.
288f9098 4047
4be2b570
L
40482012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4049
4050 * bits/types.h (__snseconds_t): New type.
4051 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4052
4053 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4054 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4055 (__SNSECONDS_T_TYPE): Likewise.
4056 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4057 (__SNSECONDS_T_TYPE): Likewise.
4058 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4059 (__SNSECONDS_T_TYPE): Likewise.
4060
288f9098 40612012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4062
4063 [BZ #2636]
4064 * manual/time.texi (Processor Time): Return type of times is
4065 elapsed real time since an arbitrary point in the past.
4066 (CPU Time): Move CLK_TCK from here...
4067 (Processor Time): ...to here. Correct description.
4068 * manual/conf.texi (Constants for Sysconf): Correct description of
4069 _SC_CLK_TCK.
4070
d7dd4413
DM
40712012-04-10 David S. Miller <davem@davemloft.net>
4072
4073 [BZ #13967]
4074 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4075 where the is a gap between DT_REL(A) and DT_JMPREL.
4076
b46068fc
L
40772012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4078
4079 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4080 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4081 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4082
73d65cc3
SP
40832012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4084
4085 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4086 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4087 (dl_main): Handle --inhibit-cache.
4088 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4089 _dl_inhibit_cache.
4090 * elf/dl-load.c (_dl_map_object): Use it.
4091 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4092
bcc8d661
JM
40932012-04-09 Joseph Myers <joseph@codesourcery.com>
4094
8f9a2fae
JM
4095 [BZ #13872]
4096 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4097 (__ieee754_powl): Saturate large exponents rather than testing for
4098 overflow of y*log2(x).
4099 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4100 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4101 exceptions.
4102
bcc8d661
JM
4103 [BZ #11521]
4104 * math/s_ctan.c: Include <float.h>.
4105 (__ctan): Avoid internal overflow or cancellation in calculating
4106 denominator.
4107 * math/s_ctanf.c: Likewise.
4108 * math/s_ctanl.c: Likewise.
4109 * math/s_ctanh.c: Likewise.
4110 * math/s_ctanhf.c: Likewise.
4111 * math/s_ctanhl.c: Likewise.
4112 * math/libm-test.inc (ctan_test): Add more tests.
4113 (ctanh_test): Likewise.
4114 * sysdeps/i386/fpu/libm-test-ulps: Update.
4115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4116
823fbbb4
AJ
41172012-04-09 Andreas Jaeger <aj@suse.de>
4118
03879793
AJ
4119 [BZ #6894]
4120 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4121 is an optional BSD extension.
4122
823fbbb4
AJ
4123 [BZ #10254]
4124 * manual/stdio.texi (Opening Streams): Document additional fopen
4125 parameters.
4126
8de131cb
RM
41272012-04-09 Roland McGrath <roland@hack.frob.com>
4128
4129 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4130 %eax without telling the compiler.
4131
c0ed9d7d
CD
41322012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4133
4134 [BZ # 13963]
4135 * manual/install.texi: Use sourceware.org.
4136
c483f6b4
JM
41372012-04-09 Joseph Myers <joseph@codesourcery.com>
4138
d7dd9453
JM
4139 [BZ #13873]
4140 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4141 (__ieee754_pow): Generate overflow and underflow using huge*huge
4142 and tiny*tiny rather than just returning constant infinity or zero
4143 for large exponents.
4144 * math/libm-test.inc (pow_test): Require overflow exceptions for
4145 applicable cases of large exponents.
4146
c483f6b4
JM
4147 [BZ #706]
4148 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4149 (__ieee754_pow): Use iterative multiplication algorithm only for
4150 integer exponents with absolute value below 1024. Check for odd
4151 integer exponents when using algorithm for real exponents.
4152 * math/libm-test.inc (pow_test): Add more tests.
4153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4154
d2de7579
JM
41552012-04-08 Joseph Myers <joseph@codesourcery.com>
4156
4157 [BZ #13705]
4158 * math/libm-test.inc (exp_test): Do not allow overflow exception
4159 on underflow test.
4160
f77f1232
AJ
41612012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4162
4163 [BZ #13705]
4164 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4165 instead of __kernel_standard_f.
4166
3884932b
MF
41672012-04-08 Mike Frysinger <vapier@gentoo.org>
4168
4169 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4170 * sysdeps/x86_64/memset_chk.S: Likewise.
4171
54472e9c
AJ
41722012-04-08 Andreas Jaeger <aj@suse.de>
4173
6ab0fbfc
AJ
4174 [BZ #10153]
4175 * manual/startup.texi (Environment Access): Describe return value
4176 for putenv and setenv.
4177
61efba8c
AJ
4178 [BZ #6895]
4179 * manual/filesys.texi (Directory Entries): Add description for
4180 DT_LNK.
4181
95c3f29a
AJ
4182 [BZ #6890]
4183 * manual/filesys.texi (Directory Entries): Clarify that it's file
4184 system not operating system in the description of DT_UNKNOWN.
4185
54472e9c
AJ
4186 [BZ #6578]
4187 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4188
624254b1
SC
41892012-04-08 Stephen Compall <s11@member.fsf.org>
4190
4191 [BZ #6649]
4192 * manual/llio.texi (Opening and Closing Files): Add cross
4193 reference to explain mode argument.
4194
1e4920e0
MF
41952012-04-07 Mike Frysinger <vapier@gentoo.org>
4196
4197 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4198 * sysdeps/x86_64/memset_chk.S: Likewise.
4199
5ed848f3
DM
42002012-04-07 David S. Miller <davem@davemloft.net>
4201
4202 * elf/elf.h (R_SPARC_WDISP10): Define.
4203 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4204 R_SPARC_SIZE32.
4205 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4206 R_SPARC_SIZE64 and R_SPARC_H34.
4207
96154cd8
CD
42082012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4209
4210 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4211 conditions and remove no longer applicable assertion.
4212
9904dc47
L
42132012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4214
4215 * bits/byteswap.h: Include <features.h>.
4216 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4217 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4218
f8887d0a
L
42192012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4220
4221 * bits/byteswap.h (__bswap_16): Removed.
4222 Include <bits/byteswap-16.h> to get __bswap_16.
4223 * sysdeps/i386/bits/byteswap.h: Likewise.
4224 * sysdeps/s390/bits/byteswap.h: Likewise.
4225 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4226 * bits/byteswap-16.h: New file.
4227 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4228 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4229 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4230 * string/Makefile (headers): Add bits/byteswap-16.h.
4231
62470f60
PP
42322012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4233
4234 [BZ #13895]
4235 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4236 extra indirection.
4237 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4238 * nss/tst-nss-static.c: New.
4239
4dad7bab
RM
42402012-04-06 Robert Millan <rmh@gnu.org>
4241
4242 [BZ #6486]
4243 * manual/llio.texi (File Position Primitive): lseek
4244 refers to WHENCE when it really means OFFSET.
4245
e9142a17
AJ
42462012-04-06 Andreas Jaeger <aj@suse.de>
4247
2c040eff
AJ
4248 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4249 strncmp declarations.
4250
e9142a17
AJ
4251 * abilist/libc.abilist: Add __poll and __ppoll.
4252
ff9f1c5f
DM
42532012-04-05 David S. Miller <davem@davemloft.net>
4254
dcd2ae90
DM
4255 * scripts/check-local-headers.sh: Accept a host triplet in the
4256 path matched by the exclude regexp.
4257
993eb054
DM
4258 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4259 definition.
4260 * sysdeps/powerpc/powerpc32/dl-machine.h
4261 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4262 * sysdeps/s390/s390-32/dl-machine.h
4263 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4264 * sysdeps/sparc/sparc32/dl-machine.h
4265 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4266 * sysdeps/sparc/sparc64/dl-machine.h
4267 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4268
ff9f1c5f
DM
4269 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4270 lazy binding.
48e2e132 4271 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4272 undefined symbol errors.
4273
48e2e132 4274 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4275 DT_NEEDED entries.
4276
e80d6f94
MM
42772012-04-05 Michael Matz <matz@suse.de>
4278
4279 [BZ #13592]
4280 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4281
349fa79f
AJ
42822012-04-05 Andreas Jaeger <aj@suse.de>
4283
4284 [BZ #13908]
4285 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4286 comment.
4287
f402708f
KK
42882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4289
4290 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4291 which ROUND is no valid rounding mode.
4292
2ecccfc9
KK
42932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4294
4295 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4296 read again.
4297 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4298
8a53f50f
KK
42992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4300
4301 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4302 an exception using FPU order intentionally.
4303
43042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4305
4306 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4307 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4308 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4309 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4310
d653abb7
SJ
43112012-04-05 Simon Josefsson <simon@josefsson.org>
4312
4313 [BZ #12340]
4314 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4315 EINVAL when BUFLEN is too smal.
4316
c3b1bf7d
TS
43172012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4318
4319 [BZ #13553]
4320 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4321 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4322
b1aa60f3
AJ
43232012-04-03 Andreas Jaeger <aj@suse.de>
4324
c3b1bf7d 4325 [BZ #13938]
67f60a26
AJ
4326 * manual/setjmp.texi (System V contexts): Fix sentence.
4327
b1aa60f3
AJ
4328 [BZ #13926]
4329 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4330 New macro for this case.
4331 [!__GNUC__] (__bswap_64): New inline function for this case.
4332 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4333 * bits/byteswap.h: Likewise.
4334 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4335 ull, guard with __GLIBC_HAVE_LONG_LONG.
4336
4337 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4338 __GLIBC_HAVE_LONG_LONG.
4339
4340 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4341 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4342
39c59c35
TMQMF
43432012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4344
4345 [BZ #13691]
4346 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4347 inptr and inend, rather than using last_ch.
4348
135ffda8
DM
43492012-04-02 David S. Miller <davem@davemloft.net>
4350
4351 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4352 * stdio-common/printf-parse.h (read_int): Change return type to
4353 'int', return -1 on INT_MAX overflow.
4354 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4355 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4356 overflows INT_MAX. Check for overflow of in-format-string precision
4357 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4358 SIZE_MAX not INT_MAX for integer overflow test.
4359 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4360 skip the construct in the format string but do not record anything.
4361 * stdio-common/bug22.c: Adjust to test both width/prevision
4362 INT_MAX overflow as well as total length INT_MAX overflow. Check
4363 explicitly for proper errno values.
4364
228c019e
TS
43652012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4366
302cadd3
TS
4367 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4368 CHAR_MAX.
4369 * string/test-strcmp.c [! WIDE]: Likewise.
4370 * time/tst-mktime2.c: Likewise for INT_MAX.
4371 * string/test-string.h: #include <sys/param.h> for MIN.
4372
228c019e
TS
4373 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4374 * sysdeps/i386/init-first.c (init): Likewise.
4375 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4376 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4377 * sysdeps/sh/init-first.c (init): Likewise.
4378
cfa633f5
UD
43792012-04-01 Ulrich Drepper <drepper@gmail.com>
4380
4381 * po/ru.po: Update from translation team.
d1635ef8 4382 * po/vi.po: Likewise.
cfa633f5 4383
6cd0a5ea
SP
43842012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4385
4386 * resolv/nss_dns/dns-host.c: Merge copyright years.
4387
4b43400f
LD
43882012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4389
4390 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4391 Optimize memcpy with prefetch if
4392 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4393 src, dst pointers have unequal 16 byte alignments.
4394
48c41d04
SP
43952012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4396
4397 [BZ #13928]
4398 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4399 from a CNAME entry and return the minimum ttl for the query.
4400 (gaih_getanswer_slice): Likewise.
4401
b8dc394d
JL
44022012-03-30 Jeff Law <law@redhat.com>
4403
4404 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4405 due to long keys.
4406 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4407 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4408
2f5a5ed0
JL
4409 * resolv/nss_dns/dns-host.c: Update copyright year.
4410
1d39e359
UD
44112012-03-30 Ulrich Drepper <drepper@gmail.com>
4412
c030f70c 4413 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4414 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4415
1d39e359
UD
4416 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4417 comments for sendmmsg.
4418
44192012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4420
4421 [BZ #13691]
4422 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4423 with only 1 character between 0x0041 and 0x01b0.
4424 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4425 * wcsmbs/tst-mbsnrtowcs.c: New file.
4426
20fde227
DM
44272012-03-29 David S. Miller <davem@davemloft.net>
4428
4429 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4430 small copies by hand.
4431
984a4237
JL
44322012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4433
4434 [BZ #13761]
4435 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4436 _nss_compat_initgroups_dyn): Fall back to malloc/free
4437 for large group memberships.
4438
18c9d62b
DM
44392012-03-28 David S. Miller <davem@davemloft.net>
4440
88d85d4f
DM
4441 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4442 that branches into memcpy.
4443 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4444 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4445 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4446 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4447 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4448 bits.
4449 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4450 implementation too.
4451 * sysdeps/sparc/mempcpy.S: New file.
4452
e5aa83e1
DM
4453 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4454 the IFUNC routine in the libc case.
4455 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4456
88570753
DM
4457 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4458 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4459 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4460 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4461 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4462 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4463 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4464 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4465
249d7567
DM
4466 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4467 loop to 256 bytes instead of 64 bytes and fix test signedness.
4468
18c9d62b
DM
4469 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4470 * sysdeps/sparc/sparc32/Makefile: rather than here...
4471 * sysdeps/sparc/sparc64/Makefile: and here.
4472
05f3d1f6
UD
44732012-03-28 Ulrich Drepper <drepper@gmail.com>
4474
4475 * malloc/mallocbug.c: Avoid warnings about unused variables.
4476
86ae07a8
JL
44772012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4478
4479 [BZ #13760]
4480 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4481 in the right place. Discard and retry query if response is
4482 larger than input buffer size.
4483
41bf21a1
JM
44842012-03-28 Joseph Myers <joseph@codesourcery.com>
4485
d6270972
JM
4486 [BZ #369]
4487 [BZ #2678]
4488 [BZ #3866]
4489 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4490 x for large integer exponent.
4491 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4492 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4493 sign of result as needed afterwards.
4494 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4495 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4496 result for underflowing pow the same as for overflow.
4497 (__kernel_standard_l): Handle powl overflow and underflow here
4498 rather than calling __kernel_standard.
4499 * math/libm-test.inc (pow_test): Add more tests.
4500
414fca03 4501 [BZ #3868]
41bf21a1
JM
4502 [BZ #13879]
4503 [BZ #13910]
4504 [BZ #13911]
4505 [BZ #13912]
4506 [BZ #13913]
4507 [BZ #13915]
4508 [BZ #13916]
4509 [BZ #13917]
4510 [BZ #13918]
4511 [BZ #13919]
4512 [BZ #13920]
4513 [BZ #13921]
4514 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4515 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4516 (__kernel_standard_l): New function.
4517 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4518 __kernel_standard.
4519 * math/w_acosl.c (__acosl): Likewise.
4520 * math/w_asinl.c (__asinl): Likewise.
4521 * math/w_atan2l.c (__atan2l): Likewise.
4522 * math/w_atanhl.c (__atanhl): Likewise.
4523 * math/w_coshl.c (__coshl): Likewise.
4524 * math/w_exp10l.c (__exp10l): Likewise.
4525 * math/w_exp2l.c (__exp2l): Likewise.
4526 * math/w_fmodl.c (__fmodl): Likewise.
4527 * math/w_hypotl.c (__hypotl): Likewise.
4528 * math/w_j0l.c (__j0l, __y0l): Likewise.
4529 * math/w_j1l.c (__j1l, __y1l): Likewise.
4530 * math/w_jnl.c (__jnl, __ynl): Likewise.
4531 * math/w_lgammal.c (__lgammal): Likewise.
4532 * math/w_log10l.c (__log10l): Likewise.
4533 * math/w_log2l.c (__log2l): Likewise.
4534 * math/w_logl.c (__logl): Likewise.
4535 * math/w_powl.c (__powl): Likewise.
4536 * math/w_remainderl.c (__remainderl): Likewise.
4537 * math/w_scalbl.c (sysv_scalbl): Likewise.
4538 * math/w_sinhl.c (__sinhl): Likewise.
4539 * math/w_sqrtl.c (__sqrtl): Likewise.
4540 * math/w_tgammal.c (__tgammal): Likewise.
4541 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4542 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4543 * math/libm-test.inc (acos_test): Add more tests.
4544 (acosh_test): Likewise.
4545 (asin_test): Likewise.
4546 (atanh_test): Likewise.
4547 (exp_test): Likewise.
4548 (exp10_test): Likewise.
4549 (exp2_test): Likewise.
4550 (expm1_test): Likewise.
4551 (lgamma_test): Likewise.
4552 (log_test): Likewise.
4553 (log10_test): Likewise.
4554 (log1p_test): Likewise.
4555 (log2_test): Likewise.
4556 (pow_test): Do not allow some spurious overflow exceptions.
4557 (sqrt_test): Add more tests.
4558 (tgamma_test): Likewise.
4559 (y0_test): Likewise.
4560 (y1_test): Likewise.
4561 (yn_test): Likewise.
4562
dd62fda6
AB
45632012-03-27 Anton Blanchard <anton@samba.org>
4564
4565 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4566 MAP_HUGETLB.
4567 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4568 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4569 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4570
1e3cdfda
AJ
45712012-03-27 David S. Miller <davem@davemloft.net>
4572
b855ab85
DM
4573 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4574
1e3cdfda
AJ
4575 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4576 have-as-vis3 check.
4577
45782012-03-27 Andreas Jaeger <aj@suse.de>
4579
4580 * sysdeps/x86_64/elf/configure.in: Moved to ...
4581 * sysdeps/x86_64/configure.in: ... here.
4582 * sysdeps/x86_64/elf/start.S: Moved to ...
4583 * sysdeps/x86_64/start.S: ... here.
4584 * sysdeps/x86_64/elf/configure: Delete.
4585
4586 * sysdeps/x86_64/configure.in: Merge contents from
4587 sysdeps/i386/configure.in (without i686 check).
4588
4589 * sysdeps/i386/elf/Versions: Merge into ...
4590 * sysdeps/i386/Versions: ... this.
4591 * sysdeps/i386/elf/Versions: Delete file.
4592 * sysdeps/i386/elf/start.S: Moved to ...
4593 * sysdeps/i386/start.S: ...here.
4594 * sysdeps/i386/elf/configure.in: Merge into...
4595 * sysdeps/i386/configure.in: ...here.
4596 * sysdeps/i386/elf/configure.in: Delete file.
4597 * sysdeps/i386/elf/configure: Delete file.
4598
4599 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4600 * debug/backtracesyms.c: ... here.
4601 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4602 * debug/backtracesymsfd.c: ... here.
4603 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4604 * sysdeps/generic/ifunc-sel.h: ... here.
4605
4606 * sysdeps/unix/i386/start.c: Delete file.
4607 * sysdeps/unix/sparc/start.c: Delete file.
4608 * sysdeps/unix/start.c: Delete file.
4609
4610 * sysdeps/sh/elf/configure.in: Moved to ...
4611 * sysdeps/sh/configure.in: ... here.
4612 * sysdeps/sh/elf/start.S: Moved to ...
4613 * sysdeps/sh/start.S: ... here.
4614 * sysdeps/sh/elf/configure: Delete file.
4615
4616 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4617 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4618 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4619 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4620 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4621 * sysdeps/powerpc/powerpc64/start.S: here.
4622 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4623 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4624 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4625 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4626 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4627
4628 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4629 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4630 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4631 * sysdeps/powerpc/powerpc32/start.S: ... here.
4632 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4633 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4634 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4635
4636 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4637 * sysdeps/powerpc/ifunc-sel.h: ... here.
4638 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4639 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4640
4641 * sysdeps/sparc/elf/configure.in: Moved to ...
4642 * sysdeps/sparc/configure.in: ... here.
4643 * sysdeps/sparc/elf/configure: Delete file.
4644 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4645 * sysdeps/sparc/sparc32/start.S: ... here.
4646 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4647 * sysdeps/sparc/sparc64/start.S: ... here.
4648 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4649 * sysdeps/sparc/sparc32/Makefile: ... this.
4650 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4651 * sysdeps/sparc/sparc64/Makefile: ... this.
4652
4653 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4654 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4655 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4656 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4657 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4658 * sysdeps/s390/s390-32/setjmp.S: ... here.
4659 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4660 * sysdeps/s390/s390-32/configure.in: ... here.
4661 * sysdeps/s390/s390-32/elf/configure: Delete file.
4662 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4663 * sysdeps/s390/s390-32/start.S: ... here.
4664
4665 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4666 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4667 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4668 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4669 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4670 * sysdeps/s390/s390-64/setjmp.S: ... here.
4671 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4672 * sysdeps/s390/s390-64/configure.in: ... here
4673 * sysdeps/s390/s390-64/elf/configure: Delete file.
4674 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4675 * sysdeps/s390/s390-64/start.S: ... here.
4676 * sysdeps/s390/s390-64/elf/configure: Delete.
4677
4678 * configure.in: Remove support for elf directories in sysdeps.
4679
4680 * configure: Regenerated.
4681 * sysdeps/i386/configure: Regenerated.
4682 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4683 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4684 * sysdeps/s390/s390-32/configure: Regenerated.
4685 * sysdeps/s390/s390-64/configure: Regenerated.
4686 * sysdeps/sh/configure: Regenerated.
4687 * sysdeps/sparc/configure: Regenerated.
4688 * sysdeps/x86_64/configure: Regenerated.
4689
a3f61311
AS
46902012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4691
c876e002
AS
4692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4693
a3f61311
AS
4694 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4695 denormal result into account.
4696
ac4c54f0
RM
46972012-03-25 Roland McGrath <roland@hack.frob.com>
4698
4699 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4700 Reported by Allan McRae <allan@archlinux.org>.
4701
6a9b9c02
JL
47022012-03-23 Jeff Law <law@redhat.com>
4703
4704 * nss/getnssent.c (__nss_getent): Fix typo.
4705
4c42a0c1
DM
47062012-03-23 David S. Miller <davem@davemloft.net>
4707
4708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4709
1532c7ac
L
47102012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4711
4712 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4713 to pad to uint64_t for each field.
4714 (dl_tls_index): Replace unsigned long with uint64_t.
4715
3ff42526
PP
47162012-03-23 Daniel Jacobowitz <dmj@google.com>
4717 Paul Pluzhnikov <ppluzhnikov@google.com>
4718
4719 [BZ #6528]
4720 * grp/Makefile (otherlibs): Don't set it.
4721 * inet/Makefile (otherlibs): Likewise.
4722 * login/Makefile (otherlibs): Likewise.
4723 * nscd/Makefile (otherlibs): Likewise.
4724 * posix/Makefile (otherlibs): Likewise.
4725 * pwd/Makefile (otherlibs): Likewise.
4726 * rt/Makefile (otherlibs): Likewise.
4727 * sunrpc/Makefile (otherlibs): Likewise.
4728 * nss/Makefile (otherlibs): Likewise.
4729 Add libnss_files to routines and static-only-routines.
4730 ($(objpfx)getent): Remove rule.
4731 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4732 static-only-routines.
4733
7c69cd14
JM
47342012-03-22 Joseph Myers <joseph@codesourcery.com>
4735
4736 [BZ #13892]
4737 * math/s_cexp.c: Include <float.h>.
4738 (__cexp): Handle exp result overflowing not necessarily
4739 overflowing both real and imaginary parts of result.
4740 * math/s_cexpf.c: Likewise.
4741 * math/s_cexpl.c: Likewise.
4742 * math/libm-test.inc (cexp_test): Add more tests.
4743 * sysdeps/i386/fpu/libm-test-ulps: Update.
4744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4745
81b035fe
L
47462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4747
4748 * include/link.h (ELFW): New macro.
4749 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4750 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4751
1da7940c
L
47522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4753
4754 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4755 with uint64_t.
4756
b749dbb9
L
47572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4758
4759 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4760 declaration.
4761 (struct La_x32_retval): Likewise.
4762
2ff87f3f
L
47632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4764
4765 * sysdeps/x86_64/preconfigure.in: New file.
4766 * sysdeps/x86_64/preconfigure: New generated file.
4767
c0df8e69
JM
47682012-03-22 Joseph Myers <joseph@codesourcery.com>
4769
48e44791
JM
4770 [BZ #13824]
4771 * math/e_exp2l.c: Include <float.h>.
4772 (__ieee754_exp2l): Handle overflow and underflow cases
4773 separately. Only pass fractional part of argument to
4774 __ieee754_expl.
4775 * math/libm-test.inc (exp2_test): Add more tests.
4776
c0df8e69
JM
4777 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4778 negating x to take absolute value.
4779 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4780 Likewise.
4781 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4782 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4783 Likewise.
4784 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4785 computing low part if x was negated.
4786 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4787
c8e43ba7
L
47882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4789
4790 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4791 la_x32_gnu_pltexit.
4792 (pltexit): Cast int_retval to ptrdiff_t.
4793 * elf/tst-auditmod3b.c: Likewise.
4794 * elf/tst-auditmod4b.c: Likewise.
4795 * elf/tst-auditmod5b.c: Likewise.
4796 * elf/tst-auditmod6b.c: Likewise.
4797 * elf/tst-auditmod6c.c: Likewise.
4798 * elf/tst-auditmod7b.c: Likewise.
4799
4800 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4801 and x32_gnu_pltexit.
4802
4803 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4804 __ELF_NATIVE_CLASS.
4805 (La_x32_regs): New macro.
4806 (La_x32_retval): Likewise.
4807 (la_x32_gnu_pltenter): New function prototype.
4808 (la_x32_gnu_pltexit): Likewise.
4809
7998fa78
AS
48102012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4811
dcb33988
AS
4812 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4813 exponent.
4814
233fc563
AS
4815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4816
7998fa78
AS
4817 * configure.in (libc_cv_cc_nofma): Check for option to disable
4818 generation of FMA instructions.
4819 * configure: Regenerate.
4820 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4821 * sysdeps/ieee754/dbl-64/Makefile: New file.
4822 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4823 Remove brandred-fma4.
4824 (CFLAGS-brandred-fma4.c): Remove.
4825 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4826 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4827 define.
4828 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4829 define.
4830
8e95c99a
L
48312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4832
4833 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4834 LLONG_MAX != LONG_MAX.
4835 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4836 (_fitoa_word): Likewise.
4837 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4838 LLONG_MAX != LONG_MAX.
4839 * stdio-common/_itowa.h: Include <_itoa.h>.
4840 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4841 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4842 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4843 only if not defined.
4844 (_ITOA_WORD_TYPE): Likewise.
4845 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4846 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4847
6f4db457
DM
48482012-03-21 David S. Miller <davem@davemloft.net>
4849
4850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4851
7785fe5a
L
48522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4853
4854 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4855 of x86_64 when setting libc_cv_slibdir, libdir and
4856 libc_cv_localedir.
4857 * sysdeps/unix/sysv/linux/configure: Regenerated.
4858
4535cd55
JM
48592012-03-21 Joseph Myers <joseph@codesourcery.com>
4860
4861 * manual/lang.texi (Old Varargs): Remove section.
4862 (How Variadic): Update menu.
4863 (va_start): Do not mention varargs.h.
4864
17228132
TS
48652012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4866 Joseph Myers <joseph@codesourcery.com>
4867
4868 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4869 link test.
4870 * configure: Regenerated.
4871
8149f976
TS
48722012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4873
05f3d1f6
UD
4874 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4875 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4876 conformtest.pl
8149f976 4877
1a4ac776
JM
48782012-03-21 Joseph Myers <joseph@codesourcery.com>
4879
be22ce65
JM
4880 * NOTES: Remove.
4881 * Makefile (files-for-dist): Remove NOTES.
4882 (NOTES): Remove rule.
4883 * README: Don't refer to NOTES.
4884 * manual/creature.texi: Don't include macros.texi.
4885 * manual/intro.texi (creature.texi): Remove comment referring to
4886 NOTES.
4887
40b601fb
JM
4888 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4889 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4890 * configure: Regenerated.
4891 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4892 LIBC_TRY_CC_OPTION.
4893 (libc_cv_as_i686): Likewise.
4894 (libc_cv_cc_avx): Likewise.
4895 (libc_cv_cc_sse2avx): Likewise.
4896 (libc_cv_cc_fma4): Likewise.
4897 (libc_cv_cc_novzeroupper): Likewise.
4898 * sysdeps/i386/configure: Regenerated.
4899
1a4ac776
JM
4900 [BZ #13883]
4901 * sysdeps/i386/fpu/s_cexp.S: Remove.
4902 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4903 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4904 * math/libm-test.inc (cexp_test): Add more tests.
4905 * sysdeps/i386/fpu/libm-test-ulps: Update.
4906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4907
a458e7fe
AM
49082012-03-21 Allan McRae <allan@archlinux.org>
4909
4910 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4911
0cb7efc5
JM
49122012-03-21 Joseph Myers <joseph@codesourcery.com>
4913
4914 [BZ #13871]
4915 * math/w_exp2.c: Do not include <float.h>.
4916 (o_threshold, u_threshold): Remove.
4917 (__exp2): Calculate result before checking finiteness and calling
4918 __kernel_standard.
4919 * math/w_exp2f.c: Likewise.
4920 * math/w_exp2l.c: Likewise.
4921 * math/libm-test.inc (exp2_test): Require overflow exception for
4922 1e6 input.
2460d3aa
JM
4923
4924 [BZ #3866]
4925 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4926 range of signed 64-bit integers before using fistpll. Remove
4927 checks for whether integers fit in mantissa bits.
4928 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4929 the range of signed 32-bit integers before using fistpl. Remove
4930 checks for whether integers fit in mantissa bits.
4931 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4932 (__ieee754_powl): Test for y outside the range of signed 64-bit
4933 integers before using fistpll. Reduce 64-bit values to 63-bit
4934 ones as needed.
4935 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4936 divide-by-zero is raised for zero to large negative powers.
4937 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4938 (__ieee754_powl): Test for y outside the range of signed 64-bit
4939 integers before using fistpll. Reduce 64-bit values to 63-bit
4940 ones as needed.
4941 * math/libm-test.inc (pow_test): Add more tests.
4942
eb96ffb0
L
49432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4944
4945 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4946 <stdio-common/_itoa.h>.
4947 * debug/segfault.c: Likewise.
4948 * elf/dl-cache.c: Likewise.
4949 * elf/dl-minimal.c: Likewise.
4950 * elf/dl-misc.c: Likewise.
4951 * elf/dl-sysdep.c: Likewise.
4952 * elf/dl-version.c: Likewise.
4953 * elf/rtld.c: Likewise.
4954 * hurd/hurdsock.c: Likewise.
4955 * hurd/lookup-retry.c: Likewise.
4956 * malloc/malloc.c: Likewise.
4957 * malloc/mtrace.c: Likewise.
4958 * nscd/nscd_getgr_r.c: Likewise.
4959 * nscd/nscd_getpw_r.c: Likewise.
4960 * nscd/nscd_getserv_r.c: Likewise.
4961 * posix/getopt_init.c: Likewise.
4962 * posix/wordexp.c: Likewise.
4963 * stdio-common/_itoa.c: Likewise.
4964 * stdio-common/printf_fphex.c: Likewise.
4965 * stdio-common/vfprintf.c: Likewise.
4966 * string/_strerror.c: Likewise.
4967 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4968 * sysdeps/i386/i686/hp-timing.h: Likewise.
4969 * sysdeps/mach/_strerror.c: Likewise.
4970 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4971 * sysdeps/mach/hurd/sethostid.c: Likewise.
4972 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4973 * sysdeps/mach/xpg-strerror.c: Likewise.
4974 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4975 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4976 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4977 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4978 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4979 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4980 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4981 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4982 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4983 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4984 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4985 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4986 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4987 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4988 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4989 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4990 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4991 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4992 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4993 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4994 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4995
4996 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4997
4998 * stdio-common/_itoa.h: Moved to ...
4999 * sysdeps/generic/_itoa.h: Here.
5000
5001 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5002
5003 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5004 instead of "_itoa.h" and "_itowa.h".
5005 * stdio-common/vfprintf.: Likewise.
5006
d1af992d
L
50072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5008
5009 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5010 <bits/wordsize.h>.
5011 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5012 (__signbit): Likwise.
5013 (llrintf): Likwise.
5014 (llrint): Likwise.
5015
114883e0
L
50162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5017
5018 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5019 __WORDSIZE != 64.
5020
c135cc1b
JM
50212012-03-20 Joseph Myers <joseph@codesourcery.com>
5022
5023 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5024 OVERFLOW_EXCEPTION_OK.
5025 * math/libm-test.inc ("Philosophy"): Update comment about
5026 exception testing.
5027 (OVERFLOW_EXCEPTION): Define.
5028 (OVERFLOW_EXCEPTION_OK): Likewise.
5029 (INVALID_EXCEPTION_OK): Renumber.
5030 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5031 (IGNORE_ZERO_INF_SIGN): Likewise.
5032 (test_exceptions): Handle FE_OVERFLOW.
5033 (exp10_test): Expect overflow exceptions.
5034 (exp2_test): Likewise.
5035 (expm1_test): Likewise.
5036 (nextafter_test): Likewise.
5037 (pow_test): Likewise.
5038 (scalbn_test): Likewise.
5039 (scalbln_test): Likewise.
5040
95443d88
L
50412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5042
5043 * sysdeps/x86_64/bits/atomic.h
5044 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5045 64bit integer.
5046 (atomic_exchange_acq): Likewise.
5047 (__arch_exchange_and_add_body): Likewise.
5048 (__arch_add_body): Likewise.
5049 (atomic_add_negative): Likewise.
5050 (atomic_add_zero): Likewise.
5051
490df6c4
L
50522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5053
c2722551 5054 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5055 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5056
5e52b189
L
50572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5058
5059 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5060 Check __x86_64__ instead of __WORDSIZE.
5061
a9879d4c
L
50622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5063
5064 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5065
5df98260
DM
50662012-03-19 David S. Miller <davem@davemloft.net>
5067
e1497744
DM
5068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5069
5df98260
DM
5070 * sysdeps/sparc/fpu/fenv_private.h: New file.
5071 * sysdeps/sparc/fpu/math_private.h: Use it.
5072 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5073 Remove.
5074 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5075 (libc_feholdexcept_setroundl): Remove.
5076 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5077 Remove.
5078 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5079 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5080
b4c35121
L
50812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5082
5083 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5084 int64_t instead of long int.
5085 (INSERT_WORDS64): Likwise.
5086
56965fd7
L
50872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5088
5089 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5090 _Unwind_GetCFA return to _Unwind_Ptr first.
5091
83d1aec8
JM
50922012-03-19 Joseph Myers <joseph@codesourcery.com>
5093
1897ad44
JM
5094 [BZ #13629]
5095 * math/s_clog.c: Include <float.h>.
5096 (__clog): Scale large or subnormal inputs.
5097 * math/s_clogf.c: Likewise.
5098 * math/s_clogl.c: Likewise.
5099 * math/s_clog10.c: Include <float.h>.
5100 (M_LOG10_2): Define.
5101 (__clog10): Scale large or subnormal inputs.
5102 * math/s_clog10f.c: Likewise.
5103 * math/s_clog10l.c: Likewise.
5104 * math/libm-test.inc (clog_test): Add more tests.
5105 (clog10_test): Likewise.
5106 * sysdeps/i386/fpu/libm-test-ulps: Update.
5107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5108
7726d6a9
JM
5109 [BZ #11451]
5110 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5111 x and y.
5112 * math/libm-test.inc (atan2_test): Add another test.
5113
83d1aec8
JM
5114 * Makerules (common-objdir-compile): Remove.
5115 * sysdeps/unix/Makefile (config-generated): Do not add
5116 $(unix-generated) to variable.
5117 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5118 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5119 Remove rule.
5120 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5121 Likewise.
5122 [generic bits/local_lim.h] (before-compile): Do not append to
5123 variable.
5124 [generic bits/local_lim.h] (common-generated): Likewise.
5125 [generic sys/param.h] (before-compile): Do not append to variable.
5126 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5127 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5128 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5129 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5130 include.
5131 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5132 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5133 [generic sys/param.h] ($(addprefix
5134 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5135 [generic sys/param.h] (common-generated): Do not append to
5136 variable.
5137 [generic sys/param.h] (sysdep_headers): Likewise.
5138 [generic bits/errno.h] (before-compile): Do not append to
5139 variable.
5140 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5141 rule.
5142 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5143 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5144 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5145 [generic bits/errno.h] (common-generated): Do not append to
5146 variable.
5147 [generic bits/ioctls.h] (before-compile): Do not append to
5148 variable.
5149 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5150 rule.
5151 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5152 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5153 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5154 rule.
5155 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5156 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5157 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5158 [generic bits/ioctls.h] (common-generated): Do not append to
5159 variable.
5160 [generic sys/syscall.h] (syscall.h): Remove variable.
5161 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5162 rule.
5163 [generic sys/syscall.h] (before-compile): Do not append to
5164 variable.
5165 [generic sys/syscall.h] (common-generated): Likewise.
5166 * sysdeps/unix/errnos-tmpl.c: Remove file.
5167 * sysdeps/unix/errnos.awk: Likewise.
5168 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5169 * sysdeps/unix/ioctls.awk: Likewise.
5170 * sysdeps/unix/mk-local_lim.c: Likewise.
5171 * sysdeps/unix/snarf-ioctls: Likewise.
5172
4851a949
RH
51732012-03-19 Richard Henderson <rth@twiddle.net>
5174
bd37f2ee
RH
5175 * sysdeps/i386/fpu/fenv_private.h: New file.
5176 * sysdeps/i386/fpu/math_private.h: Use it.
5177 (math_opt_barrier, math_force_eval): Remove.
5178 (libc_feholdexcept_setround_53bit): Remove.
5179 (libc_feupdateenv_53bit): Remove.
5180 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5181 (math_opt_barrier, math_force_eval): Remove.
5182 (libc_feholdexcept): Remove.
5183 (libc_feholdexcept_setround): Remove.
5184 (libc_fetestexcept, libc_fesetenv): Remove.
5185 (libc_feupdateenv_test): Remove.
5186 (libc_feupdateenv, libc_feholdsetround): Remove.
5187 (libc_feresetround): Remove.
5188
d0adc922
RH
5189 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5190 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5191
0fe0f1f8
RH
5192 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5193 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5194 (libc_feupdateenv_testl): New.
5195 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5196 (libc_feupdateenv_testf): New.
5197 (libc_feupdateenv): Use libc_feupdateenv_test.
5198 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5199 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5200
eb92c487
RH
5201 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5202 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5203 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5204 (libc_feresetround_noex): New.
5205 (libc_feresetround_noexf): New.
5206 (libc_feresetround_noexl): New.
5207 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5208 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5209 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5210 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5211 SET_RESTORE_ROUND.
5212 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5213 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5214 (__cos): Likewise.
5215 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5216 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5217 SET_RESTORE_ROUND_NOEX.
5218 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5219 SET_RESTORE_ROUND_NOEXF.
5220 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5221 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5222 (libc_feholdsetroundf): New.
5223 (libc_feresetround, libc_feresetroundf): New.
5224
7d2e8012
RH
5225 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5226 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5227 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5228
b4dabbb4
RH
5229 * sysdeps/generic/math_private.h: Include <fenv.h>.
5230 (default_libc_feholdexcept): New.
5231 (default_libc_feholdexcept_setround): New.
5232 (default_libc_fesetenv, default_libc_feupdateenv): New.
5233 (libc_feholdexcept): Only define if undefined.
5234 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5235 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5236 (libc_feholdexcept_setroundl): Likewise.
5237 (libc_feholdexcept_setround_53bit): Likewise.
5238 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5239 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5240 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5241 (libc_feupdateenv_53bit): Likewise.
5242 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5243 (libc_feholdexcept): Convert from macro to inline function.
5244 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5245 (libc_fesetenv, libc_feupdateenv): Likewise.
5246
4851a949
RH
5247 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5248 not previously defined.
5249 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5250 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5251 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5252 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5253 * sysdeps/ieee754/flt-32/math_private.h: New file.
5254 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5255 math_private.h below SET_FLOAT_WORD.
5256 (__isnan, __isinf_ns, __finite): Remove.
5257 (__isnanf, __isinf_nsf, __finitef): Remove.
5258
e79d442e
AS
52592012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5260
5261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5262
90b80344
DM
52632012-03-17 David S. Miller <davem@davemloft.net>
5264
5265 [BZ #6471]
5266 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5267 for 2.16.
5268
edc21804
DM
52692012-03-16 David S. Miller <davem@davemloft.net>
5270
77e927af
DM
5271 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5272 warnings.
5273
374976dd
DM
5274 [BZ #6471]
5275 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5276 properly.
5277 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5278 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5279 sysdep_routines when subdir is sysvipc.
5280 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5281 __getshmlba helper.
5282
edc21804
DM
5283 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5284
473c3ef3
L
52852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5286
5287 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5288 [__LP64__].
5289
eb0f39b6
L
52902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5291
5292 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5293 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5294 (__lround): Renamed to ...
5295 (__llround): This. Replace long int with long long int.
5296 Define lround functions as aliases of llround functions.
5297 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5298
6b6cd74b
L
52992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5300
5301 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5302 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5303 adresses to uintptr_t. Replace "long int" and "unsigned long
5304 int" with "greg_t" on va_arg.
5305
f1a77b01
L
53062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5307
5308 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5309 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5310
5311 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5312 Move e_machine check before EI_CLASS check. Handle x32
5313 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5314 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5315 SKIP_EM_IA_64 and include
5316 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5317
5318 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5319 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5320 (add_system_dir): New macro.
5321
5322 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5323 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5324
11b90b9f
JM
53252012-03-16 Joseph Myers <joseph@codesourcery.com>
5326
c36e1d23
JM
5327 [BZ #2551]
5328 [BZ #2552]
5329 [BZ #2553]
5330 [BZ #2554]
5331 [BZ #2562]
5332 [BZ #2563]
5333 [BZ #2565]
5334 [BZ #2566]
5335 [BZ #2576]
5336 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5337 (y0): Likewise.
5338 * math/w_j0f.c (j0f): Likewise.
5339 (y0f): Likewise.
5340 * math/w_j0l.c (__j0l): Likewise.
5341 (__y0l): Likewise.
5342 * math/w_j1.c (j1): Likewise.
5343 (y1): Likewise.
5344 * math/w_j1f.c (j1f): Likewise.
5345 (y1f): Likewise.
5346 * math/w_j1l.c (__j1l): Likewise.
5347 (__y1l): Likewise.
5348 * math/w_jn.c (jn): Likewise.
5349 (yn): Likewise.
5350 * math/w_jnf.c (jnf): Likewise.
5351 (ynf): Likewise.
5352 * math/w_jnl.c (__jnl): Likewise.
5353 (__ynl): Likewise.
5354 * math/libm-test.inc (j0_test): Add more tests.
5355 (j1_test): Likewise.
5356 (jn_test): Likewise. Add trailing semicolon to existing test.
5357 (y0_test): Likewise.
5358 (y1_test): Likewise.
5359 * sysdeps/i386/fpu/libm-test-ulps: Update.
5360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5361
11b90b9f
JM
5362 [BZ #13851]
5363 [BZ #13854]
5364 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5365 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5366 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5367 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5368 (__tanl): Set errno for infinite argument.
5369 * sysdeps/i386/fpu/mptan.c: Remove.
5370 * sysdeps/i386/fpu/s_tan.S: Likewise.
5371 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5372 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5373 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5374 * math/libm-test.inc (tan_test): Add more tests and enable more
5375 tests for double and long double.
5376 * sysdeps/i386/fpu/libm-test-ulps: Update.
5377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5378
6a1bd2a1
JK
53792012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5380
5381 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5382 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5383
10a803e0
RM
53842012-03-16 Roland McGrath <roland@hack.frob.com>
5385
5386 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5387 * configure.in: Use it for both main tree and add-ons.
5388 * configure: Regenerated.
5389
f196c7f7
L
53902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5391
5392 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5393
8848d99d
JM
53942012-03-16 Joseph Myers <joseph@codesourcery.com>
5395
96cbe7f4
JM
5396 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5397 in comment.
5398
8848d99d
JM
5399 [BZ #13851]
5400 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5401 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5405 infinite argument.
5406 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5407 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5408 != 0 for prec == 2.
5409 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5410 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5411 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5412 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5413 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5414 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5415 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5416 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5417 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5418 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5419 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5420 * math/libm-test.inc (cos_test): Add more tests and enable more
5421 tests for long double.
5422 (sin_test): Likewise.
5423 (sincos_test): Likewise.
5424 * sysdeps/i386/fpu/libm-test-ulps: Update.
5425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5426
dd7f4703
DM
54272012-03-16 David S. Miller <davem@davemloft.net>
5428
5429 * sysdeps/sparc/fpu/math_private.h: New file.
5430
006f1daa
DM
54312012-03-15 David S. Miller <davem@davemloft.net>
5432
c0c83bc8
DM
5433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5434 file.
e6a62e18 5435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5437 file.
e6a62e18
DM
5438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5443 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5444 sysdep routines.
5445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5446
88cb87d9
DM
5447 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5448 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5449
006f1daa 5450 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
5451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5452 sparc-ifunc.h
006f1daa 5453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
5454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5455 Likewise.
5456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5457 Likewise.
006f1daa
DM
5458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
5461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5462 Likewise.
006f1daa
DM
5463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
5467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5468 Likewise.
5469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5470 Likewise.
006f1daa
DM
5471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5477 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5478 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5489 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5490 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5491 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5492 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5493 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5494 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5495
11e0098e
AS
54962012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5497
5498 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5499 scaling.
5500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5501
e85b09d0
AJ
55022012-03-15 Andreas Jaeger <aj@suse.de>
5503
5504 [BZ #13852]
5505 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5506 ieee754/flt-32 implementation for sin, cos and sincos.
5507 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5508 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5509 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5510 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5511 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5512 ieee754/flt-32 implementation for tan.
5513
5514 * math/libm-test.inc (cos_test): Enable some large input tests for
5515 float as well
5516 (sin_test): Likewise.
5517 (sincos_test): Likewise.
5518 (tan_test): Add tests for large input.
5519
5520 * sysdeps/i386/fpu/libm-test-ulps: Update.
5521
81c64153
AJ
55222012-03-15 Andreas Jaeger <aj@suse.de>
5523
5524 [BZ #13658]
5525 * math/libm-test.inc (cos_test): Add more test cases.
5526 (sin_test): Likewise.
5527 (sincos_test): Likewise.
5528
7bbfa5c6
AJ
55292012-03-15 Andreas Jaeger <aj@suse.de>
5530
5531 [BZ #13837]
5532 * math/libm-test.inc (cos_test): Add a test case for large input
5533 value.
5534 (sin_test): Likewise.
5535 (sincos_test): Likewise.
5536
55372012-03-15 Andreas Jaeger <aj@suse.de>,
5538 Joseph Myers <joseph@codesourcery.com>
5539
5540 [BZ #13658]
0671f479 5541 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
5542 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5543 * sysdeps/i386/fpu/branred.c: Likewise.
5544 * sysdeps/i386/fpu/dosincos.c: Likewise.
5545 * sysdeps/i386/fpu/mpa.c: Likewise.
5546 * sysdeps/i386/fpu/s_cos.S: Likewise.
5547 * sysdeps/i386/fpu/s_sin.S: Likewise.
5548 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5549 * sysdeps/i386/fpu/sincos32.c: Likewise.
5550
5551 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5552 Define.
5553 (libc_feupdateenv_53bit): Define.
5554 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5555 Define.
5556 (libc_feupdateenv_53bit): Define.
5557
5558 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5559 53 bit (without extend i386 double precision).
5560
5561 * math/libm-test.inc (sincos_test): Add tests for large input.
5562 (sin): Likewise.
5563 (cos): Likewise.
5564
5565 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5566
9cad04ea
AS
55672012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5568
5569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5570
f7062b9a
DM
55712012-03-15 David S. Miller <davem@davemloft.net>
5572
5573 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5574 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5575 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5576 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
5588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5589 file.
f7062b9a 5590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
5591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5592 file.
f7062b9a 5593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
5594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5595 file.
f7062b9a 5596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
5597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5598 file.
f7062b9a
DM
5599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5600 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5601 fmin/fmax sysdep routines.
5602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5603
7bd951ff
DM
56042012-03-14 David S. Miller <davem@davemloft.net>
5605
559398ab
DM
5606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5610 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5611 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5612 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5613 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5617 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5626 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5627 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5628 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5629 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5630 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5631 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5632 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5634 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5635 routines.
5636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5637 file.
559398ab 5638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
5639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5640 file.
559398ab 5641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
5642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5643 file.
559398ab 5644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5646 file.
559398ab 5647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5649 file.
559398ab 5650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5652 file.
5653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5654 file.
5655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5656 file.
5657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5658 file.
5659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5660 New file.
5661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5662 file.
5663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5664 file.
559398ab 5665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5667 file.
559398ab 5668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5670 file.
559398ab 5671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5673 file.
559398ab 5674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5676 VIS3 routines.
559398ab
DM
5677
5678 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5679 New file.
5680
5a1c1e32
DM
5681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5682
eae47a36
DM
5683 * sysdeps/sparc/configure.in: New file.
5684 * sysdeps/sparc/configure: Generate.
5685 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5686 * configure: Regenerate.
5687 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5688 * config.make.in (have-as-vis3): New.
5689 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5690 available use -Av9d instead of -Av9a.
5691 * sysdeps/sparc/sparc64/Makefile: Likewise.
5692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5694 New file.
5695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5696 file.
5697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5698 New file.
5699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5700 file.
eae47a36
DM
5701 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5702 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5703 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5704 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5705 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5706
c0c83bc8
DM
5707 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5708 fzeros/fnegs to load 0x80000000 into a float register instead of
5709 using the stack.
7bd951ff
DM
5710 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5711
bd951ccb
JM
57122012-03-14 Joseph Myers <joseph@codesourcery.com>
5713
5714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5715 bits/syscall.h.
5716 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5717 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5718 ($(inst_includedir)/bits/syscall.h): Remove rule.
5719 ($(objpfx)bits/syscall.d): Include instead of
5720 $(objpfx)syscall-list.d.
5721 (generated): Change syscall-list.h and syscall-list.d to
5722 bits/syscall.h and bits/syscall.d.
5723
bb4e6db2
RM
57242012-03-14 Roland McGrath <roland@hack.frob.com>
5725
5726 [BZ #13846]
5727 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5728
aa4a2ae1
JM
57292012-03-14 Joseph Myers <joseph@codesourcery.com>
5730
e456826d
JM
5731 [BZ #13841]
5732 * math/s_csqrt.c: Include <float.h>.
5733 (__csqrt): Scale large or subnormal inputs.
5734 * math/s_csqrtf.c: Likewise.
5735 * math/s_csqrtl.c: Likewise.
5736 * math/libm-test.inc (csqrt_test): Add more tests.
5737 * sysdeps/i386/fpu/libm-test-ulps: Update.
5738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5739
aa4a2ae1
JM
5740 [BZ #13840]
5741 * math/libm-test.inc (hypot_test): Add more tests.
5742
7c10fd35
DM
57432012-03-13 David S. Miller <davem@davemloft.net>
5744
5745 [BZ #13840]
5746 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5747 double-precision for the calculation instead of scaling.
5748
f453b98b
JM
57492012-03-13 Joseph Myers <joseph@codesourcery.com>
5750
5751 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5752 manipulate bits before adding and subtracting TWO52[sx].
5753 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5754 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5755 Likewise.
5756 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5757
09a3453f
DM
57582012-03-13 David S. Miller <davem@davemloft.net>
5759
8e59da90
DM
5760 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5761 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5762 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5763 rtld-global-offsets.h
5764 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5765
2a8ab7f2
DM
5766 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5767 large parameters.
5768
10f62770
DM
5769 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5770
5f0bdb18
DM
5771 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5772 'err' in the ifdef scope in which it is actually used.
5773
09a3453f
DM
5774 * nss/nss_db/db-init.c: Include string.h
5775
b4b2eb5e
DM
57762012-03-12 David S. Miller <davem@davemloft.net>
5777
98bb2f1c
DM
5778 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5779 masking out of the most significant byte of random value used.
5780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5781 Fix coding style in previous change.
5782
b4b2eb5e
DM
5783 * sysdeps/unix/sysv/linux/kernel-features.h
5784 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5785 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5786 expression.
5787 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5788 later.
5789
6e226b09
DM
57902012-03-11 David S. Miller <davem@davemloft.net>
5791
a1bcbd40
DM
5792 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5793 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5794 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5795 for 'resultvar' otherwise things get truncated on 64-bit.
5796
cb9d6174
DM
5797 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5798 Fix masking out of the most significant byte of random value used.
5799
6e226b09
DM
5800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5801
058c132d
AS
58022012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5803
5804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5805
2d2cd515
DM
58062012-03-09 David S. Miller <davem@davemloft.net>
5807
5808 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5809 variables with appropriate CPP guards.
5810 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5811 frame pointer, not the stack pointer. Correct layout comments. Fix test
5812 on resulting framesize and the management of the outregs buffer for pltexit.
5813 Preserve floating point return values across _dl_call_pltexit call.
5814 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5815 framesize and the management of the outregs buffer for pltexit.
5816 Preserve floating point return values across _dl_call_pltexit
5817 call.
5818 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5819 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5820 (print_exit): Fix format string for return register value.
5821
9a07f9d0
JM
58222012-03-10 Joseph Myers <joseph@codesourcery.com>
5823
5824 * sunrpc/Makefile (others): Add rpcgen.
5825 ($(objpfx)rpcgen): Remove special build rule and dependency on
5826 libc.
5827 * sunrpc/rpcgen.c: New file.
5828
547b5e30
PE
58292012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5830
c524201a
PE
5831 [BZ #13673]
5832 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5833 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5834 * sysdeps/i386/crti.S: Likewise.
5835 * sysdeps/i386/crtn.S: Likewise.
5836 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5837 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5838 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5839 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5840 * sysdeps/sh/crti.S: Likewise.
5841 * sysdeps/sh/crtn.S: Likewise.
5842 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5843
7b6235f2
PE
5844 [BZ #13673]
5845 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5846 with URL.
5847 * locale/programs/locfile-kw.gperf: Likewise.
5848 * locale/programs/charmap-kw.h: Regenerated.
5849 * locale/programs/locfile-kw.h: Likewise.
5850
547b5e30
PE
5851 [BZ #13673]
5852 * intl/plural.y: Replace FSF snail mail address with URL.
5853 * intl/plural.c: Regenerated.
5854
5f0a5dae
RH
58552012-03-09 Richard Henderson <rth@twiddle.net>
5856
5857 * include/math_private.h: Remove file.
5858 * math/math_private.h: Move file ...
5859 * sysdeps/generic/math_private.h: ... here.
5860
b8c03620
RH
5861 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5862 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5863 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5864
4e234f5d 5865 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
5866 and <math_private.h>.
5867 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5868 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5869 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5870 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5871 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5872 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5873 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5874 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5875 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5876 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5877 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5878 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5879 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5880 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5881 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5882 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5883 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5884 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5885 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5886 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5888 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5889 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5891 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5892 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5896 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5897 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5898 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5899 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5900 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5901 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5902 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5905 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5907 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5908 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5909 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5910 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5913 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5914 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5919 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5920 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5921 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5922 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5923 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5924 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5925 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5926 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5927 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5928 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5930 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5931 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5932 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5933 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5934 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5935 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5936 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5937 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5938 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5939 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5940 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5941 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5942 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5943 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5944 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5945 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5946 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5947 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5948 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5949 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5950 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5951 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5953 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5954 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5955 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5956 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5957 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5958 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5959 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5960 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5961 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5962 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5963 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5964 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5965 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5966 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5967 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5968 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5969 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5970 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5971 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5972 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5973 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5974 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5975 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5976 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5977 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5978 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5979 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5980 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5981 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5982 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5983 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5984 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5985 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5986 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5987 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5988 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5989 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5990 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5991 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5992 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5993 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5994 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5995 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5996 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5997 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5998 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5999 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6000 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6001 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6002 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6003 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6004 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6005 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6006 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6007 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6008 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6009 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6010 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6011 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6012 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6013 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6014 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6015 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6016 * sysdeps/ieee754/k_standard.c: Likewise.
6017 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6018 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6019 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6020 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6021 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6022 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6023 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6024 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6025 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6026 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6027 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6028 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6029 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6030 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6031 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6032 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6033 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6034 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6035 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6036 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6037 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6038 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6039 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6040 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6041 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6042 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6043 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6044 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6045 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6046 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6047 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6048 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6049 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6050 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6051 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6052 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6053 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6054 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6055 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6056 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6057 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6058 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6059 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6060 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6061 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6062 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6063 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6064 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6065 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6066 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6067 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6068 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6069 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6070 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6071 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6072 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6073 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6074 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6075 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6076 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6077 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6078 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6079 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6080 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6081 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6082 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6083 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6084 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6085 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6086 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6087 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6088 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6089 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6090 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6091 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6092 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6093 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6094 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6095 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6096 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6097 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6104 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6105 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6106 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6107 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6108 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6109 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6110 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6111 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6112 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6132 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6135 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6136 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6137 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6139 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6143 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6144 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6147 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6148 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6149 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6151 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6156 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6159 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6160 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6161 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6162 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6163 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6165 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6166 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6167 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6168 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6169 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6170 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6171 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6172 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6173 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6177 * sysdeps/ieee754/s_lib_version.c: Likewise.
6178 * sysdeps/ieee754/s_matherr.c: Likewise.
6179 * sysdeps/ieee754/s_signgam.c: Likewise.
6180 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6181 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6182 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6183 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6184 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6185 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6186 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6187 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6188 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6189 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6190 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6191 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6192 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6193 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6194 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6195 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6196 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6197 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6198 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6199 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6200 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6201
1991fa03
JM
62022012-03-09 Joseph Myers <joseph@codesourcery.com>
6203
6204 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6205 * sunrpc/rpc_main.c: Likewise.
6206 * sunrpc/rpc_svcout.c: Likewise.
6207
60d6f5a6
DM
62082012-03-09 David S. Miller <davem@davemloft.net>
6209
6210 * include/math_private.h: New file.
6211
4962050e
JM
62122012-03-09 Joseph Myers <joseph@codesourcery.com>
6213
02a6f887
JM
6214 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6215 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6216 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6217 from <bits/socket_type.h>.
6218 (enum __socket_type): Don't define here.
6219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6221 bits/socket_type.h.
6222
c6e013c1
JM
6223 [BZ #13566]
6224 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6225 checking __USE_GNU.
6226
4962050e
JM
6227 * Makerules ($(inst_includedir)/%.h): New rule.
6228 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6229 (install-others): Remove variable setting.
6230 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6231
38842f45
RH
62322012-03-08 Richard Henderson <rth@twiddle.net>
6233
67bb6da6
RH
6234 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6235 from macro to inline function; merge with the
6236 !__LIBC_INTERNAL_MATH_INLINES version.
6237 (__ieee754_sqrtf): Likewise.
6238
15194b4b
RH
6239 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6240 to inline function.
6241 (__rintf, __floor, __floorf): Likewise.
6242
64e21ede
RH
6243 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6244 macro to inline function.
6245 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6246
38842f45
RH
6247 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6248 not <math/math_private.h>.
6249
c64bf5fe
DM
62502012-03-08 David S. Miller <davem@davemloft.net>
6251
6252 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6253 copyright year.
6254 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6255
82d86f28
TS
62562012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6257
6258 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6259 normalization.
6260 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6261 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6262
aea5d727
UD
62632012-03-08 Ulrich Drepper <drepper@gmail.com>
6264
6265 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6266 be defined individually, they must be defined as a block. Define
6267 S for printing a string instead of hidint the different by using a
6268 macro for adding the 'l'.
6269 * stdio-common/tst-fphex-wide.c: Adjust.
6270
70bca0a3
MP
62712012-03-07 Marek Polacek <polacek@redhat.com>
6272
6273 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6274
65b81130
MP
62752012-03-08 Marek Polacek <polacek@redhat.com>
6276
6277 [BZ #13806]
6278 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6279 * stdio-common/tst-fphex.c: Define a few macros to make the
6280 test reusable. Use them.
6281 * stdio-common/tst-fphex-wide.c: New file.
6282
07037eeb
JM
62832012-03-08 Joseph Myers <joseph@codesourcery.com>
6284
a7a93d50
JM
6285 [BZ #6911]
6286 * manual/macros.texi (gnusystems): New macro.
6287 (nongnusystems): Likewise.
6288 (gnulinuxhurdsystems): Likewise.
6289 (gnuhurdsystems): Likewise..
6290 (gnulinuxsystems): Likewise.
6291 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6292 variants of the GNU system, not "GNU system".
6293 * manual/conf.texi: Likewise.
6294 * manual/errno.texi: Likewise. Update example of errno macro
6295 expansion.
6296 * manual/filesys.texi: Likewise.
6297 (getumask): Document as specific to GNU/Hurd.
6298 * manual/install.texi: Likewise. Reword some references to
6299 GNU/Linux.
6300 * manual/intro.texi: Likewise.
6301 * manual/io.texi: Likewise.
6302 (File Name Portability): Detail which constraints are inapplicable
6303 to all GNU systems and which are only inapplicable to GNU/Hurd.
6304 * manual/job.texi: Likewise.
6305 * manual/llio.texi: Likewise.
6306 (O_NOCTTY): Document as present on GNU/Linux.
6307 * manual/maint.texi: Likewise.
6308 * manual/memory.texi: Likewise.
6309 * manual/pattern.texi: Likewise.
6310 * manual/pipe.texi: Likewise.
6311 * manual/process.texi: Likewise.
6312 * manual/resource.texi: Likewise.
6313 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6314 child on GNU/Hurd.
6315 * manual/setjmp.texi: Likewise.
6316 * manual/signal.texi: Likewise.
6317 * manual/startup.texi: Likewise.
6318 * manual/stdio.texi: Likewise.
6319 * manual/terminal.texi: Likewise.
6320 (ONLCR): Document as POSIX.
6321 (OXTABS): Document availability on GNU/Linux as XTABS.
6322 (ONOEOT): Document availability separately from other bits.
6323 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6324 * manual/time.texi: Likewise.
6325 * manual/users.texi: Likewise.
6326 * INSTALL: Regenerated.
6327 * sysdeps/gnu/errlist.c: Regenerated.
6328
07037eeb
JM
6329 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6330 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6331 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6332 puts.
6333 * configure: Regenerated.
6334
d1d3431a
JM
63352012-03-07 Joseph Myers <joseph@codesourcery.com>
6336
af6a1e37
JM
6337 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6338 default includes instead of AC_HEADER_CHECK.
6339 * sysdeps/i386/configure: Regenerated.
6340
d1d3431a
JM
6341 [BZ #10716]
6342 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6343 * math/s_cacoshf.c (__cacoshf): Likewise.
6344 * math/s_cacoshl.c (__cacoshl): Likewise.
6345 * math/s_casinh.c (__casinh): Set signs of result from argument.
6346 * math/s_casinhf.c (__casinhf): Likewise.
6347 * math/s_casinhl.c (__casinhl): Likewise.
6348 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6349 (casinh_test): Add more tests.
6350 * sysdeps/i386/fpu/libm-test-ulps: Update.
6351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6352
482ff4da
UD
63532012-03-07 Ulrich Drepper <drepper@gmail.com>
6354
872fda05
UD
6355 * po/zh_TW.po: Update from translation team.
6356
a4300c7a
UD
6357 * login/Makefile (distribute): Remove variable.
6358 * catgets/Makefile: Likewise.
6359 * mach/Makefile: Likewise.
6360 * malloc/Makefile: Likewise.
6361 * misc/Makefile: Likewise.
6362 * iconv/Makefile: Likewise.
6363 * nscd/Makefile: Likewise.
6364 * hurd/Makefile: Likewise.
6365 * manual/Makefile: Likewise.
6366 * locale/Makefile: Likewise.
6367 * intl/Makefile: Likewise.
6368 * conform/Makefile: Likewise.
6369 * nss/Makefile: Likewise.
6370 * time/Makefile: Likewise.
6371 * soft-fp/Makefile: Likewise.
6372 * dirent/Makefile: Likewise.
6373 * gmon/Makefile: Likewise.
6374 * po/Makefile: Likewise.
6375 * rt/Makefile: Likewise.
6376 * socket/Makefile: Likewise.
6377 * math/Makefile: Likewise.
6378 * signal/Makefile: Likewise.
6379 * debug/Makefile: Likewise.
6380 * elf/Makefile: Likewise.
6381 * timezone/Makefile: Likewise.
6382 * stdlib/Makefile: Likewise.
6383 * iconvdata/Makefile: Likewise.
6384 * sunrpc/Makefile: Likewise.
6385 * io/Makefile: Likewise.
6386 * argp/Makefile: Likewise.
6387 * inet/Makefile: Likewise.
6388 * hesiod/Makefile: Likewise.
6389 * grp/Makefile: Likewise.
6390 * csu/Makefile: Likewise.
6391 * wctype/Makefile: Likewise.
6392 * crypt/Makefile: Likewise.
6393 * libio/Makefile: Likewise.
6394 * string/Makefile: Likewise.
6395 * nis/Makefile: Likewise.
6396 * resolv/Makefile: Likewise.
6397 * stdio-common/Makefile: Likewise.
6398 * wcsmbs/Makefile: Likewise.
6399 * dlfcn/Makefile: Likewise.
6400 * posix/Makefile: Likewise.
6401
3b7c4e74 6402 [BZ #6959]
482ff4da
UD
6403 * timezone/Makefile: Don't install timezone files, just the programs
6404 and scripts.
6405
f72ed77d
UD
64062012-03-06 Ulrich Drepper <drepper@gmail.com>
6407
a000466f
UD
6408 * nss/databases.def: Add missing gshadow entry.
6409
f72ed77d
UD
6410 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6411
a53b7a4e
MP
64122012-03-06 Marek Polacek <polacek@redhat.com>
6413
6414 [BZ #13726]
6415 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6416 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6417 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6418 * stdio-common/tst-long-dbl-fphex.c: New file.
6419
e9258400
DM
64202012-03-06 David S. Miller <davem@davemloft.net>
6421
6422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6423 (set_obp_int): New function.
6424 (get_obp_int): New function.
6425 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6426 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6427 Avoid unused variable warnings on 'val' and use builtin_expect.
6428 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6429 __builtin_expect.
e9258400
DM
6430 (INLINE_CLONE_SYSCALL): Likewise.
6431
3bd2c723
DM
64322012-03-05 David S. Miller <davem@davemloft.net>
6433
6434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6435
bbb78d03
AS
64362012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6437
884c5db4
AS
6438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6439
bbb78d03
AS
6440 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6441 only for |x| >= 40.
6442 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6443
1c9f702a 64442012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6445
6446 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6447 Replace gettimeofday with __vdso_gettimeofday.
6448
7be16f82
RM
6449 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6450 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6451 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
6452
6453 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6454 time with __vdso_time.
6455
ed58a00f
JM
64562012-03-05 Joseph Myers <joseph@codesourcery.com>
6457
6458 * manual/lang.texi (size_t): Note types to which size_t may be
6459 equivalent with the GNU C Library, but do not describe when
6460 differences between them are significant.
6461
30ee4ced
AJ
64622012-03-05 Andreas Jaeger <aj@suse.de>
6463
6464 * sysdeps/i386/fpu/libm-test-ulps: Update.
6465
b7cd39e8
JM
64662012-03-05 Joseph Myers <joseph@codesourcery.com>
6467
6468 [BZ #3976]
6469 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6470 (__ieee754_pow): Save and restore rounding mode and use
6471 round-to-nearest for main computations.
6472 * math/libm-test.inc (pow_test_tonearest): New function.
6473 (pow_test_towardzero): Likewise.
6474 (pow_test_downward): Likewise.
6475 (pow_test_upward): Likewise.
6476 (main): Call the new functions.
6477 * sysdeps/i386/fpu/libm-test-ulps: Update.
6478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
6479
6480 [BZ #3976]
6481 * math/libm-test.inc (cosh_test_tonearest): New function.
6482 (cosh_test_towardzero): Likewise.
6483 (cosh_test_downward): Likewise.
6484 (cosh_test_upward): Likewise.
6485 (sinh_test_tonearest): Likewise.
6486 (sinh_test_towardzero): Likewise.
6487 (sinh_test_downward): Likewise.
6488 (sinh_test_upward): Likewise.
6489 (main): Call the new functions.
6490 * sysdeps/i386/fpu/libm-test-ulps: Update.
6491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6492
6c6a98c9
TV
64932012-03-05 Tom de Vries <tom@codesourcery.com>
6494
6495 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6496 default stack guard is set in last bytes.
6497 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6498
21bb2d2e 64992012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 6500
21bb2d2e 6501 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 6502
21bb2d2e
AJ
6503 [BZ #13656]
6504 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6505 possibly allocate from heap instead of stack.
6506 * stdio-common/bug-vfprintf-nargs.c: New file.
6507 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 6508
c6922934
AS
65092012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6510
6511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6512
bc957d53
MP
65132012-03-03 Marek Polacek <polacek@redhat.com>
6514
6515 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6516 * math/math_private.h: Likewise.
6517 * stdlib/tst-strtod.c: Likewise.
6518 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6519 * sysdeps/x86_64/bits/atomic.h: Likewise.
6520
6358490d
DM
65212012-03-02 David S. Miller <davem@davemloft.net>
6522
6523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6527 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6528 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6529 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6530 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6531
01ae168d
RM
65322012-03-02 Roland McGrath <roland@hack.frob.com>
6533
d9a17c07
RM
6534 [BZ #13792]
6535 * manual/examples/README: New file, says the example source files
6536 can be used under GPL>=2.
6537 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6538 line containing just "*/".
6539 * manual/examples/add.c: Add copyright header (GPL>=2).
6540 * manual/examples/argp-ex1.c: Likewise.
6541 * manual/examples/argp-ex2.c: Likewise.
6542 * manual/examples/argp-ex3.c: Likewise.
6543 * manual/examples/argp-ex4.c: Likewise.
6544 * manual/examples/atexit.c: Likewise.
6545 * manual/examples/db.c: Likewise.
6546 * manual/examples/dir.c: Likewise.
6547 * manual/examples/dir2.c: Likewise.
6548 * manual/examples/execinfo.c: Likewise.
6549 * manual/examples/filecli.c: Likewise.
6550 * manual/examples/filesrv.c: Likewise.
6551 * manual/examples/fmtmsgexpl.c: Likewise.
6552 * manual/examples/genpass.c: Likewise.
6553 * manual/examples/inetcli.c: Likewise.
6554 * manual/examples/inetsrv.c: Likewise.
6555 * manual/examples/isockad.c: Likewise.
6556 * manual/examples/longopt.c: Likewise.
6557 * manual/examples/memopen.c: Likewise.
6558 * manual/examples/memstrm.c: Likewise.
6559 * manual/examples/mkfsock.c: Likewise.
6560 * manual/examples/mkisock.c: Likewise.
6561 * manual/examples/mygetpass.c: Likewise.
6562 * manual/examples/pipe.c: Likewise.
6563 * manual/examples/popen.c: Likewise.
6564 * manual/examples/rprintf.c: Likewise.
6565 * manual/examples/search.c: Likewise.
6566 * manual/examples/select.c: Likewise.
6567 * manual/examples/setjmp.c: Likewise.
6568 * manual/examples/sigh1.c: Likewise.
6569 * manual/examples/sigusr.c: Likewise.
6570 * manual/examples/stpcpy.c: Likewise.
6571 * manual/examples/strdupa.c: Likewise.
6572 * manual/examples/strftim.c: Likewise.
6573 * manual/examples/strncat.c: Likewise.
6574 * manual/examples/subopt.c: Likewise.
6575 * manual/examples/swapcontext.c: Likewise.
6576 * manual/examples/termios.c: Likewise.
6577 * manual/examples/testopt.c: Likewise.
6578 * manual/examples/testpass.c: Likewise.
6579 * manual/examples/timeval_subtract.c: Likewise.
6580
01ae168d
RM
6581 [BZ #13792]
6582 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6583 function to ...
6584 * manual/timeval_subtract.c.texi: ... here, new file.
6585
49efa33d
DM
65862012-03-02 David S. Miller <davem@davemloft.net>
6587
6588 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6589
28afd92d
JM
65902012-03-02 Joseph Myers <joseph@codesourcery.com>
6591
804360ed
JM
6592 [BZ #3976]
6593 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6594 (__sin): Save and restore rounding mode and use round-to-nearest
6595 for all computations.
6596 (__cos): Save and restore rounding mode and use round-to-nearest
6597 for all computations.
6598 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6599 <fenv.h>.
6600 (tan): Save and restore rounding mode and use round-to-nearest for
6601 all computations.
6602 * math/libm-test.inc (cos_test_tonearest): New function.
6603 (cos_test_towardzero): Likewise.
6604 (cos_test_downward): Likewise.
6605 (cos_test_upward): Likewise.
6606 (sin_test_tonearest): Likewise.
6607 (sin_test_towardzero): Likewise.
6608 (sin_test_downward): Likewise.
6609 (sin_test_upward): Likewise.
6610 (tan_test_tonearest): Likewise.
6611 (tan_test_towardzero): Likewise.
6612 (tan_test_downward): Likewise.
6613 (tan_test_upward): Likewise.
6614 (main): Call the new functions.
6615 * sysdeps/i386/fpu/libm-test-ulps: Update.
6616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6617
a6d06d7b
JM
6618 [BZ #10135]
6619 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6620 small n, then large n, before computing and testing k+n.
6621 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6622 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6623 Likewise.
6624 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6625 Likewise.
6626 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6627 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6628 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6629 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6630 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6631 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6632 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6633 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6634 * math/libm-test.inc (scalbn_test): Add more tests.
6635 (scalbln_test): Likewise.
6636
07e12bb3
JM
6637 * manual/filesys.texi (mode_t): Describe constraints on size and
6638 signedness, not exact equivalence to a particular type.
6639 (ino_t): Likewise.
6640 (ino64_t): Likewise.
6641 (dev_t): Likewise.
6642 (nlink_t): Likewise.
6643 (blkcnt_t): Likewise.
6644 (blkcnt64_t): Likewise.
6645 * manual/llio.texi (off_t): Likewise.
6646
28afd92d
JM
6647 [BZ #3976]
6648 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6649 (__ieee754_exp): Save and restore rounding mode and use
6650 round-to-nearest for all computations.
6651 * math/libm-test.inc (exp_test_tonearest): New function.
6652 (exp_test_towardzero): Likewise.
6653 (exp_test_downward): Likewise.
6654 (exp_test_upward): Likewise.
6655 (main): Call the new functions.
6656 * sysdeps/i386/fpu/libm-test-ulps: Update.
6657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6658
b1eeb65d
CD
66592012-03-01 Chris Demetriou <cgd@google.com>
6660
6661 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6662 have predictable order.
6663
53362a4b
DM
66642012-03-01 David S. Miller <davem@davemloft.net>
6665
3c969083
DM
6666 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6667
759707de
DM
6668 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6669 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6670 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6671 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6672
dfdb8ff2
DM
6673 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6674 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6675 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6677 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6678 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6679 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6680 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6681 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6682
ead89f96
DM
6683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6684
7f66bd07
DM
6685 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6686 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6687 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6688
53362a4b
DM
6689 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6690 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6691 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6692 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6693 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6694 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6695 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6696 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6697 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6698 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6699 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6700 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6701 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6702 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6703 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6704 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6705 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6706 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6707 * sysdeps/sparc/elf/configure: Regenerated.
6708
7b1902cb
JM
67092012-03-01 Joseph Myers <joseph@codesourcery.com>
6710
bec039bc
JM
6711 * configure.in (AS, LD): Require binutils 2.20 or later.
6712 * configure: Regenerated.
6713 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6714 as required minimum version.
6715 * INSTALL: Regenerated.
6716
7b1902cb
JM
6717 [BZ #2541]
6718 [BZ #4108]
6719 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6720 before squaring exponent.
6721 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6722 bottom long double and 27 bits of top long double before squaring
6723 exponent.
6724 * math/libm-test.inc (erfc_test): Add more tests.
6725 * sysdeps/i386/fpu/libm-test-ulps: Update.
6726 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6728
f775c276
KT
67292012-03-01 Kai Tietz <ktietz@redhat.com>
6730
6731 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6732 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6733 containing bit-fields.
6734 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6735 * soft-fp/single.h (_FP_UNION_S): Likewise.
6736 * soft-fp/double.h (_FP_UNION_D): Likewise.
6737
5b8a4d4a
JM
67382012-02-29 Joseph Myers <joseph@codesourcery.com>
6739
0bab47b6
JM
6740 [BZ #13786]
6741 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6742 not include ../strcmp.S.
6743 [USE_AS_STRNCASECMP_L]: Likewise.
6744 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6745 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6746 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6747 (__strncasecmp_l_ia32): Define as alias to
6748 __strncasecmp_l_nonascii.
6749
0fcad3e2
JM
6750 [BZ #5794]
6751 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6752 * sysdeps/i386/fpu/libm-test-ulps: Update.
6753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6754
5b8a4d4a
JM
6755 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6757
8fdceb2e
JL
67582012-02-29 Jeff Law <law@redhat.com>
6759
6760 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6761 out of bounds read.
6762
1f393a11
MP
67632012-02-29 Marek Polacek <polacek@redhat.com>
6764
6765 [BZ #13706]
6766 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6767 * elf/Makefile: Add rules to run tst-unused-dep.out.
6768
8847f037
DM
67692012-02-28 David S. Miller <davem@davemloft.net>
6770
6771 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6772 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6773 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6774 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6775 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6776 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6777
169d7f11
JM
67782012-02-29 Joseph Myers <joseph@codesourcery.com>
6779
6780 * math/libm-test.inc (llround_test): Move one test from
6781 lround_test. Use TEST_f_L in moved test.
6782 (lround_test): Move misplaced test to llround_test. Add testcase
6783 from bug 2561.
6784
39adf059
UD
67852012-02-28 Ulrich Drepper <drepper@gmail.com>
6786
6787 * sysdeps/x86_64/fpu/e_expf.S: New file.
6788 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6789
71b5d1c5
SB
67902012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6791
6792 [BZ #13637]
6793 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6794 of remain_len that may cause incomplete multi-byte character and
6795 false match.
6796 * posix/bug-regex33.c: New file.
6797 * posix/Makefile (tests): Add bug-regex33.
6798
1f77f049
JM
67992012-02-28 Joseph Myers <joseph@codesourcery.com>
6800
6801 * manual/macros.texi: New file.
6802 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6803 * manual/libc.texinfo: Include macros.texi.
6804 * manual/creatute.texi: Likewise.
6805 * manual/install.texi: Likewise.
6806 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6807 @glibcadj{} in references to the GNU C Library.
6808 * manual/charset.texi: Likewise.
6809 * manual/conf.texi: Likewise.
6810 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6811 when not using those macros.
6812 * manual/creature.texi: Likewise.
6813 * manual/crypt.texi: Likewise.
6814 * manual/errno.texi: Likewise.
6815 * manual/filesys.texi: Likewise.
6816 * manual/header.texi: Likewise.
6817 * manual/install.texi: Likewise.
6818 * manual/intro.texi: Likewise.
6819 * manual/io.texi: Likewise.
6820 * manual/job.texi: Likewise.
6821 * manual/lang.texi: Likewise.
6822 * manual/libc.texiinfo: Likewise.
6823 * manual/llio.texi: Likewise.
6824 * manual/locale.texi: Likewise.
6825 * manual/maint.texi: Likewise.
6826 * manual/math.texi: Likewise.
6827 * manual/memory.texi: Likewise.
6828 * manual/message.texi: Likewise.
6829 * manual/nss.texi: Likewise.
6830 * manual/pattern.texi: Likewise.
6831 * manual/process.texi: Likewise.
6832 * manual/resource.texi: Likewise.
6833 * manual/search.texi: Likewise.
6834 * manual/setjmp.texi: Likewise.
6835 * manual/signal.texi: Likewise.
6836 * manual/socket.texi: Likewise.
6837 * manual/startup.texi: Likewise.
6838 * manual/stdio.texi: Likewise.
6839 * manual/string.texi: Likewise.
6840 * manual/sysinfo.texi: Likewise.
6841 * manual/syslog.texi: Likewise.
6842 * manual/terminal.texi: Likewise.
6843 * manual/time.texi: Likewise.
6844 * manual/users.texi: Likewise.
6845 * INSTALL: Regenerated.
6846 * NOTES: Regenerated.
d40c5d54 6847 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 6848
450bf206
AS
68492012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6850
6851 * include/dirent.h: Include <dirstream.h> before
6852 <dirent/dirent.h>.
6853
741a235b
DM
68542012-02-28 David S. Miller <davem@davemloft.net>
6855
6856 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6857 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6858 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6859 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6860
d6b5aa58
DM
68612012-02-27 David S. Miller <davem@davemloft.net>
6862
1aff59a3
DM
6863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6865 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6866 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6867
d6b5aa58
DM
6868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6869 frame pointer instead of stack pointer relative arg slot.
6870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6871 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6872 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6873
433f48bf
CD
68742012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6875
6876 [BZ #3992]
6877 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6878
d674b76d
DM
68792012-02-27 David S. Miller <davem@davemloft.net>
6880
6881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6885 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6886 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6887 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6888 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6889
0e7727f7
JM
68902012-02-27 Joseph Myers <joseph@codesourcery.com>
6891
6892 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6893 later. Allow versions 5-9.
43be4ca2 6894 * configure: Regenerated.
0e7727f7
JM
6895 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6896 required minimum version and 4.6 as recommended version. Do not
6897 mention bugs in GCC 2.7 and 2.8.
43be4ca2 6898 * INSTALL: Regenerated.
0e7727f7 6899
a78bc654
DM
69002012-02-27 David S. Miller <davem@davemloft.net>
6901
428d5830
DM
6902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6906 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6907 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6908 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6909 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6910
a78bc654
DM
6911 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6912 manipulate bits before adding and subtracting TWO112[sx].
6913 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6914
4579f81c
RM
69152012-02-27 Roland McGrath <roland@hack.frob.com>
6916
36c8acb4
RM
6917 [BZ #13775]
6918 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6919 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6920 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6921 being in POSIX, because they are in 1003.1-2008.
6922
84ad622b
RM
6923 * rt/tst-aio.c: Include <fcntl.h>.
6924 * rt/tst-aio7.c: Likewise.
6925 * rt/tst-aio64.c: Likewise.
6926
4579f81c
RM
6927 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6928
abd923db
JM
69292012-02-27 Joseph Myers <joseph@codesourcery.com>
6930
6931 * manual/install.texi (--with-headers): Describe headers as
6932 interface headers, not private headers.
6933 (Specific advice for GNU/Linux systems): Describe use of headers
6934 from "make headers_install", not private headers from older
6935 kernels.
43be4ca2 6936 * INSTALL: Regenerated.
abd923db
JM
6937 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6938 Change to 2.6.19.
6939 * sysdeps/unix/sysv/linux/configure: Regenerated.
6940
6664049b
JM
6941 * manual/llio.texi (fclean): Remove documentation.
6942
bb8b6697
JM
6943 * manual/Makefile (libc-texi-generated): New variable. Include
6944 version.texi.
6945 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6946 $(libc-texi-generated), not duplicated list of files.
6947 (version.texi, stamp-version): New rules.
6948 (realclean): Remove $(libc-texi-generated), not individual files
6949 from that list. Do not remove dir-add.texinfo.
6950 * manual/libc.texinfo: Comment out uses of edition numbers and
6951 references to printed manual. Remove last-updated dates.
6952 (EDITION): Comment out.
6953 (ISBN): Likewise.
6954 (VERSION, UPDATED): Remove.
6955 (version.texi): Include.
6956
12e5c3b9
AS
69572012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6958
6959 * sysdeps/posix/spawni.c: Include <signal.h>.
6960 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6961 * sysdeps/pthread/aio_fsync.c: Likewise.
6962
4efeffc1 69632012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 6964
ba63ba08
UD
6965 * conform/Makefile (tests): Run only when not cross-compiling and
6966 when fast-check is not defined.
6967
d94a4670
UD
6968 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6969 * conform/data/limits.h-data: Fixes for POSIX2008.
6970 * conform/run-conformtest.sh: Run all tests.
6971 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6972 headers.
6973 * include/bits/dlfcn.h: Likewise.
6974 * include/langinfo.h: Likewise.
6975 * include/monetary.h: Likewise.
6976 * include/sys/poll.h: Likewise.
6977
6978 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6979 for __USE_GNU.
6980 * posix/spawn.h: Define __need_sigset_t.
6981 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6982 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6983 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6984 to get sigevent_t only.
6985 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6986 only for __USE_GNU.
6987 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6988 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6989 process_vm_writev only for __USE_GNU.
6990 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
6991
6992 * conform/Makefile: For now ignore errors from run-conformtest.
6993 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6994 POSIX to avoid namespace pollution. Don't prepend headers.
6995 * conform/data/aio.h-data: Fixes for POSIX testing.
6996 * conform/data/fcntl.h-data: Likewise.
6997 * conform/data/glob.h-data: Likewise.
6998 * conform/data/grp.h-data: Likewise.
6999 * conform/data/pthread.h-data: Likewise.
7000 * conform/data/pwd.h-data: Likewise.
7001 * conform/data/signal.h-data: Likewise.
7002 * conform/data/spawn.h-data: Likewise.
7003 * conform/data/stdio.h-data: Likewise.
7004 * conform/data/stdlib.h-data: Likewise.
7005 * conform/data/stropts.h-data: Likewise.
7006 * conform/data/sys/mman.h-data: Likewise.
7007 * conform/data/sys/stat.h-data: Likewise.
7008 * conform/data/sys/types.h-data: Likewise.
7009 * conform/data/sys/wait.h-data: Likewise.
7010 * conform/data/time.h-data: Likewise.
7011 * conform/data/unistd.h-data: Likewise.
7012 * conform/data/utime.h-data: Likewise.
7013
7014 * io/sys/stat.h: fchmod was always in POSIX.
7015 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7016 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7017 * rt/aio.h: Define __need_timespec before including <time.h>.
7018 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7019 struct. Add forward declaration of pthread_attr_t and use it in
7020 sigevent.
7021 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7022 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7023 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7024 always remove CLK_TCK definition.
7025
c20105c3
AS
70262012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7027
7028 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7029
7a270350
UD
70302012-02-25 Ulrich Drepper <drepper@gmail.com>
7031
31341567
UD
7032 * conform/run-conformtest.sh: New file.
7033 * conform/Makefile: Run run-conformtest for tests.
7034 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7035 support.
7036
7037 * conform/data/uchar.h-data: New file.
7038 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7039 * conform/data/arpa/inet.h-data: Likewise.
7040 * conform/data/assert.h-data: Likewise.
7041 * conform/data/complex.h-data: Likewise.
7042 * conform/data/cpio.h-data: Likewise.
7043 * conform/data/ctype.h-data: Likewise.
7044 * conform/data/dirent.h-data: Likewise.
7045 * conform/data/dlfcn.h-data: Likewise.
7046 * conform/data/errno.h-data: Likewise.
7047 * conform/data/fcntl.h-data: Likewise.
7048 * conform/data/float.h-data: Likewise.
7049 * conform/data/fmtmsg.h-data: Likewise.
7050 * conform/data/fnmatch.h-data: Likewise.
7051 * conform/data/ftw.h-data: Likewise.
7052 * conform/data/glob.h-data: Likewise.
7053 * conform/data/grp.h-data: Likewise.
7054 * conform/data/iconv.h-data: Likewise.
7055 * conform/data/inttypes.h-data: Likewise.
7056 * conform/data/langinfo.h-data: Likewise.
7057 * conform/data/libgen.h-data: Likewise.
7058 * conform/data/limits.h-data: Likewise.
7059 * conform/data/locale.h-data: Likewise.
7060 * conform/data/math.h-data: Likewise.
7061 * conform/data/monetary.h-data: Likewise.
7062 * conform/data/mqueue.h-data: Likewise.
7063 * conform/data/ndbm.h-data: Likewise.
7064 * conform/data/net/if.h-data: Likewise.
7065 * conform/data/netdb.h-data: Likewise.
7066 * conform/data/netinet/in.h-data: Likewise.
7067 * conform/data/nl_types.h-data: Likewise.
7068 * conform/data/poll.h-data: Likewise.
7069 * conform/data/pthread.h-data: Likewise.
7070 * conform/data/pwd.h-data: Likewise.
7071 * conform/data/regex.h-data: Likewise.
7072 * conform/data/sched.h-data: Likewise.
7073 * conform/data/search.h-data: Likewise.
7074 * conform/data/semaphore.h-data: Likewise.
7075 * conform/data/setjmp.h-data: Likewise.
7076 * conform/data/signal.h-data: Likewise.
7077 * conform/data/spawn.h-data: Likewise.
7078 * conform/data/stdarg.h-data: Likewise.
7079 * conform/data/stdio.h-data: Likewise.
7080 * conform/data/stdlib.h-data: Likewise.
7081 * conform/data/string.h-data: Likewise.
7082 * conform/data/strings.h-data: Likewise.
7083 * conform/data/stropts.h-data: Likewise.
7084 * conform/data/sys/ipc.h-data: Likewise.
7085 * conform/data/sys/mman.h-data: Likewise.
7086 * conform/data/sys/msg.h-data: Likewise.
7087 * conform/data/sys/resource.h-data: Likewise.
7088 * conform/data/sys/select.h-data: Likewise.
7089 * conform/data/sys/sem.h-data: Likewise.
7090 * conform/data/sys/shm.h-data: Likewise.
7091 * conform/data/sys/socket.h-data: Likewise.
7092 * conform/data/sys/stat.h-data: Likewise.
7093 * conform/data/sys/statvfs.h-data: Likewise.
7094 * conform/data/sys/time.h-data: Likewise.
7095 * conform/data/sys/timeb.h-data: Likewise.
7096 * conform/data/sys/times.h-data: Likewise.
7097 * conform/data/sys/types.h-data: Likewise.
7098 * conform/data/sys/uio.h-data: Likewise.
7099 * conform/data/sys/un.h-data: Likewise.
7100 * conform/data/sys/utsname.h-data: Likewise.
7101 * conform/data/sys/wait.h-data: Likewise.
7102 * conform/data/syslog.h-data: Likewise.
7103 * conform/data/tar.h-data: Likewise.
7104 * conform/data/termios.h-data: Likewise.
7105 * conform/data/utime.h-data: Likewise.
7106 * conform/data/utmpx.h-data: Likewise.
7107 * conform/data/varargs.h-data: Likewise.
7108 * conform/data/wchar.h-data: Likewise.
7109 * conform/data/wctype.h-data: Likewise.
7110 * conform/data/wordexp.h-data: Likewise.
7111
7112 * include/stropts.h: New file.
7113 * include/uchar.h: New file.
7114 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7115 * include/assert.h: Likewise.
7116 * include/ctype.h: Likewise.
7117 * include/dirent.h: Likewise.
7118 * include/dlfcn.h: Likewise.
7119 * include/fcntl.h: Likewise.
7120 * include/fnmatch.h: Likewise.
7121 * include/glob.h: Likewise.
7122 * include/grp.h: Likewise.
7123 * include/libio.h: Likewise.
7124 * include/locale.h: Likewise.
7125 * include/math.h: Likewise.
7126 * include/net/if.h: Likewise.
7127 * include/netdb.h: Likewise.
7128 * include/netinet/in.h: Likewise.
7129 * include/pthread.h: Likewise.
7130 * include/pwd.h: Likewise.
7131 * include/regex.h: Likewise.
7132 * include/sched.h: Likewise.
7133 * include/search.h: Likewise.
7134 * include/setjmp.h: Likewise.
7135 * include/signal.h: Likewise.
7136 * include/stdio.h: Likewise.
7137 * include/stdlib.h: Likewise.
7138 * include/string.h: Likewise.
7139 * include/sys/cdefs.h: Likewise.
7140 * include/sys/mman.h: Likewise.
7141 * include/sys/msg.h: Likewise.
7142 * include/sys/resource.h: Likewise.
7143 * include/sys/select.h: Likewise.
7144 * include/sys/socket.h: Likewise.
7145 * include/sys/stat.h: Likewise.
7146 * include/sys/statvfs.h: Likewise.
7147 * include/sys/time.h: Likewise.
7148 * include/sys/times.h: Likewise.
7149 * include/sys/uio.h: Likewise.
7150 * include/sys/utsname.h: Likewise.
7151 * include/sys/wait.h: Likewise.
7152 * include/termios.h: Likewise.
7153 * include/time.h: Likewise.
7154 * include/ulimit.h: Likewise.
7155 * include/unistd.h: Likewise.
7156 * include/utime.h: Likewise.
7157 * include/wchar.h: Likewise.
7158 * include/wctype.h: Likewise.
7159 * include/wordexp.h: Likewise.
7160
7161 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7162
7a270350
UD
7163 * time/time.h: TIME_UTC must be a macro.
7164 Make timespec_get available for ISO C11 only as well.
7165
7724defc
UD
71662012-02-24 Ulrich Drepper <drepper@gmail.com>
7167
7168 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7169 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7170
6b1d1d46
JM
71712012-02-24 Joseph Myers <joseph@codesourcery.com>
7172
7173 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7174
0f8bbd69
JM
71752012-02-24 Joseph Myers <joseph@codesourcery.com>
7176
7177 * manual/texinfo.tex: Update to version 2012-01-19.16.
7178
66ab80bc
JM
71792012-02-24 Joseph Myers <joseph@codesourcery.com>
7180
7181 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7182
74981cc5
RM
71832012-02-24 Roland McGrath <roland@hack.frob.com>
7184
ee968201
RM
7185 [BZ #13738]
7186 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7187 * manual/fdl-1.3.texi: New file.
7188 * manual/fdl-1.1.texi: File removed.
7189
74981cc5
RM
7190 [BZ #13738]
7191 * manual/libc.texinfo (FDL_VERSION): New @set.
7192 Use it for mention of FDL in cover text.
7193 (Documentation License): Use it in @include file name.
7194
7bb764bc
JM
71952012-02-22 Joseph Myers <joseph@codesourcery.com>
7196 Roland McGrath <roland@hack.frob.com>
7197
7198 [BZ #5461]
7199 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7200 not LONG_LONG_MAX and LONG_LONG_MIN.
7201 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7202 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7203 name.
7204 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7205
6cbeae47
JM
72062012-02-22 Joseph Myers <joseph@codesourcery.com>
7207
7208 [BZ #2547]
7209 [BZ #11365]
7210 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7211 manipulate bits before adding and subtracting TWO23[sx].
7212 * math/libm-test.inc (nearbyint_test): Add more tests.
7213
fe45ce09
JM
72142012-02-22 Joseph Myers <joseph@codesourcery.com>
7215
7216 [BZ #2548]
7217 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7218 bits before adding and subtracting TWO23[sx].
7219 * math/libm-test.inc (rint_test): Add more tests.
7220 (rint_test_tonearest): Likewise.
7221 (rint_test_towardzero): Likewise.
7222 (rint_test_downward): Likewise.
7223 (rint_test_upward: Likewise.
7224
ff3b3d82
JM
72252012-02-22 Joseph Myers <joseph@codesourcery.com>
7226
7227 [BZ #10110]
7228 * include/stdc-predef.h: New file. Extracted from features.h.
7229 * include/features.h: Include stdc-predef.h.
7230 * Makefile (headers): Add stdc-predef.h.
7231 * CONFORMANCE (Compiler limitations): Update.
7232
ef0aab35
JM
72332012-02-22 Joseph Myers <joseph@codesourcery.com>
7234
7235 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7236
58639409
DM
72372012-02-21 David S. Miller <davem@davemloft.net>
7238
7239 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7240 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7241
c0e70b25
DM
72422012-02-20 David S. Miller <davem@davemloft.net>
7243
7244 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7245 using a normal save/restore sequence, rather than allocating a
7246 dummy stack frame just to store a frame pointer and restore.
7247 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7248
fb06851d
JM
72492012-02-21 Joseph Myers <joseph@codesourcery.com>
7250
7251 * manual/install.texi: Fix stray word in line-wrapped comment.
7252
7a8b71c3
DM
72532012-02-20 David S. Miller <davem@davemloft.net>
7254
d510c123
DM
7255 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7256 both binutils and gcc support GOTDATA.
7257
0722d7c2
DM
7258 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7259 "rd %pc" in the PIC register setup sequences.
7260
3d2b3019
DM
7261 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7262 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7263 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7264 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7265 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7267 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7268 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7269 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7270 (SYSCALL_ERROR_HANDLER): Likewise.
7271 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7272 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7274 (SYSCALL_ERROR_HANDLER): Likewise.
7275
c80098a9
DM
7276 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7277 (HAVE_GCC_GOTDATA): New.
7278 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7279 relocation support in both binutils and gcc.
7280 * sysdeps/sparc/elf/configure: Regenerate.
7281
3a2545a0
DM
7282 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7283 * sysdeps/sparc/sparc32/elf/configure: Delete.
7284 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7285 * sysdeps/sparc/sparc64/elf/configure: Delete.
7286 * sysdeps/sparc/elf/configure.in: New file.
7287 * sysdeps/sparc/elf/configure: Generate.
7288
7a8b71c3
DM
7289 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7290 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7291 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7292 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7293 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7294
f1e86fca
JM
72952012-02-21 Joseph Myers <joseph@codesourcery.com>
7296
7297 * manual/install.texi: Do not mention specific glibc version
7298 numbers.
7299 * manual/libc.texinfo (VERSION, UPDATED): Update.
7300 (@copying): Use @copyright{} and range of years.
7301
0e7dfaef
JM
73022012-02-21 Joseph Myers <joseph@codesourcery.com>
7303
7304 [BZ #13695]
7305 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7306 [crti.S not in sysdirs] (generated): Do not append.
7307 [crti.S not in sysdirs] (omit-deps): Likewise.
7308 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7309 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7310 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7311 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7312 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7313 Likewise.
7314 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7315 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7316 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7317 * csu/defs.awk: Remove file.
7318 * sysdeps/generic/initfini.c: Likewise.
7319 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7320 variable.
7321 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7322 Likewise.
7323
599af3ca
JM
73242012-02-20 Joseph Myers <joseph@codesourcery.com>
7325
7326 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7327 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7328 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7329 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7330 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7331 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7332 <bits/epoll.h>.
7333 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7334 (__EPOLL_PACKED): Define to empty if not defined by
7335 <bits/epoll.h>.
7336 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7338 bits/epoll.h.
7339
0e499750
JM
73402012-02-20 Joseph Myers <joseph@codesourcery.com>
7341
7342 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7343 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7344 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7345 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7346 <bits/timerfd.h>.
7347 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7349 bits/timerfd.h.
7350
5ad91f6e
JM
73512012-02-20 Joseph Myers <joseph@codesourcery.com>
7352
7353 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7354 in C locale.
7355 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7356 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7357 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7359
06b99b02
AJ
73602012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7361
7362 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7363 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7364
7638c0fd
AS
73652012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7366
7367 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7368 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7369 defined.
7370 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7371 Likewise.
7372 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7373 entry for 2.16.
7374
92221550
AJ
73752012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7376
7377 * math/w_acos.c: Use non-signaling floating-point comparisons.
7378 * math/w_acosf.c: Likewise.
7379 * math/w_acosh.c: Likewise.
7380 * math/w_acoshf.c: Likewise.
7381 * math/w_acoshl.c: Likewise.
7382 * math/w_acosl.c: Likewise.
7383 * math/w_asin.c: Likewise.
7384 * math/w_asinf.c: Likewise.
7385 * math/w_asinl.c: Likewise.
7386 * math/w_atanh.c: Likewise.
7387 * math/w_atanhf.c: Likewise.
7388 * math/w_atanhl.c: Likewise.
7389 * math/w_exp2.c: Likewise.
7390 * math/w_exp2f.c: Likewise.
7391 * math/w_exp2l.c: Likewise.
7392 * math/w_j0.c: Likewise.
7393 * math/w_j0f.c: Likewise.
7394 * math/w_j0l.c: Likewise.
7395 * math/w_j1.c: Likewise.
7396 * math/w_j1f.c: Likewise.
7397 * math/w_j1l.c: Likewise.
7398 * math/w_jn.c: Likewise.
7399 * math/w_jnf.c: Likewise.
7400 * math/w_log.c: Likewise.
7401 * math/w_log10.c: Likewise.
7402 * math/w_log10f.c: Likewise.
7403 * math/w_log10l.c: Likewise.
7404 * math/w_log2.c: Likewise.
7405 * math/w_log2f.c: Likewise.
7406 * math/w_log2l.c: Likewise.
7407 * math/w_logf.c: Likewise.
7408 * math/w_logl.c: Likewise.
7409 * math/w_sqrt.c: Likewise.
7410 * math/w_sqrtf.c: Likewise.
7411 * math/w_sqrtl.c: Likewise.
7412 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7413 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7414 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7415 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7416 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7417
ebaf36eb
JM
74182012-02-19 Joseph Myers <joseph@codesourcery.com>
7419
7420 [BZ #9739]
7421 * manual/string.texi (strnlen): Use correct parameter name in
7422 equivalent expression.
7423
71c254a6
JM
74242012-02-19 Joseph Myers <joseph@codesourcery.com>
7425
7426 [BZ #11174]
7427 * manual/users.texi (seteuid): Consistently use neweuid for
7428 argument name.
7429
16d2c631
JM
74302012-02-19 Joseph Myers <joseph@codesourcery.com>
7431
7432 [BZ #13704]
7433 * manual/nss.texi (Services in the NSS configuration): Correct
7434 list of services in example configuration file.
7435
cd837b09
NB
74362012-02-19 Nick Bowler <nbowler@draconx.ca>
7437
7438 [BZ #11322]
7439 * manual/arith.texi: Remove statements about negative zero
7440 behaving identically to zero.
7441
02c4bbad
JM
74422012-02-18 Joseph Myers <joseph@codesourcery.com>
7443
7444 [BZ #5993]
7445 * manual/install.texi: Do not document upgrading from libc5.
7446
366842e7
JM
74472012-02-18 Joseph Myers <joseph@codesourcery.com>
7448
7449 [BZ #4596]
7450 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7451
dd54084d
DM
74522012-02-18 David S. Miller <davem@davemloft.net>
7453
7454 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7455 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7456 %o7 across the call.
7457 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7458 instead.
7459 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7460 SETUP_PIC_REG_LEAF.
7461 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7462 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7463 * sysdeps/sparc/crtn.S: Likewise.
7464
2bcc53a3
UD
74652012-02-17 Ulrich Drepper <drepper@gmail.com>
7466
7467 * aout/Makefile: Remove.
7468
09c093b5
RK
74692012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7470
7471 [BZ #13058]
7472 * manual/examples/argp-ex1.c (main): Format definition in GNU
7473 style.
7474 * manual/examples/argp-ex2.c (main): Likewise.
7475 * manual/examples/argp-ex3.c (main): Likewise.
7476 * manual/examples/argp-ex4.c (main): Likewise.
7477 * manual/examples/longopt.c (main): Use new-style prototype
7478 definition.
7479 * manual/examples/strncat.c (main): Specify return type and use
7480 (void) for arguments.
7481 * manual/examples/subopt.c (main): Use char **argv argument.
7482
2ee633a2
JM
74832012-02-17 Joseph Myers <joseph@codesourcery.com>
7484
7485 [BZ #5077]
7486 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7487 rounding modes.
7488
0520adde
FB
74892012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7490
7491 [BZ #6907]
7492 * manual/string.texi (strchr): Change when strchrnul is
7493 recommended.
7494
3f4081cd
DGM
74952012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7496
7497 [BZ #174]
7498 * manual/locale.texi (setlocale): Document LOCPATH.
7499
d1b10e78
JM
75002012-02-17 Joseph Myers <joseph@codesourcery.com>
7501
7502 [BZ #10210]
7503 * manual/process.texi (execle): Move @dots{} before last argument.
7504
79c6869c
PB
75052012-02-17 Paul Bolle <pebolle@tiscali.nl>
7506
7507 [BZ #12047]
7508 * manual/charset.texi (Generic Charset Conversion): Fix typo
7509 (LC_TYPE -> LC_CTYPE).
7510
cc6e48bc
NB
75112012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7512
7513 [BZ #5805]
7514 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7515 (scalbnf): Likewise.
7516 (scalbnl): Likewise.
7517 (scalbln): Likewise.
7518 (scalblnf): Likewise.
7519 (scalblnl): Likewise.
7520 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7521 (vwarnx): Likewise.
7522 (verr): Likewise.
7523 (verrx): Likewise.
7524 * manual/filesys.texi (telldir): Use braces around return type.
7525 * manual/llio.texi (mmap): Add space after comma.
7526 (mmap64): Likewise.
7527 * manual/math.texi (jn): Use @var{} on parameter names.
7528 (jnf): Likewise.
7529 (jnl): Likewise.
7530 (yn): Likewise.
7531 (ynf): Likewise.
7532 (ynl): Likewise.
7533 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7534 line.
7535 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7536 "...".
7537 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7538 (sched_get_priority_max): Likewise.
7539 * manual/signal.texi (sigvec): Add space after comma.
7540 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7541 names.
7542 (if_indextoname): Likewise.
7543 (if_freenameindex): Likewise.
7544 (sendto): Use ',' instead of '.' in prototype.
7545 * manual/startup.texi (syscall): Use @dots{} instead of literal
7546 "...".
7547 * manual/stdio.texi (__fpending): Separate initial words of
7548 paragraph from @deftypefun line.
7549 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7550 "...".
7551 (vsyslog): Use @var{} on parameter names.
7552 * manual/terminal.texi (stty): Use @var{} on parameter names.
7553 * manual/users.texi (getutmp): Use @var{} on parameter names.
7554 (getutmpx): Likewise.
7555
5b23062f
JM
75562012-02-17 Joseph Myers <joseph@codesourcery.com>
7557
7558 [BZ #6884]
7559 * manual/stdio.texi (fopen): Fix typos in description of
7560 ",ccs=STRING".
7561
8dee4833
AJ
75622012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7563
7564 [BZ #4026]
7565 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7566 get clock_id definition.
7567
9078ce93
TS
75682012-02-17 Thomas Schwinge <thomas@schwinge.name>
7569
7570 [BZ #4822]
7571 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7572 (madvise): Cast every argument to void on its own.
7573
3835c55f
JM
75742012-02-17 Joseph Myers <joseph@codesourcery.com>
7575
7576 [BZ #9902]
7577 * manual/startup.texi (Exit Status): Fix typo.
7578
35c47e37
JM
75792012-02-17 Joseph Myers <joseph@codesourcery.com>
7580
7581 [BZ #10140]
7582 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7583 * manual/examples/argp-ex2.c: Likewise.
7584 * manual/examples/argp-ex3.c: Likewise.
7585
e3b69ca7
RH
75862012-02-16 Richard Henderson <rth@redhat.com>
7587
7588 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7589 * sysdeps/s390/s390-32/initfini.c: Remove.
7590 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7591 * sysdeps/s390/s390-64/initfini.c: Remove.
7592
df83af67
KK
75932012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7594
7595 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7596 compiler output for sysdeps/generic/initfini.c.
7597 * sysdeps/sh/elf/initfini.c: Remove file.
7598
f63f3380
DM
75992012-02-16 David S. Miller <davem@davemloft.net>
7600
fb59b3a4
DM
7601 [BZ #11494]
7602 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7603
f63f3380
DM
7604 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7605 * sysdeps/sparc/crti.S: New file.
7606 * sysdeps/sparc/crtn.S: New file.
7607 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7608 * sysdeps/sparc/sparc64/Makefile: Likewise.
7609
df6a4a4a
MF
76102012-02-15 Mike Frysinger <vapier@gentoo.org>
7611
6dd8f3dc 7612 [BZ #3335]
df6a4a4a
MF
7613 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7614
1cac7236
RM
76152012-02-15 Roland McGrath <roland@hack.frob.com>
7616
d2c736f8
RM
7617 [BZ #4822]
7618 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7619
1cac7236
RM
7620 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7621 (write, read, close): Likewise.
7622 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7623
8e475601
JM
76242012-02-15 Joseph Myers <joseph@codesourcery.com>
7625
7626 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7627 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7628 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7629 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7630 <bits/signalfd.h>.
7631 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7633 bits/signalfd.h.
7634
ed656b40
MP
76352012-02-14 Marek Polacek <polacek@redhat.com>
7636
7637 * sysdeps/x86_64/crti.S: New file.
7638 * sysdeps/x86_64/crtn.S: New file.
7639 * sysdeps/x86_64/elf/initfini.c: Remove file.
7640
2a979d3a
JM
76412012-02-13 Joseph Myers <joseph@codesourcery.com>
7642
7643 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7644 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7645 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7646 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7647 <bits/inotify.h>.
7648 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7650 bits/inotify.h.
7651
2a418ac3
JM
76522012-02-13 Joseph Myers <joseph@codesourcery.com>
7653
7654 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7655 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7656 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7657 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7658 <bits/eventfd.h>.
7659 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7661 bits/eventfd.h.
7662
fb779be7
TS
76632012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7664
e19e83c5
RM
7665 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7666 __feraiseexcept instead of feraiseexcept.
7c35ffed 7667
fb779be7
TS
7668 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7669 nanosleep invocations.
7670 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7671 strings, and add error checking for a nanosleep invocations.
7672
59ba27a6
PE
76732012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7674
7675 Replace FSF snail mail address with URLs, as per GNU coding standards.
7676 Most of the snail mail addresses were wrong anyway, and omitting
7677 them makes the source code easier to maintain. Almost all of the
7678 changes are to license notices and to locale LC_IDENTIFICATION
7679 addresses, except for this one:
7680 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7681 not its snail mail address.
7682
57b957eb
RH
76832012-02-09 Richard Henderson <rth@twiddle.net>
7684
af850b1c
RH
7685 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7686 of kernel-features.h.
7687
57b957eb
RH
7688 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7689
6b73181a
MP
76902012-02-08 Marek Polacek <polacek@redhat.com>
7691
7692 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7693 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7694 * sysdeps/gnu/_G_config.h: Likewise.
7695 * sysdeps/generic/_G_config.h: Likewise.
7696
26ecc33a
AS
76972012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7698
6c6dbc63
AS
7699 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7700 tests.
7701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7702
e216c012
AS
7703 * sysdeps/powerpc/powerpc32/crti.S: New file.
7704 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7705 * sysdeps/powerpc/powerpc64/crti.S: New file.
7706 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7707
26ecc33a
AS
7708 * Makeconfig (have-initfini): Don't set.
7709 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7710 * configure.in (nopic_initfini): Don't substitute.
7711 * config.h.in (HAVE_INITFINI): Don't #undef.
7712 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7713 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7714
3add8e13
JM
77152012-02-08 Joseph Myers <joseph@codesourcery.com>
7716
7717 Support crti.S and crtn.S provided directly by architectures.
7718 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7719 [crti.S in sysdirs] (omit-deps): Likewise.
7720 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7721 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7722 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7723 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7724 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7725 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7726 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7727 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7728 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7729 compiler output for sysdeps/generic/initfini.c.
7730 * sysdeps/i386/elf/Makefile: Remove file.
7731 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7732
a22f12b4
MP
77332012-02-07 Marek Polacek <polacek@redhat.com>
7734
7735 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7736 * sysdeps/gnu/_G_config.h: Likewise.
7737 * sysdeps/mach/hurd/_G_config.h: Likewise.
7738
148cf100
MP
77392012-02-07 Marek Polacek <polacek@redhat.com>
7740
7741 * math/Makefile (tests): Add tst-CMPLX2.
7742 * math/tst-CMPLX2.c: New file.
7743
cfdc0dd7
AS
77442012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7745
84ba42c4
AS
7746 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7747
cfdc0dd7
AS
7748 * math/libm-test.inc (jn_test): Add missing L suffix.
7749
622c86f4
MP
77502012-02-06 Marek Polacek <polacek@redhat.com>
7751
7752 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7753 * sysdeps/i386/fpu/e_powf.S: Likewise.
7754 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7755 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7756 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7757 * sysdeps/i386/fpu/e_pow.S: Likewise.
7758 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7759 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7760 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7761 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7762 * sysdeps/i386/fpu/e_log2.S: Likewise.
7763 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7764 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7765 * sysdeps/i386/fpu/e_powl.S: Likewise.
7766 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7767 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7768 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7769 * sysdeps/i386/fpu/e_logl.S: Likewise.
7770 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7771 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7772 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7773 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7774 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7775 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7776 * sysdeps/i386/fpu/e_log.S: Likewise.
7777 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7778 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7779 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7780 * sysdeps/i386/fpu/e_logf.S: Likewise.
7781 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7782 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7783 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7784 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7785 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7786 * sysdeps/i386/fpu/e_log10.S: Likewise.
7787 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7788 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7789 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7790 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7791 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7792 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7793 * sysdeps/i386/asm-syntax.h: Likewise.
7794 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7795 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7796 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7797 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7798 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7799 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7800 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7801 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7802 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7803 * sysdeps/powerpc/sysdep.h: Likewise.
7804 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7805 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7806
d4a54ac6
JM
78072012-02-06 Joseph Myers <joseph@codesourcery.com>
7808
7809 [BZ #411]
7810 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7811
314054ea
JM
78122012-02-06 Joseph Myers <joseph@codesourcery.com>
7813
7814 * sysdeps/i386/sysdep.h: Include <features.h>.
7815 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7816 version.
7817
d8e0ca50
JM
78182012-02-05 Joseph Myers <joseph@codesourcery.com>
7819
7820 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7821 Define.
7822 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7823 LOAD_PIC_REG_STR.
7824
b1da7dd9
JM
78252012-02-03 Joseph Myers <joseph@codesourcery.com>
7826
7827 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7828 (SETUP_PIC_REG): Use GET_PC_THUNK.
7829 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7830 macro.
7831
9a1d9254
JM
78322012-02-03 Joseph Myers <joseph@codesourcery.com>
7833
7834 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7835 for non-PIC compilation.
7836 (SETUP_PIC_REG): Add .p2align directive.
7837 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7838 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7839 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7840 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7841 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7842 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7843 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7844 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7845 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7846 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7847 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7848 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7849 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7850 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7851 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7852 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7853 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7854 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7855 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7856 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7857 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7858 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7859 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7860 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7861 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7863 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7864 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7865 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7866 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7867 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7868 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7869 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7870 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7871 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7872 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7873 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7874 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7875 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7876 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7877 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7878
65dc3b75
JM
78792012-02-03 Joseph Myers <joseph@codesourcery.com>
7880
7881 * math/tst-CMPLX.c: Include <stdio.h>.
7882
d55bf177
JM
78832012-01-31 Joseph Myers <joseph@codesourcery.com>
7884
7885 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7886 float.
7887 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7888 * sysdeps/sparc/bits/mathdef.h: Likewise.
7889
69db4f8f
MP
78902012-01-31 Marek Polacek <polacek@redhat.com>
7891
7892 * libio/libio.h: Don't define _PARAMS.
7893 * locale/programs/config.h: Don't define PARAMS.
7894 * stdlib/strtol_l.c: Likewise.
7895 (__strtol_l): Remove PARAMS from the prototype.
7896
41b81892
UD
78972012-01-31 Ulrich Drepper <drepper@gmail.com>
7898
3b49edc0
UD
7899 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7900 names. Just use the correct names. Remove unnecessary wrapper
7901 functions.
7902 * malloc/arena.c: Likewise.
7903 * malloc/hooks.c: Likewise.
7904
41b81892
UD
7905 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7906 ARENA_TEST says not to. Simplify test for creation of a new arena.
7907 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7908
27a25b6e
UD
79092012-01-30 Ulrich Drepper <drepper@gmail.com>
7910
7911 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7912 into tail calls.
7913 (update_get_addr): New function.
7914 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7915 GET_ADDR_MODULE parameter.
7916
c8a89e7d
JM
79172012-01-30 Joseph Myers <joseph@codesourcery.com>
7918
7919 * crypt/cert.c: Remove __STDC__ conditionals.
7920 * crypt/crypt-entry.c: Likewise.
7921 * crypt/crypt_util.c: Likewise.
7922 * libio/filedoalloc.c: Likewise.
7923 * libio/fileops.c: Likewise.
7924 * libio/genops.c: Likewise.
7925 * libio/iofclose.c: Likewise.
7926 * libio/iofdopen.c: Likewise.
7927 * libio/iofopen.c: Likewise.
7928 * libio/iofopen64.c: Likewise.
7929 * libio/iogetdelim.c: Likewise.
7930 * libio/iopopen.c: Likewise.
7931 * libio/obprintf.c: Likewise.
7932 * libio/oldfileops.c: Likewise.
7933 * libio/oldiofclose.c: Likewise.
7934 * libio/oldiofdopen.c: Likewise.
7935 * libio/oldiofopen.c: Likewise.
7936 * libio/oldiopopen.c: Likewise.
7937 * libio/wfiledoalloc.c: Likewise.
7938 * libio/wgenops.c: Likewise.
7939 * locale/programs/xmalloc.c: Likewise.
7940 * misc/syslog.c: Likewise.
7941 * stdio-common/xbug.c: Likewise.
7942 * string/memchr.c: Likewise.
7943 * string/memcmp.c: Likewise.
7944 * string/memrchr.c: Likewise.
7945 * string/rawmemchr.c: Likewise.
7946 * sysdeps/posix/getcwd.c: Likewise.
7947 * time/strftime_l.c: Likewise.
7948
3b100462
JM
79492012-01-30 Joseph Myers <joseph@codesourcery.com>
7950
7951 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
7952 * config.make.in (config-cflags-sse2avx): Define.
7953 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7954 Fix typo.
7955
607998af
CM
79562012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7957
7958 * scripts/config.guess: Update from upstream config git repository.
7959 * scripts/config.sub: Likewise.
7960
3601428f
CM
79612012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7962
3ac8b282
CM
7963 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7964 (EM_NUM): Update.
7965 (R_TILEPRO_*, R_TILEGX_*): New macros.
7966
e034841e
CM
7967 * scripts/firstversions.awk: Fix bug in version range handling.
7968
540d7568
CM
7969 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7970
3601428f
CM
7971 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7972
463de862
CM
7973 * include/sys/epoll.h: New file.
7974 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7975 libc_hidden_def.
7976
73139a76
UD
79772012-01-28 Ulrich Drepper <drepper@gmail.com>
7978
96bc5b45
UD
7979 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7980 Avoid unnecessary __WORDSIZE == 64 test.
7981 (fmaxf): Use VEX format if possible.
7982 (fmax): Likewise.
7983 (fminf): Likewise.
7984 (fmin): Likewise.
7985
56f6f6a2
UD
7986 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7987 * math/math_private.h: Remove libc_fegetround* and
7988 libc_fesetround*.
7989 * sysdeps/i386/configure.in: Check for -msse2avx.
7990 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7991 also if SSE2AVX is defined.
7992 Remove libc_fegetround* and libc_fesetround*.
7993 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7994 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7995 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7996 of HAS_YMM_USABLE.
7997 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7998 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7999 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8000 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8001 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8002
73139a76
UD
8003 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8004
d73f93a4
AZ
80052012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8006
8007 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8008 size is not set.
8009 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8010
6ee65ed6
UD
80112012-01-27 Ulrich Drepper <drepper@gmail.com>
8012
8013 [BZ #13618]
8014 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8015 relocation.
8016 * Makeconfig (libm): Define.
8017 * elf/Makefile: Add rules to build and run tst-relsort1.
8018 * elf/tst-relsort1.c: New file.
8019 * elf/tst-relsort1mod1.c: New file.
8020 * elf/tst-relsort1mod2.c: New file.
8021
8db21882
JM
80222012-01-27 Joseph Myers <joseph@codesourcery.com>
8023
8024 * math/s_ldexp.c: Remove __STDC__ conditionals.
8025 * math/s_ldexpf.c: Likewise.
8026 * math/s_ldexpl.c: Likewise.
8027 * math/s_nextafter.c: Likewise.
8028 * math/s_nexttowardf.c: Likewise.
8029 * math/s_significand.c: Likewise.
8030 * math/s_significandf.c: Likewise.
8031 * math/s_significandl.c: Likewise.
8032 * math/w_jnl.c: Likewise.
8033 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8034 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8035 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8036 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8037 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8038 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8039 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8040 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8041 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8042 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8043 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8044 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8045 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8046 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8048 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8052 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8053 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8054 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8055 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8056 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8057 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8058 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8059 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8060 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8061 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8062 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8063 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8064 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8065 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8066 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8067 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8068 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8069 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8070 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8071 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8072 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8073 * sysdeps/ieee754/k_standard.c: Likewise.
8074 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8075 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8076 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8077 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8078 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8079 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8080 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8081 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8082 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8083 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8084 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8085 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8086 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8087 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8088 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8089 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8090 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8091 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8092 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8093 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8094 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8095 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8096 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8097 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8098 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8099 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8100 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8101 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8102 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8103 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8104 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8105 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8106 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8107 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8108 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8109 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8110 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8111 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8112 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8113 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8114 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8115 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8116 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8117 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8118 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8119 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8120 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8121 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8122 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8123 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8124 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8125 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8126 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8127 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8128 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8129 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8130 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8131 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8132 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8133 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8134 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8135 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8136 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8137 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8138 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8139 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8140 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8141 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8142 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8143 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8144 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8145 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8146 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8147 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8148 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8149 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8150 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8151 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8152 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8153 * sysdeps/ieee754/s_matherr.c: Likewise.
8154 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8155 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8156 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8157 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8158
965a54a4
JM
81592012-01-26 Joseph Myers <joseph@codesourcery.com>
8160
8161 * crypt/md5.h: Remove __STDC__ conditionals.
8162 * libio/libioP.h: Likewise.
8163 * locale/programs/config.h: Likewise.
8164 * sysdeps/generic/sysdep.h: Likewise.
8165 * sysdeps/i386/asm-syntax.h: Likewise.
8166 * sysdeps/s390/asm-syntax.h: Likewise.
8167 * sysdeps/unix/sysdep.h: Likewise.
8168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8170
7071ad79
JM
81712012-01-26 Joseph Myers <joseph@codesourcery.com>
8172
8173 * libio/libio.h: Remove __STDC__ conditionals.
8174 * malloc/obstack.h: Likewise.
8175 * math/complex.h: Likewise.
8176 * math/math.h: Likewise.
8177 * sysdeps/generic/_G_config.h: Likewise.
8178 * sysdeps/gnu/_G_config.h: Likewise.
8179 * sysdeps/mach/hurd/_G_config.h: Likewise.
8180 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8181 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8182 * sysdeps/sparc/bits/mathdef.h: Likewise.
8183
afc5ed09
UD
81842012-01-26 Ulrich Drepper <drepper@gmail.com>
8185
8186 [BZ #13583]
8187 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8188 Clean up HAS_* macros.
afc5ed09 8189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8190 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8191 possible.
8192 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8193 HAS_AVX.
8194 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8195 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8196 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8197 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8198 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8199
bdb6de1d
JM
82002012-01-25 Joseph Myers <joseph@codesourcery.com>
8201
8202 * elf/tst-unique3.cc (gets): Remove declaration.
8203 * elf/tst-unique3lib.cc (gets): Likewise.
8204 * elf/tst-unique3lib2.cc (gets): Likewise.
8205 * elf/tst-unique4.cc (gets): Likewise.
8206
b15549e6
UD
82072012-01-24 Ulrich Drepper <drepper@gmail.com>
8208
8209 * include/stdio.h: Add C++ protection. Add gets declarations and
8210 definitions.
8211 * debug/tst-chk1.c: Don't declare gets here.
8212 * stdio-common/tst-gets.c: Likewise.
8213
a037381f
JM
82142012-01-24 Joseph Myers <joseph@codesourcery.com>
8215
8216 * posix/glob: Remove directory.
8217
f1d4aa75
JM
82182012-01-24 Joseph Myers <joseph@codesourcery.com>
8219
8220 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8221
81c0c964
PT
82222012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8223
8224 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8225 of the non-standard EPFNOSUPPORT.
8226
0ea698ae
ST
82272011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8228
8229 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8230 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8231 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8232
d220b117
UD
82332012-01-21 Ulrich Drepper <drepper@gmail.com>
8234
8235 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8236
3e1aa84e
UD
82372012-01-20 Ulrich Drepper <drepper@gmail.com>
8238
8239 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8240 transient errors.
8241 * nscd/grpcache.c (cache_addgr): Likewise.
8242 * nscd/hstcache.c (cache_addhst): Likewise.
8243 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8244 * nscd/pwdcache.c (cache_addpw): Likewise.
8245 * nscd/servicescache.c (cache_addserv): Likewise.
8246
400aa020
UD
82472012-01-16 Ulrich Drepper <drepper@gmail.com>
8248
d77e7869
UD
8249 * malloc/malloc.c: Various cleanups.
8250 * malloc/hooks.c: Likewise.
8251
400aa020
UD
8252 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8253 * stdlib/bug-fmtmsg1.c: New file.
8254
8255 * stdlib/fmtmsg.c (init): Add missing unlock.
8256 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8257
e0a309cf
MP
82582012-01-12 Marek Polacek <polacek@redhat.com>
8259
8260 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8261 and _GNU_SOURCE.
8262
929d11c7
WS
82632012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8264
8265 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8266 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8267 macro to ensure uniqueness of label name.
8268 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8269 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8270
41d0e869
UD
82712012-01-11 Ulrich Drepper <drepper@gmail.com>
8272
0cc5ed3b
UD
8273 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8274
41d0e869
UD
8275 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8276 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8279
a47a831a
UD
82802012-01-10 Ulrich Drepper <drepper@gmail.com>
8281
daa891c0
UD
8282 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8283
8284 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8285 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8286 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8287
e58ef0f2
UD
8288 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8289
a47a831a 8290 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8291 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8292 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8293 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8294
8295 * math/bits/math-finite.h: Add ldexp support.
8296
a0bfc9c7
MP
82972012-01-10 Marek Polacek <polacek@redhat.com>
8298
8299 * locale/programs/localedef.h (show_archive_content): Add noreturn
8300 attribute.
8301
d6e97a1d
UD
83022012-01-09 Ulrich Drepper <drepper@gmail.com>
8303
8304 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8305
d5835c26
UD
83062012-01-08 Ulrich Drepper <drepper@gmail.com>
8307
e5f484c6
UD
8308 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8309
d5835c26
UD
8310 * io/Makefile (headers): Add bits/poll2.h.
8311
d1f741e9
WS
83122011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8313
8314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8315 typo #include statement.
8316
ec09c1c4
UD
83172012-01-08 Ulrich Drepper <drepper@gmail.com>
8318
8319 * include/sys/cdefs.h: Define __attribute_alloc_size.
8320 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8321 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8322 * elf/pldd.c: Likewise.
8323 * iconv/iconv_charmap.c: Likewise.
8324 * iconv/iconvconfig.c: Likewise.
8325 * iconv/strtab.c: Likewise.
8326 * locale/programs/locale.c: Likewise.
8327 * locale/programs/localedef.h: Likewise.
8328 * locale/programs/simple-hash.c: Likewise.
8329 * nscd/nscd.h: Likewise.
8330 * nss/makedb.c: Likewise.
8331 * sysdeps/generic/ldconfig.h: Likewise.
8332 * locale/programs/localedef.c: Remove xmalloc prototype.
8333 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8334
20b38e03
PP
83352012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8336
8337 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8338 appropriate.
8339
a0da5fe1
UD
83402012-01-08 Ulrich Drepper <drepper@gmail.com>
8341
1d5a644a 8342 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8343 * math/tst-CMPLX.c: New file.
1d5a644a 8344
8784a6db
UD
8345 * math/complex.h (CMPLXL): Fix typo.
8346
d9a216c0
UD
8347 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8348 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8349 GLIBC_2.16.
8350 * debug/tst-chk1.c: Add poll and ppoll tests.
8351 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8352 * include/sys/poll.h: Add hidden proto for ppoll.
8353 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8354 * sysdeps/mach/hurd/ppoll.c: Likewise.
8355 * io/ppoll.c: Likewise.
8356 * debug/poll_chk.c: New file.
8357 * debug/ppoll_chk.c: New file.
8358 * include/bits/poll2.h: New file.
8359 * io/bits/poll2.h: New file.
8360
ac097f5c
UD
8361 [BZ #1350]
8362 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8363
2119dcfa
UD
8364 * configure.in: static is always set to yes. Remove.
8365 * config.make.in: Don't set build-static.
8366 * Makeconfig: Remove use of build-static.
8367 * dlfcn/Makefile: Likewise.
8368 * elf/Makefile: Likewise.
8369 * math/Makefile: Likewise.
8370 * misc/Makefile: Likewise.
8371 * nptl/Makefile: Likewise.
8372 * sysdeps/mach/hurd/Makefile: Likewise.
8373
121766a9
UD
8374 * configure.in: PWD_P is not used anymore.
8375 * config.make.in: Remove PWD_P entry.
8376
51a1d39c 8377 * configure.in: Remove last remnants of RANLIB.
8720d066 8378 No need to check for signed size_t anymore.
215f4bdc
UD
8379 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8380 and IA-64.
3857022a 8381 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8382 * aclocal.m4: Likewise.
8383
d3ed7225
UD
8384 * wcsmbs/mbrtoc16.c: Implement using towc function.
8385 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8386 * wcsmbs/wcsmbsload.c: Likewise.
8387 * iconv/gconv_simple.c: Likewise.
8388 * iconv/gconv_int.h: Likewise.
8389 * iconv/gconv_builtin.h: Likewise.
8390 * iconv/iconv_prog.c: Remove CHAR16 handling.
8391
8392 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8393
8394 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8395
a0da5fe1
UD
8396 * configure.in: Remove --with-elf and --enable-bounded options.
8397 Dont set base_machine for ia64. More non-ELF conditions removed.
8398 Remove testing and setting of leading underscore information.
8399 * config.make.in (build-bounded): Set to no.
8400 * config.h.in: Remove NO_UNDERSCORES entry.
8401 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8402 them.
8403 * csu/start.c: Remove !NO_UNDERSCORE code.
8404 * locale/localeinfo.h: Likewise.
8405 * sysdeps/generic/machine-gmon.h: Likewise.
8406 * sysdeps/generic/sysdep.h: Likewise.
8407 * sysdeps/i386/sysdep.h: Likewise.
8408 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8409 * sysdeps/mach/sysdep.h: Likewise.
8410 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8411 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8412 * sysdeps/sh/sysdep.h: Likewise.
8413 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8414 * sysdeps/unix/i386/sysdep.S: Likewise.
8415 * sysdeps/unix/sparc/start.c: Likewise.
8416 * sysdeps/unix/sparc/sysdep.S: Likewise.
8417 * sysdeps/unix/sparc/sysdep.h: Likewise.
8418 * sysdeps/unix/start.c: Likewise.
8419 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8420 * sysdeps/x86_64/sysdep.h: Likewise.
8421
df78418a
UD
84222012-01-07 Ulrich Drepper <drepper@gmail.com>
8423
a784e502
UD
8424 [BZ #13553]
8425 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8426 for non-gcc.
8427 * argp/argp-fmtstream.h: Use const instead __const.
8428 * argp/argp.h: Likewise.
8429 * assert/assert.h: Likewise.
8430 * bits/fenv.h: Likewise.
8431 * bits/sched.h: Likewise.
8432 * bits/sigset.h: Likewise.
8433 * bits/sigthread.h: Likewise.
8434 * catgets/nl_types.h: Likewise.
8435 * conform/data/pthread.h-data: Likewise.
8436 * crypt/crypt-private.h: Likewise.
8437 * crypt/crypt.h: Likewise.
8438 * crypt/crypt_util.c: Likewise.
8439 * ctype/ctype.h: Likewise.
8440 * debug/execinfo.h: Likewise.
8441 * debug/mbsnrtowcs_chk.c: Likewise.
8442 * debug/mbsrtowcs_chk.c: Likewise.
8443 * debug/wcsnrtombs_chk.c: Likewise.
8444 * debug/wcsrtombs_chk.c: Likewise.
8445 * debug/wcstombs_chk.c: Likewise.
8446 * dirent/dirent.h: Likewise.
8447 * dlfcn/dlfcn.h: Likewise.
8448 * elf/neededtest4.c: Likewise.
8449 * grp/grp.h: Likewise.
8450 * gshadow/gshadow.h: Likewise.
8451 * iconv/gconv.h: Likewise.
8452 * iconv/gconv_int.h: Likewise.
8453 * iconv/gconv_simple.c: Likewise.
8454 * iconv/iconv.h: Likewise.
8455 * iconv/loop.c: Likewise.
8456 * iconv/skeleton.c: Likewise.
8457 * include/aio.h: Likewise.
8458 * include/aliases.h: Likewise.
8459 * include/argz.h: Likewise.
8460 * include/arpa/inet.h: Likewise.
8461 * include/assert.h: Likewise.
8462 * include/dirent.h: Likewise.
8463 * include/dlfcn.h: Likewise.
8464 * include/execinfo.h: Likewise.
8465 * include/fcntl.h: Likewise.
8466 * include/fenv.h: Likewise.
8467 * include/glob.h: Likewise.
8468 * include/grp.h: Likewise.
8469 * include/libintl.h: Likewise.
8470 * include/mntent.h: Likewise.
8471 * include/netdb.h: Likewise.
8472 * include/pwd.h: Likewise.
8473 * include/rpc/netdb.h: Likewise.
8474 * include/sched.h: Likewise.
8475 * include/search.h: Likewise.
8476 * include/shadow.h: Likewise.
8477 * include/signal.h: Likewise.
8478 * include/stdio.h: Likewise.
8479 * include/stdlib.h: Likewise.
8480 * include/string.h: Likewise.
8481 * include/sys/socket.h: Likewise.
8482 * include/sys/stat.h: Likewise.
8483 * include/sys/statfs.h: Likewise.
8484 * include/sys/statvfs.h: Likewise.
8485 * include/sys/syslog.h: Likewise.
8486 * include/sys/time.h: Likewise.
8487 * include/sys/uio.h: Likewise.
8488 * include/time.h: Likewise.
8489 * include/unistd.h: Likewise.
8490 * include/utmp.h: Likewise.
8491 * include/wchar.h: Likewise.
8492 * include/wctype.h: Likewise.
8493 * inet/aliases.h: Likewise.
8494 * inet/arpa/inet.h: Likewise.
8495 * inet/netinet/ether.h: Likewise.
8496 * inet/netinet/in.h: Likewise.
8497 * intl/libintl.h: Likewise.
8498 * io/bits/fcntl2.h: Likewise.
8499 * io/fcntl.h: Likewise.
8500 * io/ftw.h: Likewise.
8501 * io/sys/poll.h: Likewise.
8502 * io/sys/stat.h: Likewise.
8503 * io/sys/statfs.h: Likewise.
8504 * io/sys/statvfs.h: Likewise.
8505 * io/utime.h: Likewise.
8506 * libio/bits/stdio.h: Likewise.
8507 * libio/bits/stdio2.h: Likewise.
8508 * libio/libio.h: Likewise.
8509 * libio/libioP.h: Likewise.
8510 * libio/stdio.h: Likewise.
8511 * locale/lc-ctype.c: Likewise.
8512 * locale/locale.h: Likewise.
8513 * login/utmp.h: Likewise.
8514 * malloc/arena.c: Likewise.
8515 * malloc/malloc.c: Likewise.
8516 * malloc/malloc.h: Likewise.
8517 * malloc/mcheck.c: Likewise.
8518 * malloc/mtrace.c: Likewise.
8519 * math/bits/mathcalls.h: Likewise.
8520 * math/fenv.h: Likewise.
8521 * math/math_private.h: Likewise.
8522 * misc/bits/error.h: Likewise.
8523 * misc/bits/syslog.h: Likewise.
8524 * misc/err.h: Likewise.
8525 * misc/error.h: Likewise.
8526 * misc/fstab.h: Likewise.
8527 * misc/mntent.h: Likewise.
8528 * misc/regexp.h: Likewise.
8529 * misc/search.h: Likewise.
8530 * misc/sgtty.h: Likewise.
8531 * misc/sys/mman.h: Likewise.
8532 * misc/sys/syslog.h: Likewise.
8533 * misc/sys/uio.h: Likewise.
8534 * misc/sys/xattr.h: Likewise.
8535 * misc/ttyent.h: Likewise.
8536 * nis/rpcsvc/ypclnt.h: Likewise.
8537 * nss/nss.h: Likewise.
8538 * posix/bits/unistd.h: Likewise.
8539 * posix/fnmatch.h: Likewise.
8540 * posix/glob.h: Likewise.
8541 * posix/sched.h: Likewise.
8542 * posix/spawn.h: Likewise.
8543 * posix/sys/wait.h: Likewise.
8544 * posix/unistd.h: Likewise.
8545 * posix/wordexp.h: Likewise.
8546 * pwd/pwd.h: Likewise.
8547 * resolv/netdb.h: Likewise.
8548 * resource/sys/resource.h: Likewise.
8549 * rt/aio.h: Likewise.
8550 * rt/bits/mqueue2.h: Likewise.
8551 * rt/mqueue.h: Likewise.
8552 * shadow/shadow.h: Likewise.
8553 * signal/signal.h: Likewise.
8554 * socket/send.c: Likewise.
8555 * socket/sendto.c: Likewise.
8556 * socket/sys/socket.h: Likewise.
8557 * stdio-common/printf.h: Likewise.
8558 * stdlib/bits/stdlib.h: Likewise.
8559 * stdlib/fmtmsg.h: Likewise.
8560 * stdlib/monetary.h: Likewise.
8561 * stdlib/stdlib.h: Likewise.
8562 * stdlib/ucontext.h: Likewise.
8563 * streams/stropts.h: Likewise.
8564 * string/argz.h: Likewise.
8565 * string/bits/string2.h: Likewise.
8566 * string/string.h: Likewise.
8567 * string/strings.h: Likewise.
8568 * sunrpc/rpc/auth.h: Likewise.
8569 * sunrpc/rpc/auth_des.h: Likewise.
8570 * sunrpc/rpc/clnt.h: Likewise.
8571 * sunrpc/rpc/netdb.h: Likewise.
8572 * sunrpc/rpc/pmap_clnt.h: Likewise.
8573 * sunrpc/rpc/xdr.h: Likewise.
8574 * sysdeps/generic/inttypes.h: Likewise.
8575 * sysdeps/generic/net/if.h: Likewise.
8576 * sysdeps/generic/sys/swap.h: Likewise.
8577 * sysdeps/gnu/net/if.h: Likewise.
8578 * sysdeps/gnu/utmpx.h: Likewise.
8579 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8580 * sysdeps/i386/i486/bits/string.h: Likewise.
8581 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8582 * sysdeps/s390/bits/string.h: Likewise.
8583 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8584 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8585 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8586 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8587 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8588 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8589 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8590 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8591 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8592 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8593 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8594 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8595 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8596 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8597 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8598 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8599 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8600 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8601 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8602 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8603 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8604 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8605 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8606 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8607 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8608 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8609 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8610 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8611 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8612 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8613 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8614 * sysvipc/sys/ipc.h: Likewise.
8615 * sysvipc/sys/msg.h: Likewise.
8616 * sysvipc/sys/sem.h: Likewise.
8617 * sysvipc/sys/shm.h: Likewise.
8618 * termios/termios.h: Likewise.
8619 * time/sys/time.h: Likewise.
8620 * time/time.h: Likewise.
8621 * wcsmbs/bits/wchar2.h: Likewise.
8622 * wcsmbs/uchar.h: Likewise.
8623 * wcsmbs/wchar.h: Likewise.
8624 * wctype/wctype.h: Likewise.
8625
0269750c
UD
8626 [BZ #13551]
8627 * Makeconfig: Remove all but ELF support including AIX support.
8628 * Makerules: Likewise.
8629 * config.h.in: Likewise.
8630 * config.make.in: Likewise.
8631 * configure: Likewise.
8632 * configure.in: Likewise.
8633 * csu/Makefile: Likewise.
8634 * csu/version.c: Likewise.
8635 * debug/Makefile: Likewise.
8636 * dlfcn/Makefile: Likewise.
8637 * elf/Makefile: Likewise.
8638 * extra-lib.mk: Likewise.
8639 * iconv/Makefile: Likewise.
8640 * include/libc-symbols.h: Likewise.
8641 * include/shlib-compat.h: Likewise.
8642 * resolv/Makefile: Likewise.
8643 * resolv/res_libc.c: Likewise.
8644 * rt/Makefile: Likewise.
8645 * sysdeps/i386/asm-syntax.h: Likewise.
8646 * sysdeps/i386/sysdep.h: Likewise.
8647 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8648 * sysdeps/mach/sysdep.h: Likewise.
8649 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8650 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8651 * sysdeps/s390/asm-syntax.h: Likewise.
8652 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8653 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8654 * sysdeps/sh/sysdep.h: Likewise.
8655 * sysdeps/unix/sparc/sysdep.h: Likewise.
8656 * sysdeps/wordsize-32/divdi3.c: Likewise.
8657 * sysdeps/x86_64/sysdep.h: Likewise.
8658
00bbd29b
UD
8659 * argp/Versions: Remove _argp_unlock_xxx.
8660
8661 [BZ #13559]
8662 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8663 * abilist/libBrokenLocale.abilist: Likewise.
8664 * abilist/libanl.abilist: Likewise.
8665 * abilist/libc.abilist: Likewise.
8666 * abilist/libcrypt.abilist: Likewise.
8667 * abilist/libdl.abilist: Likewise.
8668 * abilist/libm.abilist: Likewise.
8669 * abilist/libnsl.abilist: Likewise.
8670 * abilist/libpthread.abilist: Likewise.
8671 * abilist/libresolv.abilist: Likewise.
8672 * abilist/librt.abilist: Likewise.
8673 * abilist/libthread_db.abilist: Likewise.
8674 * abilist/libutil.abilist: Likewise.
8675 * abilist/libnss_db.abilist: New file.
8676
8677 * scripts/abilist.awk: Add support for indirect functions.
8678
a2693a0e
UD
8679 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8680
3f05895f
UD
8681 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8682
ecb6fb48
UD
8683 * shlib-versions: Remove entries for ports architectures.
8684
664f8cb9
UD
8685 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8686 files in ports.
8687 * elf/stackguard-macros.h: Remove support for IA-64.
8688 * elf/tst-auditmod1.c: Likewise.
8689 * sysdeps/generic/ldsodefs.h: Likewise.
8690
7ae81d88
UD
8691 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8692 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8693 configure files.
8694
bdeba135
UD
8695 [BZ #13552]
8696 * configure.in: Remove --enable-omitfp support.
8697 * FAQ.in: Adjust.
8698 * config.make.in: Likewise.
8699 * Makeconfig: Likewise.
8700 * manual/install.texi: Likewise.
8701
d75a0a62
UD
8702 In case anyone cares, the IA-64 architecture could move to ports.
8703 * sysdeps/ia64/*: Removed.
8704 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8705 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8706
dcc9756b
UD
8707 [BZ #13555]
8708 * configure.in: Remove entries for unsupported architectures.
8709
d3761ebc 8710 [BZ #13533]
9954432e
UD
8711 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8712 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8713 routines.
8714 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8715 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8716 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8717 fall back to using wcrtomb.
8718 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8719 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8720 renaming.
8721 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8722 * wcsmbs/tst-c16c32-1.c: New file.
8723
8724 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8725 local variable.
8726
c3a87236
UD
8727 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8728
28926a1b
UD
8729 * elf/tst-unique3.cc: Add explicit declaration of gets.
8730 * elf/tst-unique3lib.cc: Likewise.
8731 * elf/tst-unique3lib2.cc: Likewise.
8732 * elf/tst-unique4.cc: Likewise.
8733
df78418a
UD
8734 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8735
8ecd6b2a
JM
87362012-01-06 Joseph Myers <joseph@codesourcery.com>
8737
8738 [BZ #13566]
8739 * assert/assert.h (static_assert): Don't define for C++.
8740 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8741 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8742
9f115170
UD
87432012-01-03 Ulrich Drepper <drepper@gmail.com>
8744
5e0d0300
UD
8745 * iconv/loop.c (single loop): Fix assertion in storing of
8746 remaining bytes.
8747
9f115170
UD
8748 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8749
81fb02b0
UD
87502012-01-01 Ulrich Drepper <drepper@gmail.com>
8751
8752 * posix/getconf.c: Update copyright year.
8753 * nss/getent.c: Likewise.
a316c1f6 8754 * nss/makedb.c: Likewise.
81fb02b0
UD
8755 * iconv/iconvconfig.c: Likewise.
8756 * iconv/iconv_prog.c: Likewise.
8757 * elf/ldconfig.c: Likewise.
a316c1f6
UD
8758 * elf/pldd.c: Likewise.
8759 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
8760 * catgets/gencat.c: Likewise.
8761 * csu/version.c: Likewise.
8762 * elf/ldd.bash.in: Likewise.
8763 * elf/sprof.c (print_version): Likewise.
8764 * locale/programs/locale.c: Likewise.
8765 * locale/programs/localedef.c: Likewise.
a316c1f6 8766 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
8767 * nscd/nscd.c (print_version): Likewise.
8768 * debug/xtrace.sh: Likewise.
8769 * malloc/memusage.sh: Likewise.
8770 * malloc/mtrace.pl: Likewise.
8771 * debug/catchsegv.sh: Likewise.
8772
2ba92745
JJ
87732011-12-30 Jakub Jelinek <jakub@redhat.com>
8774
8775 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8776 pure attribute.
8777
dadebdae
UD
87782011-12-24 Ulrich Drepper <drepper@gmail.com>
8779
d3761ebc 8780 [BZ #13533]
db6af3eb
UD
8781 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8782 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8783 transformations.
8784 * iconv/gconv_int.h: Likewise.
8785 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8786 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8787 from libc for GLIBC_2.16.
8788 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8789 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8790 * wcsmbs/uchar.h: Really define mbstate_t.
8791 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8792 * wcsmbs/c16rtomb.c: New file.
8793 * wcsmbs/mbrtoc16.c: New file.
8794 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8795 for C/POSIX locale.
8796 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8797 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8798
dadebdae
UD
8799 * wcsmbs/wchar.h: Add missing __restrict.
8800
67371b56
UD
88012011-12-23 Ulrich Drepper <drepper@gmail.com>
8802
74033a25
UD
8803 [BZ #13532]
8804 * time/Makefile (routines): Add timespec_get.
8805 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8806 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8807 timespec for ISO C11.
8808 * time/timespec_get.c: New file.
8809 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8810 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8811
380d7e87
UD
8812 [BZ #13531]
8813 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8814 * stdlib/stdlib.h: Declare aligned_alloc.
8815 * Versions.def: Add GLIBC_2.16 for libc.
8816 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8817
4e9e7a35
UD
8818 [BZ 13527]
8819 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8820 ISO C11.
8821
380d7e87 8822 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
8823 code.
8824
03a71829
UD
8825 [BZ #13528]
8826 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8827
839e283e
UD
8828 [BZ #13529]
8829 * assert/assert.h (static_assert): Define.
8830
ce5294e2 8831 * version.h: Update for 2.16 development version.
90fa7312 8832
8d44e150 8833 [BZ #13526]
d7809905
UD
8834 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8835 _ISOC11_SOURCE.
8836
c0da14cd
UD
8837 * version.h (RELEASE): Bump for 2.15 release.
8838 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8839
530a3249
MP
8840 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8841 Patch by Marek Polacek <mpolacek@redhat.com>.
8842
67371b56
UD
8843 * bits/byteswap.h: Protect long long constants with __extension__.
8844 * sysdeps/i386/bits/byteswap.h: Likewise.
8845 * sysdeps/ia64/bits/byteswap.h: Likewise.
8846 * sysdeps/s390/bits/byteswap.h: Likewise.
8847 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8848
15db4de1
LD
88492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8850
8851 [BZ #13540]
bbe315ea
LD
8852 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8853 destination buffer.
15db4de1
LD
8854 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8855
2b2596b1
MP
88562011-12-23 Marek Polacek <polacek@redhat.com>
8857
8858 * elf/dl-addr.c (determine_info): Add inline keyword.
8859 * elf/tst-auditmod4b.c (check_avx): Likewise.
8860 * elf/tst-auditmod6b.c (check_avx): Likewise.
8861 * elf/tst-auditmod6c.c (check_avx): Likewise.
8862 * elf/tst-auditmod7b.c (check_avx): Likewise.
8863
70c6c246
UD
88642011-12-23 Ulrich Drepper <drepper@gmail.com>
8865
8866 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8867 !__SSE_MATH__.
8868
c044cf14
LD
88692011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8870
15db4de1 8871 [BZ #13540]
c044cf14
LD
8872 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8873 processing for last bytes.
8874
6b13d9d9
BH
88752011-08-06 Bruno Haible <bruno@clisp.org>
8876
d455f537
BH
8877 [BZ #13061]
8878 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8879 U+0385, not to U+1FEE.
8880
6b13d9d9
BH
8881 [BZ #13062]
8882 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8883 entry for U+00A5 U+0301.
8884
db910efd
UD
88852011-12-22 Ulrich Drepper <drepper@gmail.com>
8886
27deeafc
UD
8887 [BZ #13166]
8888 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8889 buffer for the output is too small.
8890
aed9d171
UD
8891 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8892 optimization.
8893
db910efd
UD
8894 [BZ #13185]
8895 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8896 SSE flags if possible.
8897
2bd779ae
LD
88982011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8899
e7f9dac3 8900 [BZ #13540]
2bd779ae
LD
8901 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8902 processing for last bytes.
8903
154bfc16
JM
89042011-12-22 Joseph Myers <joseph@codesourcery.com>
8905
8906 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8907 (syscall-list-default-options, syscall-list-default-condition)
8908 (syscall-list-includes): Define.
8909 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8910 list of ABIs and options and #if conditions for each ABI. Do not
8911 handle common syscalls between ABIs specially.
8912 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8913 Remove.
8914 (syscall-list-variants, syscall-list-32bit-options)
8915 (syscall-list-32bit-condition, syscall-list-64bit-options)
8916 (syscall-list-64bit-condition): Define.
8917 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8918 (syscall-list-variants, syscall-list-32bit-options)
8919 (syscall-list-32bit-condition, syscall-list-64bit-options)
8920 (syscall-list-64bit-condition): Define.
8921 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8922 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/x86_64/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
21eaf3a5
UD
89322011-12-22 Ulrich Drepper <drepper@gmail.com>
8933
16c6f992
UD
8934 * locale/iso-639.def: Add brx entry.
8935
41043168
UD
8936 [BZ #13328]
8937 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8938 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8939
21eaf3a5
UD
8940 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8941 __feraiseexcept_renamed.
8942
e3a851a2
UD
89432011-12-21 Ulrich Drepper <drepper@gmail.com>
8944
4920765e
UD
8945 [BZ #13538]
8946 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8947 EPOLLET with unsigned values.
8948 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8949 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8950
e3a851a2
UD
8951 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8952 to large cancellation.
8953 * math/s_cacoshf.c: Likewise.
8954 * math/s_cacoshl.c: Likewise.
8955
b27e24b8
RK
89562011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8957
8958 [BZ #13305]
aebefeee 8959 [BZ #12786]
b27e24b8
RK
8960 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8961 * math/s_cacoshf.c: Likewise.
8962 * math/s_cacoshl.c: Likewise.
8963
ee190f67
UD
89642011-12-21 Ulrich Drepper <drepper@gmail.com>
8965
8966 [BZ #13439]
8967 * iconv/gconv.h: Define __GCONV_SWAP.
8968 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8969 * iconvdata/utf-16.c: Likewise.
8970 * iconvdata/utf-32.c: Likewise.
8971
707f25df
AS
89722011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8973
8974 [BZ #13524]
8975 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8976 numerator after shifting it by one limb.
8977
d2daaa1e
RÁE
89782011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8979
8980 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8981 under [__USE_EXTERN_INLINES].
8982
a4647e72
UD
89832011-12-17 Ulrich Drepper <drepper@gmail.com>
8984
8985 [BZ #13446]
8986 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8987
f0b264f1
AZ
89882011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8989
8990 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8991 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8992 optimized code.
8993 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8994 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8995 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8996 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8997 for strncasecmp/strncasecmp_l compilation.
8998 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8999 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9000
8ef4f244
MP
90012011-12-08 Marek Polacek <mpolacek@redhat.com>
9002
9003 [BZ #13484]
9004 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9005 of __asm__.
9006
97ac2654
UD
90072011-12-17 Ulrich Drepper <drepper@gmail.com>
9008
9009 [BZ #13506]
9010 * time/tzfile.c (__tzfile_read): Check values from file header.
9011
91d2a845
WS
90122011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9013
9014 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9015 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9016 * powerpc/powerpc32/dl-start.S: Likewise.
9017 * powerpc/powerpc32/elf/start.S: Likewise.
9018 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9019 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9020 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9021 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9022 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9023 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9024 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9025 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9026 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9027 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9028 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9029 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9030 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9031 * powerpc/powerpc32/memset.S: Likewise.
9032 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9033 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9034 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9035 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9036 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9037 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9038 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9039 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9040 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9041 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9042 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9043 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9044 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9045
a1267ba1
AZ
90462011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9047
9048 * math/libm-test.inc: Added more nearbyint tests.
9049 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9050 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9052 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9053
ad8ac1bd
RL
90542011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9055
9056 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9057 FD_CLOEXEC.
9058
1d3e4b61
UD
90592011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9060
9061 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9062 Add wcscpy-ssse3 wcscpy-c.
9063 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9064 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9065 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9066 * sysdeps/x86_64/wcschr.S: New file.
9067 * sysdeps/x86_64/wcsrchr.S: New file.
9068 * string/test-strcmp.c: Remove checking of wcscmp function for
9069 wrong alignments.
9070 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9071 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9072 wcsrchr-sse2 wcsrchr-c.
9073 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9074 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9075 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9076 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9077 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9078 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9079 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9080 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9081 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9082 * wcsmbc/wcschr.c (WCSCHR): New macro.
9083
5b330a2d
UD
90842011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9085
9086 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9087 * wcsmbs/test-wcsrchr.c: New file.
9088 * string/test-strrchr.c: Add wcsrchr support.
9089 (WIDE): New macro.
9090 * wcsmbs/test-wcscpy.c: New file.
9091 * string/test-strcpy.c: Add wcscpy support.
9092 (WIDE): New macro.
26428b7c 9093
f039c043
UD
90942011-12-10 Ulrich Drepper <drepper@gmail.com>
9095
9096 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9097 the inner loop.
9098
850fb039
AS
90992011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9100
9101 [BZ #13472]
9102 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9103
4efbd5cb
UD
91042011-12-04 Ulrich Drepper <drepper@gmail.com>
9105
52ff5dd0 9106 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9107 Minor optimizations.
52ff5dd0 9108
4efbd5cb
UD
9109 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9110 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9111 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9112
8a426e12
UD
91132011-12-03 Ulrich Drepper <drepper@gmail.com>
9114
aff2453d
UD
9115 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9116 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9117 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9118 for gcc to avoid warnings.
9119 * inet/Makefile (tests): Add tst-checks.
9120 * inet/tst-checks.c: New file.
9121
9122 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9123 warning.
9124
9125 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9126 __wmemcmp_sse2.
9127
9128 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9129 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9130
8a426e12
UD
9131 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9132
9bea3473
UD
91332011-12-02 Ulrich Drepper <drepper@gmail.com>
9134
3a965496
UD
9135 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9136 problem.
9137
9bea3473
UD
9138 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9139
f101631b
UD
91402011-11-29 Joseph Myers <joseph@codesourcery.com>
9141
9142 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9143 conditional on GCC version.
9144 (__arch_compare_and_exchange_val_8_acq)
9145 (__arch_compare_and_exchange_val_16_acq)
9146 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9147 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9148 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9149
a98275aa
UD
91502011-12-02 Joseph Myers <joseph@codesourcery.com>
9151
9152 * sysdeps/sh/backtrace.c: New file.
9153
d4cc29a2
AS
91542011-12-02 Andreas Schwab <schwab@redhat.com>
9155
9156 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9157 parenthesis.
9158
6257af2d
AS
91592011-12-01 Andreas Schwab <schwab@redhat.com>
9160
9161 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9162 falling back to utime.
9163
b5f44c1a
AS
91642011-11-30 Andreas Schwab <schwab@redhat.com>
9165
9166 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9167 expectations for float.
9168
f3a6cc0a
AS
91692011-11-29 Andreas Schwab <schwab@redhat.com>
9170
9171 * locale/weight.h (findidx): Add parameter len.
9172 * locale/weightwc.h (findidx): Likewise.
9173 * posix/fnmatch_loop.c (FCT): Adjust caller.
9174 * posix/regcomp.c (build_equiv_class): Likewise.
9175 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9176 * posix/regexec.c (check_node_accept_bytes): Likewise.
9177 * string/strcoll_l.c (STRCOLL): Likewise.
9178 * string/strxfrm_l.c (STRXFRM): Likewise.
9179
9d65ea3a
UD
91802011-11-17 Ulrich Drepper <drepper@gmail.com>
9181
9182 * Makefile.in: Remove CVSOPT handling.
9183 * configure.in: Remove use of AC_REVISION.
9184 * iconvdata/Makefile (distribute): No need to filter out CVS.
9185 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9186 handling.
9187
5583a086
AS
91882011-11-16 Andreas Schwab <schwab@redhat.com>
9189
9190 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9191 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9192 [USE_AS_STRNCASECMP_L]: Likewise.
9193 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9194 NO_TLS_DIRECT_SEG_REFS.
9195 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9196 Fix argument offsets for non-PIC.
9197 [USE_AS_STRNCASECMP_L]: Likewise.
9198 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9199 NO_TLS_DIRECT_SEG_REFS.
9200
d62a8200
UD
92012011-11-15 Ulrich Drepper <drepper@gmail.com>
9202
9d65ea3a 9203 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9204 O_CLOEXEC.
9205 * locale/loadlocale.c (_nl_load_locale): Likewise.
9206
09f93bd3
AS
92072011-11-15 Andreas Schwab <schwab@redhat.com>
9208
446514f9
AS
9209 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9210 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9211 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9212 (SYSCALL_GETTIME): Set errno on error.
9213
09f93bd3
AS
9214 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9215 count references to noai6ai_cached.
9216
312be3f9
UD
92172011-11-15 Ulrich Drepper <drepper@gmail.com>
9218
9219 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9220
9221 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9222 FD_CLOEXEC for /proc/self/maps.
9223
9224 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9225 FD_CLOEXEC for /proc/meminfo.
9226
9227 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9228 gai.conf.
9229
9230 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9231 FD_CLOEXEC for given file.
9232
9233 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9234
9235 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9236 FD_CLOEXEC for /etc/hosts.
9237 (_gethtent): Likewise.
9238
9239 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9240
9241 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9242 cancellation and set FD_CLOEXEC for /etc/netgroup.
9243
9244 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9245 reading /etc/publickey.
9246
9247 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9248 allow cancellation when reading /etc/group.
9249
9250 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9251 cancellation.
9252 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9253
9254 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9255 when using data file.
9256
9257 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9258
9259 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9260 (write_nis_obj): Use "c" and "e" in fopen.
9261
9262 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9263
9264 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9265
9266 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9267
9268 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9269
9270 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9271 locale.alias.
9272
9273 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9274
9275 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9276
9277 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9278
9279 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9280 file parsing and set FD_CLOEXEC.
9281
82af0fa8
UD
92822011-11-14 Ulrich Drepper <drepper@gmail.com>
9283
9284 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9285
a5fb313c
AS
92862011-11-14 Andreas Schwab <schwab@redhat.com>
9287
9288 * malloc/arena.c (arena_get2): Don't call reused_arena when
9289 _int_new_arena failed.
9290
6abf3465
UD
92912011-11-14 Ulrich Drepper <drepper@gmail.com>
9292
9293 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9294 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9295 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9296 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9297 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9298 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9299 to compile strcasecmp and strncasecmp.
9300 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9301 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9302
9303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9304
76e3966e
UD
93052011-11-13 Ulrich Drepper <drepper@gmail.com>
9306
9307 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9308 locale-defines.sym to gen-as-const-headers.
9309 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9310 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9311 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9312 to compile strcasecmp and strncasecmp.
9313 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9314 strcasecmp_l and strncasecmp_l.
9315 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9316 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9317 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9318 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9319 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9320 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9321 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9322 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9323 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9324 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9325 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9326
ab26144e
UD
93272011-11-12 Ulrich Drepper <drepper@gmail.com>
9328
7edb22ef
UD
9329 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9330 result of SYSDEP_GETTIME_CPU to retval.
9331 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9332 parameter list to macro. Remove trailing semicolon. Adjust users.
9333
9694fc44
UD
9334 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9335 variable.
9336
8ad89ef8
UD
9337 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9338 mantissa words.
9339 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9340
0c822ef9
UD
9341 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9342 from unused variable.
9343
874e0564
UD
9344 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9345 DWARF definitions.
9346 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9347 for assembling.
9348
3a2edc79
UD
9349 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9350 over namespaces.
9351
f3c2577f
UD
9352 * sunrpc/rpc_prot.c (rejected): Fix case value.
9353
294ce126
UD
9354 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9355 unsigned long long int to avoid warnings in shift.
9356
5e2b63c6
UD
9357 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9358 of use of trans.
9359 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9360 variable tmp.
9361
e7f4b08e
UD
9362 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9363 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9364 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9365
ab26144e
UD
9366 * nis/nis_table.c (nis_list): Use variable of correct type for
9367 result of __follow_path call.
9368
8a6d5255
AZ
93692011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9370
9371 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9372 of math functions ceil, trunc, floor, round, and sqrt, when
9373 avaliable on the platform.
9374 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9375 name clash.
9376 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9377 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9378 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9379
aaddc98c
MP
93802011-10-30 Marek Polacek <mpolacek@redhat.com>
9381
9382 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9383 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9384
95b7042b
RM
93852011-11-11 Roland McGrath <roland@hack.frob.com>
9386
9387 * include/unistd.h: Fix __readlink return type.
9388 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9389
57769839
UD
93902011-11-11 Ulrich Drepper <drepper@gmail.com>
9391
9392 * stdlib/ucontext.h: Undo last change for makecontext.
9393
edc5984d
AS
93942011-11-11 Andreas Schwab <schwab@redhat.com>
9395
98591e58
AS
9396 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9397
edc5984d
AS
9398 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9399 * setjmp/setjmp.h: Mark functions as non-leaf.
9400 * setjmp/bits/setjmp2.h: Likewise.
9401 * stdlib/ucontext.h: Likewise.
9402
77cdc054
AS
94032011-11-10 Andreas Schwab <schwab@redhat.com>
9404
9405 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9406 (reused_arena): Don't check arena limit.
9407 (arena_get2): Atomically check arena limit.
9408
fe72eebd
UD
94092011-11-08 Ulrich Drepper <drepper@gmail.com>
9410
5f078c32
UD
9411 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9412 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9413
fe72eebd
UD
9414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9415 instructions.
9416
ae1bc2fa
AS
94172011-11-07 Andreas Schwab <schwab@redhat.com>
9418
7583a88d
AS
9419 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9420 handler when locking.
9421
ae1bc2fa
AS
9422 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9423 Fix size of allocated buffer.
9424
10fb0bfa
AS
94252011-11-04 Andreas Schwab <schwab@redhat.com>
9426
998832a4
AS
9427 [BZ #10103]
9428 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9429 declarations for long double functions.
9430 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9431
10fb0bfa
AS
9432 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9433
3d7ba52b
AS
94342011-11-03 Andreas Schwab <schwab@redhat.com>
9435
a9ae54a1
AS
9436 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9437 installed.
9438
3d7ba52b
AS
9439 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9440 is disabled.
9441
bc8db248
ST
94422011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9443
9444 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9445
45b96dd6
AS
94462011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9447
647776f6
AS
9448 * include/alloca.h (stackinfo_alloca_round): Define.
9449 (extend_alloca): Use it.
9450 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9451 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9452 here.
9453
d91a8b93
AS
9454 * scripts/check-local-headers.sh: Ignore libaudit.h.
9455
45b96dd6
AS
9456 * nscd/Makefile (extra-objs): Make recursively expanded.
9457
432d41ce
UD
94582011-11-01 Ulrich Drepper <drepper@gmail.com>
9459
34372fc6
UD
9460 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9461 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9462
fadb59f8
UD
9463 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9464 * posix/tst-rfc3484-2.c: Likewise.
9465 * posix/tst-rfc3484-3.c: Likewise.
9466
78239589
UD
9467 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9468 process_vm_writev.
9469 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9470 process_vm_writev.
9471 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9472 process_vm_writev from libc using GLIBC_2.15 version.
9473
432d41ce
UD
9474 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9475
02f9c6cf
PP
94762011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9477
9478 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9479 stack usage.
9480
3a2c0242
UD
94812011-10-31 Ulrich Drepper <drepper@gmail.com>
9482
f4ec4833
UD
9483 [BZ #13367]
9484 * nss/getent.c (initgroups_keys): Show error message in case no group
9485 names are given.
9486
3a2c0242
UD
9487 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9488 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9489 __bump_nl_timestamp.
9490 * nscd/connections (nscd_init): When host database is served open
9491 netlink socket and request notification about configuration changes.
9492 (main_loop_poll): Track netlink file descriptor and bump timestamp
9493 in case data becomes available.
9494 (main_loop_epoll): Likewise.
9495 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9496 (database_pers_head): Add extra_data fileds.
9497 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9498 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9499 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9500 Adjust caller.
9501 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9502 in6ai data, call __free_in6ai.
9503 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9504 Add -DHAVE_NETLINK.
9505 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9506 interface information. Reuse previous data if netlink timestamp
9507 is not changed.
9508 (__bump_nl_timestamp): New function.
9509 (__free_in6ai): New function.
9510
636064eb
UD
95112011-10-30 Ulrich Drepper <drepper@gmail.com>
9512
9513 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9514 close_not_cancel_no_status here.
9515 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9516
9beb2334
UD
95172011-10-29 Ulrich Drepper <drepper@gmail.com>
9518
6ef76f3b
UD
9519 [BZ #13276]
9520 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9521 return value.
9522
0ffc4f3e 9523 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
9524 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9525 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9526
cb95113e
UD
95272011-07-03 Andreas Jaeger <aj@suse.de>
9528
9529 [BZ #10709]
9530 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9531 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9532 * math/libm-test.inc (sin_test): Add test case.
9533
a1b560ff
UD
95342011-10-29 Ulrich Drepper <drepper@gmail.com>
9535
c9aaface
UD
9536 [BZ #13337]
9537 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9538 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9539
d272e7f1
UD
9540 * elf/chroot_canon.c (chroot_canon): Cleanups.
9541
1bc33071
UD
9542 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9543
1760874d
TJ
9544 [BZ #13335]
9545 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9546 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9547
51d91b18
UD
9548 * string/test-strchr.c: Make usable for strchrnul testing.
9549 * string/test-strchrnul.c: New file.
9550 * string/Makefile (strop-tests): Add strchrnul.
9551
a1b560ff 9552 * po/it.po: Update from translation team.
b611fb81 9553 * po/es.po: Likewise.
a1b560ff 9554
a5b81e1f
UD
95552011-10-28 Ulrich Drepper <drepper@gmail.com>
9556
fd52bc6d
UD
9557 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9558 the three constants needed as parameters. Drop the others.
9559 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9560 __m128i_strloadu_tolower.
52e4b9eb
UD
9561 Create and initialize variable zero and use it in all the places
9562 where _mm_setzero_si128 was used.
fd52bc6d 9563
a5b81e1f
UD
9564 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9565 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9566 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9567 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9568 anymore.
9569 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9570 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9571 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9572 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9573 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9574 __mpranred, __mptan.
9575 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9576 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9577 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9578 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9579 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9580 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9581 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9582 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9583 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9584
b4343346
AS
95852011-10-28 Andreas Schwab <schwab@redhat.com>
9586
0c92d8a8
AS
9587 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9588 redefine if SHARED.
9589 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9590
b4343346
AS
9591 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9592 wide char related routines to wcsmbs subdir.
9593
3871f58f
AS
95942011-10-27 Andreas Schwab <schwab@redhat.com>
9595
9596 [BZ #13344]
9597 * misc/sys/cdefs.h (__THROWNL): Define.
9598 * posix/unistd.h: Use __THREADNL instead of __THREAD
9599 for memory synchronization functions.
9600
94d44d9f
RM
96012011-10-26 Roland McGrath <roland@hack.frob.com>
9602
21b64b15 9603 [BZ #13349]
94d44d9f
RM
9604 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9605 doesn't exist.
9606 * manual/stdio.texi (Obstack Streams): Node removed.
9607
f6ce9294
AS
96082011-10-26 Andreas Schwab <schwab@redhat.com>
9609
80479147
AS
9610 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9611 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9612 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9613
f6ce9294
AS
9614 * math/math_private.h (math_force_eval): Allow non-addressable
9615 arguments.
9616 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9617
618280a1
UD
96182011-10-25 Ulrich Drepper <drepper@gmail.com>
9619
e0016b11
UD
9620 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9621 file is not needed.
9622
9623 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9624 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9625 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9626 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9627 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9628 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9629 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9630 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9631 Add AVX variants.
9632 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9633 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9634 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9635 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9636 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9637 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9638 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9639 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9640 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9641 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9642 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9643 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9644 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9645 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9646 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9647 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9648 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9649 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9650 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9651
9652 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9653 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9654
618280a1
UD
9655 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9656 place. Use VEX encoding when compiling for AVX.
9657
37822576
AS
96582011-10-25 Andreas Schwab <schwab@redhat.com>
9659
1f1e1947
AS
9660 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9661 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9662
37822576
AS
9663 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9664
31ea014d
UD
96652011-10-25 Ulrich Drepper <drepper@gmail.com>
9666
d7826aa1 9667 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9668 useless if() expression.
d7826aa1
UD
9669 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9670 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9671 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9672 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9673 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9674 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9675 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9676 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9677 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9678 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9679 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9680 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9681 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9682 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9683 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9684 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9685 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9687 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9688
31ea014d
UD
9689 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9690
16437fec
AS
96912011-10-25 Andreas Schwab <schwab@redhat.com>
9692
9693 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9694 condition.
9695 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9696
31d3cc00
UD
96972011-10-25 Ulrich Drepper <drepper@gmail.com>
9698
9699 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9700 .text section. Avoid duplicate constants.
9701 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9703 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9704 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9705 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9709 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9710 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9711 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9712 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9713 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9714 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9715 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9716 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9717 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9718 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9720 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9721 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9722 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9723 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9724 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9725 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9726 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9727 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9728 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9729 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9730 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9731 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9732 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9733 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9734 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9735 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9736 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9737 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9738 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9739 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9740 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9741 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9742 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9743 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9744 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9745 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9746
58985aa9
UD
97472011-10-24 Ulrich Drepper <drepper@gmail.com>
9748
202c9deb
UD
9749 * sysdeps/x86_64/dla.h: Move to ...
9750 * sysdeps/x86_64/fpu/dla.h: ...here.
9751 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9752 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9753
af968f62
UD
9754 * config.make.in: Add have-mfma4 entry.
9755 * configure.in: Substitute libc_cv_cc_fma4.
9756 * math/Makefile (dbl-only-routines): Add sincostab.
9757 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9758 Use __sincostab not sincos.
9759 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9760 name is a macro.
9761 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9762 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9763 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9764 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9765 using __copysign.
9766 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9767 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9768 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9769 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9770 and __inv.
9771 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9772 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9773 __copysign.
9774 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9775 define aliases when function name is a macro.
9776 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9777 sysdeps/ieee754/dbl-64/sincos.tbl.
9778 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9779 fma4-enabled routines.
9780 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9781 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9782 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9783 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9784 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9785 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9786 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9787 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9788 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9789 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9790 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9791 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9792 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9793 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9794 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9795 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9796 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9797 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9798 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9799 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9800 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9801 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9802 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9803 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9804 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9805 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9806 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9807 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9808 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9809 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9810
58985aa9
UD
9811 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9812 rename.
9813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9814 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9815 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9816 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9817 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9818 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9819 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9821
a201fbcf
AS
98222011-10-24 Andreas Schwab <schwab@redhat.com>
9823
9824 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9825
fc2ee42a
LD
98262011-10-23 Ulrich Drepper <drepper@gmail.com>
9827
bb3129bd
UD
9828 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9829
0275fff8
UD
9830 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9831 prediction.
9832 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9833
2fa2ae85
UD
9834 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9835 Remove unused variable magic_bits.
9836 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9837
fc2ee42a
LD
9838 * string/strnlen.c: Define and use STRNLEN macro.
9839 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9840 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9841 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9842 * wcsmbs/wcslen.c: Define and use WCSLEN.
9843 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9844 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9845 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9846 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9847 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9848 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9849 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9850
ce7dd29f
LD
98512011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9852
9853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9854 strnlen-sse2-no-bsf.
9855 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9856 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9857 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9858 Add strnlen support.
9859 (USE_AS_STRNLEN): New macro.
9860 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9861 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9862 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9863 * sysdeps/x86_64/wcslen.S: New file.
9864
979c70a3
MZ
98652011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9866
9867 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9868 XMM-moves are used for copying on small sizes.
9869
2d09f82f
LD
98702011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9871
9872 * wcsmbs/Makefile (strop-tests): Add wcschr.
9873 * wcsmbs/test-wcschr.c: New file.
9874 * string/test-strchr.c: Update.
9875 Add wcschr support.
9876 (WIDE): New macro.
9877
619fccca
LD
98782011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9879
2d09f82f 9880 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
9881 * wcsmbs/test-wcslen.c: New file.
9882 * string/test-strlen.c: Update.
9883 Add wcslen support.
9884 (WIDE): New macro.
9885
09f699ea
UD
98862011-10-23 Ulrich Drepper <drepper@gmail.com>
9887
9888 * po/it.po: Update from translation team.
9889
95584d3b
LD
98902011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9891
9892 * sysdeps/x86_64/wcscmp.S: Update.
9893 Fix wrong comparison semantics.
9894 wcscmp shall use signed comparison not unsigned.
9895 Don't use substraction to avoid overflow bug.
9896 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9897 * wcsmbc/wcscmp.c: Likewise.
9898 * string/test-strcmp.c: Likewise.
9899 Add new tests to check cases with negative values.
9900
c8b3296b
UD
99012011-10-23 Ulrich Drepper <drepper@gmail.com>
9902
9903 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9904 * sysdeps/x86_64/dla.h: ...here. New file.
9905 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9906 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9908 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9909 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9910 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9911 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9912 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9913 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9914
246ad57a
AS
99152011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9916
9917 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9918 __ynl_finite aliases.
9919
a1a87169
UD
99202011-10-22 Ulrich Drepper <drepper@gmail.com>
9921
0d355eb7
UD
9922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9923
a1a87169
UD
9924 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9925 define DLA_FMA.
9926 [DLA_FMA] (EMULV): Use DLA_FMA.
9927 [DLA_FMA] (MUL12): Use EMULV.
9928 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9929 that are not needed.
9930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9933 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9935 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9936 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9937
ee2aafe0
AS
99382011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9939
9940 * math/s_nan.c: Undef __nan.
9941 * math/s_nanf.c: Undef __nanf.
9942 * math/s_nanl.c: Undef __nanl.
9943 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9944 "math_private.h".
9945
bc62c2fb
UD
99462011-10-22 Ulrich Drepper <drepper@gmail.com>
9947
77425c63
UD
9948 * math/s_catan.c: Add branch predictions.
9949 * math/s_catanf.c: Likewise.
9950 * math/s_catanh.c: Likewise.
9951 * math/s_catanhf.c: Likewise.
9952 * math/s_catanhl.c: Likewise.
9953 * math/s_catanl.c: Likewise.
9954 * math/s_cexp.c: Likewise.
9955 * math/s_cexpf.c: Likewise.
9956 * math/s_cexpl.c: Likewise.
9957 * math/s_clog.c: Likewise.
9958 * math/s_clog10.c: Likewise.
9959 * math/s_clog10f.c: Likewise.
9960 * math/s_clog10l.c: Likewise.
9961 * math/s_clogf.c: Likewise.
9962 * math/s_clogl.c: Likewise.
9963 * math/s_csqrt.c: Likewise.
9964 * math/s_csqrtf.c: Likewise.
9965 * math/s_csqrtl.c: Likewise.
9966 * math/s_ctanf.c: Likewise.
9967 * math/s_ctanh.c: Likewise.
9968 * math/s_ctanhf.c: Likewise.
9969 * math/s_ctanhl.c: Likewise.
9970 * math/s_ctanl.c: Likewise.
9971
bc62c2fb
UD
9972 * math/math_private.h: Define __nan, __nanf, __nanl.
9973 * math/s_cacosh.c: Include <math_private.h>.
9974 * math/s_cacoshl.c: Likewise.
9975 * math/s_casinh.c: Likewise.
9976 * math/s_casinhf.c: Likewise.
9977 * math/s_casinhl.c: Likewise.
9978 * math/s_ccos.c: Rely entire on ccosh.
9979 * math/s_ccosf.c: Rely entire on ccoshf.
9980 * math/s_ccosl.c: Rely entirely on ccoshl.
9981 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9982 Remove tests for FE_INVALID.
9983 * math/s_ccoshf.c: Likewise.
9984 * math/s_ccoshl.c: Likewise.
9985 * math/s_csin.c: Likewise.
9986 * math/s_csinf.c: Likewise.
9987 * math/s_csinh.c Likewise.
9988 * math/s_csinhf.c: Likewise.
9989 * math/s_csinhl.c: Likewise.
9990 * math/s_csinl.c: Likewise.
9991 * math/s_ctan.c: Likewise.
9992 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9993 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9994 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9995
8ec250a4
UD
99962011-10-21 Ulrich Drepper <drepper@gmail.com>
9997
c196fed8
UD
9998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9999 compilation problems.
10000
8ec250a4
UD
10001 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10002 __builtin_expect.
10003
8d4f46c6
UD
100042011-10-20 Ulrich Drepper <drepper@gmail.com>
10005
ed72b654
UD
10006 * sysdeps/i386/configure.in: Test for -mfma4 option.
10007 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10008 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10009 COMMON_CPUID_INDEX_80000001.
10010 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10011 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10012 use it if FMA3 is not supported.
10013 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10014
8d4f46c6
UD
10015 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10016 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10017
d45c60c2
AS
100182011-10-20 Andreas Schwab <schwab@redhat.com>
10019
10020 [BZ #12892]
10021 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10022 it would create a cycle with a link time dependency.
10023
d9a4d2ab
UD
100242011-10-19 Ulrich Drepper <drepper@gmail.com>
10025
855d1560
UD
10026 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10027 instruction.
10028 * string/Makefile (strop-tests): Add rawmemchr.
10029 * string/test-rawmemchr.c: New file.
10030
d9a4d2ab
UD
10031 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10032 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10033 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10034 when compiling str{,n}casecmp and when AVX is available. Hook up
10035 new optimized code in initializers.
10036
8f3b1ffe
AS
100372011-10-19 Andreas Schwab <schwab@redhat.com>
10038
10039 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10040 __feraiseexcept instead of feraiseexcept.
10041
d38f1dba
UD
100422011-10-18 Ulrich Drepper <drepper@gmail.com>
10043
d9a8d0ab
UD
10044 * math/math_private.h: Define defaults for libc_fetestexcept and
10045 libc_feupdateenv.
10046 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10047 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10048 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10049 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10050 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10051 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10052 libc_fetestexcept and libc_feupdateenv.
10053
4855e3dd
UD
10054 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10055 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10056 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10057 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10058 libc_feholdexcept_setround.
10059
581d30e3
UD
10060 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10061 Add s_nearbyint-c and s_nearbyintf-c.
10062 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10063 nearbyintf inlines.
10064 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10065 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10066 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10067 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10068
d38f1dba
UD
10069 * math/math_private.h: Define defaults for libc_fegetround,
10070 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10071 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10072 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10073 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10074 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10075 standard functions.
10076 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10077 Remove comments and hacks for old compiler versions.
10078 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10079 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10080 libc_feholdexceptl.
10081
caa6c9d8
AS
100822011-10-18 Andreas Schwab <schwab@redhat.com>
10083
10084 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10085 (__feraiseexcept_renamed): Add __NTH.
10086 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10087 namespace violations.
10088
97c066e6
UD
100892011-10-17 Ulrich Drepper <drepper@gmail.com>
10090
99ce7b04
UD
10091 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10092
1004d182
UD
10093 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10094
228a984d
UD
10095 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10096 recently added interfaces.
10097 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10098
c8553a6a
UD
10099 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10100 about macro parameter expansion.
10101
ed22dcf6
UD
10102 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10103 __NO_MATH_INLINES is defined. Cleanups.
10104
10105 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10106 and __floorf is target has SSE4.1.
10107 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10108 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10109 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10110 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10111
b171c137
UD
10112 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10113 name.
10114 (floorf): Likewise.
10115
97c066e6
UD
10116 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10117
629f62ef
AS
101182011-10-17 Andreas Schwab <schwab@redhat.com>
10119
49a43d80
AS
10120 * misc/sys/cdefs.h: Fix last change.
10121
629f62ef
AS
10122 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10123 database lookup.
10124
e453f6cd
UD
101252011-10-16 Ulrich Drepper <drepper@gmail.com>
10126
aa78043a
UD
10127 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10128
ad0f5cad
UD
10129 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10130 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10134 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10135 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10136 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10137 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10138 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10139 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10140 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10141 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10142 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10143 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10144 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10145 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10146 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10147 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10148 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10149 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10150 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10151
10152 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10153 ceil, ceilf, floor, floorf.
10154
10155 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10156 Perform IRELATIVE relocations last.
10157
e453f6cd
UD
10158 * elf/do-rel.h: Add another parameter nrelative, replacing the
10159 local variable with the same name. Change name of the function
10160 to end in Rel or Rela (uppercase).
10161 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10162 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10163 elf_dynamic_do_##reloc function.
10164
fd5bdc09
UD
101652011-10-15 Ulrich Drepper <drepper@gmail.com>
10166
79b195b5
UD
10167 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10168 is sufficient, at least on modern CPUs.
10169
d4a28569
UD
10170 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10171
b61099b5
UD
10172 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10173 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10174
bcf01e6d
UD
10175 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10176 __expl_finite.
10177 * math/bits/math-finite.h: Add entries for exp.
10178 * math/e_expl.c: Add __*_finite alias.
10179 * sysdeps/i386/fpu/e_exp.S: Likewise.
10180 * sysdeps/i386/fpu/e_expf.S: Likewise.
10181 * sysdeps/i386/fpu/e_expl.c: Likewise.
10182 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10183 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10184 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10185 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10186 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10187 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10188 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10189
ba1a0d59
UD
10190 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10191 is sufficient, at least on modern CPUs.
10192
fd5bdc09
UD
10193 * ctype/ctype-info.c (__ctype_init): Define.
10194 * include/ctype.h (__ctype_init): Declare.
10195 (__ctype_b_loc): The variable is always initialized.
10196 (__ctype_toupper_loc): Likewise.
10197 (__ctype_tolower_loc): Likewise.
10198 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10199 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10200
7872cfb0
AS
102012011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10202
b468825a
AS
10203 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10204
7872cfb0
AS
10205 * configure.in: Also look in $cxxmachine/include for C++ system
10206 headers.
10207
be13f7bf
LD
102082011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10209
10210 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10211 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10212 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10213 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10214 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10215 (USE_AS_WMEMCMP): New macro.
10216 Fixing indents.
10217 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10218 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10219 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10220 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10222 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10223 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10224 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10225 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10226 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10227 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10228 (USE_AS_WMEMCMP): New macro.
10229 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10230 * sysdeps/string/test-memcmp.c: Update.
10231 Fix simple_wmemcmp.
10232 Add new tests.
10233 * wcsmbs/wmemcmp.c: Update.
10234 (WMEMCMP): New macro.
10235 Fix overflow bug.
10236
556a2007
AJ
102372011-10-12 Andreas Jaeger <aj@suse.de>
10238
10239 [BZ #13268]
10240 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10241
538faaa7
UD
102422011-10-15 Ulrich Drepper <drepper@gmail.com>
10243
ab6737ff
UD
10244 * libio/iofwide.c (do_length): Avoid warning.
10245
538faaa7
UD
10246 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10247
396a21b1
UD
102482011-10-14 Ulrich Drepper <drepper@gmail.com>
10249
cdf2901f
UD
10250 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10251
38ad40ce
UD
10252 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10253 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10254 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10255 * sysdeps/i386/i686/fpu/e_log.S: New file.
10256 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10257 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10258
396a21b1
UD
10259 * ctype/ctype.h: Add support for inlined isXXX functions when
10260 compiling C++ code.
10261
6b1f68c9
AS
102622011-10-14 Andreas Schwab <schwab@redhat.com>
10263
349290c0
AS
10264 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10265
6b1f68c9
AS
10266 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10267
f2282d42
RM
102682011-10-13 Roland McGrath <roland@hack.frob.com>
10269
10270 [BZ #13291]
10271 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10272
5298ffa8
AS
102732011-10-13 Andreas Schwab <schwab@redhat.com>
10274
714fad23
AS
10275 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10276 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10277 feraiseexcept.
10278
81dcc7fb
AS
10279 * sysdeps/x86_64/memrchr.S: Check for zero size.
10280
5298ffa8
AS
10281 * string/stratcliff.c: Add memrchr tests.
10282
951fbcec
LD
102832011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10284
10285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10286 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10287 rawmemchr-sse2 rawmemchr-sse2-bsf.
10288 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10289 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10290 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10291 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10292 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10293 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10294 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10295 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10296 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10297 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10298 * string/memrchr.c (MEMRCHR): New macro.
10299
0ac5ae23
UD
103002011-10-12 Ulrich Drepper <drepper@gmail.com>
10301
10302 Add integration with gcc's -ffinite-math-only and optimize wrapper
10303 functions in libm.
10304 * Versions.def: Define GLIBC_2.15 version for libm.
10305 * math/Makefile (headers): Add bits/math-finite.h.
10306 * math/bits/math-finite.h: New file.
10307 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10308 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10309 * math/e_acoshl.c: Add __*_finite alias.
10310 * math/e_acosl.c: Likewise.
10311 * math/e_asinl.c: Likewise.
10312 * math/e_atan2l.c: Likewise.
10313 * math/e_atanhl.c: Likewise.
10314 * math/e_coshl.c: Likewise.
10315 * math/e_exp10.c: Likewise.
10316 * math/e_exp10f.c: Likewise.
10317 * math/e_exp10l.c: Likewise.
10318 * math/e_exp2l.c: Likewise.
10319 * math/e_fmodl.c: Likewise.
10320 * math/e_gammal_r.c: Likewise.
10321 * math/e_hypotl.c: Likewise.
10322 * math/e_j0l.c: Likewise.
10323 * math/e_j1l.c: Likewise.
10324 * math/e_jnl.c: Likewise.
10325 * math/e_lgammal_r.c: Likewise.
10326 * math/e_log10l.c: Likewise.
10327 * math/e_log2l.c: Likewise.
10328 * math/e_logl.c: Likewise.
10329 * math/e_powl.c: Likewise.
10330 * math/e_sinhl.c: Likewise.
10331 * math/e_sqrtl.c: Likewise.
10332 * math/e_scalb.c: Completely rewritten and optimized.
10333 * math/e_scalbf.c: Likewise.
10334 * math/e_scalbl.c: Likewise.
10335 * math/w_acos.c: Likewise.
10336 * math/w_acosf.c: Likewise.
10337 * math/w_acosl.c: Likewise.
10338 * math/w_acosh.c: Likewise.
10339 * math/w_acoshf.c: Likewise.
10340 * math/w_acoshl.c: Likewise.
10341 * math/w_asin.c: Likewise.
10342 * math/w_asinf.c: Likewise.
10343 * math/w_asinl.c: Likewise.
10344 * math/w_atan2.c: Likewise.
10345 * math/w_atan2f.c: Likewise.
10346 * math/w_atan2l.c: Likewise.
10347 * math/w_atanh.c: Likewise.
10348 * math/w_atanhf.c: Likewise.
10349 * math/w_atanhl.c: Likewise.
10350 * math/w_exp10.c: Likewise.
10351 * math/w_exp10f.c: Likewise.
10352 * math/w_exp10l.c: Likewise.
10353 * math/w_fmod.c: Likewise.
10354 * math/w_fmodf.c: Likewise.
10355 * math/w_fmodl.c: Likewise.
10356 * math/w_j0.c: Likewise.
10357 * math/w_j0f.c: Likewise.
10358 * math/w_j0l.c: Likewise.
10359 * math/w_j1.c: Likewise.
10360 * math/w_j1f.c: Likewise.
10361 * math/w_j1l.c: Likewise.
10362 * math/w_jn.c: Likewise.
10363 * math/w_jnf.c: Likewise.
10364 * math/w_log.c: Likewise.
10365 * math/w_logf.c: Likewise.
10366 * math/w_logl.c: Likewise.
10367 * math/w_log10.c: Likewise.
10368 * math/w_log10f.c: Likewise.
10369 * math/w_log10l.c: Likewise.
10370 * math/w_log2.c: Likewise.
10371 * math/w_log2f.c: Likewise.
10372 * math/w_log2l.c: Likewise.
10373 * math/w_pow.c: Likewise.
10374 * math/w_powf.c: Likewise.
10375 * math/w_powl.c: Likewise.
10376 * math/w_remainder.c: Likewise.
10377 * math/w_remainderf.c: Likewise.
10378 * math/w_remainderl.c: Likewise.
10379 * math/w_scalb.c: Likewise.
10380 * math/w_scalbf.c: Likewise.
10381 * math/w_scalbl.c: Likewise.
10382 * math/w_sqrt.c: Likewise.
10383 * math/w_sqrtf.c: Likewise.
10384 * math/w_sqrtl.c: Likewise.
10385 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10386 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10387 used.
10388 * math/math_private.h: Declare __kernel_standard_f.
10389 * math/w_cosh.c: Remove cruft and optimize a bit.
10390 * math/w_coshf.c: Likewise.
10391 * math/w_coshl.c: Likewise.
10392 * math/w_exp2.c: Likewise.
10393 * math/w_exp2f.c: Likewise.
10394 * math/w_exp2l.c: Likewise.
10395 * math/w_hypot.c: Likewise.
10396 * math/w_hypotf.c: Likewise.
10397 * math/w_hypotl.c: Likewise.
10398 * math/w_lgamma.c: Likewise.
10399 * math/w_lgamma_r.c: Likewise.
10400 * math/w_lgammaf.c: Likewise.
10401 * math/w_lgammaf_r.c: Likewise.
10402 * math/w_lgammal.c: Likewise.
10403 * math/w_lgammal_r.c: Likewise.
10404 * math/w_sinh.c: Likewise.
10405 * math/w_sinhf.c: Likewise.
10406 * math/w_sinhl.c: Likewise.
10407 * math/w_tgamma.c: Likewise.
10408 * math/w_tgammaf.c: Likewise.
10409 * math/w_tgammal.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10411 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10412 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10413 Minor optimizations. Pretty printing. Remove cruft.
10414 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10415 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10416 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10417 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10418 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10419 * sysdeps/i386/fpu/e_asin.S: Likewise.
10420 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10421 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10422 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10423 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10424 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10425 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10426 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10427 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10428 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10429 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10430 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10431 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10432 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10433 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10434 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10435 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10436 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10437 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10438 * sysdeps/i386/fpu/e_log.S: Likewise.
10439 * sysdeps/i386/fpu/e_log10.S: Likewise.
10440 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10441 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10442 * sysdeps/i386/fpu/e_log2.S: Likewise.
10443 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10444 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10445 * sysdeps/i386/fpu/e_logf.S: Likewise.
10446 * sysdeps/i386/fpu/e_logl.S: Likewise.
10447 * sysdeps/i386/fpu/e_pow.S: Likewise.
10448 * sysdeps/i386/fpu/e_powf.S: Likewise.
10449 * sysdeps/i386/fpu/e_powl.S: Likewise.
10450 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10451 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10452 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10453 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10454 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10455 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10456 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10457 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10458 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10459 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10460 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10462 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10463 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10464 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10465 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10468 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10469 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10470 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10472 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10474 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10475 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10476 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10478 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10479 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10480 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10481 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10482 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10483 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10484 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10485 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10486 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10487 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10488 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10489 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10490 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10491 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10492 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10493 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10494 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10495 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10496 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10497 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10498 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10499 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10500 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10501 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10502 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10503 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10504 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10505 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10506 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10509 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10510 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10511 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10512 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10513 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10514 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10515 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10516 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10517 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10519 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10521 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10523 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10524 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10528 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10529 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10530 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10531 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10532 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10533 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10534 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10535 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10536 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10537 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10538 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10539 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10540 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10541 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10542 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10543 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10544 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10545 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10546 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10547 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10548 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10549 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10550 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10551 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10552 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10553 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10554 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10555 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10556 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10557 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10558 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10559 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10560 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10561 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10562 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10563 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10564 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10565 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10566 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10567 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10568 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10569 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10570 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10571 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10572 (__isnanf): Likewise.
10573 (__isinf_ns): Likewise.
10574 (__isinf_nsf): Likewise.
10575 (__finite): Likewise.
10576 (__finitef): Likewise.
10577 (__ieee754_sqrt): Define as macro.
10578 (__ieee754_sqrtf): Define as macro.
10579 (__ieee754_sqrtl): Define as macro.
10580 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10581 inlined copy.
10582 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10583 __FINITE_MATH_ONLY__ consistent.
10584 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10585
12cc2fcd
AS
105862011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10587
a843a204
AS
10588 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10589 of rawmemchr.
10590
12cc2fcd
AS
10591 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10592
c853acd5
UD
105932011-10-09 Ulrich Drepper <drepper@gmail.com>
10594
10595 * po/ja.po: Update from translation team.
10596
c658d255
RM
105972011-10-08 Roland McGrath <roland@hack.frob.com>
10598
110946e4
RM
10599 * locale/programs/locarchive.c (prepare_address_space): New function.
10600 (create_archive, enlarge_archive, open_archive): Use it.
10601
50604220
RM
10602 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10603 inside [SHARED], where it is used.
10604
c658d255
RM
10605 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10606
10607 * nss/getent.c (netgroup_keys): Remove unused variable.
10608 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10609
6a621eb7
UD
106102011-10-08 Ulrich Drepper <drepper@gmail.com>
10611
7edb55ce
UD
10612 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10613 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10615 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10616 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10617 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10618 * math/Makefile (libm-calls): Add s_isinf_ns.
10619 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10620 * math/multc3.c: Likewise.
10621 * math/s_casin.c: Likewise.
10622 * math/s_casinf.c: Likewise.
10623 * math/s_casinl.c: Likewise.
10624 * math/s_ccos.c: Likewise.
10625 * math/s_ccosf.c: Likewise.
10626 * math/s_ccosl.c: Likewise.
10627 * math/s_ctan.c: Likewise.
10628 * math/s_ctanf.c: Likewise.
10629 * math/s_ctanh.c: Likewise.
10630 * math/s_ctanhf.c: Likewise.
10631 * math/s_ctanhl.c: Likewise.
10632 * math/s_ctanl.c: Likewise.
10633 * math/w_fmod.c: Likewise.
10634 * math/w_fmodf.c: Likewise.
10635 * math/w_fmodl.c: Likewise.
10636 * math/w_remainder.c: Likewise.
10637 * math/w_remainderf.c: Likewise.
10638 * math/w_remainderl.c: Likewise.
10639 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10640 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10641 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10643 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10644 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10645 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10646 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10647
187da0ae
UD
10648 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10649 of the number.
10650 * stdio-common/printf_fphex.c: Likewise.
10651 * stdio-common/printf_size.c: Likewise.
10652
9277c064
UD
10653 * math/e_exp10.c: Include math_private.h using <...> not "...".
10654 * math/e_exp10f.c: Likewise.
10655 * math/e_exp10l.c: Likewise.
10656 * math/e_exp2l.c: Likewise.
10657 * math/e_j0l.c: Likewise.
10658 * math/e_j1l.c: Likewise.
10659 * math/e_jnl.c: Likewise.
10660 * math/e_lgammal_r.c: Likewise.
10661 * math/e_rem_pio2l.c: Likewise.
10662 * math/e_scalb.c: Likewise.
10663 * math/e_scalbf.c: Likewise.
10664 * math/e_scalbl.c: Likewise.
10665 * math/k_cosl.c: Likewise.
10666 * math/k_sinl.c: Likewise.
10667 * math/k_tanl.c: Likewise.
10668 * math/s_cacoshf.c: Likewise.
10669 * math/s_catan.c: Likewise.
10670 * math/s_catanf.c: Likewise.
10671 * math/s_catanh.c: Likewise.
10672 * math/s_catanhf.c: Likewise.
10673 * math/s_catanhl.c: Likewise.
10674 * math/s_catanl.c: Likewise.
10675 * math/s_ccosh.c: Likewise.
10676 * math/s_ccoshf.c: Likewise.
10677 * math/s_ccoshl.c: Likewise.
10678 * math/s_cexp.c: Likewise.
10679 * math/s_cexpf.c: Likewise.
10680 * math/s_cexpl.c: Likewise.
10681 * math/s_clog.c: Likewise.
10682 * math/s_clog10.c: Likewise.
10683 * math/s_clog10f.c: Likewise.
10684 * math/s_clog10l.c: Likewise.
10685 * math/s_clogf.c: Likewise.
10686 * math/s_clogl.c: Likewise.
10687 * math/s_csin.c: Likewise.
10688 * math/s_csinf.c: Likewise.
10689 * math/s_csinh.c: Likewise.
10690 * math/s_csinhf.c: Likewise.
10691 * math/s_csinhl.c: Likewise.
10692 * math/s_csinl.c: Likewise.
10693 * math/s_csqrt.c: Likewise.
10694 * math/s_csqrtf.c: Likewise.
10695 * math/s_csqrtl.c: Likewise.
10696 * math/s_ctan.c: Likewise.
10697 * math/s_ctanf.c: Likewise.
10698 * math/s_ctanh.c: Likewise.
10699 * math/s_ctanhf.c: Likewise.
10700 * math/s_ctanhl.c: Likewise.
10701 * math/s_ctanl.c: Likewise.
10702 * math/s_ldexp.c: Likewise.
10703 * math/s_ldexpf.c: Likewise.
10704 * math/s_ldexpl.c: Likewise.
10705 * math/s_significand.c: Likewise.
10706 * math/s_significandf.c: Likewise.
10707 * math/s_significandl.c: Likewise.
10708 * math/w_acos.c: Likewise.
10709 * math/w_acosf.c: Likewise.
10710 * math/w_acosh.c: Likewise.
10711 * math/w_acoshf.c: Likewise.
10712 * math/w_acoshl.c: Likewise.
10713 * math/w_acosl.c: Likewise.
10714 * math/w_asin.c: Likewise.
10715 * math/w_asinf.c: Likewise.
10716 * math/w_asinl.c: Likewise.
10717 * math/w_atan2.c: Likewise.
10718 * math/w_atan2f.c: Likewise.
10719 * math/w_atan2l.c: Likewise.
10720 * math/w_atanh.c: Likewise.
10721 * math/w_atanhf.c: Likewise.
10722 * math/w_atanhl.c: Likewise.
10723 * math/w_cosh.c: Likewise.
10724 * math/w_coshf.c: Likewise.
10725 * math/w_coshl.c: Likewise.
10726 * math/w_dremf.c: Likewise.
10727 * math/w_exp10.c: Likewise.
10728 * math/w_exp10f.c: Likewise.
10729 * math/w_exp10l.c: Likewise.
10730 * math/w_exp2.c: Likewise.
10731 * math/w_exp2f.c: Likewise.
10732 * math/w_fmod.c: Likewise.
10733 * math/w_fmodf.c: Likewise.
10734 * math/w_fmodl.c: Likewise.
10735 * math/w_hypot.c: Likewise.
10736 * math/w_hypotf.c: Likewise.
10737 * math/w_hypotl.c: Likewise.
10738 * math/w_j0.c: Likewise.
10739 * math/w_j0f.c: Likewise.
10740 * math/w_j0l.c: Likewise.
10741 * math/w_j1.c: Likewise.
10742 * math/w_j1f.c: Likewise.
10743 * math/w_j1l.c: Likewise.
10744 * math/w_jn.c: Likewise.
10745 * math/w_jnf.c: Likewise.
10746 * math/w_jnl.c: Likewise.
10747 * math/w_lgamma.c: Likewise.
10748 * math/w_lgamma_r.c: Likewise.
10749 * math/w_lgammaf.c: Likewise.
10750 * math/w_lgammaf_r.c: Likewise.
10751 * math/w_lgammal.c: Likewise.
10752 * math/w_lgammal_r.c: Likewise.
10753 * math/w_log.c: Likewise.
10754 * math/w_log10.c: Likewise.
10755 * math/w_log10f.c: Likewise.
10756 * math/w_log10l.c: Likewise.
10757 * math/w_log2.c: Likewise.
10758 * math/w_log2f.c: Likewise.
10759 * math/w_log2l.c: Likewise.
10760 * math/w_logf.c: Likewise.
10761 * math/w_logl.c: Likewise.
10762 * math/w_pow.c: Likewise.
10763 * math/w_powf.c: Likewise.
10764 * math/w_powl.c: Likewise.
10765 * math/w_remainder.c: Likewise.
10766 * math/w_remainderf.c: Likewise.
10767 * math/w_remainderl.c: Likewise.
10768 * math/w_scalb.c: Likewise.
10769 * math/w_scalbf.c: Likewise.
10770 * math/w_scalbl.c: Likewise.
10771 * math/w_sinh.c: Likewise.
10772 * math/w_sinhf.c: Likewise.
10773 * math/w_sinhl.c: Likewise.
10774 * math/w_sqrt.c: Likewise.
10775 * math/w_sqrtf.c: Likewise.
10776 * math/w_sqrtl.c: Likewise.
10777 * math/w_tgamma.c: Likewise.
10778 * math/w_tgammaf.c: Likewise.
10779 * math/w_tgammal.c: Likewise.
10780
6a621eb7
UD
10781 * po/ja.po: Update from translation team.
10782
bf582445
AJ
107832011-09-29 Andreas Jaeger <aj@suse.de>
10784
f9efbf3a
AJ
10785 [BZ #13179]
10786 * sunrpc/netname.c (netname2host): Fix logic.
10787
bf582445
AJ
10788 [BZ #6779]
10789 [BZ #6783]
10790 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10791 correctly.
10792 * math/w_remainder.c (__remainder): Likewise.
10793 * math/w_remainderf.c (__remainderf): Likewise.
10794 * math/libm-test.inc (remainder_test): Add test cases.
10795
48693bea
AK
107962011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10797
10798 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10799 sdiv_qrnnd.
10800
42622229
LD
108012011-10-07 Ulrich Drepper <drepper@gmail.com>
10802
10803 * string/test-memcmp.c: Avoid unncessary #defines.
10804 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10805
093ecf92
LD
108062011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10807
10808 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10809 Use new sse2 version for core i3 - i7 as it's faster
10810 than sse42 version.
10811 (bit_Prefer_PMINUB_for_stringop): New.
10812 * sysdeps/x86_64/rawmemchr.S: Update.
10813 Replace with faster SSE2 version.
10814 * sysdeps/x86_64/memrchr.S: New file.
10815 * sysdeps/x86_64/memchr.S: Update.
10816 Replace with faster SSE2 version.
10817
fde56e5c
MP
108182011-09-12 Marek Polacek <mpolacek@redhat.com>
10819
10820 * elf/dl-load.c (lose): Add cast to avoid warning.
10821
21fd49a9
UD
108222011-10-07 Ulrich Drepper <drepper@gmail.com>
10823
5a06e643
UD
10824 * po/ca.po: Update from translation team.
10825
684ae515
UD
10826 * inet/getnetgrent_r.c: Hook up nscd.
10827 * nscd/Makefile (routines): Add nscd_netgroup.
10828 (nscd-modules): Add netgroupcache.
10829 (CFLAGS-netgroupcache.c): Define.
10830 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10831 (cache_search): Add const to second parameter.
10832 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10833 INNETGR.
10834 (dbs): Add netgrdb entry.
10835 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10836 (verify_persistent_db): Handle netgrdb.
10837 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10838 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10839 GETFDNETGR.
10840 (netgroup_response_header): Define.
10841 (innetgroup_response_header): Define.
10842 (datahead): Add netgroup_response_header and innetgroup_response_header
10843 elements.
10844 * nscd/nscd.conf: Add entries for netgroup cache.
10845 * nscd/nscd.h (dbtype): Add netgrdb.
10846 (_PATH_NSCD_NETGROUP_DB): Define.
10847 (netgroup_iov_disabled): Declare.
10848 (xmalloc, xcalloc, xrealloc): Move declarations here.
10849 (cache_search): Adjust prototype.
10850 Add netgroup-related prototypes.
10851 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10852 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10853 (__nscd_innetgr): Declare.
10854 * nscd/selinux.c (perms): Use access_vector_t as element type and
10855 add netgroup-related initializers.
10856 * nscd/netgroupcache.c: New file.
10857 * nscd/nscd_netgroup.c: New file.
10858 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10859 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10860 For four parameters use innetgr.
10861 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10862 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10863 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10864 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10865
21fd49a9
UD
10866 * nscd/connections.c (register_traced_file): Don't register file
10867 for disabled databases.
10868
054c0457
UD
108692011-10-06 Ulrich Drepper <drepper@gmail.com>
10870
32b63198
UD
10871 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10872
054c0457
UD
10873 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10874 from tree and freeing node.
10875
64031225
JO
108762011-09-25 Jiri Olsa <jolsa@redhat.com>
10877
10878 * nss/nsswitch.c (__nss_database_lookup): Handle
10879 nss_parse_service_list out of memory case.
10880
0490345c
JO
108812011-09-15 Jiri Olsa <jolsa@redhat.com>
10882
10883 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10884 out of memory case.
10885
3a62d00d
AS
108862011-10-04 Andreas Schwab <schwab@redhat.com>
10887
10888 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10889 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10890 pass it down.
10891 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10892 elf_machine_rela, elf_machine_lazy_rel.
10893 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10894 (ELF_DYNAMIC_DO_REL): Likewise.
10895 (ELF_DYNAMIC_DO_RELA): Likewise.
10896 (ELF_DYNAMIC_RELOCATE): Likewise.
10897 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10898 to ELF_DYNAMIC_DO_REL.
10899 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10900 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10901 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10902 elf_machine_rela.
10903 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10904 skip_ifunc, don't call ifunc function if non-zero.
10905 (elf_machine_rela): Likewise.
10906 (elf_machine_lazy_rel): Likewise.
10907 (elf_machine_lazy_rela): Likewise.
10908 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10909 (elf_machine_lazy_rel): Likewise.
10910 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10911 Likewise.
10912 (elf_machine_lazy_rel): Likewise.
10913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10914 Likewise.
10915 (elf_machine_lazy_rel): Likewise.
10916 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10917 (elf_machine_lazy_rel): Likewise.
10918 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10919 (elf_machine_lazy_rel): Likewise.
10920 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10921 (elf_machine_lazy_rel): Likewise.
10922 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10923 (elf_machine_lazy_rel): Likewise.
10924 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10925 (elf_machine_lazy_rel): Likewise.
10926 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10927 (elf_machine_lazy_rel): Likewise.
10928
68577918
UD
109292011-09-28 Ulrich Drepper <drepper@gmail.com>
10930
10931 * nss/nss_files/files-init.c (_nss_files_init): Use static
10932 initialization for all the *_traced_file variables.
10933
68822d74
AS
109342011-09-28 Andreas Schwab <schwab@redhat.com>
10935
10936 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10937
2056100b
RM
109382011-09-27 Roland McGrath <roland@hack.frob.com>
10939
10940 [BZ #13226]
10941 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10942
32c76b63
AS
109432011-09-27 Andreas Schwab <schwab@redhat.com>
10944
10945 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10946 Reread the line before reparsing it.
10947
bf972c9d
AS
109482011-09-26 Andreas Schwab <schwab@redhat.com>
10949
10950 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10951
e057a1b5
JM
109522011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10953 Maxim Kuvyrkov <maxim@codesourcery.com>
10954 Joseph Myers <joseph@codesourcery.com>
10955
10956 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10957 if needed for __stack_chk_guard.
10958
bc7e1c36
RM
109592011-09-19 Roland McGrath <roland@hack.frob.com>
10960
ecb1482f
RM
10961 * sysdeps/posix/spawni.c (script_execute): Always define it.
10962 It will be optimized away if unused.
10963 (maybe_script_execute): New function.
10964 (__spawni): Call it.
10965
bc7e1c36
RM
10966 * Makerules: Don't include tls.make.
10967 (config-tls): Always set to thread.
10968 * tls.make.c: File removed.
10969
1c3b002b
MF
109702011-09-19 Mike Frysinger <vapier@gentoo.org>
10971
10972 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10973 * config.make.in (CPPFLAGS-config): New substituted variable.
10974
2840865d
UD
109752011-09-15 Ulrich Drepper <drepper@gmail.com>
10976
88738eb6
UD
10977 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10978
cbf645a6 10979 [BZ #13192]
2840865d
UD
10980 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10981 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10982
b402e91a
RM
109832011-09-15 Roland McGrath <roland@hack.frob.com>
10984
10985 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10986 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10987 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10988 (CALL_FAIL): Likewise.
10989 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10990 (CALL_FAIL): Macro removed.
10991 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10992
4c1a1f71
UD
109932011-09-15 Ulrich Drepper <drepper@gmail.com>
10994
10995 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10996 for __FINITE_MATH_ONLY__ == 1.
10997
edc121be
AS
109982011-09-15 Andreas Schwab <schwab@redhat.com>
10999
11000 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11001 __ieee754_sqrt instead of sqrt.
11002 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11003 __ieee754_sqrtf instead of sqrtf.
11004 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11005 __floorf instead of floorf.
11006 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11007 __floorf, __truncf instead of floorf, truncf.
11008
cd205654
UD
110092011-09-14 Ulrich Drepper <drepper@gmail.com>
11010
ee4d0315
UD
11011 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11012
cd205654
UD
11013 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11014 __extern_always_inline.
11015 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11016 32-bit.
11017
48b67d71
AS
110182011-09-14 Andreas Schwab <schwab@redhat.com>
11019
11020 * elf/rtld.c (dl_main): Also relocate in dependency order when
11021 doing symbol dependency testing.
11022
1ae12c75
AS
110232011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11024
11025 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11026 Always define `refsym'.
11027
995a80df
AS
110282011-09-13 Andreas Schwab <schwab@redhat.com>
11029
e529793b
AS
11030 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11031 (__FD_ELT): Renamed from __FDELT.
11032 * misc/bits/select2.h (__FD_ELT): Likewise.
11033 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11034 __FD_MASK instead of __FDELT, __FDMASK.
11035 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11036 Likewise.
11037 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11038 Likewise.
11039
52d4fef8
AS
11040 * elf/Makefile (gen-ldd): Fix pattern.
11041
995a80df
AS
11042 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11043 (init_tls): Likewise.
11044
8682f8b0
UD
110452011-09-12 Ulrich Drepper <drepper@gmail.com>
11046
11047 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11048
de82006d
AS
110492011-09-12 Andreas Schwab <schwab@redhat.com>
11050
a7c8e6a1
AS
11051 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11052 `struct cmsghdr *' instead of `void *'.
11053 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11054 Likewise.
11055
0f31fe77
AS
110562011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11057
11058 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11059 if non-absolute.
11060 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11061 ldd_rewrite_script.
0f31fe77 11062
32b4c839
UD
110632011-09-11 Ulrich Drepper <drepper@gmail.com>
11064
83cd1420
UD
11065 * configure.in: Remove --with-tls option.
11066 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11067 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11068 out in case it is missing.
11069 * sysdeps/ia64/elf/configure.in: Likewise.
11070 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11071 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11072 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11073 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11074 * sysdeps/sh/elf/configure.in: Likewise.
11075 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11076 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11077 * sysdeps/x86_64/elf/configure.in: Likewise.
11078 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11079 * sysdeps/mach/hurd/tls.h: Likewise.
11080
633f745d
UD
11081 [BZ #13067]
11082 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11083
f318beb8
UD
11084 [BZ #13090]
11085 * configure.in: Fix use of AC_INIT.
11086
32b4c839
UD
11087 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11088
3ce1f295
UD
110892011-09-10 Ulrich Drepper <drepper@gmail.com>
11090
bb016596
UD
11091 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11092 __set_errno.
8e58439c
UD
11093 * malloc/hooks.c: Likewise.
11094
aebae053 11095 [BZ #11929]
02d46fc4
UD
11096 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11097 variables statically.
11098 (narenas): Initialize.
11099 (list_lock): Initialize.
bb016596
UD
11100 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11101 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11102 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11103 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11104 Add initializers to main_arena and mp_.
11105 (malloc_state): Remove pagesize member. Change all users to use
11106 GLRO(dl_pagesize).
11107
11108 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11109 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11110 is always initialized.
11111
22a89187
UD
11112 * malloc/malloc.c: Removed unused configurations and dead code.
11113 * malloc/arena.c: Likewise.
11114 * malloc/hooks.c: Likewise.
02d46fc4 11115 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11116
d063d164
UD
11117 * include/tls.h: Removed. USE___THREAD must always be defined.
11118 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11119 * elf/dl-libc.c: Likewise.
11120 * elf/dl-tsd.c: Likewise.
11121 * include/errno.h: Likewise.
11122 * include/netdb.h: Likewise.
11123 * include/resolv.h: Likewise.
11124 * inet/herrno-loc.c: Likewise.
11125 * inet/herrno.c: Likewise.
11126 * malloc/arena.c: Likewise.
11127 * malloc/hooks.c: Likewise.
11128 * malloc/malloc.c: Likewise.
11129 * resolv/res-state.c: Likewise.
11130 * resolv/res_libc.c: Likewise.
11131 * sysdeps/i386/dl-machine.h: Likewise.
11132 * sysdeps/ia64/dl-machine.h: Likewise.
11133 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11134 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11135 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11136 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11137 * sysdeps/sh/dl-machine.h: Likewise.
11138 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11139 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11140 * sysdeps/unix/i386/sysdep.S: Likewise.
11141 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11142 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11143 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11144 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11145 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11146 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11147 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11148 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11149 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11151 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11152 * sysdeps/x86_64/dl-machine.h: Likewise.
11153 * tls.make.c: Likewise.
11154
3ce1f295
UD
11155 * configure.in: Remove --with-__thread option. Make tests for
11156 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11157 tls_model attribute fail if no support is available. Remove
11158 USE_IN_LIBIO.
11159 * Makeconfig: Adjust for dropped configure option. All features are
11160 now mandatory.
11161 * Makerules: Likewise.
11162 * Versions.def: Likewise.
11163 * argp/argp-fmtstream.c: Likewise.
11164 * argp/argp-fmtstream.h: Likewise.
11165 * argp/argp-help.c: Likewise.
11166 * assert/assert.c: Likewise.
11167 * config.h.in: Likewise.
11168 * config.make.in: Likewise.
11169 * configure: Likewise.
11170 * configure.in: Likewise.
11171 * csu/Versions: Likewise.
11172 * csu/init.c: Likewise.
11173 * elf/tst-audit2.c: Likewise.
11174 * elf/tst-tls10.c: Likewise.
11175 * elf/tst-tls10.h: Likewise.
11176 * elf/tst-tls11.c: Likewise.
11177 * elf/tst-tls12.c: Likewise.
11178 * elf/tst-tls14.c: Likewise.
11179 * elf/tst-tlsmod11.c: Likewise.
11180 * elf/tst-tlsmod12.c: Likewise.
11181 * elf/tst-tlsmod13.c: Likewise.
11182 * elf/tst-tlsmod13a.c: Likewise.
11183 * elf/tst-tlsmod14a.c: Likewise.
11184 * elf/tst-tlsmod15b.c: Likewise.
11185 * elf/tst-tlsmod16a.c: Likewise.
11186 * elf/tst-tlsmod16b.c: Likewise.
11187 * elf/tst-tlsmod7.c: Likewise.
11188 * elf/tst-tlsmod8.c: Likewise.
11189 * elf/tst-tlsmod9.c: Likewise.
11190 * gmon/gmon.c: Likewise.
11191 * grp/fgetgrent_r.c: Likewise.
11192 * grp/putgrent.c: Likewise.
11193 * hurd/fopenport.c: Likewise.
11194 * include/libc-symbols.h: Likewise.
11195 * include/tls.h: Likewise.
11196 * intl/gettextP.h: Likewise.
11197 * intl/loadinfo.h: Likewise.
11198 * locale/global-locale.c: Likewise.
11199 * locale/localeinfo.h: Likewise.
11200 * mach/devstream.c: Likewise.
11201 * malloc/arena.c: Likewise.
11202 * malloc/set-freeres.c: Likewise.
11203 * misc/err.c: Likewise.
11204 * misc/getttyent.c: Likewise.
11205 * misc/mntent_r.c: Likewise.
11206 * posix/getopt.c: Likewise.
11207 * posix/wordexp.c: Likewise.
11208 * pwd/fgetpwent_r.c: Likewise.
11209 * resolv/Versions: Likewise.
11210 * resolv/res_hconf.c: Likewise.
11211 * shadow/fgetspent_r.c: Likewise.
11212 * shadow/putspent.c: Likewise.
11213 * stdio-common/printf_fphex.c: Likewise.
11214 * stdio-common/tmpfile.c: Likewise.
11215 * stdlib/abort.c: Likewise.
11216 * stdlib/fmtmsg.c: Likewise.
11217 * sunrpc/auth_unix.c: Likewise.
11218 * sunrpc/clnt_perr.c: Likewise.
11219 * sunrpc/clnt_tcp.c: Likewise.
11220 * sunrpc/clnt_udp.c: Likewise.
11221 * sunrpc/clnt_unix.c: Likewise.
11222 * sunrpc/openchild.c: Likewise.
11223 * sunrpc/svc_simple.c: Likewise.
11224 * sunrpc/svc_tcp.c: Likewise.
11225 * sunrpc/svc_udp.c: Likewise.
11226 * sunrpc/svc_unix.c: Likewise.
11227 * sunrpc/xdr.c: Likewise.
11228 * sunrpc/xdr_array.c: Likewise.
11229 * sunrpc/xdr_rec.c: Likewise.
11230 * sunrpc/xdr_ref.c: Likewise.
11231 * sunrpc/xdr_stdio.c: Likewise.
11232
1248c1c4
PB
112332011-09-09 Ulrich Drepper <drepper@gmail.com>
11234
11235 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11236
112372011-07-03 Andreas Jaeger <aj@suse.de>
11238
11239 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11240 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11241 regenerate with gen-libm-tests.pl.
11242
112432010-05-12 Petr Baudis <pasky@suse.cz>
11244
11245 [BZ #11589]
11246 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11247 around j0() zero points by switching to j1().
11248 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11252
f22e1074
UD
112532011-09-09 Ulrich Drepper <drepper@gmail.com>
11254
f19009c1
UD
11255 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11256 instead of 0.
11257 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11258 instead of 0. .
11259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11260 Patch in part by Pavel Roskin <proski@gnu.org>.
11261
3f8cc204
UD
11262 [BZ #13138]
11263 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11264 realloc.
11265 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11266 Free memory block if necessary.
11267
f22e1074
UD
11268 [BZ #12847]
11269 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11270 be NULL. Don't lock in this case.
11271
0a2349f9
RM
112722011-09-09 Roland McGrath <roland@hack.frob.com>
11273
11274 * elf/elf.h (ELFOSABI_GNU): New macro.
11275 (ELFOSABI_LINUX): Define to that.
11276
f3cdd467
DZ
112772011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11278
11279 * string/strncat.c (strncat): Undef the symbol in case it has been
11280 defined in bits/string.h.
11281
74718d13
UD
112822011-09-09 Ulrich Drepper <drepper@gmail.com>
11283
633e9e0f
UD
11284 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11285
0a2349f9 11286 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11287 link map.
11288
f9924780
AJ
112892011-08-17 Andreas Jaeger <aj@suse.de>
11290
11291 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11292
7f5517aa
PP
112932011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11294 Ian Lance Taylor <iant@google.com>
11295
11296 * math/libm-test.inc (lround_test): New testcase.
11297 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11298
762011fe
UD
112992011-09-08 Ulrich Drepper <drepper@gmail.com>
11300
92963737
UD
11301 * Makefile: Remove support for automatic cvs check-ins.
11302 * Makerules: Likewise.
11303 * config.make.in: Likewise.
11304 * configure.in: Likewise.
11305 * intl/Makefile: Likewise.
11306 * locale/Makefile: Likewise.
11307 * po/Makefile: Likewise.
11308 * posix/Makefile: Likewise.
11309 * sysdeps/gnu/Makefile: Likewise.
11310 * sysdeps/mach/hurd/Makefile: Likewise.
11311 * sysdeps/sparc/sparc32/Makefile: Likewise.
11312
b0727fd8
JS
11313 [BZ #13118]
11314 * posix/Makefile (bug-regex32-ENV): Define.
11315 Patch by John Stanley <jpsinthemix@verizon.net>.
11316
a0f33f99
UD
11317 * misc/Makefile (headers): Add bits/select2.h.
11318 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11319 * misc/bits/select2.h: New file.
11320 * include/bits/select2.h: New file.
11321 * debug/Makefile (routines): Add fdelt_chk.
11322 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11323 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11324 FD_ISSET.
11325 * debug/fdelt_chk.c: New file.
11326
762011fe
UD
11327 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11328 * wcsmbs/test-wmemcmp.c: Likewise.
11329 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11330 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11331
113322011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11333
11334 * string/Makefile (strop-tests): Add memcmp.
11335 * string/test-wmemcmp.c: New file.
11336 * string/test-memcmp.c: Add wmemcmp support.
11337
7f513ec8
RM
113382011-09-08 Roland McGrath <roland@hack.frob.com>
11339
0442afb4
RM
11340 [BZ #13153]
11341 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11342 2011-07-19 change.
11343
7f513ec8
RM
11344 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11345 garbage value in a __mach_port_mod_refs call in the cases of the
11346 task-self and thread-self ports.
11347
a12b2239
ST
113482011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11349
11350 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11351
610f9ab4
AS
113522011-09-08 Andreas Schwab <schwab@redhat.com>
11353
7f513ec8 11354 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11355
48882a1a
LD
113562011-09-07 Ulrich Drepper <drepper@gmail.com>
11357
b49865be
UD
11358 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11359
fdc86bc9
UD
11360 * elf/dl-libc.c (dlerror_run): Pass back error code from
11361 dl_catch_error.
11362
c966526a
UD
11363 [BZ #13123]
11364 * elf/dl-load.c (lose): Free l_origin if it is valid.
11365
48882a1a
LD
11366 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11367 names.
11368 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11369 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11370 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11371 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11372 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11373 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11374
77a2a8b4
AZ
113752011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11376
11377 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11378 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11379 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11380 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11381 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11382 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11383 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11384 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11385 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11386 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11387
24f579d8
AM
113882011-08-15 Alan Modra <amodra@gmail.com>
11389
11390 [BZ #13092]
11391 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11392 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11393 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11394 ppc_mcount to static-only-routines.
11395 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11396 __mcount_internal.
11397 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11398 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11399
3d4837df
UD
114002011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11401
11402 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11403 for finite and infinity parameters.
11404
22700377
WS
114052011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11406
11407 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11408 and add nop instructions for throughput optimization.
11409 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11410
5025581e
WS
114112011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11412
11413 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11414 aligned copy for power7 with vector-scalar instructions.
11415 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11416
08a300c9
L
114172011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11418
11419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11420 AVX check.
11421
59178ef9
AS
114222011-09-07 Andreas Schwab <schwab@redhat.com>
11423
11424 [BZ #13144]
11425 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11426 last change.
11427
e38ba7ab
UD
114282011-09-07 Ulrich Drepper <drepper@gmail.com>
11429
11430 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11431 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11432 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11433 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11434 clock_gettime.
11435
d53a73ac
UD
114362011-09-06 Ulrich Drepper <drepper@gmail.com>
11437
fc8bffcc
UD
11438 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11439 Forgot to demangle the pointer.
11440
ceaa0c5d
UD
11441 * sysdeps/i386/sysdep.h: Define atom_text_section.
11442 * sysdeps/x86_64/sysdep.h: Likewise.
11443 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11444 section with atom_text_section.
11445 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11446 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11447 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11448 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11449 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11450
a77d3c17
UD
11451 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11452 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11453 already be defined. Change to take two parameters and don't assign
11454 result to variable. Adjust all users.
11455 Define INTERNAL_GETTIME if not already defined.
11456 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11457 call.
11458 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11459 HAVE_CLOCK_GETTIME_VSYSCALL.
11460 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11461
d53a73ac
UD
11462 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11463 gettimeofday vsyscall, just use time.
11464
a8f84144
AS
114652011-09-06 Andreas Schwab <schwab@redhat.com>
11466
11467 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11468 <errno.h>.
11469
ef606249
UD
114702011-09-06 Ulrich Drepper <drepper@gmail.com>
11471
11472 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11473 syscall on x86-64.
11474 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11475 syscall.
11476 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11477 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11478 syscall if possible.
11479
6585cb60
UD
114802011-09-05 Ulrich Drepper <drepper@gmail.com>
11481
11482 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11483 e_ident. Don't pass to find_mapsXX.
11484 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11485
a5f524e4
LD
114862011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11487
11488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11489 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11490 * sysdeps/x86_64/multiarch/strchr.S: Update.
11491 Check bit_slow_BSF bit.
11492 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11493 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11494 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11495
554881ef
UD
114962011-09-05 Ulrich Drepper <drepper@gmail.com>
11497
d96de963
UD
11498 [BZ #13134]
11499 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11500 before glibc 2.15.
11501 (tryshell): Define.
11502 (__spawni): Change last parameter to be flag. Test
11503 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11504 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11505 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11506 * posix/spawni.c: Likewise.
11507 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11508 * posix/spawnp.c: Likewise. Change normal version to use
11509 SPAWN_XFLAGS_USE_PATH.
11510 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11511 SPAWN_XFLAGS_TRY_SHELL.
11512
d48e5868
UD
11513 [BZ #13150]
11514 * posix/glob.h: Remove gcc 1.x support.
11515
554881ef
UD
11516 [BZ #13068]
11517 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11518
693fb948
LD
115192011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11520
11521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11522 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11523 strrchr-sse2-bsf
11524 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11525 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11526 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11527 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11528 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11529 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11530
1b48c537
UD
115312011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11532
49d42c37
UD
11533 * sysdeps/x86_64/wcscmp.S: New file.
11534
1b48c537
UD
11535 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11536 wcscmp-c wcscmp-sse2
11537 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11538 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11539 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11540 * wcsmbs/wcscmp.c: Allow renaming.
11541
15c95c5d
DM
115422011-09-05 David S. Miller <davem@davemloft.net>
11543
11544 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11545 stack slot, rather than the struct return pointer slot.
11546 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11547 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11549 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11550
2f0ad8f3
UD
115512011-09-05 Ulrich Drepper <drepper@gmail.com>
11552
d88ae418
UD
11553 * po/ja.po: Update from translation team.
11554
2f0ad8f3
UD
11555 [BZ #13144]
11556 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11557 kernel in 64-bit binaries.
11558
5f4318d1
DM
115592011-09-01 David S. Miller <davem@davemloft.net>
11560
11561 * elf/elf.h (HWCAP_SPARC_*): Move to..
11562 * sysdeps/sparc/sysdep.h: this new file and add new values.
11563 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11564 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11565 _DL_HWCAP_COUNT to 24.
11566 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11567 entries.
11568 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11569 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11570 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11571 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11572 instead of magic constants.
11573 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11574
3ba57516
DM
115752011-08-31 David S. Miller <davem@davemloft.net>
11576
11577 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11578 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11579 Reimplement to do errno handling inline.
11580 (SYSCALL_ERROR_HANDLER): New macro.
11581 (__SYSCALL_STRING): Do not do errno handling in asm.
11582 (__CLONE_SYSCALL_STRING): Delete.
11583 (__INTERNAL_SYSCALL_STRING): Delete.
11584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11585 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11586 (PSEUDO): Reimplement to do errno handling inline.
11587 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11588 (SYSCALL_ERROR_HANDLER): New macro.
11589 (__SYSCALL_STRING): Do not do errno handling in asm.
11590 (__CLONE_SYSCALL_STRING): Delete.
11591 (__INTERNAL_SYSCALL_STRING): Delete.
11592 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11593 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11594 i386.
11595 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11596 (inline_syscall*): Add 'err' argument.
11597 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11598 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11599 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11600 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11601
11602 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11603 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11604
2bc17433
AS
116052011-08-30 Andreas Schwab <schwab@redhat.com>
11606
11607 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11608
fbeb5f4d
JO
116092011-08-29 Jiri Olsa <jolsa@redhat.com>
11610
11611 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11612 directive.
11613
ad69cc26
DM
116142011-08-24 David S. Miller <davem@davemloft.net>
11615
11616 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11617
39dd69df
AS
116182011-08-24 Andreas Schwab <schwab@redhat.com>
11619
11620 * elf/Makefile: Add rules to build and run unload8 test.
11621 * elf/unload8.c: New file.
11622 * elf/unload8mod1.c: New file.
11623 * elf/unload8mod1x.c: New file.
11624 * elf/unload8mod2.c: New file.
11625 * elf/unload8mod3.c: New file.
11626
11627 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11628 it wasn't used.
11629
2c0b250a
DM
116302011-08-23 David S. Miller <davem@davemloft.net>
11631
11632 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11633 subtract stack bias.
11634 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11635 %sp not %fp in calculations.
11636 (_JMPBUF_UNWINDS_ADJ): Likewise.
11637
22044b48
DM
11638 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11639 (aio_suspend): Call it to force an exception region around the
11640 AIO_MISC_WAIT() invocation.
11641
2cae4995
AS
116422011-08-23 Andreas Schwab <schwab@redhat.com>
11643
11644 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11645 backslash.
11646
873a772e
AJ
116472011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11648
11649 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11650 protection macro.
11651 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11652 and <dl-machine.h>.
11653 (Elf64_FuncDesc): Remove.
11654
25ad0df1
DM
116552011-08-22 David S. Miller <davem@davemloft.net>
11656
11657 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11658 sigaltstack check, add missing cfi directives.
11659 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11660 missing cfi directives, and sigaltstack handling.
11661
e888bcbe
AS
116622011-08-16 Andreas Schwab <schwab@redhat.com>
11663
11664 [BZ #11724]
11665 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11666 object is seen twice.
11667 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11668
11669 * elf/Makefile (distribute): Add tst-initorder2.c.
11670 (tests): Add tst-initorder2.
11671 (modules-names): Add tst-initorder2a tst-initorder2b
11672 tst-initorder2c tst-initorder2d. Add rules to build them.
11673 ($(objpfx)tst-initorder2.out): New rule.
11674 * elf/tst-initorder2.c: New file.
11675 * elf/tst-initorder2.exp: New file.
11676
87162f46
AS
116772011-08-22 Andreas Schwab <schwab@redhat.com>
11678
70538b7f
AS
11679 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11680
f55ffe58
AS
11681 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11682 dependencies back to end of function.
11683
87162f46
AS
11684 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11685 $(elfobjdir)/ld.so.
11686
91b392a4
UD
116872011-08-21 Ulrich Drepper <drepper@gmail.com>
11688
11689 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11690 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11691 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11692 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11693 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11694 of __vdso_gettimeofday.
11695 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11696 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11697 attribute_hidden.
11698 (_libc_vdso_platform_setup): Remove initialization of
11699 __vdso_gettimeofday and __vdso_time.
11700
5c43483f
UD
117012011-08-20 Ulrich Drepper <drepper@gmail.com>
11702
775a77e7
UD
11703 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11704 and fgetc_unlocked.
11705 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11706 getc_unlocked.
89f447ed 11707
49c74ba9
UD
11708 * elf/dl-open.c (add_to_global): Report additions to the global scope
11709 for LD_DEBUG=scopes.
11710 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11711 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11712
5c43483f
UD
11713 [BZ #13114]
11714 * stdio-common/Makefile (tests): Add bug24.
11715 * stdio-common/bug24.c: New file.
11716
a101b025
AJ
117172011-08-19 Andreas Jaeger <aj@suse.de>
11718
11719 [BZ #13114]
11720 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11721 non-existant file when using close-on-exec mode.
11722
c88f1766
UD
117232011-08-20 Ulrich Drepper <drepper@gmail.com>
11724
0276a718
UD
11725 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11726 the very first instruction.
11727
c88f1766
UD
11728 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11729 the CFI state in the end.
11730 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11731 inclusion of dl-trampoline.h.
11732 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11733
51ccffa0
AS
117342011-08-19 Andreas Schwab <schwab@redhat.com>
11735
94d7165f
AS
11736 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11737 expectations for long double.
11738
51ccffa0
AS
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11740 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11741
fd708658 117422011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11743
11744 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11745 artificual limit depends upon the system page size.
11746
44f0a71e
UD
117472011-08-17 Ulrich Drepper <drepper@gmail.com>
11748
11749 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11750 * resolv/Makefile: Define CFLAGS-libresolv.
11751
8de79a24
AS
117522011-08-17 Andreas Schwab <schwab@redhat.com>
11753
11754 * nss/makedb.c (compute_tables): Make variables used in nested
11755 function static.
11756
27724598
UD
117572011-08-17 Ulrich Drepper <drepper@gmail.com>
11758
c5305d88
UD
11759 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11760 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11761 if buffer was too small.
11762
27724598
UD
11763 * elf/pldd.c (main): Attach to all threads in the process.
11764 Rewrite /proc handling to use *at functions.
11765
076fe015
UD
117662011-08-16 Ulrich Drepper <drepper@gmail.com>
11767
174baab3
UD
11768 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11769 specifies first scope to show.
11770 (dl_open_worker): Update callers. Move printing scope of new
11771 object to before the relocation.
44f0a71e 11772 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
11773 * sysdeps/generic/ldsodefs.h: Update declaration.
11774
076fe015
UD
11775 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11776 string for the scope number.
11777
a60df2c3
UD
117782011-08-14 Ulrich Drepper <drepper@gmail.com>
11779
11780 * nscd/servicescache.c (cache_addserv): Make sure written is always
11781 initialized.
11782
5e4287d1
RM
117832011-08-14 Roland McGrath <roland@hack.frob.com>
11784
85ae0589
RM
11785 * sysdeps/i386/i486/bits/atomic.h
11786 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11787 statement expression, so as to suppress "set but not used" warning.
11788 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11789
69f63097
RM
11790 * string/strncat.c (STRNCAT): Use prototype definition.
11791
675456ef
RM
11792 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11793 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11794 -Iprograms here.
11795 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11796 (localedef-modules): Add localedef.
11797 (locale-modules): Add locale.
11798
5e4287d1
RM
11799 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11800 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11801 to avoid a warning.
11802
9c96ff23
DM
118032011-08-14 David S. Miller <davem@davemloft.net>
11804
11805 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11806 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11807
f9ddf089
UD
118082011-08-13 Ulrich Drepper <drepper@gmail.com>
11809
44f0a71e 11810 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
11811 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11812 * elf/rtld.c (dl_main): Set l_name of vDSO.
11813 Call _dl_show_scope when DL_DEBUG_SCOPES.
11814 (process_dl_debug): Recognize scopes flag and also set it for all.
11815 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11816 Declare _dl_show_scope.
11817
1dc27704
UD
11818 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11819 (do_dlopen): Pass caller_dlopen to dl_open.
11820 (__libc_dlopen_mode): Initialize caller_dlopen.
11821
f9ddf089
UD
11822 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11823 of libc. Make tolower call locale-independent. Optimize a bit by
11824 using isdigit instead of isalnum.
11825 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11826
9ac533d3
UD
118272011-08-12 Ulrich Drepper <drepper@gmail.com>
11828
11829 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11830 was a dependency or dynamically loaded.
11831
89edf2e9
UD
118322011-08-11 Ulrich Drepper <drepper@gmail.com>
11833
8e999d29
UD
11834 * intl/l10nflist.c: Allow architecture-specific pop function.
11835 * sysdeps/x86_64/l10nflist.c: New file.
11836
89edf2e9
UD
11837 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11838 classification.
11839
14d96785
AS
118402011-08-10 Andreas Schwab <schwab@redhat.com>
11841
11842 * include/dirent.h: Add libc_hidden_proto for scandirat and
11843 scandirat64. Don't declare __scandirat64.
11844 * dirent/scandirat.c: Add libc_hidden_def.
11845 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11846 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11847
6761ac04
DM
118482011-08-10 David S. Miller <davem@davemloft.net>
11849
11850 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11851 enum.
11852 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11853 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11854 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11855
c55fbd1e
UD
118562011-08-09 Ulrich Drepper <drepper@gmail.com>
11857
11858 * Versions.def [libc]: Add GLIBC_2.15.
11859 * dirent/Makefile (routines): Add scandirat and scandirat64.
11860 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11861 GLIBC_2.15.
11862 * dirent/dirent.h: Declare scandirat and scandirat64.
11863 * dirent/scandirat.c: New file.
11864 * dirent/scandirat64.c: New file.
11865 * sysdeps/wordsize-64/scandirat.c: New file.
11866 * sysdeps/wordsize-64/scandirat64.c: New file.
11867 * dirent/opendir.c: Define opendirat.
11868 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11869 using scandirat.
11870 * dirent/scandir64.c: Adjust for scandir.c change.
11871 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11872 __scandirat64, and __scandir_cancel_handler.
11873 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11874 additional parameter and use openat instead of open (outside of ld.so).
11875 Add new __opendir as wrapper around __opendirat.
11876 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11877 here without requiring old scandirat implementation.
11878
879165f2
UD
118792011-08-08 Ulrich Drepper <drepper@gmail.com>
11880
11881 * dirent/scandir.c (cancel_handler): Renamed to
11882 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11883 defined. Adjust users.
11884 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11885 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11886
cb7e923b
UD
118872011-08-04 Ulrich Drepper <drepper@gmail.com>
11888
16292edd
UD
11889 * string/test-string.h (IMPL): Use __STRING to expand name and then
11890 stringify it.
11891
cb7e923b
UD
11892 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11893 of cleanups.
11894
cff82933
LD
118952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11896
11897 * string/Makefile: Update.
11898 (strop-tests): Append strncat.
11899 * string/test-wcscmp.c: New file.
11900 New comprehensive test for wcscmp.
11901 * string/test-strcmp.c: Update.
11902 (WIDE): New define.
11903
9be9bfcc
AS
119042011-07-22 Andreas Schwab <schwab@redhat.com>
11905
11906 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11907 line.
11908
2e96f1c7
AS
119092011-07-26 Andreas Schwab <schwab@redhat.com>
11910
11911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11912 encoding to ACE if AI_IDN.
11913
85188888
JJ
119142011-08-01 Jakub Jelinek <jakub@redhat.com>
11915
11916 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11917 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11918
5fa16e9b
LD
119192011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11920
11921 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11922 Fix overflow bug in strncat.
11923 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11924
11925 * string/test-strncat.c: Update.
11926 Add new tests for checking overflow bugs.
11927
119282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11929
11930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11931 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11932 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11933 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11934 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11935 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11936 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11937 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11938 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11939
11940 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11941 (USE_AS_STRCAT): Define.
11942 Add strcat and strncat support.
11943 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11944
8c1a459f
AS
119452011-07-25 Andreas Schwab <schwab@redhat.com>
11946
11947 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11948 __n bigger than INT_MAX+1.
11949 (__strncmp_g): Likewise.
11950
bba33c28
UD
119512011-07-23 Ulrich Drepper <drepper@gmail.com>
11952
798be72d
UD
11953 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11954 * libio/stido.h: Likewise.
11955
8accd4dc
UD
11956 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11957 (AF_NFC): Define.
11958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11959 (AF_NFC): Define.
11960
cbff0d96
UD
11961 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11962 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11963 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11964 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11965 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11966
9191c04a
UD
11967 [BZ #13021]
11968 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11969 installed.
11970
bba33c28
UD
11971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11972 typo.
11973 (_dl_x86_64_save_sse): Likewise.
11974
90f139dd
UD
119752011-07-22 Ulrich Drepper <drepper@gmail.com>
11976
1aae088a
UD
11977 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11978 OSXSAVE.
11979 (_dl_x86_64_save_sse): Likewise.
11980
8e2045f5
UD
11981 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11982
90f139dd
UD
11983 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11984
1d002f25
AS
119852011-07-21 Andreas Schwab <schwab@redhat.com>
11986
11987 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11988 change.
11989 (_dl_x86_64_save_sse): Use correct AVX check.
11990
21137f89
UD
119912011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11992
11993 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11994 bug in strncpy/strncat.
11995 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11996
a65c0b7a
UD
119972011-07-21 Ulrich Drepper <drepper@gmail.com>
11998
11999 * string/tester.c (test_strcat): Add tests for different alignments
12000 of source and destination.
12001 (test_strncat): Likewise.
12002
6986b98a
UD
120032011-07-20 Ulrich Drepper <drepper@gmail.com>
12004
90bb2039
UD
12005 [BZ #12852]
12006 * posix/glob.c (glob): Check passed in values before using them in
12007 expressions to avoid some overflows.
12008 (glob_in_dir): Likewise.
12009
5644ef54
UD
12010 [BZ #13007]
12011 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12012 check for AVX enablement so that we don't crash with old kernels and
12013 new hardware.
12014 * elf/tst-audit4.c: Add same checks here.
12015 * elf/tst-audit6.c: Likewise.
12016
12017 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12018
bfc9dc9b
AS
120192011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12020
12021 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12022
702e64bb
UD
120232011-07-20 Ulrich Drepper <drepper@gmail.com>
12024
12025 * po/cs.po: Update from translation team.
12026 * po/bg.po: Likewise.
12027
295e904f
MP
120282011-07-12 Marek Polacek <mpolacek@redhat.com>
12029
12030 * misc/sys/cdefs.h: Add support for const attribute.
12031 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12032 to gnu_dev_{major,minor,makedev} functions.
12033
3ff94596
MP
120342011-07-20 Marek Polacek <mpolacek@redhat.com>
12035
12036 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12037
28b59fca
AS
120382011-07-20 Andreas Schwab <schwab@redhat.com>
12039
12040 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12041 strlen results.
12042
19df733e
AK
120432011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12044
12045 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12046 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12047 register in order to avoid conflicts with the soft frame pointer
12048 being held in r11 when necessary.
12049 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12050 (INTERNAL_VSYSCALL_NCS): Likewise.
12051
c8835729
MP
120522011-07-14 Marek Polacek <mpolacek@redhat.com>
12053
12054 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12055 * elf/dl-fini.c (_dl_fini): Adjust caller.
12056 * elf/dl-close.c (_dl_close_worker): Likewise.
12057 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12058
b902330c
MP
120592011-07-15 Marek Polacek <mpolacek@redhat.com>
12060
8991e135
MP
12061 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12062 "aux_cache->nlibs < 0".
12063
b902330c
MP
12064 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12065 in the reload-count case.
12066
99710781
LD
120672011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12068
12069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12070 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12071 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12072 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12073 * sysdeps/x86_64/multiarch/strcat.S: New file.
12074 * sysdeps/x86_64/multiarch/strncat.S: New file.
12075 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12076 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12077 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12078 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12079 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12080 (USE_AS_STRCAT): Define.
12081 Add strcat and strncat support.
12082 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12083 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12084 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12085 * string/strncat.c: Update.
12086 (USE_AS_STRNCAT): Define.
12087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12088 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12089 and i7.
12090 * sysdeps/x86_64/multiarch/init-arch.h
12091 (bit_Prefer_PMINUB_for_stringop): New.
12092 (index_Prefer_PMINUB_for_stringop): Likewise.
12093 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12094 bit_Prefer_PMINUB_for_stringop.
12095
7dc6bd90
UD
120962011-07-19 Ulrich Drepper <drepper@gmail.com>
12097
12098 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12099 buffer64.
12100 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12101 of casting of buffer.
12102 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12103 buffer32 and buffer64.
12104 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12105 writes instead of casting of buffer.
12106 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12107 buffer32.
12108 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12109 casting of buffer.
12110
e0e72284
AS
121112011-07-19 Andreas Schwab <schwab@redhat.com>
12112
12113 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12114
feb1eb0b
UD
121152011-07-19 Ulrich Drepper <drepper@gmail.com>
12116
12117 * nscd/nscd.c (termination_handler): Don't do anything for a database
12118 if it has not yet been initialized.
12119
298711ff
UD
121202011-07-18 Ulrich Drepper <drepper@gmail.com>
12121
12122 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12123
121242011-07-15 Marek Polacek <mpolacek@redhat.com>
12125
12126 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12127
f9d68389
UD
121282011-07-18 Ulrich Drepper <drepper@gmail.com>
12129
12130 * po/nl.po: Update from translation team.
12131 * po/sv.po: Likewise.
12132
db290cf5
RM
121332011-07-16 Roland McGrath <roland@hack.frob.com>
12134
12135 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12136 now disallowed by GCC.
5c550700 12137
fd5e21c7
RM
12138 * configure.in (use-default-link): Default to yes if a test -shared
12139 link meets our qualifications.
12140 * configure: Regenerated.
12141
5c550700
RM
12142 * config.make.in (output-format): New variable.
12143 * configure.in: Check for ld --print-output-format support.
12144 * configure: Regenerated.
12145 * Makerules ($(common-objpfx)format.lds)
12146 [$(output-format) != unknown]: Just use $(output-format),
12147 instead of the linker-script munging.
12148
9fa2c032
RM
121492011-07-14 Roland McGrath <roland@hack.frob.com>
12150
a6928d51
RM
12151 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12152 of $(common-objpfx)shlib.lds.
12153 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12154
661607b3
RM
12155 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12156 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12157
9fa2c032
RM
12158 * configure.in (-z relro check): Adjust test code to add a large
12159 writable data section after it.
12160 * configure: Regenerated.
12161
defe9061
RM
121622011-07-11 Roland McGrath <roland@hack.frob.com>
12163
12164 * configure.in (-z relro check): Fix test code to make the variable
12165 truly const.
12166 * configure: Regenerated.
12167
319b9ad4
UD
121682011-07-11 Ulrich Drepper <drepper@gmail.com>
12169
12170 * nscd/nscd.h (struct traced_file): Define.
12171 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12172 elements. Add traced_files.
12173 (inotify_fd): Declare.
12174 (register_traced_file): Declare.
12175 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12176 (inotify_fd): Export.
12177 (resolv_conf_descr): Remove.
12178 (nscd_init): Move inotify descriptor creation to main.
12179 Don't register files for notification here.
12180 (register_traced_file): New function.
12181 (invalidate_cache): Don't use reset_res to determine whether to call
12182 res_init, go through the list of registered files.
12183 (main_loop_poll): The inotify descriptors are now stored in the
12184 structures for the traced files.
12185 (main_loop_epoll): Likewise
12186 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12187 to __nss_disable_nscd.
12188 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12189 for a database anymore. Check the records for all the registered
12190 files instead.
12191 * nss/Makefile (libnss_files-routines): Add files-init.
12192 (libnss_db-routines): Add db-init.
12193 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12194 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12195 * nss/nss_db/db-init.c: New file.
12196 * nss/nss_files/files-init.c: New file.
12197 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12198 __nss_lookup_function.
12199 (__nss_lookup_function): Call nss_load_library.
12200 (nss_load_all_libraries): New function.
12201 (__nss_disable_nscd): Take parameter with callback function for files
12202 to register. Set is_nscd. Load all the DSOs for the NSS modules
12203 used for the cached services.
12204 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12205 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12206 options for features to all the files in nscd.
12207
12208 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12209
23bee3e8
RM
122102011-07-10 Roland McGrath <roland@hack.frob.com>
12211
12212 * csu/elf-init.c (__libc_csu_init): Comment typo.
12213
46a5b7f0
UD
122142011-07-09 Ulrich Drepper <drepper@gmail.com>
12215
12216 * po/pl.po: Update from translation team.
12217 * po/ja.po: Likewise.
12218 * po/ru.po: Likewise.
12219 * po/ko.po: Likewise.
12220 * po/fr.po: Likewise.
12221
d30cf5bb
RM
122222011-07-09 Roland McGrath <roland@hack.frob.com>
12223
113ddea4
RM
12224 * configure.in (.ctors/.dtors header and trailer check):
12225 Use an empirical test on a built program.
12226 * configure: Regenerated.
12227
574920b4
RM
12228 * configure.in (-z relro check): Use an empirical test on a built DSO.
12229 Detect, but do not require, on ia64.
12230 * configure: Regenerated.
12231
d30cf5bb
RM
12232 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12233 Update tests that use readelf to use $READELF instead.
12234 * configure: Regenerated.
12235
8538fdb3
UD
122362011-07-08 Ulrich Drepper <drepper@gmail.com>
12237
12238 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12239 if the result is not used.
12240
04d08991
AJ
122412011-07-05 Andreas Jaeger <aj@suse.de>
12242
12243 [BZ#9696]
12244 * stdlib/tst-strtod.c: Add testcase.
12245
de283087
AD
122462011-07-07 Ulrich Drepper <drepper@gmail.com>
12247
4e5f31c8 12248 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12249 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12250 The latter has a higher limit. Take additional parameter to pass to
12251 the new function.
12252 (__pathconf): Pass file to __statfs_link_max.
12253 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12254 __statfs_link_max.
12255 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12256 __statfs_link_max.
12257
de283087
AD
12258 [BZ #12868]
12259 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12260 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12261 Handle Lustre.
12262 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12263 (__statfs_filesize_max): Likewise.
12264 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12265
c75fa153
AJ
122662011-07-05 Andreas Jaeger <aj@suse.de>
12267
12268 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12269
1a544854
UD
122702011-07-06 Marek Polacek <mpolacek@redhat.com>
12271
12272 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12273 `status' variable.
12274 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12275 Likewise.
12276
6f0eec67
UD
122772011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12278
12279 * Makefile (strop-tests): Add strncat.
12280 * string/test-strncat.c: New file.
12281
aae30307
UD
122822011-06-30 Marek Polacek <mpolacek@redhat.com>
12283
12284 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12285
c0cfb5eb
UD
122862011-06-21 Andreas Jaeger <aj@suse.de>
12287
12288 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12289 Copy rule from iconvdata/Makefile.
12290
01636b21
UD
122912011-07-06 Ulrich Drepper <drepper@gmail.com>
12292
12293 [BZ #12922]
12294 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12295 but no long options are defined, just return 'W'.
12296
9895c8bc
UD
122972011-06-22 Marek Polacek <mpolacek@redhat.com>
12298
12299 [BZ #9696]
12300 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12301
5d4cf042
UD
123022011-07-06 Ulrich Drepper <drepper@gmail.com>
12303
12304 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12305 netgroups to read.
960e5535 12306 (innetgr): Likewise.
5d4cf042 12307
751eb97e
RM
123082011-07-05 Roland McGrath <roland@hack.frob.com>
12309
12310 * config.make.in (install_root): Default to $(DESTDIR).
12311
f15f1e45
UD
123122011-07-05 Ulrich Drepper <drepper@gmail.com>
12313
12314 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12315
4e34ac6a
RM
123162011-07-02 Roland McGrath <roland@hack.frob.com>
12317
5e9b6af4
RM
12318 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12319
84f9ea0f
RM
12320 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12321 containing directory rather than embedding absolute directory names.
12322
ea5ee9f7
RM
12323 * scripts/check-local-headers.sh: Rewritten using awk.
12324 Match by word, not by line. Print error messages for matches.
12325 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12326
1b74661a
RM
12327 * Makerules [shlib-lds-flags empty]:
12328 ($(common-objpfx)libc_pic.opts): New target.
12329 ($(common-objpfx)libc_pic.os.clean): New target.
12330 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12331
12332 * config.make.in (OBJCOPY): New variable.
12333 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12334 * configure: Regenerated.
12335
f781ef40
RM
12336 * config.make.in (use-default-link): New variable.
12337 * configure.in (use_default_link): Grok --with-default-link to set it.
12338 * configure: Regenerated.
12339 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12340 (shlib-lds, shlib-lds-flags): Define to empty.
12341
2d4fa81e
RM
12342 * Makerules (shlib-lds): New variable.
12343 (shlib-lds-flags): New variable.
12344 (build-shlib, build-moduile, build-module-asneeded): Use it.
12345 ($(common-objpfx)libc.so): Use $(shlib-lds).
12346 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12347 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12348
31fffa6b
RM
12349 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12350 DT_FLAGS/DT_FLAGS_1 with zero flags.
12351
4e34ac6a
RM
12352 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12353 linker script munging.
12354
fcfc776b
UD
123552011-07-02 Ulrich Drepper <drepper@gmail.com>
12356
12357 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12358 as 128-bit value.
12359 * crypt/sha512.c (sha512_process_block): Perform total addition using
12360 128-bit if possible.
12361 (__sha512_finish_ctx): Likewise.
12362 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12363 as 64-bit value.
12364 * crypt/sha256.c (SWAP64): Define.
12365 (sha256_process_block): Perform total addition using 64-bit if
12366 possible.
12367 (__sha256_finish_ctx): Likewise.
12368
99231d9a
UD
123692011-07-01 Ulrich Drepper <drepper@gmail.com>
12370
12371 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12372 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12373 * nscd/hstcache.c (cache_addhst): Likewise.
12374 * nscd/grpcache.c (cache_addgr): Likewise.
12375 * nscd/aicache.c (addhstaiX): Likewise
12376 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12377
445b4a53
TK
123782011-07-01 Thorsten Kukuk <kukuk@suse.de>
12379
12380 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12382 * nscd/hstcache.c (cache_addhst): Likewise.
12383 * nscd/grpcache.c (cache_addgr): Likewise.
12384 * nscd/aicache.c (addhstaiX): Likewise
12385
6d4d8e8e
AS
123862011-07-01 Andreas Schwab <schwab@redhat.com>
12387
12388 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12389 domain only when needed.
12390
89f654c5
AS
123912011-06-30 Andreas Schwab <schwab@redhat.com>
12392
12393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12394 is always restored.
12395
cf3b23ff
UD
123962011-06-29 Ulrich Drepper <drepper@gmail.com>
12397
12398 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12399 are re-adding the entry.
12400 * nscd/servicescache.c (cache_addserv): Likewise.
12401
751626f9
AJ
124022011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12403
12404 * sysdeps/generic/dl-irel.h: fix protection against multiple
12405 inclusions.
12406 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12407
9113ea1f
UD
124082011-06-28 Ulrich Drepper <drepper@gmail.com>
12409
5c0b8d90
UD
12410 [BZ #12935]
12411 * malloc/memusage.sh: Fix quoting in message.
12412 * debug/xtrace.sh: Likewise.
12413
9113ea1f
UD
12414 * configure.in: Remove support for --experimental-malloc option, make
12415 it the default.
12416 * config.make.in: Likewise.
12417 * malloc/Makefile: Likewise.
12418
a4172181
AS
124192011-06-27 Andreas Schwab <schwab@redhat.com>
12420
12421 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12422 two-byte characters.
12423
78a7eee7
RM
124242011-06-27 Roland McGrath <roland@hack.frob.com>
12425
62bede13
RM
12426 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12427 AC_CACHE_CHECK invocation.
12428 * configure: Regenerated.
12429
78a7eee7
RM
12430 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12431
5ce33a62
UD
124322011-06-27 Ulrich Drepper <drepper@gmail.com>
12433
034807a9
UD
12434 [BZ #12350]
12435 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12436 bit from old_res_options.
12437
4902da17
UD
12438 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12439
5ce33a62
UD
12440 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12441 value type for setfct.
12442
c2344f56
L
124432011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12444
12445 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12446 __gettimeofday instead of gettimeofday.
12447
68468076
UD
124482011-06-26 Ulrich Drepper <drepper@gmail.com>
12449
12450 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12451
acb0d739
L
124522011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12453
12454 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12455
12456 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12457 info.
12458
8912479f
L
124592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12460
12461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12462 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12463 strcpy-sse2-unaligned strncpy-sse2-unaligned
12464 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12465 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12466 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12467 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12468 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12469 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12470 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12471 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12472 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12473 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12474 (STRCPY): Support SSE2 and SSSE3 versions.
12475
d5495a11
UD
124762011-06-24 Ulrich Drepper <drepper@gmail.com>
12477
12478 [BZ #12874]
12479 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12480 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12481 kernels which artificially limit size of requests.
12482
0b1cbaae
L
124832011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12484
12485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12486 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12487 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12488 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12489 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12490 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12491 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12492 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12493 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12495 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12496 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12497 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12498 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12499 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12501 Enable unaligned load optimization for Intel Core i3, i5 and i7
12502 processors.
12503 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12504 Define.
12505 (index_Fast_Unaligned_Load): Define.
12506 (HAS_FAST_UNALIGNED_LOAD): Define.
12507
07f494a0
MP
125082011-06-23 Marek Polacek <mpolacek@redhat.com>
12509
12510 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12511
fa3fc0fe
UD
125122011-06-22 Ulrich Drepper <drepper@gmail.com>
12513
12514 [BZ #12907]
12515 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12516 until it is clear that the information is realy needed.
12517 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12518
e12df166
AS
125192011-06-22 Andreas Schwab <schwab@redhat.com>
12520
12521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12522
852eb34d
UD
125232011-06-22 Ulrich Drepper <drepper@gmail.com>
12524
84e2a551
UD
12525 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12526 /sys/devices/system/cpu/online if it is usable.
12527
852eb34d
UD
12528 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12529 reading the information from the /proc filesystem to once a second.
12530
6e502e19
UD
125312011-06-21 Andreas Jaeger <aj@suse.de>
12532
12533 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12534 NULL after inclusion of kernel headers.
12535
75d39ff2
UD
125362011-06-21 Ulrich Drepper <drepper@gmail.com>
12537
51f9aa6a
UD
12538 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12539 calls to internal_setent.
12540
c0244a9d
UD
12541 [BZ #12885]
12542 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12543 addresses using gethostbyname4_r ignore IPv4 addresses.
12544
c5e3c2ae
UD
12545 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12546 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12547
75d39ff2
UD
12548 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12549
42675c6f
DM
125502011-06-20 David S. Miller <davem@davemloft.net>
12551
12552 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12553 inclusions.
12554 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12555
12556 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12557 (elf_irel): Use it.
12558 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12559 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12560 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12561 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12562 * sysdeps/x86_64/dl-irel.h: Likewise.
12563
12564 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12565 * elf/dl-sym.c: Likewise.
12566
57912a71
UD
125672011-06-15 Ulrich Drepper <drepper@gmail.com>
12568
12569 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12570 need to dereference resplen2.
12571
ee22793d
AS
125722011-06-14 Andreas Schwab <schwab@redhat.com>
12573
12574 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12575
a9e836b0
UD
125762011-06-15 Ulrich Drepper <drepper@gmail.com>
12577
77fb9117
UD
12578 * Makeconfig: Define vardbdir and inst_vardbdir.
12579 * nss/Makefile: Add rules to install db-Makefile.
12580
40c1b22c
UD
12581 * nss/nss_db/db-XXX.c: Cleanup.
12582
9f2da732
UD
12583 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12584 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12585 GLIBC_PRIVATE.
12586 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12587 * nss/makedb.c: Implement -g option to specify that value strings
12588 are generated and should not be added to table iterated over for
12589 get*ent calls.
12590 * nss/nss_db/db-initgroups.c: New file.
12591
82e9a1f7
UD
12592 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12593 interface.
12594
c41af17e
UD
12595 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12596 (internal_getgrouplist): Adjust to name change.
12597 Update use_initgroups_entry if this is not the first call.
12598 * nss/databases.def: Add initgroups entry.
12599
a9e836b0
UD
12600 * nss/makedb.c (compute_tables): Check result of multiple hash table
12601 sizes to minimize maximum chain length.
12602
2666d441
UD
126032011-06-14 Ulrich Drepper <drepper@gmail.com>
12604
12605 * Versions.def: Add entry for libnss_db.
12606 * shlib-versions: Likewise.
12607 * nss/Makefile: Add rules to build libnss_db.
12608 * nss/Versions: Add libnss_db information. Organize libnss_files
12609 entries better.
12610 * nss/db-Makefile: Add gshadow support. Change rules for the new
12611 makedb progra. Some minor improvements to generate smaller files.
12612 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12613 here from...
12614 * nss/makedb.c: ...here.
12615 Improve database format to be smaller and require less memory at
12616 runtime.
12617 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12618 db anymore.
12619 * nss/nss_db/db-netgrp.c: Likewise.
12620 * nss/nss_db/db-open.c: Likewise.
12621 * nss/nss_files/flies-XXX.x: Adjust comments.
12622 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12623 * nss/nss_files/files-grp.c: Likewise.
12624 * nss/nss_files/files-hosts.c: Likewise.
12625 * nss/nss_files/files-network.c: Likewise.
12626 * nss/nss_files/files-proto.c: Likewise.
12627 * nss/nss_files/files-pwd.c: Likewise.
12628 * nss/nss_files/files-rpc.c: Likewise.
12629 * nss/nss_files/files-service.c: Likewise.
12630 * nss/nss_files/files-sgrp.c: Likewise.
12631 * nss/nss_files/files-spwd.c: Likewise.
12632 * nss/nss_db/db-alias.c: Removed.
12633 * nss/nss_db/dummy-db.h: Removed.
12634
9ee76b5a
UD
126352011-06-02 Ulrich Drepper <drepper@gmail.com>
12636
12637 * nss/makedb.c: Rewritten to not use database library.
12638 * nss/Makefile: Update to build new makedb program.
12639
c71ca1f8
AJ
126402011-06-14 Andreas Jaeger <aj@suse.de>
12641
12642 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12643 memset declaration.
12644
3154bfb8
UD
126452011-06-10 Andreas Schwab <schwab@redhat.com>
12646
12647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12648 tmpbuf.
12649
b350afab
RM
126502011-06-10 Roland McGrath <roland@hack.frob.com>
12651
decd4e50
RM
12652 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12653 * elf/Makefile ($(objpfx)ld.so): Likewise.
12654
5615eaf2
RM
12655 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12656 Don't list ld.so twice in dependencies.
12657
12658 * posix/bug-regex31.c: Include <stdlib.h>.
12659
12660 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12661
12662 * nis/nss_compat/compat-spwd.c
12663 (getspent_next_nss_netgr): Remove unused variable.
12664 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12665
12666 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12667 nonmembers" output to use the right array.
12668
12669 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12670
12671 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12672
12673 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12674 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12675 * catgets/gencat.c (read_input_file): Likewise.
12676 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12677
12678 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12679 variable definition inside #if's controlling its use.
12680
12681 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12682
12683 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12684
12685 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12686
12687 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12688 unreachable code.
12689
12690 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12691
b68e08db
RM
12692 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12693 * configure: Regenerated.
12694
b350afab
RM
12695 * Makerules: Revert last change.
12696 * elf/Makefile: Likewise.
12697
28368601
RM
126982011-06-09 Roland McGrath <roland@hack.frob.com>
12699
12700 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12701 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12702 (reloc-link): Likewise.
12703
11988f8f
UD
127042011-06-09 Ulrich Drepper <drepper@gmail.com>
12705
12706 * elf/Makefile: Add rules to build pldd.
12707 * elf/pldd.c: New file.
12708 * elf/pldd-xx.c: New file.
12709
e80fab37
UD
127102011-06-07 Ulrich Drepper <drepper@gmail.com>
12711
12712 * version.h: Update for 2.15 development version.
12713
9b849836
DM
127142011-06-07 David S. Miller <davem@davemloft.net>
12715
12716 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12717 ifuncs.
12718 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12719 elf_machine_lazy_rel): Likewise.
12720 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12721 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12722 elf_machine_lazy_rel): Likewise.
12723 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12724 dl_hwcap via passed in argument.
12725 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12726 Likewise.
12727
5a31b283
AK
127282011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12729
12730 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12731
069e52f8
RM
127322011-06-06 Roland McGrath <roland@hack.frob.com>
12733
12734 [BZ #12849]
12735 * manual/fdl-1.1.texi: New file, verbatim from:
12736 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12737 * manual/lgpl-2.1.texi: New file, verbatim from:
12738 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12739 * manual/Makefile (licenses): New variable, list those new file names.
12740 (texis): Use it.
12741 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12742
12743 * manual/fdl.texi: File removed.
12744 * manual/lesser.texi: File removed.
12745 * manual/libc.texinfo (Copying, Documentation License):
12746 Use new @include file names, put @appendix directive before @include.
12747
f16846a5
JJ
127482011-06-04 Jakub Jelinek <jakub@redhat.com>
12749
12750 [BZ #12841]
12751 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12752 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12753 (mq_open): Add __NTH.
12754
3d29045b
L
127552011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12756
12757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12758 Assume Intel Core i3/i5/i7 processor if AVX is available.
12759
8c297311
UD
127602011-05-31 Ulrich Drepper <drepper@gmail.com>
12761
12762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12763 typo.
12764
c8fc0c91
UD
127652011-05-31 Andreas Schwab <schwab@redhat.com>
12766
12767 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12768 memory. Use alloca_account. Fix memory leak when retrying.
12769
5b27a807
UD
127702011-05-31 Ulrich Drepper <drepper@gmail.com>
12771
356f8bc6
UD
12772 * version.h (RELEASE): Bump for 2.14 release.
12773 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12774
5b27a807
UD
12775 * config.make.in (RANLIB): Remove entry.
12776
01f16ab0
UD
127772011-05-30 Ulrich Drepper <drepper@gmail.com>
12778
41fce8bd
UD
12779 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12780 (libc.pot): Work around missing support for .ksh extension in xgettext.
12781
4769ae77
UD
12782 [BZ #12684]
12783 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12784 if both request failed.
12785 (send_dg): In case of server errors clear resplen or *resplen2.
12786
6b1e7d19
UD
12787 [BZ #12454]
12788 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12789 when there are multiple maps.
12790 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12791 (_dl_fini): Remove test here.
12792
01f16ab0
UD
12793 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12794
b1ebd700
UD
127952011-05-29 Ulrich Drepper <drepper@gmail.com>
12796
7ae22829
UD
12797 [BZ #12350]
12798 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12799 bit from old_res_options.
12800 (gaih_inet): Likewise.
12801
553149f6 12802 [BZ #11099]
18a84741 12803 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
12804 as signed.
12805
652ffab1
UD
12806 * resolv/res_init.c (res_setoptions): Make the code more compact.
12807
16985fd0
UD
12808 [BZ #11558]
12809 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12810 set RES_USEVC.
12811
0464f746
UD
12812 [BZ #11634]
12813 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12814
7d17596c
UD
12815 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12816
cf6bbbd7
UD
12817 [BZ #11781]
12818 * malloc/malloc.h: Declare malloc hook variables as volatile.
12819
13f1ab36
UD
12820 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12821 in last patch.
12822
b1ebd700
UD
12823 [BZ #11799]
12824 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 12825 raise in the comment.
80e2212d
UD
12826 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12827 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12828 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 12829
ce67228d
UD
128302011-05-28 Ulrich Drepper <drepper@gmail.com>
12831
8887a920
UD
12832 [BZ #12811]
12833 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12834 grow the buffers more if it already has to be sufficient.
12835 (build_wcs_upper_buffer): Likewise.
12836 * posix/regexec.c (check_matching): Likewise.
12837 (clean_state_log_if_needed): Likewise.
12838 (extend_buffers): Don't enlarge buffers beyond size of the input
12839 buffer.
12840 Patches mostly by Emil Wojak <emil@wojak.eu>.
12841 * posix/bug-regex32.c: New file.
12842 * posix/Makefile (tests): Add bug-regex32.
12843
4f031072
UD
12844 * locale/findlocale.c (_nl_find_locale): Return right away if
12845 _nl_explode_name failed.
12846 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12847
d0478f0c
UD
12848 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12849
de81b246
UD
12850 * debug/xtrace.sh: Unify messages.
12851 * malloc/memusage.sh: Likewise.
12852
c738465a
UD
12853 [BZ #12813]
12854 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12855 time symbol from vDSO. Substitute with vsyscall if not available.
12856 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12857 __vdso_time.
12858
f1f929d7
UD
12859 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12860 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12861 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12862 Add sendmmsg and internal_sendmmsg.
12863 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12864 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12865 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12866
ce67228d
UD
12867 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12868 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12869 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12870
e57420c6
UD
128712011-05-27 Ulrich Drepper <drepper@gmail.com>
12872
a8509ca5
UD
12873 [BZ #12813]
12874 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12875 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12876 available.
12877 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12878 __vdso_getcpu.
12879
e57420c6
UD
12880 [BZ #12814]
12881 * iconvdata/Makefile (tests): Add bug-iconv9.
12882 * iconvdata/bug-iconv9.c: New file.
12883
4d07db15
AS
128842011-05-27 Andreas Schwab <schwab@redhat.com>
12885
12886 [BZ #12814]
12887 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12888
ea486f69
JJ
128892011-05-25 Jakub Jelinek <jakub@redhat.com>
12890
12891 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12892 (struct user_regs_struct): Change intcs field back to cs.
12893
6f038433
UD
128942011-05-25 Ulrich Drepper <drepper@gmail.com>
12895
12896 * po/ja.po: Update from translation team.
12897
67f86a25
UD
128982011-05-23 Ulrich Drepper <drepper@gmail.com>
12899
12900 [BZ #12795]
12901 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12902 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12903
def7fbd6
AS
129042011-05-20 Andreas Schwab <schwab@redhat.com>
12905
12906 * stdlib/longlong.h: Update from GCC.
12907
f50ef8f1
AS
129082011-05-23 Andreas Schwab <schwab@redhat.com>
12909
12910 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12911 parameter name.
12912 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12913 Add parameter name.
12914 (__sysconf): Pass it down.
12915
de7ce8f1
UD
129162011-05-22 Ulrich Drepper <drepper@gmail.com>
12917
f2962a71
UD
12918 [BZ #12671]
12919 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12920 some situations.
12921 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12922 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12923 add in in __libc_use_alloca calls. Adjust callers.
12924 (glob): Use malloc in some situations.
12925
de7ce8f1
UD
12926 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12927 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12928 pltexit.
12929
aec84f53
UD
129302011-05-21 Ulrich Drepper <drepper@gmail.com>
12931
05bb4a68
UD
12932 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12933 and CLOCK_BOOTTIME_ALARM.
12934
7ea72f99
UD
12935 [BZ #12782]
12936 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12937 is returned.
12938
7e4afad5
UD
12939 * string/_strerror.c (__strerror_r): Print negative errors as signed
12940 numbers.
12941
8e211fec
UD
12942 [BZ #12777]
12943 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12944 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12945 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12946
f7d82dc9
UD
12947 * configure.in: Fix typo in redirection and correct removal of test
12948 files in two cases.
12949
cc9e536d
UD
12950 [BZ #12788]
12951 * locale/setlocale.c (new_composite_name): Fix test to check for
12952 identical name of all categories.
12953
aec84f53
UD
12954 [BZ #12792]
12955 * libio/filedoalloc.c (local_isatty): New function.
12956 (_IO_file_doallocate): Use local_isatty.
12957 * stdio-common/perror.c (perror): In case a new stream is used
12958 forward the stream error.
12959 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12960 error flag.
12961
78e64fdc
RT
129622011-05-20 Ulrich Drepper <drepper@gmail.com>
12963
34a9094f
UD
12964 [BZ #11869]
12965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12966 alloca.
12967 * include/alloca.h (extend_alloca_account): Define.
12968
78e64fdc
RT
12969 [BZ #11857]
12970 * posix/regex.h: Fix comments with documentation of user-accessible
12971 fields after compilation and describe correct free'ing of pattern
12972 after re_compile_pattern.
12973 Patch by Reuben Thomas <rrt@sc3d.org>.
12974
457bddfc
RA
129752011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12976
12977 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12978 and -mno-altivec to prevent the compiler from using Altivec and/or
12979 VSX instructions when the corresponding registers are not available.
12980
a4527b51
AS
129812011-05-19 Andreas Schwab <schwab@redhat.com>
12982
12983 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12984
ed690b2f
UD
129852011-05-19 Ulrich Drepper <drepper@gmail.com>
12986
12987 * libio/freopen.c (freopen): Use __dup2, not dup2.
12988 * libio/freopen64.c (freopen64): Likewise.
12989
8db73634
L
129902011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12991
12992 [BZ #12775]
12993 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12994 * math/Makefile (tests): Add test-powl.
12995 (CFLAGS-test-powl.c): Define.
12996 * math/test-powl.c: New file.
12997
0a197a9d
L
129982011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12999
13000 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13001
ee30c380
UD
130022011-05-17 Ulrich Drepper <drepper@gmail.com>
13003
13004 [BZ #11837]
13005 * iconvdata/gb18030.c: Update to GB18020-2005.
13006
6ce75379
UD
130072011-05-16 Ulrich Drepper <drepper@gmail.com>
13008
a4b89fd8
AR
13009 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13010 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13011 Patch by Aharon Robbins <arnold@skeeve.com>.
13012
ea389b12
UD
13013 [BZ #11892]
13014 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13015 on the stack.
13016
68a3f91f
UD
13017 [BZ #11895]
13018 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13019 through underflows.
13020
15cc7dd1
UD
13021 [BZ #12766]
13022 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13023 point to strings before performing equality test for error_one_per_line
13024 mode.
13025
f3799213
UD
13026 [BZ #11697]
13027 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13028
d79a9c94
UD
13029 [BZ #11820]
13030 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13031 (struct user_fpregs_struct): Avoid __uint*_t types.
13032
56e5eb46
UD
13033 [BZ #6420]
13034 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13035 symbol info. Use it instead of calling _dl_addr locally.
13036 (lock_and_info): New function.
13037 (tr_freehook): Call lock_and_info and pass symbol info as additional
13038 parameter to tr_where.
13039 (tr_mallochook): Likewise.
13040 (tr_reallochook): Likewise.
13041 (tr_memalignhook): Likewise.
13042
6ce75379
UD
13043 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13044 used and couldn't be at all thread-safe.
13045
f8a3b5bf
UD
130462011-05-15 Ulrich Drepper <drepper@gmail.com>
13047
94b7cc37
UD
13048 * libio/freopen.c (freopen): Don't close old file descriptor
13049 before the new one is opened. Instead dup the new file descriptor
13050 to the old one after the new stream is created.
13051 * libio/freopen64.c (freopen64): Likewise.
13052 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13053 * libio/fileops.c (_IO_new_file_close_it): Handle new
13054 _IO_FLAGS2_NOCLOSE flag.
13055 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13056 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13057 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13058 _IO_FLAGS2_NOCLOSE flag.
13059 * include/unistd.h: Add hidden_proto for dup3.
13060 Define __have_dup3.
13061 * io/dup3.c: Define hidden symbol.
13062 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13063
bd25564e
UD
13064 [BZ #7101]
13065 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13066 when an incomplete long option is used.
13067 * posix/tst-getopt_long1.c: New file.
13068 * posix/Makefile (tests): Add tst-getopt_long1.
13069
c84cfef4
UD
13070 [BZ #10138]
13071 * scripts/config.guess: Update from autoconf-2.68.
13072 * scripts/config.sub: Likewise.
13073
3b85df27
UD
13074 [BZ #10157]
13075 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13076 tests into ...
13077 (has_cpuclock): ...this. New function.
13078 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13079 macro here based on has_cpuclock code.
13080
15a856b1
UD
13081 [BZ #10149]
13082 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13083 First byte (not low byte) is now always NUL.
13084 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13085
05f399e6
UD
13086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13087 Use non-cancelable interfaces.
13088
10a52685 13089 [BZ #9809]
94ecc67d
UD
13090 * locale/iso-639.def: Add entry for Sorani.
13091
f8a3b5bf
UD
13092 [BZ #11901]
13093 * include/stdlib.h: Move include protection to the right place.
13094 Define abort_msg_s. Declare __abort_msg with it.
13095 * stdlib/abort.c (__abort_msg): Adjust type.
13096 * assert/assert.c (__assert_fail_base): New function. Majority
13097 of code from __assert_fail. Allocate memory for __abort_msg with
13098 mmap.
13099 (__assert_fail): Now call __assert_fail_base.
13100 * assert/assert-perr.c: Remove bulk of implementation. Use
13101 __assert_fail_base.
13102 * include/assert.hL Declare __assert_fail_base.
13103 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13104 mmap.
13105 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13106
1af4e298
UD
131072011-05-14 Ulrich Drepper <drepper@gmail.com>
13108
f8a3b5bf 13109 [BZ #11952]
d26dfc60
MG
13110 [BZ #12453]
13111 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13112 until all modules are registered in the DTV.
13113 * elf/Makefile: Add rules to build and run tst-tls19.
13114 * elf/tst-tls19.c: New file.
13115 * elf/tst-tls19mod1.c: New file.
13116 * elf/tst-tls19mod2.c: New file.
13117 * elf/tst-tls19mod3.c: New file.
13118 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13119
2fc54d6f
UD
13120 [BZ #12083]
13121 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13122 correctly.
13123
98d76b46
UD
13124 [BZ #12601]
13125 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13126 two-byte sequence errors.
13127 * iconvdata/Makefile (tests): Add bug-iconv8.
13128 * iconvdata/bug-iconv8.c: New file.
13129
da3c19ef
UD
13130 [BZ #12626]
13131 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13132 buf2 definition.
13133
ca408c15
UD
13134 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13135
d6f67f7d
UD
13136 [BZ #12432]
13137 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13138 (dummy_getcfa): New function.
13139 (init): Get _Unwind_GetCFA address, use dummy if not found.
13140 (backtrace_helper): In recursion check, also check whether CFA changes.
13141 (__backtrace): Completely initialize arg.
13142
1af4e298 13143 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13144 storing incomplete byte sequence in state object. Avoid testing for
13145 guaranteed too small input if we know there is enough data available.
1af4e298 13146
da62f81b
AS
131472011-05-11 Andreas Schwab <schwab@redhat.com>
13148
13149 * Makeconfig (+link-pie): Indent.
13150 * Rules (binaries-pie): Define if $(have-fpie) and
13151 $(build-shared).
13152 (binaries-shared): Also filter out $(binaries-pie).
13153 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13154 * nscd/Makefile (others-pie): Add nscd.
13155 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13156 ($(objpfx)nscd): Remove command override.
13157 * login/Makefile (others-pie): Add pt_chown.
13158 ($(objpfx)pt_chown): Remove command override.
13159 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13160 remove command overrides.
13161
fcabc0f8
UD
131622011-05-13 Ulrich Drepper <drepper@gmail.com>
13163
20030ae6
UD
13164 * libio/tst_putwc.c: Fix error messages.
13165
fcabc0f8
UD
13166 [BZ #12724]
13167 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13168 currently writing and seek to current position when not.
13169 * libio/Makefile (tests): Add bug-fclose1.
13170 * libio/bug-fclose1.c: New file.
13171
320a5dc0
PB
131722011-05-12 Ulrich Drepper <drepper@gmail.com>
13173
13174 [BZ #12511]
13175 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13176 don't set DF_1_NODELETE here.
13177 (do_lookup_x): When entering new entry test for copy relocation
13178 and if necessary set DF_1_NODELETE flag.
13179 * elf/tst-unique4.cc: New file.
13180 * elf/tst-unique4.h: New file.
13181 * elf/tst-unique4lib.cc: New file.
13182 * elf/Makefile: Add rules to build and run tst-unique4.
13183 Patch by Piotr Bury <pbury@goahead.com>.
13184
22836f52
UD
131852011-05-11 Ulrich Drepper <drepper@gmail.com>
13186
f574184a
UD
13187 [BZ #12052]
13188 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13189
e1fb097f
UD
13190 [BZ #12625]
13191 * misc/mntent_r.c (addmntent): Flush the stream after the output
13192
22836f52
UD
13193 [BZ #12393]
13194 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13195 (is_trusted_path_normalize): Skip initial colon. Append slash
13196 to empty buffer. Duplicate is_trusted_path code but allow
13197 constructed patch to be prefix.
13198 (is_dst): Allow $ORIGIN followed by /.
13199 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13200 Correct testing of result of is_trusted_path_normalize
13201 (decompose_rpath): Fix warning.
13202
7b3b0b2a
UD
132032011-05-10 Ulrich Drepper <drepper@gmail.com>
13204
13205 [BZ #11257]
13206 * grp/initgroups.c (internal_getgrouplist): When we found the service
13207 list through the initgroups entry in nsswitch.conf do not always
13208 continue on a successful lookup. Don't always use the
eac80ce2 13209 __nss_group_database value if it is set.
7b3b0b2a
UD
13210 * nss/nsswitch.conf (initgroups): Change action for successful db
13211 lookup to continue for compatibility.
13212
2a81eaa5
UD
132132011-05-09 Ulrich Drepper <drepper@gmail.com>
13214
be97a69e
UD
13215 [BZ #11532]
13216 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13217 and CP774 modules.
13218 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13219 and CP774 modules.
13220 * iconvdata/tst-tables.sh: Likewise.
13221 * iconvdata/cp770.c: New file.
13222 * iconvdata/cp771.c: New file.
13223 * iconvdata/cp772.c: New file.
13224 * iconvdata/cp773.c: New file.
13225 * iconvdata/cp774.c: New file.
13226 * iconvdata/testdata/CP770: New file.
13227 * iconvdata/testdata/CP770..UTF8: New file.
13228 * iconvdata/testdata/CP771: New file.
13229 * iconvdata/testdata/CP771..UTF8: New file.
13230 * iconvdata/testdata/CP772: New file.
13231 * iconvdata/testdata/CP772..UTF8: New file.
13232 * iconvdata/testdata/CP773: New file.
13233 * iconvdata/testdata/CP773..UTF8: New file.
13234 * iconvdata/testdata/CP774: New file.
13235 * iconvdata/testdata/CP774..UTF8: New file.
13236
13237 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13238 END CHARMAP line.
13239 * iconvdata/gen-8bit-gap.sh: Likewise.
13240 * iconvdata/gen-8bit.sh: Likewise.
13241
c1e9e399
UD
13242 * locale/iso-639.def: Add ary entry.
13243
24c55fb3 13244 [BZ #11258]
96b4b1b0
UD
13245 * locale/C-translit.h.in: Add U20A1 transliteration.
13246
bdc2f971
KB
13247 [BZ #12178]
13248 * locale/iso-639.def: Add wae entry.
13249 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13250
2952b117
UD
13251 [BZ #12545]
13252 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13253 for n.
13254
2a81eaa5
UD
13255 [BZ #12711]
13256 * locale/C-translit.h.in: Add entry for U20B9.
13257 Patch by pravin.d.s@gmail.com.
13258
28377d1b
UD
132592011-05-08 Ulrich Drepper <drepper@gmail.com>
13260
7fb90fb8
UD
13261 [BZ #12713]
13262 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13263 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13264 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13265 in rtld. Use *stat64.
7fb90fb8 13266 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13267 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13268 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13269 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13270 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13271 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13272 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13273 __fstatat64 macros.
7fb90fb8
UD
13274 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13275 * dirent/rewinddir.c: Add libc_hidden_def.
13276 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13277 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13278
28377d1b
UD
13279 * include/dirent.h (__alloc_dir): Add flags parameter.
13280 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13281 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13282 __alloc_dir.
13283 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13284 from fdopendir if O_CLOEXEC is already set.
13285
66bdbaa4
AM
132862011-03-15 Alan Modra <amodra@gmail.com>
13287
13288 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13289 l_tls_firstbyte_offset non-zero. Save padding offset in
13290 l_tls_firstbyte_offset for later use.
13291 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13292 freeing static tls block.
13293
95721191
JN
132942011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13295
13296 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13297 where #ifdef was intended. The intent is to prevent ARG_MAX from
13298 being defined by the kernel headers.
13299
f87dfb1f
UD
133002011-05-07 Ulrich Drepper <drepper@gmail.com>
13301
13302 [BZ #12734]
13303 * resolv/resolv.h: Define RES_NOTLDQUERY.
13304 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13305 no-tld-query and set RES_NOTLDQUERY.
13306 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13307 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13308 modern BIND to search name as TLD unless forbidden.
13309
47c3cd7a
UD
133102011-05-07 Petr Baudis <pasky@suse.cz>
13311 Ulrich Drepper <drepper@gmail.com>
13312
13313 [BZ #12393]
13314 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13315 (is_trusted_path): ...to here.
c1e9ea35 13316 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13317 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13318 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13319
8a35c912
PP
133202011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13321
13322 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13323 __BEGIN/__END_DECLS.
13324
acd41f47
UD
133252011-05-06 Ulrich Drepper <drepper@gmail.com>
13326
13327 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13328 NSS_STATUS_NOTFOUND if no record was found.
13329
597df647
AS
133302011-05-05 Andreas Schwab <schwab@redhat.com>
13331
13332 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13333 (headers-not-in-tirpc): Remove rpc/netdb.h
13334 * resolv/netdb.h: Revert last change.
13335
b9af1301
PP
133362011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13337
13338 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13339 circular dependency between libgcc.a and libc.a.
13340
4e34d5f5
AS
133412011-05-05 Andreas Schwab <schwab@redhat.com>
13342
13343 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13344 * nis/Makefile: Don't install rpcsvc/*.
13345 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13346 instead of <rpc/types.h>.
13347 (MAXHOSTNAMELEN): Define.
13348
00ee369c
AS
133492011-05-03 Andreas Schwab <schwab@redhat.com>
13350
13351 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13352
0b592a30
MB
133532011-04-28 Maciej Babinski <mbabinski@google.com>
13354
13355 [BZ #12714]
13356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13357 gethostbyname4_r when IPv6 results are possible.
13358
6e04cbbe
UD
133592011-05-02 Ulrich Drepper <drepper@gmail.com>
13360
13361 [BZ #12723]
13362 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13363 _PC_PIPE_BUF handling.
13364
e4ecafe0
BH
133652011-04-30 Bruno Haible <bruno@clisp.org>
13366
13367 [BZ #12717]
13368 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13369 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13370 to 'int'.
13371 * inet/getnameinfo.c (getnameinfo): Likewise.
13372
125ee683
UD
133732011-04-29 Ulrich Drepper <drepper@gmail.com>
13374
13375 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13376 to groups setting in database lookup.
13377 * nss/nsswitch.conf: Add initgroups entry.
13378
b722481a
EB
133792011-04-22 Ulrich Drepper <drepper@gmail.com>
13380
13381 [BZ #12685]
13382 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13383 mode string.
13384 Patch by Eric Blake <eblake@redhat.com>.
13385
4df46dbd
L
133862011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13387
13388 * sunrpc/Makefile (need-export-routines): Add svc_run.
13389 (routines): Remove svc_run.
13390 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13391 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13392 * sunrpc/svc_run.c (svc_run): Likewise.
13393 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13394
e84142d2
UD
133952011-04-21 Ulrich Drepper <drepper@gmail.com>
13396
13397 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13398 problem in reallocation in last patch.
13399
877175d8
UD
134002011-04-20 Ulrich Drepper <drepper@gmail.com>
13401
13402 * sunrpc/Makefile: Move inclusion of Rules.
13403
ab8eed78
UD
134042011-04-19 Ulrich Drepper <drepper@gmail.com>
13405
13406 * nss/nss_files/files-initgroups.c: New file.
13407 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13408 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13409 _nss_files_initgroups_dyn.
13410
e3d8f584
RS
134112011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13412
13413 * elf/elf.h (R_ARM_IRELATIVE): Define.
13414
af190f45
UD
134152011-04-19 Ulrich Drepper <drepper@gmail.com>
13416
13417 * po/ru.po: Update from translation team.
13418
53cf59ef
UD
134192011-04-17 Ulrich Drepper <drepper@gmail.com>
13420
13421 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13422 dependencies.
13423
4c559bcd
MF
134242011-02-06 Mike Frysinger <vapier@gentoo.org>
13425
13426 [BZ #12653]
13427 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13428 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13429 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13430 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13431 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13432
4420675c
AS
134332011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13434
13435 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13436 differing bytes.
13437 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13438 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13439 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13440
75ea32ab
UD
134412011-04-17 Ulrich Drepper <drepper@gmail.com>
13442
13443 [BZ #12420]
13444 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13445 storing it.
13446 * stdlib/bug-getcontext.c: New file.
13447 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13448
27390476
AK
134492011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13450
13451 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13452 instructions into .machine "z9-109".
13453 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13454 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13455
10442705
AK
134562011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13457
13458 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13459 between environment variables and auxiliary vector.
13460
7b57bfe5
UD
134612011-04-16 Ulrich Drepper <drepper@gmail.com>
13462
13463 * Makefile: Add rules to build linkobj/libc.so.
13464 * include/libc-symbols.h: Define libc_hidden_nolink.
13465 * include/rpc/auth.h: Mark functions which are to be hidden.
13466 * include/rpc/auth_des.h: Likewise.
13467 * include/rpc/auth_unix.h: Likewise.
13468 * include/rpc/clnt.h: Likewise.
13469 * include/rpc/des_crypt.h: Likewise.
13470 * include/rpc/key_prot.h: Likewise.
13471 * include/rpc/pmap_clnt.h: Likewise.
13472 * include/rpc/pmap_prot.h: Likewise.
13473 * include/rpc/pmap_rmt.h: Likewise.
13474 * include/rpc/rpc_msg.h: Likewise.
13475 * include/rpc/svc.h: Likewise.
13476 * include/rpc/svc_auth.h: Likewise.
13477 * include/rpc/xdr.h: Likewise.
13478 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13479 * nss/Makefile: Likewise.
13480 * sunrpc/Makefile: Don't install headers. Build library with normal
13481 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13482 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13483 for the compat linking library. Remove use of INTDEF/INTUSE.
13484 * sunrpc/auth_none.c: Likewise.
13485 * sunrpc/auth_unix.c: Likewise.
13486 * sunrpc/authdes_prot.c: Likewise.
13487 * sunrpc/authuxprot.c: Likewise.
13488 * sunrpc/clnt_gen.c: Likewise.
13489 * sunrpc/clnt_perr.c: Likewise.
13490 * sunrpc/clnt_raw.c: Likewise.
13491 * sunrpc/clnt_simp.c: Likewise.
13492 * sunrpc/clnt_tcp.c: Likewise.
13493 * sunrpc/clnt_udp.c: Likewise.
13494 * sunrpc/clnt_unix.c: Likewise.
13495 * sunrpc/des_crypt.c: Likewise.
13496 * sunrpc/des_soft.c: Likewise.
13497 * sunrpc/get_myaddr.c: Likewise.
13498 * sunrpc/key_call.c: Likewise.
13499 * sunrpc/key_prot.c: Likewise.
13500 * sunrpc/netname.c: Likewise.
13501 * sunrpc/pm_getmaps.c: Likewise.
13502 * sunrpc/pm_getport.c: Likewise.
13503 * sunrpc/pmap_clnt.c: Likewise.
13504 * sunrpc/pmap_prot.c: Likewise.
13505 * sunrpc/pmap_prot2.c: Likewise.
13506 * sunrpc/pmap_rmt.c: Likewise.
13507 * sunrpc/publickey.c: Likewise.
13508 * sunrpc/rpc_cmsg.c: Likewise.
13509 * sunrpc/rpc_common.c: Likewise.
13510 * sunrpc/rpc_dtable.c: Likewise.
13511 * sunrpc/rpc_prot.c: Likewise.
13512 * sunrpc/rpc_thread.c: Likewise.
13513 * sunrpc/rtime.c: Likewise.
13514 * sunrpc/svc.c: Likewise.
13515 * sunrpc/svc_auth.c: Likewise.
13516 * sunrpc/svc_authux.c: Likewise.
13517 * sunrpc/svc_raw.c: Likewise.
13518 * sunrpc/svc_run.c: Likewise.
13519 * sunrpc/svc_simple.c: Likewise.
13520 * sunrpc/svc_tcp.c: Likewise.
13521 * sunrpc/svc_udp.c: Likewise.
13522 * sunrpc/svc_unix.c: Likewise.
13523 * sunrpc/svcauth_des.c: Likewise.
13524 * sunrpc/xcrypt.c: Likewise.
13525 * sunrpc/xdr.c: Likewise.
13526 * sunrpc/xdr_array.c: Likewise.
13527 * sunrpc/xdr_float.c: Likewise.
13528 * sunrpc/xdr_intXX_t.c: Likewise.
13529 * sunrpc/xdr_mem.c: Likewise.
13530 * sunrpc/xdr_rec.c: Likewise.
13531 * sunrpc/xdr_ref.c: Likewise.
13532 * sunrpc/xdr_sizeof.c: Likewise.
13533 * sunrpc/xdr_stdio.c: Likewise.
13534
e6c61494
UD
135352011-04-10 Ulrich Drepper <drepper@gmail.com>
13536
13537 [BZ #12650]
13538 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13539 * sysdeps/ia64/dl-tls.h: Likewise.
13540 * sysdeps/powerpc/dl-tls.h: Likewise.
13541 * sysdeps/s390/dl-tls.h: Likewise.
13542 * sysdeps/sh/dl-tls.h: Likewise.
13543 * sysdeps/sparc/dl-tls.h: Likewise.
13544 * sysdeps/x86_64/dl-tls.h: Likewise.
13545 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13546
34fe483e
AS
135472011-03-14 Andreas Schwab <schwab@redhat.com>
13548
13549 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13550 rpath element also skip the following colon.
13551 (expand_dynamic_string_token): Add is_path parameter and pass
13552 down to DL_DST_REQUIRED and _dl_dst_substitute.
13553 (decompose_rpath): Call expand_dynamic_string_token with
13554 non-zero is_path. Ignore empty rpaths.
13555 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13556 with zero is_path.
13557
f12a32e6
AS
135582011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13559
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13561 Make cancelable.
13562
38a7d692
UD
135632011-04-09 Ulrich Drepper <drepper@gmail.com>
13564
13565 [BZ #12655]
13566 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13567 Patch by Filipe David Manana <fdmanana@apache.org>.
13568
e451d22b
AS
135692011-04-07 Andreas Schwab <schwab@redhat.com>
13570
13571 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13572 Maintain aligned stack.
13573 (CHECK_RSP): Remove unused macro.
13574
dedc7c7b
UD
135752011-04-03 Ulrich Drepper <drepper@gmail.com>
13576
13577 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13578 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13579
94521213
UD
135802011-04-02 Ulrich Drepper <drepper@gmail.com>
13581
13582 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13583
8cb700c0 13584 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 13585
0354e355
L
135862011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13587
13588 [BZ #12518]
13589 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13590 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13591 * sysdeps/x86_64/memmove.c: New file.
13592 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13593 (memcpy): Renamed to ...
13594 (__new_memcpy): This.
13595 (memcpy): Provide GLIBC_2_14 memcpy.
13596 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13597 (memcpy): Provide GLIBC_2_2_5 memcpy.
13598
8593482f
UD
135992011-04-01 Ulrich Drepper <drepper@gmail.com>
13600
13601 [BZ #12631]
13602 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13603
81a5726b
AS
136042011-03-30 Andreas Schwab <schwab@redhat.com>
13605
13606 * misc/syncfs.c: New file.
13607 * misc/Makefile (routines): Add syncfs.
13608 * posix/unistd.h: Declare syncfs.
13609 * sysdeps/unix/syscalls.list: Add syncfs.
13610
00e5419f
AS
136112011-04-01 Andreas Schwab <schwab@redhat.com>
13612
13613 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13614 open_by_handle_at.
13615 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13616 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13618 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13619 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13620 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13621 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13622
748876bf
UD
136232011-04-01 Ulrich Drepper <drepper@gmail.com>
13624
658e451d
UD
13625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13626 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13627 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13629 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13631 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13632
748876bf
UD
13633 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13634 sync_file_range.c with -fexceptions.
13635 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13636 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13637 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13638 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13639 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13640 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13641 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
13642 sync_file_range as cancellation point
13643 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13644 now a wrapper around __call_sync_file_range with cancellation handling.
13645 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13646 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13647 function name to __call_sync_file_range.
13648 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13649 Add call_sync_file_range.
748876bf 13650
6e63d5e1
AS
136512011-04-01 Andreas Schwab <schwab@redhat.com>
13652
13653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13654 bits/timex.h.
6e63d5e1 13655
46998f74
UD
136562011-04-01 Ulrich Drepper <drepper@gmail.com>
13657
4c1423ed
UD
13658 * iconv/iconv.h: Fix typo in comment.
13659 * io/fcntl.h: Likewise.
13660 * libio/stdio.h: Likewise.
13661 * posix/spawn.h: Likewise.
13662 * posix/unistd.h: Likewise.
13663 * stdlib/stdlib.h: Likewise.
13664 * time/time.h: Likewise.
13665 * wcsmbs/wchar.h: Likewise.
13666
158648c0
UD
13667 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13668 open_by_handle): Add.
13669 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13670 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13671 Augment a few comments.
13672 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13673 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13674 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13676 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13677 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13678 open_by_handle.
13679
46998f74
UD
13680 * io/fcntl.h (AT_EMPTY_PATH): Define.
13681
83fe108b
UD
136822011-03-30 Ulrich Drepper <drepper@gmail.com>
13683
13684 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13685 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13686 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13687 to...
13688 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13689 * Versions.def: Add GLIBC_2.14.
13690 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13691 Export.
83fe108b 13692
bb242059
UD
136932011-03-22 Ulrich Drepper <drepper@gmail.com>
13694
13695 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13696 round counter.
13697 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13698
c97a1282
L
136992011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13700
13701 [BZ #12597]
13702 * string/test-strncmp.c (do_page_test): New function.
13703 (check2): Likewise.
13704 (test_main): Call check2.
13705 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13706
2a115601
UD
137072011-03-20 Ulrich Drepper <drepper@gmail.com>
13708
13709 [BZ #12587]
13710 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13711 Handle cache information in CPU leaf 4.
13712 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13713
8126d904
UD
137142011-03-18 Ulrich Drepper <drepper@gmail.com>
13715
042c49c6 13716 [BZ #12583]
8126d904
UD
13717 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13718 character representation.
13719 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13720
ccfe366e
RA
137212011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13722
13723 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13724 END(__isnan) to END(__isnanf) to match function entry point/label
13725 EALIGN(__isnanf,...).
13726
c6e13027
JJ
137272011-03-10 Jakub Jelinek <jakub@redhat.com>
13728
13729 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13730
33f85a3f
UD
137312011-03-10 Ulrich Drepper <drepper@gmail.com>
13732
028478fa
UD
13733 [BZ #12510]
13734 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13735 copy from the symbol referenced in the relocation to initialize the
13736 used variable.
13737 Patch by Piotr Bury <pbury@goahead.com>.
13738 * elf/Makefile: Add rules to build and tst-unique3.
13739 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13740 * elf/tst-unique3.cc: New file.
13741 * elf/tst-unique3.h: New file.
13742 * elf/tst-unique3lib.cc: New file.
13743 * elf/tst-unique3lib2.cc: New file.
13744
33f85a3f
UD
13745 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13746
03592fc7
MF
137472011-03-10 Mike Frysinger <vapier@gentoo.org>
13748
13749 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13750 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13751 to _start.
03592fc7 13752
6a5ee102
UD
137532011-03-06 Ulrich Drepper <drepper@gmail.com>
13754
13755 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13756 to-be-loaded object along a path to loader is ld.so.
13757
7e4ba49c
HJ
137582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13759 Ulrich Drepper <drepper@gmail.com>
13760
13761 * sysdeps/x86_64/memset.S: After aligning destination, code
13762 branches to different locations depending on the value of
13763 misalignment, when multiarch is enabled. Fix this.
13764
137652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13766
13767 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13768 Set _x86_64_preferred_memory_instruction for AMD processsors.
13769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13770 Set bit_Prefer_SSE_for_memop for AMD processors.
13771
13a804de
UD
137722011-03-04 Ulrich Drepper <drepper@gmail.com>
13773
13774 * libio/fmemopen.c (fmemopen): Optimize a bit.
13775
9d25c392
AS
137762011-03-03 Andreas Schwab <schwab@redhat.com>
13777
13778 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13779
a5543c6a
RM
137802011-03-03 Roland McGrath <roland@redhat.com>
13781
13782 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13783
012d35f7
DM
137842011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13785
7e4ba49c 13786 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
13787 __bzero_ultra1 instead of __memset_ultra1.
13788
4bff6e01
AS
137892011-02-23 Andreas Schwab <schwab@redhat.com>
13790 Ulrich Drepper <drepper@gmail.com>
13791
13792 [BZ #12509]
13793 * include/link.h (struct link_map): Add l_orig_initfini.
13794 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13795 returning unsuccessfully.
13796 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13797 close of a file loaded at startup, restore the original l_initfini
13798 list.
13799 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13800 list, store the pointer.
13801 * elf/Makefile ($(objpfx)noload-mem): New rule.
13802 (noload-ENV): Define.
13803 (tests): Add $(objpfx)noload-mem.
13804 * elf/noload.c: Include <memcheck.h>.
13805 (main): Call mtrace. Close all opened handles.
13806
f2092faf
AS
138072011-02-17 Andreas Schwab <schwab@redhat.com>
13808
13809 [BZ #12454]
13810 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13811 dependencies are missing.
13812
6c8a2e88
ST
138132011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13814
f2092faf 13815 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
13816 Hurd needs munmap.
13817 * sysdeps/mach/hurd/ifreq.h: New file.
13818
84a42118
PB
138192011-01-27 Petr Baudis <pasky@suse.cz>
13820 Ulrich Drepper <drepper@gmail.com>
13821
071f805e 13822 [BZ 12445]#
84a42118
PB
13823 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13824 to extend_alloca().
13825 * stdio-common/bug23.c: New file.
13826 * stdio-common/Makefile (tests): Add bug23.
13827
e23fe25b
AS
138282010-09-28 Andreas Schwab <schwab@redhat.com>
13829 Ulrich Drepper <drepper@gmail.com>
13830
13831 [BZ #12489]
13832 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13833 before performing relro protection. At old place add assertion
13834 to make sure nothing changed.
13835
d3f02e10
NS
138362011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13837 Glauber de Oliveira Costa <glommer@gmail.com>
13838
13839 * elf/elf.h: Add new ARM TLS relocs.
13840
d55fd7a5
RA
138412011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13842
13843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13844 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13845 cast from r3.
13846 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13847 'tests' variable.
13848 * sysdeps/wordsize-64/tst-writev.c: New file.
13849
2206397e
RA
138502011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13851
13852 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13853 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13854 insns in _dl_start to prevent a TOC reference before relocs are
13855 resolved.
13856
e9433893
UD
138572011-02-15 Ulrich Drepper <drepper@gmail.com>
13858
13859 [BZ #12469]
13860 * Makeconfig: Remove RANLIB definition.
13861 * Makerules: Don't use RANLIB.
13862 * aclocal.m4: Remove ranlib test.
13863 * configure.in: No need to check for ranlib.
13864 * elf/rtld-Rules: Don't use RANLIB.
13865
f75286c6
ST
138662011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13867
8e31c82d
ST
13868 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13869 protection macro.
13870 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13871 inclusion protection macro.
13872
f75286c6
ST
13873 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13874 SIGRTMIN and SIGRTMAX and print information in that case only when
13875 SIGRTMIN is defined.
13876
c1d0e639
JJ
138772011-02-11 Jakub Jelinek <jakub@redhat.com>
13878
13879 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13880 arginfo fn returning -1.
13881
13882 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13883 and thousands string is zero terminated.
13884
edf9294e
AS
138852011-02-03 Andreas Schwab <schwab@redhat.com>
13886
13887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13888 sysdeps/unix/sysv/linux/bits/socket.h.
13889
2b7e92df
ST
138902011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13891
edf9294e
AS
13892 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13893 (__CPU_COUNT): Remove old macros.
13894 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13895 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13896 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
13897 (__sched_cpualloc, __sched_cpufree): Add declarations.
13898
a4c7ea7b
UD
138992011-02-05 Ulrich Drepper <drepper@gmail.com>
13900
13901 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13902 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13903 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13904 (readdhstai): Return value of addhstaiX call.
13905 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13906 (addgrbyX): Return value returned by cache_addgr.
13907 (readdgrbyname): Return value returned by addgrbyX.
13908 (readdgrbygid): Likewise.
13909 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13910 (addpwbyX): Return value returned by cache_addpw.
13911 (readdpwbyname): Return value returned by addhstbyX.
13912 (readdpwbyuid): Likewise.
13913 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13914 (addservbyX): Return value returned by cache_addserv.
13915 (readdservbyname): Return value returned by addservbyX:
13916 (readdservbyport): Likewise.
13917 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13918 (addhstbyX): Return value returned by cache_addhst.
13919 (readdhstbyname): Return value returned by addhstbyX.
13920 (readdhstbyaddr): Likewise.
13921 (readdhstbynamev6): Likewise.
13922 (readdhstbyaddrv6): Likewise.
13923 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13924 (readdinitgroups): Return value returned by addinitgroupsX.
13925 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13926 (prune_cache): Keep track of timeout value of re-added entries.
13927 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13928 * nscd/nscd.h: Adjust prototypes of readd* functions.
13929
a0bf67cc
RM
139302011-02-04 Roland McGrath <roland@redhat.com>
13931
13932 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13933 (nis_stats): Likewise.
13934 * nis/nis_modify.c (nis_modify): Likewise.
13935 * nis/nis_remove.c (nis_remove): Likewise.
13936 * nis/nis_add.c (nis_add): Likewise.
13937
13938 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13939
13940 * posix/fnmatch_loop.c: Add some consts.
13941
13942 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13943
435b95eb
L
139442011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13945
13946 [BZ #12460]
13947 * config.make.in (config-cflags-novzeroupper): Define.
13948 * configure.in: Substitute libc_cv_cc_novzeroupper.
13949 * elf/Makefile (AVX-CFLAGS): Define.
13950 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13951 (CFLAGS-tst-auditmod4a.c): Likewise.
13952 (CFLAGS-tst-auditmod4b.c): Likewise.
13953 (CFLAGS-tst-auditmod6b.c): Likewise.
13954 (CFLAGS-tst-auditmod6c.c): Likewise.
13955 (CFLAGS-tst-auditmod7b.c): Likewise.
13956 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13957
8517b15e
UD
139582011-02-02 Ulrich Drepper <drepper@gmail.com>
13959
13960 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13961 function to the callback.
13962 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13963
10a656fe
AS
139642011-02-02 Andreas Schwab <schwab@redhat.com>
13965
13966 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13967 of errno.
13968
968dad0a
UD
139692011-01-19 Ulrich Drepper <drepper@gmail.com>
13970
9f94d2ea 13971 [BZ #11724]
968dad0a
UD
13972 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13973 of constructors.
13974 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13975 of destructors.
13976 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13977
13978 [BZ #11724]
13979 * elf/Makefile: Add rules to build and run new test.
13980 * elf/tst-initorder.c: New file.
13981 * elf/tst-initorder.exp: New file.
13982 * elf/tst-initordera1.c: New file.
13983 * elf/tst-initordera2.c: New file.
13984 * elf/tst-initordera3.c: New file.
13985 * elf/tst-initordera4.c: New file.
13986 * elf/tst-initorderb1.c: New file.
13987 * elf/tst-initorderb2.c: New file.
13988 * elf/tst-order-a1.c: New file.
13989 * elf/tst-order-a2.c: New file.
13990 * elf/tst-order-a3.c: New file.
13991 * elf/tst-order-a4.c: New file.
13992 * elf/tst-order-b1.c: New file.
13993 * elf/tst-order-b2.c: New file.
13994 * elf/tst-order-main.c: New file.
13995 New test case by George Gensure <werkt0@gmail.com>.
13996
86e92359
UD
139972010-10-01 Andreas Schwab <schwab@redhat.com>
13998
13999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14000 decoding ACE if AI_CANONIDN.
14001
5d5732b0
UD
140022011-01-18 Ulrich Drepper <drepper@gmail.com>
14003
14004 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14005
a77e8cbc
UD
140062011-01-17 Ulrich Drepper <drepper@gmail.com>
14007
6392473f
UD
14008 * version.h (RELEASE): Bump for 2.13 release.
14009 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14010
620a0529
UD
14011 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14012
18ba70a5
UD
14013 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14014 MADV_NOHUGEPAGE.
32465c3e
UD
14015 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14016 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14017 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14018 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14019 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14020 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14021
c0dafcf1
UD
14022 * posix/getconf.c: Update copyright year.
14023 * catgets/gencat.c: Likewise.
14024 * csu/version.c: Likewise.
14025 * debug/catchsegv.sh: Likewise.
14026 * debug/xtrace.sh: Likewise.
14027 * elf/ldconfig.c: Likewise.
14028 * elf/ldd.bash.in: Likewise.
14029 * elf/sprof.c (print_version): Likewise.
14030 * iconv/iconv_prog.c: Likewise.
14031 * iconv/iconvconfig.c: Likewise.
14032 * locale/programs/locale.c: Likewise.
14033 * locale/programs/localedef.c: Likewise.
14034 * malloc/memusage.sh: Likewise.
14035 * malloc/mtrace.pl: Likewise.
14036 * nscd/nscd.c (print_version): Likewise.
14037 * nss/getent.c: Likewise.
14038
a77e8cbc
UD
14039 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14040 PF_CAIF, and PF_ALG.
14041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14042
77e8bddf
AS
140432011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14044
1f20b93a
AS
14045 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14046 (modules-names): Use them.
14047 (ifunc-test-modules, ifunc-pie-tests): Define.
14048 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14049 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14050 (test-extras): Likewise.
14051 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14052 $(compile-command.c).
14053 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14054 (all-built-dso): Define.
14055 (check-textrel.out, check-execstack.out): Depend on it.
14056
77e8bddf
AS
14057 * configure.in: Don't override --enable-multi-arch.
14058
bc425b33
UD
140592011-01-15 Ulrich Drepper <drepper@gmail.com>
14060
14061 [BZ #6812]
14062 * nscd/hstcache.c (tryagain): Define.
14063 (cache_addhst): Return tryagain not notfound for temporary errors.
14064 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14065 failed.
14066
794c3ad3
UD
140672011-01-14 Ulrich Drepper <drepper@gmail.com>
14068
70181fdd
UD
14069 [BZ #10563]
14070 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14071 to make the syscall.
14072 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14073
794c3ad3
UD
14074 [BZ #12378]
14075 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14076 and fall back to matching as normal character if the string ends before
14077 the matching ']' is found. This is what POSIX requires.
14078 * posix/testfnm.c: Adjust test result.
14079 * posix/globtest.sh: Adjust test result. Add new test.
14080 * posix/tst-fnmatch.input: Likewise.
14081 * posix/tst-fnmatch2.c: Add new test.
14082
68dc9497
AS
140832010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14084
14085 * elf/Makefile (check-execstack): Revert last change. Depend on
14086 check-execstack.h.
14087 (check-execstack.h): New target.
14088 (generated): Add check-execstack.h.
14089 * elf/check-execstack.c: Include "check-execstack.h".
14090 (main): Revert last change.
14091 (handle_file): Return zero if GNU_STACK is absent and
14092 DEFAULT_STACK_PERMS doesn't include PF_X.
14093
451f001b
UD
140942011-01-13 Ulrich Drepper <drepper@gmail.com>
14095
cfa28e56
UD
14096 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14097 in child fails because the descriptor is already closed.
8cf8ce17
UD
14098 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14099 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14100 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14101
1086d70d
UD
14102 [BZ #12397]
14103 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14104 syscall.
14105
451f001b
UD
14106 [BZ #10484]
14107 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14108 temporary buffer used to handle multi lookups locally.
a85b5cb4 14109 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14110
08769175
UD
141112011-01-12 Ulrich Drepper <drepper@gmail.com>
14112
14113 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14114 loader is ld.so.
14115
5e49c52e
UD
141162011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14117
14118 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14119 alignment for SSE2.
14120
60522a5f
UD
141212011-01-12 Ulrich Drepper <drepper@gmail.com>
14122
14123 [BZ #12394]
14124 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14125 characters. When rounding increased number of integer digits recompute
14126 number of groups.
14127 * stdio-common/tst-grouping.c: New file.
14128 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14129
f257bbd7
UD
141302011-01-09 Ulrich Drepper <drepper@gmail.com>
14131
14132 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14133 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14134
14135 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14136 void.
14137 * bits/select.h: Likewise.
14138
fa9c15cb
UD
141392011-01-08 Ulrich Drepper <drepper@gmail.com>
14140
14141 * po/ja.po: Update from translation team.
14142
16c2895f
DM
141432011-01-04 David S. Miller <davem@sunset.davemloft.net>
14144
14145 [BZ #11155]
14146 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14147 implementation just like for lxstat, fxstatat, et al.
14148
2543fef2
JM
141492010-12-27 Jim Meyering <meyering@redhat.com>
14150
14151 [BZ #12348]
14152 * posix/regexec.c (build_trtable): Return failure indication upon
14153 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14154
98727dbe
UD
141552010-12-25 Ulrich Drepper <drepper@gmail.com>
14156
5bd6dc5c
UD
14157 [BZ #12201]
14158 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14159 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14160 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14161 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14162
97983464
UD
14163 [BZ #12207]
14164 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14165
98727dbe
UD
14166 [BZ #12204]
14167 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14168 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14169
4a531bb0
L
141702010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14171
14172 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14173 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14174 script has SORT_BY_INIT_PRIORITY.
14175 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14176 NO_CTORS_DTORS_SECTIONS is defined.
14177 * elf/soinit.c: Likewise.
14178 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14179 NO_CTORS_DTORS_SECTIONS is defined.
14180 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14181 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14182 * sysdeps/sh/init-first.c: Likewise.
14183 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14184
07eb4b71
UD
141852010-12-24 Ulrich Drepper <drepper@gmail.com>
14186
14187 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14188 always use the slow path.
14189
30950a5f
RA
141902010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14191
14192 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14193 similar rule which adds the sysdep directories to the header search in
14194 order to pick up the correct platform stackinfo.h.
14195 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14196 perform test if it is, otherwise return successfully without testing.
14197 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14198 DEFAULT_STACK_PERMS define in stackinfo.h.
14199 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14200 defined in stackinfo.h.
14201 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14202 DEFAULT_STACK_PERMS defined in stackinfo.h.
14203 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14204 * sysdeps/ia64/stackinfo.h: Likewise.
14205 * sysdeps/s390/stackinfo.h: Likewise.
14206 * sysdeps/sh/stackinfo.h: Likewise.
14207 * sysdeps/sparc/stackinfo.h: Likewise.
14208 * sysdeps/x86_64/stackinfo.h: Likewise.
14209 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14210 PF_X for powerpc64. Retain PF_X for powerpc32.
14211
db753e2c
UD
142122010-12-19 Ulrich Drepper <drepper@gmail.com>
14213
14b697f7
UD
14214 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14215 accurately.
db753e2c
UD
14216 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14217 GETDENTS_64BIT_ALIGNED.
14218
28300719
UD
142192010-12-14 Ulrich Drepper <dreper@gmail.com>
14220
14b697f7 14221 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14222
4f197237
AS
142232010-12-10 Andreas Schwab <schwab@redhat.com>
14224
dbb0472f
AS
14225 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14226 _GNU_SOURCE.
14227
4f197237
AS
14228 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14229 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14230 Remove __restrict.
14231 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14232 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14233
fb88ac72
UD
142342010-12-09 Ulrich Drepper <drepper@gmail.com>
14235
14236 [BZ #11655]
14237 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14238 are initialized.
14239
42acbb92
JJ
142402010-12-09 Jakub Jelinek <jakub@redhat.com>
14241
14242 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14243
c038d98d
UD
142442010-12-03 Ulrich Drepper <drepper@gmail.com>
14245
14246 * po/it.po: Update from translation team.
14247
3a4a2499
L
142482010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14249
14250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14251 unused codes.
14252
1e24cf6e
UD
142532010-11-30 Ulrich Drepper <drepper@gmail.com>
14254
14255 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14256
a7690819
AS
142572010-11-24 Andreas Schwab <schwab@redhat.com>
14258
14259 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14260 specially.
14261 (gaih_getanswer_slice): Likewise.
14262
3bf8d1b1
JJ
142632010-10-20 Jakub Jelinek <jakub@redhat.com>
14264
14265 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14266
6db52fbb
PB
142672010-05-31 Petr Baudis <pasky@suse.cz>
14268
14269 [BZ #11149]
14270 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14271 silently even in the chroot mode.
14272
eaca7569
UD
142732010-11-22 Ulrich Drepper <drepper@gmail.com>
14274
14275 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14276 last patch a bit. Pretty printing
14277
3056dcdb
UD
142782010-05-31 Petr Baudis <pasky@suse.cz>
14279
14280 [BZ #10085]
14281 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14282 initialization of skip_initgroups_dyn.
14283
cf7c9078
UD
142842010-11-19 Ulrich Drepper <drepper@gmail.com>
14285
14286 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14287 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14288
a1fb5e3e
UD
142892010-11-16 Ulrich Drepper <drepper@gmail.com>
14290
14291 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14292
3540d66b
AS
142932010-11-11 Andreas Schwab <schwab@redhat.com>
14294
14295 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14296 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14297 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14298 ($(objpfx)tst-fnmatch-mem): New rule.
14299 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14300 * posix/tst-fnmatch.c (main): Call mtrace.
14301
13b69574
L
143022010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14303
14304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14305 Support Intel processor model 6 and model 0x2c.
14306
da93d214
LM
143072010-11-10 Luis Machado <luisgpm@br.ibm.com>
14308
14309 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14310 signed comparison.
14311
8ca52c6e
L
143122010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14313
14314 [BZ #12205]
14315 * string/test-strncasecmp.c (check_result): New function.
14316 (do_one_test): Use it.
14317 (check1): New function.
14318 (test_main): Use it.
14319 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14320 Support strcasecmp and strncasecmp.
14321
69da074d
UD
143222010-11-08 Ulrich Drepper <drepper@gmail.com>
14323
14324 [BZ #12194]
14325 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14326 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14327
ff02d528
L
143282010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14329
14330 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14331 IFUNC support.
14332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14333 memset-x86-64.
14334 * sysdeps/x86_64/multiarch/bzero.S: New file.
14335 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14336 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14337 * sysdeps/x86_64/multiarch/memset.S: New file.
14338 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14340 Set bit_Prefer_SSE_for_memop for Intel processors.
14341 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14342 Define.
14343 (index_Prefer_SSE_for_memop): Define.
14344 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14345
344d0b54
LM
143462010-11-04 Luis Machado <luisgpm@br.ibm.com>
14347
14348 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14349 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14350
c0dde15b
UD
143512010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14352
14353 [BZ #12191]
14354 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14355 (__x86_64_raw_data_cache_size_half): Likewise.
14356 (__x86_64_raw_shared_cache_size): Likewise.
14357 (__x86_64_raw_shared_cache_size_half): Likewise.
14358
14359 * sysdeps/x86_64/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 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14364 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14365 and __x86_64_raw_shared_cache_size_half. Round
14366 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14367 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14368 to multiple of 256 bytes.
14369
0e516e0e
MS
143702010-11-03 Ulrich Drepper <drepper@gmail.com>
14371
14372 [BZ #12167]
14373 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14374 of inacessible symlinks. Verify result of symlink before returning it.
14375 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14376 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14377
0e012e87
ER
143782010-10-28 Erich Ritz <erichritz@gmail.com>
14379
14380 * math/math.h (isinf): Fix typo in comment.
14381
de0ff7bc
UD
143822010-11-01 Ulrich Drepper <drepper@gmail.com>
14383
14384 * po/da.po: Update from translation team.
14385
fa41c84d
UD
143862010-10-26 Ulrich Drepper <drepper@gmail.com>
14387
14388 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14389 is added to the list.
14390
f0967738
AK
143912010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14392 Ulrich Drepper <drepper@gmail.com>
14393
14394 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14395 the global list here. Move code to...
14396 (_dl_add_to_namespace_list): ...here. New function.
14397 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14398 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14399 * elf/dl-load.c (lose): Don't remove the element from the list.
14400 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14401 (_dl_map_object): Likewise.
14402
144032010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14404
14405 [BZ #12159]
14406 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14407 into all bytes of SSE register.
14408 Patch by Richard Li <richardpku@gmail.com>.
14409
f0967738 144102010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14411
14412 [BZ #12140]
14413 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14414 perturbing.
14415
d0b9e94f
MB
144162010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14417
14418 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14419 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14420 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14421 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14423 submachine.
14424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14425
8e9f92e9
AS
144262010-10-22 Andreas Schwab <schwab@redhat.com>
14427
14428 * include/dlfcn.h (__RTLD_SECURE): Define.
14429 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14430 mode & __RTLD_SECURE instead.
14431 (open_path): Rename preloaded parameter to secure.
14432 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14433 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14434 * elf/dl-deps.c (openaux): Likewise.
14435 * elf/rtld.c (struct map_args): Remove is_preloaded.
14436 (map_doit): Don't use it.
14437 (dl_main): Likewise.
14438 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14439 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14440
bc96fbda
AS
144412010-09-09 Andreas Schwab <schwab@redhat.com>
14442
14443 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14444 (sysd-rules-targets): Remove duplicates.
14445 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14446 rtld-%.$o dependency.
14447
22cd1c9b
AS
144482010-10-18 Andreas Schwab <schwab@redhat.com>
14449
14450 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14451 _dl_map_object do it.
14452
18edac48
UD
144532010-10-19 Ulrich Drepper <drepper@gmail.com>
14454
14455 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14456 fast fma builtins, define the macros in the C99 standard.
14457 (FP_FAST_FMAF): Likewise.
14458 (FP_FAST_FMAL): Likewise.
14459 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14460
14461 * bits/mathdef.h: Update copyright year.
14462 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14463
d2050124
MM
144642010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14465
14466 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14467 builtins, define the macros in the C99 standard.
14468 (FP_FAST_FMAF): Likewise.
14469 (FP_FAST_FMAL): Likewise.
14470 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14471 multiply/add.
14472 (FP_FAST_FMAF): Likewise.
14473
475facd1
JJ
144742010-10-15 Jakub Jelinek <jakub@redhat.com>
14475
14476 [BZ #3268]
14477 * math/libm-test.inc (fma_test): Some new testcases.
14478 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14479 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14480 y and infinite z. Do multiplication by C already in long double.
14481 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14483 y and infinite z. Do bitwise or of inexact bit into u.d.
14484 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14485 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14486 * sysdeps/i386/fpu/s_fma.S: Removed.
14487 * sysdeps/i386/fpu/s_fmal.S: Removed.
14488
7c08a05c
JJ
144892010-10-16 Jakub Jelinek <jakub@redhat.com>
14490
14491 [BZ #3268]
14492 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14493 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14494 computation is not scheduled after fetestexcept. Fix value
14495 of minimum denormal long double.
14496
f3f7372d
JJ
144972010-10-14 Jakub Jelinek <jakub@redhat.com>
14498
14499 [BZ #3268]
14500 * math/libm-test.inc (fma_test): Add some more tests.
14501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14502 correctly.
14503
14d43591
AS
145042010-10-15 Andreas Schwab <schwab@redhat.com>
14505
14506 * scripts/data/localplt-s390-linux-gnu.data: New file.
14507 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14508
5e908464
JJ
145092010-10-13 Jakub Jelinek <jakub@redhat.com>
14510
14511 [BZ #3268]
14512 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14513 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14514 instead of dbl-64.
14515 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14516 inlines.
14517 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14519 if one of x and y is very large and the other is subnormal.
14520 * sysdeps/s390/fpu/s_fmaf.c: New file.
14521 * sysdeps/s390/fpu/s_fma.c: New file.
14522 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14523 * sysdeps/powerpc/fpu/s_fma.S: New file.
14524 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14525 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14526 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14527
145282010-10-12 Jakub Jelinek <jakub@redhat.com>
14529
14530 [BZ #3268]
14531 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14532 fma tests.
14533 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14534 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14535 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14536 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14537 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14538 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14539 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14540
b833d51f
UD
145412010-10-12 Ulrich Drepper <drepper@redhat.com>
14542
14543 [BZ #12078]
14544 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14545 * posix/bug-regex31.input: Add test case.
14546
1751705d
UD
145472010-10-11 Ulrich Drepper <drepper@gmail.com>
14548
e9b9cbf5
UD
14549 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14550 * posix/bug-regex31.input: New file.
14551
14552 [BZ #12078]
14553 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14554 (parse_sub_exp): Fix last change, use postorder.
14555
ef06edbe
UD
14556 * posix/bug-regex31.c: New file.
14557 * posix/Makefile: Add rules to build and run bug-regex31.
14558
a129c80d
UD
14559 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14560
14561 [BZ #12078]
14562 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14563
b76b818e
UD
14564 [BZ #12108]
14565 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14566 to have entries in sys_siglist.
14567
1751705d
UD
14568 [BZ #12093]
14569 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14570 be NULL.
14571
9ff8d36f
JJ
145722010-10-07 Jakub Jelinek <jakub@redhat.com>
14573
14574 [BZ #3268]
14575 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14576 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14577 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14578 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14579 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14580 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14581 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14582 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14583 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14584 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14585 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14586 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14587 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14588 * math/ftestexcept.c (fetestexcept): Likewise.
14589 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14590 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14591 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14592 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14593 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14594 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14595 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14596
af325969
UD
145972010-10-11 Ulrich Drepper <drepper@gmail.com>
14598
c579b202 14599 [BZ #12107]
af325969
UD
14600 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14601 newline.
14602
67a67b95
UD
146032010-10-06 Ulrich Drepper <drepper@gmail.com>
14604
14605 * string/bug-strstr1.c: New file.
14606 * string/Makefile: Add rules to build and run bug-strstr1.
14607
5fb308bc
EB
146082010-10-05 Eric Blake <eblake@redhat.com>
14609
14610 [BZ #12092]
14611 * string/str-two-way.h (two_way_long_needle): Always clear memory
14612 when skipping input due to the shift table.
14613
45db99c7
UD
146142010-10-03 Ulrich Drepper <drepper@gmail.com>
14615
3b111893
UD
14616 [BZ #12005]
14617 * malloc/mcheck.c: Handle large requests.
14618
45db99c7
UD
14619 [BZ #12077]
14620 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14621 for strncmp and strncasecmp.
14622 * string/stratcliff.c: Add tests for strcmp and strncmp.
14623 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14624
cf7a1eb8
NI
146252010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14626
14627 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14628 __set_fpscr.
14629
6484ba5e
AJ
146302010-09-30 Andreas Jaeger <aj@suse.de>
14631
14632 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14633 (CGROUP_SUPER_MAGIC): Define.
14634 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14635 Handle btrfs and cgroup file systems.
14636 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14637 Likewise.
14638
91c42559
LM
146392010-09-27 Luis Machado <luisgpm@br.ibm.com>
14640
14641 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14642 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14643
87a97932
AK
146442010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14645
14646 [BZ #12067]
14647 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14648 trying to locate the ELF header.
14649
c21cc9bc
AS
146502010-09-27 Andreas Schwab <schwab@redhat.com>
14651
14652 [BZ #11611]
14653 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14654 Mask out sign-bit copies when constructing f_fsid.
14655
315970f6
PB
146562010-09-24 Petr Baudis <pasky@suse.cz>
14657
14658 * debug/stack_chk_fail_local.c: Add missing licence exception.
14659 * debug/warning-nop.c: Likewise.
14660
1ac7a2c7
JM
146612010-09-15 Joseph Myers <joseph@codesourcery.com>
14662
14663 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14664 implementing getdents64 using getdents syscall, set d_type if
14665 __ASSUME_GETDENTS32_D_TYPE.
14666
56801c50
AS
146672010-09-16 Andreas Schwab <schwab@redhat.com>
14668
14669 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14670 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14671
dda51327
UD
146722010-09-21 Ulrich Drepper <drepper@redhat.com>
14673
14674 [BZ #12037]
14675 * posix/unistd.h: Undo change of feature selection for ftruncate from
14676 2010-01-11.
14677
8ffcee4a
UD
146782010-09-20 Ulrich Drepper <drepper@redhat.com>
14679
a545ecd9 14680 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14681 detection.
14682
e24f0a8b
AS
146832010-09-20 Andreas Schwab <schwab@redhat.com>
14684
14685 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14686 fanotify_mark.
14687 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14688
7291c56f
AS
146892010-09-14 Andreas Schwab <schwab@redhat.com>
14690
14691 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14692 variables after CHECK_SP call.
14693 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14694
bc5fb037
AS
146952010-09-13 Andreas Schwab <schwab@redhat.com>
14696 Ulrich Drepper <drepper@redhat.com>
14697
14698 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14699 re-relocationg ld.so.
14700 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14701 _dl_init_paths call.
14702 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14703 here anymore.
14704
e66e7419
UD
147052010-09-14 Ulrich Drepper <drepper@redhat.com>
14706
14707 * resolv/res_init.c (__res_vinit): Count the default server we added.
14708
c044aa75
CLT
147092010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14710 Ulrich Drepper <drepper@redhat.com>
14711
14712 [BZ #11968]
14713 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14714 (____longjmp_chk): Use %ebx for saving value across system call.
14715 Add unwind info.
14716
32cf4069
AS
147172010-09-06 Andreas Schwab <schwab@redhat.com>
14718
14719 * manual/Makefile: Don't mix pattern rules with normal rules.
14720
817328ee
AS
147212010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14722
14723 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14724 operation.
14725 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14726 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14727 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14728 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14729 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14730 Likewise.
14731
29fddf61
UD
147322010-09-04 Ulrich Drepper <drepper@redhat.com>
14733
14734 [BZ #11979]
14735 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14736 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14737
0959ffc9
UD
147382010-09-02 Ulrich Drepper <drepper@redhat.com>
14739
14740 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14741 * sysdeps/x86_64/addmul_1.S: Likewise.
14742 * sysdeps/x86_64/lshift.S: Likewise.
14743 * sysdeps/x86_64/mul_1.S: Likewise.
14744 * sysdeps/x86_64/rshift.S: Likewise.
14745 * sysdeps/x86_64/sub_n.S: Likewise.
14746 * sysdeps/x86_64/submul_1.S: Likewise.
14747
ece29840
ST
147482010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14749
0959ffc9
UD
14750 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14751 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14752 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14753 * bits/sched.h [__need_schedparam]
ece29840 14754 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
14755 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14756 (__defined_schedparam): Define to 1.
ece29840
ST
14757 (__sched_param): New structure, identical to sched_param.
14758 (__need_schedparam): Undefine.
14759
e53a31fe
MF
147602010-08-31 Mike Frysinger <vapier@gentoo.org>
14761
fdc0c10d
MF
14762 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14763 (epoll_create1): Declare.
14764
e53a31fe
MF
14765 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14766
a726d796
AS
147672010-08-31 Andreas Schwab <schwab@redhat.com>
14768
14769 [BZ #7066]
14770 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14771 shifting retval into place.
14772
2f3e3dc7
UD
147732010-09-01 Ulrich Drepper <drepper@redhat.com>
14774
f2933da9
UD
14775 * nis/rpcsvc/nis.h: Update copyright notice.
14776 * nis/rpcsvc/nis.x: Likewise.
14777 * nis/rpcsvc/nis_callback.h: Likewise.
14778 * nis/rpcsvc/nis_callback.x: Likewise.
14779 * nis/rpcsvc/nis_object.x: Likewise.
14780 * nis/rpcsvc/nis_tags.h: Likewise.
14781 * nis/rpcsvc/yp.h: Likewise.
14782 * nis/rpcsvc/yp.x: Likewise.
14783 * nis/rpcsvc/ypupd.h: Likewise.
14784 * nis/yp_xdr.c: Likewise.
14785 * nis/ypupdate_xdr.c: Likewise.
14786
2f3e3dc7
UD
14787 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14788 mainly the body of pmap_getport. Add parameters to specify timeouts.
14789 (pmap_getport): Use __libc_rpc_getport.
14790 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14791 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14792 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14793
f3dcc2f9
AS
147942010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14795
14796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14797 fanotify_mark.
14798
6d34eb5b
RM
147992010-08-27 Roland McGrath <roland@redhat.com>
14800
14801 * sysdeps/i386/i686/multiarch/Makefile
14802 (CFLAGS-varshift.c): New variable.
14803
9ea3de11
UD
148042010-08-27 Ulrich Drepper <drepper@redhat.com>
14805
c96d23fc
UD
14806 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14807 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14808
9ea3de11
UD
14809 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14810
14811 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14812
623aac7f
L
148132010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14814
14815 * sysdeps/x86_64/strlen.S: Unroll the loop.
14816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14817 strlen-sse2 strlen-sse2-bsf.
14818 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14819 __strlen_no_bsf if bit_Slow_BSF is set.
14820 (__strlen_sse42): Removed.
14821 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14822 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14823
8b2b7715
RM
148242010-08-25 Roland McGrath <roland@redhat.com>
14825
14826 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14827 * sysdeps/x86_64/multiarch/varshift.c: New file.
14828 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14829 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14830 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14831 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14832
e73015f2
L
148332010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14834
14835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14836 strlen-sse2 strlen-sse2-bsf.
14837 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14838 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14839 (__strlen_sse2): Removed.
14840 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14841 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14843 bit_Slow_BSF for Atom.
14844 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14845 (index_Slow_BSF): Define.
14846 (HAS_SLOW_BSF): Define.
14847
df24a73e
UD
148482010-08-25 Ulrich Drepper <drepper@redhat.com>
14849
14850 [BZ #10851]
14851 * resolv/res_init.c (__res_vinit): When no server address at all
14852 is given default to loopback.
14853
f2ac4868
RM
148542010-08-24 Roland McGrath <roland@redhat.com>
14855
09055553
RM
14856 * configure.in: Remove config-name.h generation.
14857 * configure: Regenerated.
14858 * config-name.in: File removed.
14859 * scripts/config-uname.sh: New file.
14860 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14861 ($(objdir)config-name.h): New target.
14862
f2ac4868
RM
14863 * sunrpc/rpc_parse.h: Avoid nested comment.
14864
73f27d5e
RH
148652010-08-24 Richard Henderson <rth@redhat.com>
14866 Ulrich Drepper <drepper@redhat.com>
14867 H.J. Lu <hongjiu.lu@intel.com>
14868
14869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14871 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14872 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14873 _mm_alignr_epi8 with _mm_loadu_si128.
14874 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14875 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14876 (__m128i_shift_right): Removed.
14877 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14878 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14879 * sysdeps/x86_64/multiarch/varshift.h: New file.
14880 * sysdeps/x86_64/multiarch/varshift.S: New file.
14881
84b9230c
MF
148822010-08-21 Mike Frysinger <vapier@gentoo.org>
14883
14884 * configure.in: Move assembler checks to before sysdep dir checking.
14885
9bbd0ddc
PB
148862010-08-20 Petr Baudis <pasky@suse.cz>
14887
14888 * LICENSES: Sync the sunrpc license.
14889
9da4bb31
UD
148902010-08-19 Ulrich Drepper <drepper@redhat.com>
14891
a7ab6ec8
UD
14892 * sunrpc/auth_des.c: Update copyright notice once again.
14893 * sunrpc/auth_none.c: Likewise.
14894 * sunrpc/auth_unix.c: Likewise.
14895 * sunrpc/authdes_prot.c: Likewise.
14896 * sunrpc/authuxprot.c: Likewise.
14897 * sunrpc/bindrsvprt.c: Likewise.
14898 * sunrpc/clnt_gen.c: Likewise.
14899 * sunrpc/clnt_perr.c: Likewise.
14900 * sunrpc/clnt_raw.c: Likewise.
14901 * sunrpc/clnt_simp.c: Likewise.
14902 * sunrpc/clnt_tcp.c: Likewise.
14903 * sunrpc/clnt_udp.c: Likewise.
14904 * sunrpc/clnt_unix.c: Likewise.
14905 * sunrpc/des_crypt.c: Likewise.
14906 * sunrpc/des_soft.c: Likewise.
14907 * sunrpc/get_myaddr.c: Likewise.
14908 * sunrpc/getrpcport.c: Likewise.
14909 * sunrpc/key_call.c: Likewise.
14910 * sunrpc/key_prot.c: Likewise.
14911 * sunrpc/openchild.c: Likewise.
14912 * sunrpc/pm_getmaps.c: Likewise.
14913 * sunrpc/pm_getport.c: Likewise.
14914 * sunrpc/pmap_clnt.c: Likewise.
14915 * sunrpc/pmap_prot.c: Likewise.
14916 * sunrpc/pmap_prot2.c: Likewise.
14917 * sunrpc/pmap_rmt.c: Likewise.
14918 * sunrpc/rpc/auth.h: Likewise.
14919 * sunrpc/rpc/auth_unix.h: Likewise.
14920 * sunrpc/rpc/clnt.h: Likewise.
14921 * sunrpc/rpc/des_crypt.h: Likewise.
14922 * sunrpc/rpc/key_prot.h: Likewise.
14923 * sunrpc/rpc/netdb.h: Likewise.
14924 * sunrpc/rpc/pmap_clnt.h: Likewise.
14925 * sunrpc/rpc/pmap_prot.h: Likewise.
14926 * sunrpc/rpc/pmap_rmt.h: Likewise.
14927 * sunrpc/rpc/rpc.h: Likewise.
14928 * sunrpc/rpc/rpc_des.h: Likewise.
14929 * sunrpc/rpc/rpc_msg.h: Likewise.
14930 * sunrpc/rpc/svc.h: Likewise.
14931 * sunrpc/rpc/svc_auth.h: Likewise.
14932 * sunrpc/rpc/types.h: Likewise.
14933 * sunrpc/rpc/xdr.h: Likewise.
14934 * sunrpc/rpc_clntout.c: Likewise.
14935 * sunrpc/rpc_cmsg.c: Likewise.
14936 * sunrpc/rpc_common.c: Likewise.
14937 * sunrpc/rpc_cout.c: Likewise.
14938 * sunrpc/rpc_dtable.c: Likewise.
14939 * sunrpc/rpc_hout.c: Likewise.
14940 * sunrpc/rpc_main.c: Likewise.
14941 * sunrpc/rpc_parse.c: Likewise.
14942 * sunrpc/rpc_parse.h: Likewise.
14943 * sunrpc/rpc_prot.c: Likewise.
14944 * sunrpc/rpc_sample.c: Likewise.
14945 * sunrpc/rpc_scan.c: Likewise.
14946 * sunrpc/rpc_scan.h: Likewise.
14947 * sunrpc/rpc_svcout.c: Likewise.
14948 * sunrpc/rpc_tblout.c: Likewise.
14949 * sunrpc/rpc_util.c: Likewise.
14950 * sunrpc/rpc_util.h: Likewise.
14951 * sunrpc/rpcinfo.c: Likewise.
14952 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14953 * sunrpc/rpcsvc/key_prot.x: Likewise.
14954 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14955 * sunrpc/rpcsvc/mount.x: Likewise.
14956 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14957 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14958 * sunrpc/rpcsvc/rex.x: Likewise.
14959 * sunrpc/rpcsvc/rstat.x: Likewise.
14960 * sunrpc/rpcsvc/rusers.x: Likewise.
14961 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14962 * sunrpc/rpcsvc/spray.x: Likewise.
14963 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14964 * sunrpc/rtime.c: Likewise.
14965 * sunrpc/svc.c: Likewise.
14966 * sunrpc/svc_auth.c: Likewise.
14967 * sunrpc/svc_authux.c: Likewise.
14968 * sunrpc/svc_raw.c: Likewise.
14969 * sunrpc/svc_run.c: Likewise.
14970 * sunrpc/svc_simple.c: Likewise.
14971 * sunrpc/svc_tcp.c: Likewise.
14972 * sunrpc/svc_udp.c: Likewise.
14973 * sunrpc/svc_unix.c: Likewise.
14974 * sunrpc/svcauth_des.c: Likewise.
14975 * sunrpc/xcrypt.c: Likewise.
14976 * sunrpc/xdr.c: Likewise.
14977 * sunrpc/xdr_array.c: Likewise.
14978 * sunrpc/xdr_float.c: Likewise.
14979 * sunrpc/xdr_mem.c: Likewise.
14980 * sunrpc/xdr_rec.c: Likewise.
14981 * sunrpc/xdr_ref.c: Likewise.
14982 * sunrpc/xdr_sizeof.c: Likewise.
14983 * sunrpc/xdr_stdio.c: Likewise.
14984
9da4bb31
UD
14985 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14986 handling.
14987
bdaa77bc
AS
149882010-08-19 Andreas Schwab <schwab@redhat.com>
14989
14990 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14991
fe2f79db
LM
149922010-08-19 Luis Machado <luisgpm@br.ibm.com>
14993
14994 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14995 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14996 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14997 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14998 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14999 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15000 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15001 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15002 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15003 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15004 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15005 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15006 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15007 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15008
b9b42ee0
AB
150092010-07-26 Anton Blanchard <anton@samba.org>
15010
15011 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15012 * malloc/arena.c (heap_trim): Likewise.
15013
1c06ba31
UD
150142010-08-16 Ulrich Drepper <drepper@redhat.com>
15015
15016 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15017 here. Not...
15018 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15019 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15020
f8392f40
L
150212010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15022
15023 * sysdeps/i386/elf/Makefile: New file.
15024
3162f12e
AS
150252010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15026
15027 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15028 from fanotify_init.
15029 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15030 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15031
28c90b2c
UD
150322010-08-15 Ulrich Drepper <drepper@redhat.com>
15033
15034 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15035 of strncasecmp_l.
1feccb6c 15036 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15037
ca6bb004
UD
150382010-08-14 Ulrich Drepper <drepper@redhat.com>
15039
e9f82e0d
UD
15040 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15041 strncase_l-nonascii.
15042 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15043 Add strncase_l-ssse3.
15044 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15045 * sysdeps/x86_64/strcmp.S: Likewise.
15046 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15047 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15048 * sysdeps/x86_64/strncase.S: New file.
15049 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15050 * sysdeps/x86_64/strncase_l.S: New file.
15051 * string/Makefile (strop-tests): Add strncasecmp.
15052 * string/test-strncasecmp.c: New file.
15053
15054 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15055 warning.
15056
ca6bb004
UD
15057 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15058 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15059
052fa7b3
AS
150602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15061
15062 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15063
962dba78
UD
150642010-08-12 Ulrich Drepper <drepper@redhat.com>
15065
15066 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15067 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15068 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15069
bebff237
AM
150702010-05-01 Alan Modra <amodra@gmail.com>
15071
15072 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15073 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15074 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15075 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15076 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15077 tidying. Don't tail-call __sigjmp_save for static lib.
15078 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15079 save location.
15080 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15081 (CALL_MCOUNT): Add eh info, and nop after bl.
15082 (TAIL_CALL_SYSCALL_ERROR): New macro.
15083 (PSEUDO_RET): Use it.
15084 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15085 Correct save location of integer regs and cr.
15086 (_dl_profile_resolve): Correct cr save location. Delete nops
15087 after bl when SHARED. Reduce cfi size a little by better
15088 placement of cfi directives.
15089 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15090 make a stack frame. Instead use parm save area as a temp.
15091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15092 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15094 Don't make a stack frame for parent, use parm save area.
15095 Increase child stack frame to 112 bytes. Don't save unused reg,
15096 and adjust reg usage. Set up cfi on error recovery and
15097 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15099 (__makecontext): Add dummy nop after jump to exit.
15100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15101 Use correct parm save area and cr save, reduce stack frame.
15102 Correct cfi for possible PSEUDO_RET frame setup.
15103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15104 Branch to local label emitted by PSEUDO_RET rather than
15105 __syscall_error.
15106
02637374
AS
151072010-08-12 Andreas Schwab <schwab@redhat.com>
15108
15109 [BZ #11904]
15110 * locale/programs/locale.c (print_assignment): New function.
15111 (show_locale_vars): Use it.
15112
c3e2f19b
UD
151132010-08-11 Ulrich Drepper <drepper@redhat.com>
15114
3cdaa6ad
UD
15115 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15116 field.
15117 (struct statfs64): Likewise.
15118 (_STATFS_F_FLAGS): Define.
15119 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15120 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15121 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15122 (ST_VALID): Define locally.
15123 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15124 __statvfs_getflags, use the provided value.
15125 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15126 __ASSUME_STATFS_F_FLAGS.
15127
754f7da3
UD
15128 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15129
10b3bedc
UD
15130 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15131 Add sys/fanotify.h.
15132 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15133 fanotify_mask for GLIBC_2.13.
15134 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15135 fanotify_init and fanotify_mark.
15136 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15137 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15138
c08fb0d7
UD
15139 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15140 Add prlimit.
15141 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15142 prlimit64 for GLIBC_2.13.
15143 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15144 prlimit64.
15145 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15146 syscall.
15147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15148 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15149 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15150 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15151 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15152 add prlimit alias.
15153 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15154
15bac72b
UD
15155 [BZ #11903]
15156 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15157 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15158
c3e2f19b
UD
15159 * nss/Makefile: Add rules to build and run tst-nss-test1.
15160 * shlib-versions: Add entry for libnss_test1.
15161 * nss/nss_test1.c: New file.
15162 * nss/tst-nss-test1.c: New file.
15163
15164 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15165 (__nss_configure_lookup): Set appropriate entry in
15166 __nss_configure_lookup to true.
15167 * nss/nsswitch.h: Define enum with indeces of databases in
15168 databases and __nss_database_custom arrays. Declare
15169 __nss_database_custom.
15170 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15171 to avoid using nscd when custom rules are installed.
15172 * nss/getXXbyYY_r.c: Likewise.
15173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15174
15175 * nss/nss_files/files-parse.c: Whitespace fixes.
15176
f15ce4d8
UD
151772010-08-09 Ulrich Drepper <drepper@redhat.com>
15178
15179 [BZ #11883]
15180 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15181 * posix/fnmatch_loop.c: Likewise.
15182
d22e4cc9
AK
151832010-07-17 Andi Kleen <ak@linux.intel.com>
15184
15185 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15186 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15187 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15188 * Versions.def [GLIBC_2.13]: Add.
15189
805bc17d
UD
151902010-08-06 Ulrich Drepper <drepper@redhat.com>
15191
15192 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15193 Also fail if tpwd after pwuid call is NULL.
15194
5a42321d
ST
151952010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15196
15197 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15198 when converting to ms.
15199
fd3ebeda
ST
152002010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15201
15202 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15203 EOPNOTSUPP errors with ENOTTY.
15204 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15205 EOPNOTSUPP errors with ENOTTY.
15206
73507d3a
UD
152072010-07-31 Ulrich Drepper <drepper@redhat.com>
15208
15209 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15210 Add strcasecmp_l-ssse3.
15211 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15212 strcasecmp.
15213 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15214 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15215 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15216
fe36dd02
UD
152172010-07-30 Ulrich Drepper <drepper@redhat.com>
15218
66f6765a
UD
15219 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15220
42e08a54
UD
15221 * string/Makefile (strop-tests): Add strcasecmp.
15222 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15223 strcasecmp_l-nonascii.
15224 (gen-as-const-headers): Add locale-defines.sym.
15225 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15226 * sysdeps/x86_64/strcasecmp.S: New file.
15227 * sysdeps/x86_64/strcasecmp_l.S: New file.
15228 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15229 * sysdeps/x86_64/locale-defines.sym: New file.
15230 * string/test-strcasecmp.c: New file.
15231
fe36dd02
UD
15232 * string/test-strcasestr.c: Test both ends of the range of characters.
15233 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15234
48cbc0d6
RM
152352010-07-29 Roland McGrath <roland@redhat.com>
15236
76e6d6bc 15237 [BZ #11856]
48cbc0d6
RM
15238 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15239
880113d9
UD
152402010-07-27 Ulrich Drepper <drepper@redhat.com>
15241
15242 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15243 for ld.so.
15244
deb9cabb
AS
152452010-07-27 Andreas Schwab <schwab@redhat.com>
15246
15247 * manual/memory.texi (Malloc Tunable Parameters): Document
15248 M_PERTURB.
15249
1c7570ff
RM
152502010-07-26 Roland McGrath <roland@redhat.com>
15251
15252 [BZ #11840]
15253 * configure.in (-fgnu89-inline check): Set and substitute
15254 gnu89_inline, not libc_cv_gnu89_inline.
15255 * configure: Regenerated.
15256 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15257
24fb0f88
UD
152582010-07-26 Ulrich Drepper <drepper@redhat.com>
15259
15260 * string/test-strnlen.c: New file.
15261 * string/Makefile (strop-tests): Add strnlen.
15262 * string/tester.c (test_strnlen): Add a few more test cases.
15263 * string/tst-strlen.c: Better error reporting.
15264
15265 * sysdeps/x86_64/strnlen.S: New file.
15266
8e96b93a
UD
152672010-07-24 Ulrich Drepper <drepper@redhat.com>
15268
15269 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15270 lower-latency instructions.
15271
dbc676d4
UD
152722010-07-23 Ulrich Drepper <drepper@redhat.com>
15273
15274 * string/test-strcasestr.c: New file.
15275 * string/test-strstr.c: New file.
15276 * string/Makefile (strop-tests): Add strstr and strcasestr.
15277 * string/str-two-way.h: Don't undefine MAX.
15278 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15279
f6a31e0e
AS
152802010-07-21 Andreas Schwab <schwab@redhat.com>
15281
15282 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15283 strcasestr-nonascii.
15284 (CFLAGS-strcasestr-nonascii.c): Define.
15285 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15286 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15287 Remove unused attribute.
15288
5dbc3b6c
RM
152892010-07-20 Roland McGrath <roland@redhat.com>
15290
15291 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15292 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15293 ld.so.cache was broken. With it, there is no way to disable dsocaps
15294 like LD_HWCAP_MASK can disable hwcaps.
15295
23d101d8
EPM
152962010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15297
15298 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15299
cc9f2e47
UD
153002010-07-16 Ulrich Drepper <drepper@redhat.com>
15301
15302 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15303 call in strcasestr.
15304 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15305 __strcasestr_sse42_nonascii.
15306 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15307 strcasestr-nonascii.c.
15308 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15309
77c1b069
LM
153102010-06-15 Luis Machado <luisgpm@br.ibm.com>
15311
15312 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15313 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15314 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15315 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15316
440566c3
UD
153172010-07-09 Ulrich Drepper <drepper@redhat.com>
15318
15319 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15320 fcntl.
15321
5be9d05d
AS
153222010-07-06 Andreas Schwab <schwab@redhat.com>
15323
c30b7ee2 15324 [BZ #11577]
5be9d05d
AS
15325 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15326 dl_signal_cerror.
15327
8a492a67
UD
153282010-07-06 Ulrich Drepper <drepper@redhat.com>
15329
15330 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15331 _PC_PIPE_BUF using F_GETPIPE_SZ.
15332
713df3d5
RM
153332010-07-05 Roland McGrath <roland@redhat.com>
15334
15335 * manual/arith.texi (Rounding Functions): Fix rint description
15336 implicit in round description.
15337
702e8f14
UD
153382010-07-02 Ulrich Drepper <drepper@redhat.com>
15339
15340 * elf/Makefile: Fix linking for a few tests to make recent linker
15341 happy.
15342
52ed8be9
AS
153432010-06-30 Andreas Schwab <schwab@redhat.com>
15344
15345 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15346 $(common-objpfx)libc_nonshared.a.
15347
f47c9a11
LM
153482010-06-21 Luis Machado <luisgpm@br.ibm.com>
15349
15350 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15351 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15352 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15353 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15354 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15355 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15356 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15357 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15372 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15373 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15374 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15375 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15376 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15377 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15378 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15379 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15380 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15381 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15382 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15383 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15398
6fb8cbcb
L
153992010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15400
15401 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15402 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15403 * string/memmove.c (memmove): Renamed to ...
15404 (MEMMOVE): ...this. Default to memmove.
15405 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15406 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15407 (END_CHK): Define.
15408 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15409 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15410 mempcpy-ssse3-back memmove-ssse3-back.
15411 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15412 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15413 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15414 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15415 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15416 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15417 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15418 * sysdeps/x86_64/multiarch/memmove.c: New file.
15419 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15420 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15421 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15422 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15423 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15424 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15425 Define.
15426 (index_Fast_Copy_Backward): Define.
15427 (HAS_ARCH_FEATURE): Define.
15428 (HAS_FAST_REP_STRING): Define.
15429 (HAS_FAST_COPY_BACKWARD): Define.
15430
4e733bac 154312010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15432
15433 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15434 Restore proper fallback handling.
15435
63c4ed22
UD
154362010-06-19 Ulrich Drepper <drepper@redhat.com>
15437
ac2b484c
UD
15438 [BZ #11701]
15439 * posix/group_member.c (__group_member): Correct checking loop.
15440
63c4ed22
UD
15441 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15442 OOM in getpwuid_r correctly. Return error number when the caller
15443 should return, otherwise -1.
15444 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15445 call returning > 0 value.
15446 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15447
765ade4b
AS
154482010-06-07 Andreas Schwab <schwab@redhat.com>
15449
15450 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15451 libc_nonshared.a from targets in modules-names.
15452
80da2e09
KS
154532010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15454
15455 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15456 requires it.
15457
158db122
LM
154582010-06-10 Luis Machado <luisgpm@br.ibm.com>
15459
15460 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15461 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15462 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15463 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15464
caa78cf8
AS
154652010-06-02 Andreas Schwab <schwab@redhat.com>
15466
15467 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15468
b2ef2c01
UD
154692010-06-14 Ulrich Drepper <drepper@redhat.com>
15470
15471 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15472 and F_GETPIPE_SZ.
15473 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15474 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15475 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15477 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15478 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15479
fbd643b6
RM
154802010-06-14 Roland McGrath <roland@redhat.com>
15481
15482 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15483
f32f2869
JJ
154842010-06-07 Jakub Jelinek <jakub@redhat.com>
15485
15486 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15487 __REDIRECT followed by __THROW.
15488 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15489 * posix/getopt.h (getopt): Likewise.
15490
2a50c078
EPM
154912010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15492
15493 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15494 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15495 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15496 in AT_FLAGS.
15497 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15498 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15499
eb5ad2eb
LM
155002010-05-28 Luis Machado <luisgpm@br.ibm.com>
15501
15502 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15503
3c88fe1e
L
155042010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15505
15506 [BZ #11640]
15507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15508 Properly check family and model.
15509
d2f73151
TY
155102010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15511
15512 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15513
ebd2e13d
LM
155142010-05-24 Luis Machado <luisgpm@br.ibm.com>
15515
15516 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15517
b32b8b45
UD
155182010-05-21 Ulrich Drepper <drepper@redhat.com>
15519
15520 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15521 symbol reference.
15522
9acbe24d
AS
155232010-05-19 Andreas Schwab <schwab@redhat.com>
15524
15525 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15526 symbol reference.
15527
f0ccf6ea
AS
155282010-05-21 Andreas Schwab <schwab@redhat.com>
15529
3d04ff3a
AS
15530 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15531 and internal_recvmmsg.
15532 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15533 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15534 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15535 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15536
f0ccf6ea
AS
15537 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15538 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15539 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15540
5b08ac57
AS
155412010-05-20 Andreas Schwab <schwab@redhat.com>
15542
15543 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15544
4828935d
LM
155452010-05-17 Luis Machado <luisgpm@br.ibm.com>
15546
15547 POWER7 optimizations.
15548 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15549 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15550
373d545e
UD
155512010-05-19 Ulrich Drepper <drepper@redhat.com>
15552
15553 * version.h: Update for 2.13 development version.
15554
21a2b1ae
AS
155552010-05-12 Andrew Stubbs <ams@codesourcery.com>
15556
15557 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15558 exceptions. Return 0.
15559
3f7dcb2b
RM
155602010-05-07 Roland McGrath <roland@redhat.com>
15561
15562 * elf/ldconfig.c (main): Add a const.
15563
5f24d53a 155642010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 15565
a160f8d8
UD
15566 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15567 (args_options): Add no-idn option.
15568 (ahosts_keys_int): Add idn_flags to ai_flags.
15569 (parse_option): Handle 'i' option to clear idn_flags.
15570
5f24d53a
UD
15571 * malloc/malloc.c (_int_free): Possible race in the most recently
15572 added check. Only act on the data if no current modification
15573 happened.
265bb1ce
UD
15574
15575See ChangeLog.17 for earlier changes.