* nscd/nscd_stat.c (receive_print_stats): Really print values of
[glibc.git] / ChangeLog
blob35d1b17cea86ea023981ba30915ccad4ee0a46d4
1 2005-08-08  Ulrich Drepper  <drepper@redhat.com>
3         * nscd/nscd_stat.c (receive_print_stats): Really print values of
4         thread number, paranoia, and restart interval the server is using.
6         * argp/argp-help.c: Use _IO_vasprintf instead of vasprintf.
7         * include/stdio.h: Add libc_hidden_proto for __vfprintf_chk.
8         * debug/vfprintf_chk.c: Add libc_hidden_def.
10 2005-08-08  Roland McGrath  <roland@redhat.com>
12         * argp/argp-help.c (__argp_error): __asprintf -> vasprintf.
13         (__argp_failure): Likewise.
15 2005-08-08  Ulrich Drepper  <drepper@redhat.com>
17         * nscd/cache.c (cache_add): Commit hash table and header to disk.
19         * nscd/mem.c (mempool_alloc): Use posix_fallocate instead of ftruncate.
20         * nscd/connections.c (nscd_init): Likewise.
22 2005-08-08  Jakub Jelinek  <jakub@redhat.com>
24         * stdio-common/fxprintf.c: Include libioP.h.
26         * posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname,
27         getdomainname): Add __NTH.
28         * stdlib/bits/stdlib.h (ptsname_r, wctomb, mbstowcs, wcstombs):
29         Likewise.
30         (realpath): Likewise.  Use __const instead of const.  Add __restrict
31         keywords.
32         * socket/bits/socket2.h (recvfrom): Add __restrict keyword to __buf.
33         * wcsmbs/bits/wchar2.h (wmemcpy, wmemmove, wmempcpy, wmemset,
34         wcscpy, wcpcpy, wcsncpy, wcpncpy, wcscat, wcsncat, vswprintf, wcrtomb,
35         mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Add __NTH.
36         * string/bits/string3.h (__memset_ichk): Likewise.
37         (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk,
38         __stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk,
39         __strncat_ichk): Likewise.  Use __const instead of const.
40         (__stpncpy_chk): Use __const instead of const.
41         (__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43 2005-08-08  Ulrich Drepper  <drepper@redhat.com>
44             Jakub Jelinek  <jakub@redhat.com>
46         * nscd/mem.c (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move
47         definitions to...
48         * nscd/nscd.h (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here.
49         * nscd/connections.c (usekey): New enum.
50         (check_use, verify_persistent_db): New functions.
51         (nscd_init): If persistent database is corrupted, unlink it and
52         recreate rather than falling back to non-persistent database.
53         Call verify_persistent_db.  Avoid overflows in total computation.
55 2005-08-08  Ulrich Drepper  <drepper@redhat.com>
57         * iconvdata/utf-16.c (PREPARE_LOOP): Minor cleanups to make code
58         better readable.  Avoid passing var to loop function, it's not
59         necessary at all.
61 2005-08-07  Ulrich Drepper  <drepper@redhat.com>
63         * elf/elf.h (DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTRO
64         definition.
66 2005-08-05  Ulrich Drepper  <drepper@redhat.com>
68         * timezone/checktab.awk: Update from tzcode2005k.
69         * timezone/private.h: Likewise.
70         * timezone/scheck.c: Likewise.
71         * timezone/tzselect.ksh: Likewise.
72         * timezone/zdump.c: Likewise.
73         * timezone/zic.c: Likewise.
74         * timezone/africa: Update from tzdata2005k.
75         * timezone/antarctica: Likewise.
76         * timezone/asia: Likewise.
77         * timezone/australasia: Likewise.
78         * timezone/europe: Likewise.
79         * timezone/iso3166.tab: Likewise.
80         * timezone/leapseconds: Likewise.
81         * timezone/northamerica: Likewise.
82         * timezone/solar87: Likewise.
83         * timezone/solar88: Likewise.
84         * timezone/solar89: Likewise.
85         * timezone/southamerica: Likewise.
86         * timezone/zone.tab: Likewise.
88 2005-08-05  Roland McGrath  <roland@redhat.com>
90         * mach/shortcut.awk: Ignore `weak_alias' lines.
91         Reported by Alfred M. Szmidt <ams@gnu.org>.
93         * sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.
94         Reported by Alfred M. Szmidt <ams@gnu.org>.
96 2005-08-03  Dwayne Grant McConnell  <dgm69@us.ibm.com>
98         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s):
99         Use +=, not =, to append.  Remove duplicate flags.
100         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
101         Likewise.  Fix comments.
103 2005-08-01  Ulrich Drepper  <drepper@redhat.com>
105         * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart system
106         call if it returned EINTR.
108 2005-07-31  Ulrich Drepper  <drepper@redhat.com>
110         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Move
111         helper variable into .data.rel.ro.  Simplify the code.  Extend
112         comment to explain prelinking.
114 2005-07-31  Andreas Jaeger  <aj@suse.de>
116         * include/bits/syslog.h: New file.
118 2005-07-30  Ulrich Drepper  <drepper@redhat.com>
120         * elf/dl-load.c [__WORDSIZE==64] (FILEBUF_SIZE): Adjust the value
121         up.  We have more program header entries now and the note section
122         was normally not loaded.
124         * nis/nis_subr.c: Some minor code cleanups.
126 2005-07-29  Ulrich Drepper  <drepper@redhat.com>
128         * misc/bits/syslog.h: New file.
129         * misc/sys/syslog.h: Include <bits/syslog.h> for fortification.
130         * misc/Makefile (headers): Add bits/syslog.h.
131         * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto.
132         * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk.
133         Call __vfprintf_chk if necessary.  Make vsyslog a wrapper.  Add
134         __syslog_chk.
135         * misc/Versions: Export __syslog_chk and __vsyslog_chk.
137 2005-07-28  Thomas Schwinge  <schwinge@nic-nac-project.de>
139         [BZ #1137]
140         * misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.
142 2005-07-28  Ulrich Drepper  <drepper@redhat.com>
144         * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper
145         functions.
147 2005-07-28  Jakub Jelinek  <jakub@redhat.com>
149         * stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf
150         call.
151         * gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
153 2005-07-28  Ulrich Drepper  <drepper@redhat.com>
155         * nis/nis_file.c: Rewrite the two pairs of functions into wrappers
156         around a pair of new, generalized functions.  22% size reduction.
158 2005-07-27  Ulrich Drepper  <drepper@redhat.com>
160         * nis/nis_xdr.c: Remove unnecessary cast which might hide bugs.
161         Rearrange code.  This reduces the code size 10%.
163 2005-07-26  Jakub Jelinek  <jakub@redhat.com>
165         * misc/error.c (error_tail): Fix a comment typo.
167 2005-07-25  Ulrich Drepper  <drepper@redhat.com>
169         * po/zh_TW.po: Update from translation team.
171         * debug/mbstowcs_chk.c: New file.
172         * debug/wcstombs_chk.c: New file.
173         * debug/Makefile (routines): Add mbstowcs_chk and wcstombs_chk.
174         * debug/Versions: Add __mbstowcs_chk and __wcstombs_chk.
175         * stdlib/bits/stdlib.h: Add definitions for mbstowcs and wcstombs.
177         * wcsmbs/bits/wchar2.h (mbsrtowcs): Pretty printing.
179 2005-07-24  Ulrich Drepper  <drepper@redhat.com>
181         * string/test-memset.c (test_main): Use negative byte value in
182         test.
184         * string/test-memset.c (do_one_test): Compare effect of call, not
185         only return value.
186         Add a few casts to avoid warnings.
188 2005-07-24  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
190         * sysdeps/sh/memset.S (memset): Correct 2nd argument handling.
192 2005-07-24  Ulrich Drepper  <drepper@redhat.com>
194         [BZ #1125]
195         * posix/Makefile (tests): Add tst-execvp4.
196         * posix/tst-execvp4.c: New file.
198 2005-07-24  Jakub Jelinek  <jakub@redhat.com>
200         [BZ #1125]
201         * posix/execvp.c (execvp): Change path_malloc to
202         char *, free that pointer on failure.
204 2005-07-24  Ulrich Drepper  <drepper@redhat.com>
206         * wcsmbs/bits/wchar2.h: Use __FILE not FILE.
207         * wcsmbs/Makefile: Add rules to build and run tst-wchar-h.
208         * wcsmbs/tst-wchar-h.c: New file.
210 2005-07-22  Ulrich Drepper  <drepper@redhat.com>
212         * stdio-common/fxprintf.c (__fxprintf): Define variable more local.
214 2005-07-22  Jakub Jelinek  <jakub@redhat.com>
216         * wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use
217         __gnuc_va_list rather than _G_va_list.
219 2005-07-22  Roland McGrath  <roland@redhat.com>
221         [BZ #869]
222         * Makerules ($(objpfx)stubs): Fix last change.
224 2005-07-21  Roland McGrath  <roland@redhat.com>
226         * nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o).
228         * stdlib/Makefile (headers): Move bits/wchar.h to ...
229         * wcsmbs/Makefile (headers): ... here.  Add bits/wchar2.h too.
231 2005-07-21  Jakub Jelinek  <jakub@redhat.com>
233         * wcsmbs/bits/wchar2.h (swprintf): Remove format argument.
234         * debug/tst-chk1.c (do_test): Add test for swprintf with format
235         being the last argument.
237 2005-07-21  Thorsten Kukuk  <kukuk@suse.de>
239         * debug/getgroups_chk.c (__getgroups_chk): Fix return value.
241         * stdio-common/fxprintf.c: Include string.h.
243 2005-07-20  Ulrich Drepper  <drepper@redhat.com>
245         [BZ #1138]
246         * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results.
247         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
248         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
250 2005-07-20  Bob Wilson  <bob.wilson@acm.org>
251             Darin Petkov  <darin@tensilica.com>
253         [BZ #1138]
254         * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
256 2005-07-20  Jakub Jelinek  <jakub@redhat.com>
258         * include/stdio.h (__fxprintf): Remove wfmt argument.
259         * stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h.
260         (__fxprintf): Remove wfmt argument, create wfmt format string on
261         the fly from fmt.
262         * argp/argp-fmtstream.c: Adjust all __fxprintf callers.
263         * argp/argp-help.c: Likewise.
264         * assert/assert-perr.c: Likewise.
265         * assert/assert.c: Likewise.
266         * gmon/gmon.c: Likewise.
267         * inet/rcmd.c: Likewise.
268         * malloc/obstack.c: Likewise.
269         * misc/error.c: Likewise.
270         * misc/getpass.c: Likewise.
271         * posix/getopt.c: Likewise.
272         * resolv/res_hconf.c: Likewise.
273         * stdio-common/perror.c: Likewise.
274         * stdio-common/psignal.c: Likewise.
275         * stdlib/fmtmsg.c: Likewise.
276         * sunrpc/auth_unix.c: Likewise.
277         * sunrpc/clnt_perr.c: Likewise.
278         * sunrpc/clnt_tcp.c: Likewise.
279         * sunrpc/clnt_udp.c: Likewise.
280         * sunrpc/clnt_unix.c: Likewise.
281         * sunrpc/svc_simple.c: Likewise.
282         * sunrpc/svc_tcp.c: Likewise.
283         * sunrpc/svc_udp.c: Likewise.
284         * sunrpc/svc_unix.c: Likewise.
285         * sunrpc/xdr.c: Likewise.
286         * sunrpc/xdr_array.c: Likewise.
287         * sunrpc/xdr_rec.c: Likewise.
288         * sunrpc/xdr_ref.c: Likewise.
289         * sysdeps/generic/wordexp.c: Likewise.
291 2005-07-20  Ulrich Drepper  <drepper@redhat.com>
293         * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,
294         wcsrtombs, mbsnrtowcs, and wcsnrtombs.
295         * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk,
296         wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk.
297         * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk,
298         __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk.
299         * debug/tst-chk1.c: Add tests for new functions.
300         * debug/mbsnrtowcs_chk.c: New file.
301         * debug/mbsrtowcs_chk.c: New file.
302         * debug/wcrtomb_chk.c: New file.
303         * debug/wcsnrtombs_chk.c: New file.
304         * debug/wcsrtombs_chk.c: New file.
306 2005-07-19  Ulrich Drepper  <drepper@redhat.com>
308         * stdio-common/Makefile (aux): Add fxprintf.
309         * stdio-common/fxprintf.c: New file.
310         * include/stdio.h: Add declaration for __fxprintf.
311         * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream
312         orientation test and two separate function calls.
313         * argp/argp-help.c: Likewise.
314         * assert/assert-perr.c: Likewise.
315         * assert/assert.c: Likewise.
316         * gmon/gmon.c: Likewise.
317         * inet/rcmd.c: Likewise.
318         * malloc/obstack.c: Likewise.
319         * misc/error.c: Likewise.
320         * misc/getpass.c: Likewise.
321         * posix/getopt.c: Likewise.
322         * resolv/res_hconf.c: Likewise.
323         * stdio-common/perror.c: Likewise.
324         * stdio-common/psignal.c: Likewise.
325         * stdlib/fmtmsg.c: Likewise.
326         * sunrpc/auth_unix.c: Likewise.
327         * sunrpc/clnt_perr.c: Likewise.
328         * sunrpc/clnt_tcp.c: Likewise.
329         * sunrpc/clnt_udp.c: Likewise.
330         * sunrpc/clnt_unix.c: Likewise.
331         * sunrpc/svc_simple.c: Likewise.
332         * sunrpc/svc_tcp.c: Likewise.
333         * sunrpc/svc_udp.c: Likewise.
334         * sunrpc/svc_unix.c: Likewise.
335         * sunrpc/xdr.c: Likewise.
336         * sunrpc/xdr_array.c: Likewise.
337         * sunrpc/xdr_rec.c: Likewise.
338         * sunrpc/xdr_ref.c: Likewise.
339         * sysdeps/generic/wordexp.c: Likewise.
341         [BZ #1137]
342         * misc/Makefile: Add rules to build and run tst-error1.
343         * misc/tst-error1.c: New file.
344         * misc/error.c: Fix memory leak and possibly endless loop.
346         * configure.in: Check for -fstack-protector gcc option.
347         * config.make.in (have-ssp): Add template.
348         * nscd/Makefile (nscd-cflags): Add -fstack-protector if supported.
350         * nscd/nscd.c (main): Don't ignore result of chdir call.
352 2005-07-18  Roland McGrath  <roland@redhat.com>
354         [BZ #869]
355         * Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of
356         objdump command line.
358 2005-07-18  Ulrich Drepper  <drepper@redhat.com>
360         * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE.
362         * nscd/connections.c: Fix a few wur warnings.
364         [BZ #1113]
365         * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID
366         length.  Patch by Ivan Gyurdiev <ivg2@cornell.edu>.
368         * debug/confstr_chk.c: New file.
369         * debug/getdomainname_chk.c: New file.
370         * debug/getgroups_chk.c: New file.
371         * debug/gethostname_chk.c: New file.
372         * debug/getlogin_r_chk.c: New file.
373         * debug/ttyname_r_chk.c: New file.
374         * posix/bits/unistd.h: Add definitions for new debug versions.
375         * debug/tst-chk1.c: Add tests for new functions.
376         * debug/Versions: Export new functions.
377         * debug/Makefile (routines): Add new files.
379         * stdlib/bits/stdlib.h: Fix typo.
381 2005-07-13  Thorsten Kukuk  <kukuk@suse.de>
383         * manual/Makefile (libc/index.html): Depend on dir-add.texi.
385 2005-07-15  Ulrich Drepper  <drepper@redhat.com>
387         * stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECT
388         where necessary.
389         * wcsmbs/bits/wchar2.h: Likewise.
391 2005-07-15  Andreas Jaeger  <aj@suse.de>
393         * debug/Makefile (tst-lfschk3-ENV): New, set locale.
394         (tst-lfschk2-ENV): New.
395         (tst-lfschk1-ENV): New.
396         (tst-chk3-ENV): New.
397         (tst-chk2-ENV): New.
398         (tst-chk1-ENV): New.
400         [BZ #1079]
401         * include/stdlib.h: Remove malloc attribute from __posix_memalign.
402         * stdlib/stdlib.h: Likewise.
404 2005-07-15  Ulrich Drepper  <drepper@redhat.com>
406         * wcsmbs/bits/wchar2.h: New file.
407         * include/bits/wchar2.h: New file.
408         * wcsmbs/wchar.h: Include <bits/wchar2.h> if fortification is
409         requested.
410         * wcsmbs/wcsncpy.c: Add __wcsncpy alias.
411         * string/bits/string3.h: Add fortified stpncpy definitions.
412         * sysdeps/generic/stpncpy_chk.c: New file.
413         * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h.
414         Export _IO_wstrn_jumps.
415         * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps.
416         * include/wchar.h: Declare __wcsncpy and __vswprintf_chk.
417         * debug/fgetws_chk.c: New file.
418         * debug/fgetws_u_chk.c: New file.
419         * debug/fwprintf_chk.c: New file.
420         * debug/swprintf_chk.c: New file.
421         * debug/vfwprintf_chk.c: New file.
422         * debug/vswprintf_chk.c: New file.
423         * debug/vwprintf_chk.c: New file.
424         * debug/wcpcpy_chk.c: New file.
425         * debug/wcpncpy_chk.c: New file.
426         * debug/wcscat_chk.c: New file.
427         * debug/wcscpy_chk.c: New file.
428         * debug/wcsncat_chk.c: New file.
429         * debug/wcsncpy_chk.c: New file.
430         * debug/wmemcpy_chk.c: New file.
431         * debug/wmemmove_chk.c: New file.
432         * debug/wmempcpy_chk.c: New file.
433         * debug/wmemset_chk.c: New file.
434         * debug/wprintf_chk.c: New file.
435         * debug/tst-chk1.c: Add tests for new functions.
436         * debug/Versions: Export new functions.
437         * debug/Makefile (routines): Add new functions.
439 2005-07-13  Ulrich Drepper  <drepper@redhat.com>
441         * nscd/nscd_helper.c: Add a few __builtin_expect.
443         [BZ #1080]
444         * nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly.
445         * nscd/nscd_helper.c (wait_on_socket): New function.
446         (get_mapping): Use wait_on_socket instead of poll.  The former handles
447         EINTR of poll correctly.
448         (__nscd_open_socket): Likewise.
449         (get_mapping): Make sure BUF is aligned correctly.
450         (get_mapping): Use munmap on correct pointer.
452 2005-07-12  Ulrich Drepper  <drepper@redhat.com>
454         * include/libc-symbols.h: Define macros for librt hidden symbols.
455         * include/time.h: Add librt_hidden_proto definition for clock_gettime.
456         * sysdeps/generic/clock_gettime.c: Add librt_hidden_def.
457         * sysdeps/unix/clock_gettime.c: Likewise.
459         * stdlib/bits/stdlib.h: New file.
460         * stdlib/stdlib.h: Include <bits/stdlib.h> if fortification is
461         requested.
462         * Makefile (headers): Add bits/stdlib.h.
463         * include/bits/stdlib.h: New file.
464         * debug/Depend: New file.
465         * debug/ptsname_r_chk.c: New file.
466         * debug/realpath_chk.c: New file.
467         * debug/wctomb_chk.c: New file.
468         * debug/Makefile (routines): Add ptsname_r_chk, realpath_chk, and
469         wctomb_chk.
470         * debug/Versions: Export __ptsname_r_chk, __realpath_chk, and
471         __wctomb_chk.
472         * debug/tst-chk1.c: Add tests for __ptsname_r_chk, __realpath_chk, and
473         __wctomb_chk.
475 2005-07-12  Jakub Jelinek  <jakub@redhat.com>
477         [BZ #1106]
478         * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h.
479         (has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel
480         instead of read and close_not_cancel_no_status instead of close.
482         [BZ #1106]
483         * sysdeps/s390/s390-64/bcopy.S (__bcopy): Use
484         HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.
486 2005-06-27  Carlos O'Donell  <carlos@systemhalted.org>
488         * posix/regcomp.c (re_compile_internal): Call __libc_lock_init
489         after init_dfa.
491 2005-07-08  Ulrich Drepper  <drepper@redhat.com>
493         * sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret.  Remove
494         alignment.
495         * sysdeps/x86_64/fpu/s_sincos.S: New file.
497         * include/fenv.h: Add libm_hidden_proto for fesetround and
498         feholdexcept.
499         * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def.
500         * sysdeps/alpha/fpu/fesetround.c: Likewise.
501         * sysdeps/generic/feholdexcpt.c: Likewise.
502         * sysdeps/generic/fesetround.c: Likewise.
503         * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
504         * sysdeps/i386/fpu/fesetround.c: Likewise.
505         * sysdeps/ia64/fpu/feholdexcpt.c: Likewise.
506         * sysdeps/ia64/fpu/fesetround.c: Likewise.
507         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
508         * sysdeps/powerpc/fpu/fesetround.c: Likewise.
509         * sysdeps/s390/fpu/feholdexcpt.c: Likewise.
510         * sysdeps/s390/fpu/fesetround.c: Likewise.
511         * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise.
512         * sysdeps/sh/sh4/fpu/fesetround.c: Likewise.
513         * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
514         * sysdeps/sparc/fpu/fesetround.c: Likewise.
515         * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise.
516         * sysdeps/x86_64/fpu/fesetround.c: Likewise.
517         * sysdeps/generic/s_significand.c (__significand): Use __ilogb not
518         ilogb.
519         * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf
520         not ilogbf.
521         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin and
522         __cos, not sin and cos.
524 2005-07-07  Ulrich Drepper  <drepper@redhat.com>
526         * resolv/res_send.c (send_dg): Recognize referral results and
527         treat them as server errors.
528         Based on a patch by Jason Vas Dias <jvdias@redhat.com>.
530 2005-07-08  Carlos O'Donell  <carlos@systemhalted.org>
532         * sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.
534         * sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0.
535         * sysdeps/hppa/lshift.s (__mpn_lshift): Likewise.
536         * sysdeps/hppa/rshift.s (__mpn_rshift): Likewise.
537         * sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise.
538         * sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
539         * sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
541 2005-07-07  Ulrich Drepper  <drepper@redhat.com>
543         * sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better.
544         * sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise.
545         * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise.
546         * sysdeps/generic/s_ctan.c (__ctan): Likewise.
547         * sysdeps/generic/s_ctanf.c (__ctanf): Likewise.
548         * sysdeps/generic/s_ctanl.c (__ctanl): Likewise.
550 2005-04-13  H.J. Lu  <hongjiu.lu@intel.com>
552         [BZ #974]
553         * csu/elf-init.c (__preinit_array_start): Take int, char **, char **.
554         (__preinit_array_end): Likewise.
555         (__init_array_start): Likewise.
556         (__init_array_end): Likewise.
557         (__libc_csu_init): Take int argc, char **argv, char **envp.
558         Call preinit_array and init_array with argc, argv, envp.
559         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove
560         INIT_MAIN_ARGS.
561         * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed.
562         * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c,
563         tst-array5dep.c, and tst-array5.exp.
564         (tests): Add tst-array5.
565         (tests-static): Add tst-array5-static.
566         ($(objpfx)tst-array5): New target.
567         ($(objpfx)tst-array5.out): Likewise.
568         ($(objpfx)tst-array5-static.out): Likewise.
569         * elf/tst-array5-static.c: New file.
570         * elf/tst-array5-static.exp: Likewise.
571         * elf/tst-array5.c: Likewise.
572         * elf/tst-array5.exp: Likewise.
573         * elf/tst-array5dep.c: Likewise.
575 2005-07-07  Ulrich Drepper  <drepper@redhat.com>
577         * sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype.
579 2005-07-05  Jakub Jelinek  <jakub@redhat.com>
581         * elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition.
582         Reported by Ulrich Weigand <uweigand@de.ibm.com>.
584         * elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition.
586 2005-07-06  Ulrich Drepper  <drepper@redhat.com>
588         * elf/dl-error.c (_dl_signal_error): When testing for executable
589         being relocated, take into account that nothing might even be loaded.
591         * elf/dl-reloc.c [PROF] (_dl_relocate_object): Define
592         consider_profiling always to zero.  Don't count of compiler to
593         remove unreached if block.
594         * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile):
595         Don't compile.
596         * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
597         * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
598         * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile):
599         Likewise.
600         * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile):
601         Likewise.
602         * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF]
603         (_dl_profile_resolve): Likewise.
604         * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF]
605         (_dl_profile_resolve): Likewise.
606         * gmon/Makefile: Add rules to build and run tst-profile-static.
607         * gmon/tst-profile-static.c: New file.
608         * Makeconfig (+link-static): Allow passing program-specific flags.
610 2005-07-05  Thorsten Kukuk  <kukuk@suse.de>
612         [BZ #1111]
613         * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Check if NSS
614         module provides getgrgid_r.
615         (getgrnam_plusgroup): Preserve original return value.
616         * nis/nss_compat/compat-pwd.c (getpwnam_plususer): Preserve
617         original return value.
618         * nis/nss_compat/compat-spwd.c (getspnam_plususer): Likewise.
620 2005-07-05  Ulrich Drepper  <drepper@redhat.com>
622         [BZ #1101]
623         * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not
624         MB_CUR_MAX.
625         (build_wcs_upper_buffer): Likewise.
627         * csu/elf-init.c (__libc_csu_fini): Pretty printing.
629 2005-07-02  Roland McGrath  <roland@redhat.com>
631         * NEWS: Note LinuxThreads removal.
632         * manual/install.texi (Installation): Don't mention linuxthreads.
633         (Configuring and compiling): Don't use linuxthreads as example.
635         * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only,
636         not linuxthreads.
637         * sysdeps/unix/sysv/linux/configure: Regenerated.
638         * resolv/Depend: Add nptl.
639         * rt/Depend: Likewise.
641         * linuxthreads, linuxthreads_db: Directories removed (preserved in
642         ports repository).
644 2005-06-27  Jakub Jelinek  <jj@ultra.linux.cz>
646         [BZ #1037]
647         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated,
648         use -mcpu=v8.
650 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
652         [BZ #1016]
653         * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
655 2005-06-23  Thorsten Kukuk  <kukuk@suse.de>
657         [BZ #1109]
658         * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR
659         with own translation.
661 2005-06-25  Jakub Jelinek  <jakub@redhat.com>
663         [BZ #1097]
664         * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast
665         t2 to uint32_t instead of ulong.
666         * sunrpc/Makefile (tests): Add tst-xdrmem.
667         * sunrpc/tst-xdrmem.c: New test.
669         * Versions.def (ld): Add GLIBC_2.4.
670         * configure.in: Add --enable-stackguard-randomization option.
671         (ENABLE_STACKGUARD_RANDOMIZE): New define.
672         * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add.
673         * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h.
674         (_dl_setup_stack_chk_guard): New inline function.
675         * sysdeps/generic/dl-osinfo.h: Include stdint.h.
676         (_dl_setup_stack_chk_guard): New inline function.
677         * elf/rtld.c (__stack_chk_guard): New variable.
678         (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE.
679         Set __stack_chk_guard to _dl_setup_stack_chk_guard (),
680         use THREAD_SET_STACK_GUARD if defined.
681         * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4.
682         * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable.
683         (__libc_start_main): Set __stack_chk_guard to
684         _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined.
685         * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all
686         traces of TLS_INIT_TP_EXPENSIVE.
687         * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4.
688         * debug/Makefile (routines): Add stack_chk_fail.
689         (static-only-routines): Add stack_chk_fail_local.
690         * debug/stack_chk_fail_local.c: New file.
691         * debug/stack_chk_fail.c: New file.
692         * elf/Makefile: Add rules to build and run tst-stackguard1{,-static}
693         tests.
694         * elf/tst-stackguard1.c: New file.
695         * elf/tst-stackguard1-static.c: New file.
696         * elf/stackguard-macros.h: New file.
698 2005-06-21  Ulrich Drepper  <drepper@redhat.com>
700         * resource/Makefile (tests): Add tst-getrlimit.
701         * resource/tst-getrlimit.c: New file.
703         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo.
704         * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
705         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
707 2005-06-20  Ulrich Drepper  <drepper@redhat.com>
709         * nscd/nscd.init: Get more in line with lsb3.
710         * nscd/nscd.c: Adjust some error codes to fit in better with lsb3.
711         * nscd/connections.c: Likewise.
713 2005-06-20  Jakub Jelinek  <jakub@redhat.com>
715         [BZ #653]
716         * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for
717         _LINUX_QUOTA_VERSION >= 2.
718         (_LINUX_QUOTA_VERSION): Define if not yet defined.
720         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,
721         RLIMIT_RTPRIO): Add.
722         (RLIMIT_NLIMITS): Adjust.
723         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE,
724         RLIMIT_RTPRIO): Add.
725         (RLIMIT_NLIMITS): Adjust.
726         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE,
727         RLIMIT_RTPRIO): Add.
728         (RLIMIT_NLIMITS): Adjust.
729         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE,
730         RLIMIT_RTPRIO): Add.
731         (RLIMIT_NLIMITS): Adjust.
733 2005-06-17  Ulrich Drepper  <drepper@redhat.com>
735         [BZ #1106]
736         * time/mktime.c: Always include <string.h> for prototype of
737         implicitly used memcpy.
739         [BZ #1104]
740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
741         (truncate64): Use __truncate, not truncate.
742         (__have_no_truncate64): Renamed from have_no_truncate64.
743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
744         (__have_no_truncate64): Renamed from have_no_truncate64.
746         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complex
747         float functions for gcc 4.
749 2005-06-10  Jakub Jelinek  <jakub@redhat.com>
751         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup):
752         Handle prelinked libraries and binaries with new style PLT.
754 2005-06-07  Jakub Jelinek  <jakub@redhat.com>
756         * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI,
757         R_PPC_REL16_HA): Define.
759 2005-06-14  Alan Modra  <amodra@bigpond.net.au>
761         * config.h.in (HAVE_ASM_PPC_REL16): Add.
762         * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define.
763         * elf/tls-macros.h (PowerPC32): Include config.h.  Add variants of
764         TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout.
765         * sysdeps/powerpc/powerpc32/configure.in: New file,
766         * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file.
767         * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define.
768         (ppc_got): New inline function.
769         (elf_machine_dynamic): Use ppc_got.  Add attribute const.
770         (elf_machine_load_address): Add attribute const.  Don't use int vars.
771         Use bcl rather than bl to save trashing branch target stack.  Use
772         elf_machine_dynamic rather than duplicating code here.
773         (elf_machine_runtime_setup): New inline function replacing define.
774         Handle new PLT.
775         (elf_machine_fixup_plt): Handle new PLT.
776         (elf_machine_rela): Likewise.
777         * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h.
778         (CALL_MCOUNT): Don't set up counter vars.
779         * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment.
780         * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't
781         define when HAVE_ASM_PPC_REL16.
782         (_start): Add HAVE_ASM_PPC_REL16 code.
783         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl
784         into the GOT when HAVE_ASM_PPC_REL16.
785         * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
786         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto.
787         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise.
788         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
789         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
790         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
791         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise.
792         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
793         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
794         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
795         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
796         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
797         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
798         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp):
799         Likewise.
800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise.
801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
802         (__getcontext): Likewise.
803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
804         (__setcontext): Likewise.
805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
806         (__swapcontext): Likewise.
807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock):
808         Comment.
809         (__socket): Bomb if NARGS >= 7.  Invoke CGOTSETUP and CGOTRESTORE.
811 2005-06-17  Ulrich Drepper  <drepper@redhat.com>
813         [BZ #1106]
814         * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler
815         to use __GI_memset.
816         * sysdeps/posix/signal.c: Likewise.
817         * sysdeps/posix/sigset.c: Likewise.
818         * sysdeps/posix/sysv_signal.c: Likewise.
819         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
820         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
821         * sysdeps/unix/sysv/linux/system.c: Likewise.
823 2005-06-15  Jakub Jelinek  <jakub@redhat.com>
825         [BZ #1088]
826         * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0
827         or both classes equal here.
828         (parse_config_file): If both classes are equal, clear the second one.
830 2005-06-08  Karl Kelley  <kekelley@iastate.edu>
832         [BZ #1088]
833         * hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
834         * hesiod/hesiod.c (hesiod_init): Initialize classes.  Fail if no
835         valid classes were given or if both are equal.
836         (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
837         and C_HS order.
838         (parse_config_file): Handle classes keyword.
839         * hesiod/README.hesiod: Mention addition of the classes keyword.
841 2005-06-14  Ulrich Drepper  <drepper@redhat.com>
843         [BZ #1085]
844         * configure.in: Add test for availability of libaudit.
845         * config.h.in: Define HAVE_LIBAUDIT.
846         * config.make.in: Define have-libaudit.
847         * nscd/Makefile: If libaudit is available, link nscd with it.
848         * nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit.
849         Patch by Steve Grubb <sgrubb@redhat.com>.
851         * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
852         * sysdeps/posix/posix_fallocate64.c: Likewise.
853         * include/string.h: Use libc_hidden_proto for strnlen.
854         * sysdeps/generic/strnlen.c: Add libc_hidden_def.
855         * include/libintl.h: Use libc_hidden_proto for __dcgettext.
856         * intl/dcgettext.c: Add libc_hidden_def.
857         * include/execinfo.h: Add libc_hidden_proto for __backtrace and
858         __backtrace_symbols_fd.
859         * sysdeps/generic/backtrace.c: Add libc_hidden_def.
860         * sysdeps/generic/backtracesymsfd.c: Likewise.
861         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
862         * sysdeps/i386/backtrace.c: Likewise.
863         * sysdeps/ia64/backtrace.c: Likewise.
864         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
865         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
866         * sysdeps/s390/s390-32/backtrace.c: Likewise.
867         * sysdeps/s390/s390-64/backtrace.c: Likewise.
869 2005-06-13  Ulrich Drepper  <drepper@redhat.com>
871         * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case
872         where HANDLED_REALTIME is not defined.  [BZ #966]
874 2005-06-13  Jakub Jelinek  <jakub@redhat.com>
876         [BZ #1096]
877         * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq,
878         __netlink_receive): Remove prototypes.
879         (__netlink_request): New prototype.
880         * sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and
881         <stdint.h>.
882         (__netlink_sendreq): Make static.
883         (__netlink_receive): Rename to...
884         (__netlink_request): ... this.  Add type argument, call
885         __netlink_sendreq.  If MSG_TRUNC is set after recvmsg, retry
886         with a bigger buffer.  Don't record buffers that contain no
887         messages we are expecting.
888         (getifaddrs): Use __netlink_request instead of __netlink_sendreq
889         and __netlink_receive pairs.  Formatting.
890         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use
891         __netlink_request instead of __netlink_sendreq and __netlink_receive
892         pair.
894 2005-06-13  Thorsten Kukuk  <kukuk@suse.de>
896         * sysdeps/unix/sysv/linux/netinet/if_tr.h: Don't include kernel
897         headers, instead copy important structs/defines.
899 2005-06-13  Jakub Jelinek  <jakub@redhat.com>
901         * elf/rtld.c (dl_main): Move DT_DEBUG setup before first
902         _dl_debug_state call.
904 2005-06-12  Ulrich Drepper  <drepper@redhat.com>
906         * elf/dl-error.c (_dl_signal_error): Store information about use of
907         real malloc in the catch object.
908         (_dl_catch_error): Forward information about malloc use to caller
909         in new parameter.
910         (_dl_out_of_memory): Make static.
911         * elf/dl-deps.c: Adjust callers of _dl_catch_error.
912         * elf/dl-libc.c: Likewise.
913         * elf/dl-open.c: Likewise.
914         * elf/rtld.c: Likewise.
915         Add new --audit option.
916         * sysdeps/generic/ldsodefs.h: Remove _dl_out_of_memory declaration.
917         (rtld_global_ro._dl_signal_error): Add new parameter.
918         * include/dlfcn.h (_dl_catch_error): Add new parameter.
919         * dlfcn/dlfcn.c (_dlerror_run): Pass additional parameter to
920         _dl_catch_error.  Only free if the returned newly value says so.
922 2005-06-01  Roland McGrath  <roland@redhat.com>
924         [BZ #959]
925         * posix/tst-mmap.c (main): Fill the test file with enough data for the
926         page size.
928 2005-05-30  Jakub Jelinek  <jakub@redhat.com>
930         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): If
931         GLRO(dl_osversion) has been already set to a value smaller than
932         _dl_discover_osversion (), don't overwrite it here.
934 2005-05-24  Thomas Schwinge  <schwinge@nic-nac-project.de>
936         * sysdeps/mach/i386/syscall.S (syscall): Call END.
938 2005-05-28  Richard Henderson  <rth@redhat.com>
940         * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
941         * sysdeps/alpha/dl-dtprocnum.h: New file.
942         * sysdeps/alpha/dl-machine.h (DT_ALPHA): New.
943         (elf_machine_load_address): Simplify to rely on gprel relocations.
944         (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format.
945         Remove thread safety workaround for binutils 2.6.
946         (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format.
947         * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New.
948         (_dl_runtime_profile_new): New.
949         (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve.
950         (_dl_runtime_profile_old): Rename from _dl_runtime_profile.  Fix
951         typo in _dl_call_pltexit argument loading.
953         * sysdeps/alpha/div_libc.h (funcnoplt): New.
954         * sysdeps/alpha/divl.S: Use it.
955         * sysdeps/alpha/divq.S: Likewise
956         * sysdeps/alpha/divqu.S: Likewise.
957         * sysdeps/alpha/reml.S: Likewise.
958         * sysdeps/alpha/remq.S: Likewise.
959         * sysdeps/alpha/remqu.S: Likewise.
961 2005-05-26  Andreas Schwab  <schwab@suse.de>
963         * locale/Makefile (CFLAGS-loadlocale.c): Don't define.
965 2005-05-26  Ulrich Drepper  <drepper@redhat.com>
967         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value.
968         Reported by Colin Gibbs <colin@gibbsonline.net>.  [BZ #954]
970 2005-05-17  Alan Modra  <amodra@bigpond.net.au>
972         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent
973         _dl_hwcap access in PIC && !SHARED case.
974         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
976 2005-05-25  Dwayne Grant McConnell  <dgm69@us.ibm.com>
978         * gmon/gmon.c: Add space in weak_alias use.
979         * linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
980         * sysdeps/alpha/htonl.S: Likewise.
981         * sysdeps/alpha/htons.S: Likewise.
982         * sysdeps/alpha/elf/start.S: Likewise.
983         * sysdeps/i386/i386-mcount.S: Likewise.
984         * sysdeps/ia64/strchr.S: Likewise.
985         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
986         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
987         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
988         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
989         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
990         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
991         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
992         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
993         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
994         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
995         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
996         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
997         * sysdeps/mach/hurd/readdir64_r.c: Likewise.
998         * sysdeps/mach/hurd/sigaltstack.c: Likewise.
999         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
1000         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
1001         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
1002         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
1003         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1004         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1005         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1006         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1007         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1008         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1009         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1010         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1011         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1012         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1013         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1014         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1015         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1016         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1017         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1018         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1019         * sysdeps/sparc/sparc32/memset.S: Likewise.
1020         * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
1021         * sysdeps/sparc/sparc32/strchr.S: Likewise.
1022         * sysdeps/sparc/sparc32/strchr.S: Likewise.
1023         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1024         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1025         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1026         * sysdeps/sparc/sparc64/memset.S: Likewise.
1027         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1028         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1029         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1030         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1031         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
1032         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1033         * sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise.
1034         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1035         * sysdeps/unix/sysv/linux/alpha/setcontext.S: Likewise.
1036         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
1037         * sysdeps/unix/sysv/linux/alpha/swapcontext.S: Likewise.
1038         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
1039         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1040         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1041         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1042         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1043         * sysdeps/unix/sysv/linux/i386/makecontext.S: Likewise.
1044         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1045         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1046         * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise.
1047         * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise.
1048         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1049         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1051         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1052         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1053         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1054         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1055         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1056         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1057         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1058         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1059         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S: Likewise.
1060         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
1061         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
1062         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
1063         * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
1064         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1065         * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Likewise.
1066         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1067         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1068         * sysdeps/x86_64/_mcount.S: Likewise.
1070 2005-05-24  Roland McGrath  <roland@redhat.com>
1072         * sysdeps/unix/sysv/linux/i386/sysdep.h
1073         (SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ...
1074         * sysdeps/i386/sysdep.h [PIC]: ... to here.
1076 2005-05-23  Roland McGrath  <roland@redhat.com>
1078         * sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm:
1079         Subdirectories moved to ports repository.
1080         * configure.in (base_machine): Remove arm* and thumb* patterns.
1081         * shlib-versions (arm.*-.*-linux.*): Remove this pattern.
1083 2005-05-23  Ulrich Drepper  <drepper@redhat.com>
1085         [BZ #1086]
1086         * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd
1087         implementations are broken and don't accept ports < 512.
1089 2005-05-22  Dmitry V. Levin  <ldv@altlinux.org>
1091         [BZ #961]
1092         * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
1093         declarations.
1095 2005-05-23  Ulrich Drepper  <drepper@redhat.com>
1097         [BZ #1086]
1098         * sunrpc/pm_getport.c (__get_socket): New function.
1099         (pmap_getport): Use it to open a non-reserved socket to the portmapper
1100         for TCP.
1101         * include/rpc/pmap_clnt.h (__get_socket): Declare.
1102         * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an
1103         non-reserved socket for the portmapper.
1104         Based on a patch by Steve Dickson <steved@redhat.com>.
1106         [BZ #1086]
1107         * sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port.
1108         If we tried looking at the usual range without success extend the
1109         range to even lower ports.
1111         * sysdeps/unix/clock_gettime.c (clock_gettime): Revert last patch.
1113 2005-05-22  Andreas Schwab  <schwab@suse.de>
1115         * elf/rtld.c: Include <dl-osinfo.h>.
1117 2005-05-17  Alan Modra  <amodra@bigpond.net.au>
1119         * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use
1120         JUMPTARGET.  Instead append @local to __syscall_error.
1121         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences
1122         of JUMPTARGET.  Instead append @local to labels.
1123         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1124         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1125         * sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise.
1126         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
1128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
1131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1135         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants.
1136         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1137         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
1138         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1139         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.  Use one GOT
1140         slot to access both constants.
1141         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1142         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1144         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete.
1145         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete.
1146         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete.
1147         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete.
1148         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo.
1149         (NEGZERO.0, POINTFIVE.0): Delete.
1150         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete.
1151         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete.
1152         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text.
1153         (TWO52.0, POINTFIVE.0): Delete.
1154         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text.
1155         (TWO23.0, POINTFIVE.0): Delete.
1156         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text.
1157         (TWO52.0): Delete.
1158         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text.
1159         (TWO23.0): Delete.
1160         * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting.
1162 2005-05-19  Richard Henderson  <rth@redhat.com>
1164         * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around
1165         CLOCK_REALTIME.
1167         * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq,
1168         __arch_compare_and_exchange_bool_64_acq,
1169         __arch_compare_and_exchange_val_32_acq,
1170         __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add):
1171         Use __sync builtin without _si or _di suffix.
1173 2005-05-19  Jakub Jelinek  <jakub@redhat.com>
1175         [BZ #955]
1176         * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters
1177         <UFFFF> and above.
1179 2005-05-17  Andreas Schwab  <schwab@suse.de>
1181         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1182         (clock_getcpuclockid): Always return a defined value.
1184 2005-05-17  Neal H. Walfield  <neal@gnu.org>
1186         * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN]
1187         instead of [SALEN].
1188         (gaih_inet): Likewise.
1190 2005-05-11  Ulrich Drepper  <drepper@redhat.com>
1192         * elf/elf.h (Elf32_auxv_t): Make cross-compile safe.
1193         (Elf64_auxv_t): Likewise.
1194         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
1195         removal of a_ptr element in ElfXX_auxv_t.
1196         * elf/dl-support.c (_dl_aux_init): Likewise.
1198 2005-05-09  Daniel Jacobowitz  <dan@codesourcery.com>
1200         * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>.
1201         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1203 2005-05-09  Alan Modra  <amodra@bigpond.net.au>
1205         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1206         .pushsection/.popsection in place of .section/.previous.
1208 2005-05-08  Ulrich Drepper  <drepper@redhat.com>
1210         * MakeTAGS: Make xgettext not look into test cases.
1212         * MakeTAGS: Make sure translations in error calls are marked with
1213         c-format by xgettext.
1215 2005-05-07  Ulrich Drepper  <drepper@redhat.com>
1217         * intl/libintl.h: Always use __attribute_format_arg__ for gettext
1218         functions since gcc sometimes forgets the attribute for the
1219         standard functions.
1221 2005-05-06  Jakub Jelinek  <jakub@redhat.com>
1223         [BZ #934]
1224         * posix/regex_internal.h: Include bits/libc-lock.h or define dummy
1225         __libc_lock_* macros if not _LIBC.
1226         (struct re_dfa_t): Add lock.
1227         * posix/regcomp.c (re_compile_internal): Add __libc_lock_init.
1228         * posix/regexec.c (regexec, re_search_stub): Add locking.
1230 2005-05-04  Jakub Jelinek  <jakub@redhat.com>
1232         * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix)
1233         as argument to the scripts.
1234         * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir.
1235         * intl/tst-gettext4.sh: Likewise.  Use run_program_prefix argument.
1236         * intl/tst-gettext5.sh: Likewise.
1238         * intl/tst-translit.sh: Add mkdir -p.
1240         * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use
1241         .ifndef/.endif to allow use of this macro more than once per .S
1242         file.
1243         (LOAD_PIC_REG): New macro.
1244         * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame
1245         information.
1246         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1247         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1248         * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro.  Add call frame
1249         information.
1250         * sysdeps/i386/fpu/e_log10f.S: Likewise.
1251         * sysdeps/i386/fpu/s_expm1.S: Likewise.
1252         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1253         * sysdeps/i386/fpu/e_log2l.S: Likewise.
1254         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1255         * sysdeps/i386/fpu/s_lrint.S: Likewise.
1256         * sysdeps/i386/fpu/s_llrint.S: Likewise.
1257         * sysdeps/i386/fpu/s_ilogbf.S: Likewise.
1258         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1259         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1260         * sysdeps/i386/fpu/e_log.S: Likewise.
1261         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1262         * sysdeps/i386/fpu/s_lrintl.S: Likewise.
1263         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1264         * sysdeps/i386/fpu/e_scalb.S: Likewise.
1265         * sysdeps/i386/fpu/s_log1p.S: Likewise.
1266         * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
1267         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1268         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1269         * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
1270         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1271         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1272         * sysdeps/i386/fpu/s_lrintf.S: Likewise.
1273         * sysdeps/i386/fpu/e_acosh.S: Likewise.
1274         * sysdeps/i386/fpu/s_cexp.S: Likewise.
1275         * sysdeps/i386/fpu/s_ilogbl.S: Likewise.
1276         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1277         * sysdeps/i386/fpu/e_powl.S: Likewise.
1278         * sysdeps/i386/fpu/e_powf.S: Likewise.
1279         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1280         * sysdeps/i386/fpu/e_logl.S: Likewise.
1281         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1282         * sysdeps/i386/fpu/s_frexp.S: Likewise.
1283         * sysdeps/i386/fpu/e_pow.S: Likewise.
1284         * sysdeps/i386/fpu/e_logf.S: Likewise.
1285         * sysdeps/i386/fpu/e_log2.S: Likewise.
1286         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1287         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1288         * sysdeps/i386/fpu/s_llrintf.S: Likewise.
1289         * sysdeps/i386/fpu/s_ilogb.S: Likewise.
1290         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1291         * sysdeps/i386/fpu/e_atanh.S: Likewise.
1292         * sysdeps/i386/fpu/e_log10.S: Likewise.
1293         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1294         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1295         * sysdeps/i386/fpu/s_llrintl.S: Likewise.
1296         * sysdeps/i386/fpu/e_log10l.S: Likewise.
1297         * sysdeps/i386/fpu/s_nearbyint.S: Likewise.
1298         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1299         * sysdeps/i386/fpu/e_log2f.S: Likewise.
1300         * sysdeps/i386/addmul_1.S: Various fixes to cfi handling.
1301         * sysdeps/i386/mul_1.S: Likewise.
1302         * sysdeps/i386/strtok.S: Likewise.
1303         * sysdeps/i386/sub_n.S: Likewise.
1304         * sysdeps/i386/submul_1.S: Likewise.
1305         * sysdeps/i386/i586/addmul_1.S: Likewise.
1306         * sysdeps/i386/i586/memcpy.S: Likewise.
1307         * sysdeps/i386/i586/mul_1.S: Likewise.
1308         * sysdeps/i386/i586/rshift.S: Likewise.
1309         * sysdeps/i386/i586/sub_n.S: Likewise.
1310         * sysdeps/i386/i586/submul_1.S: Likewise.
1311         * sysdeps/i386/i686/memcmp.S: Likewise.
1312         * sysdeps/i386/i686/memmove.S: Likewise.
1313         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1314         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1315         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1316         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1318 2005-05-03  Ulrich Drepper  <drepper@redhat.com>
1320         * sysdeps/i386/add_n.S: Add call frame information.
1321         * sysdeps/i386/addmul_1.S: Likewise.
1322         * sysdeps/i386/bsd-setjmp.S: Likewise.
1323         * sysdeps/i386/lshift.S: Likewise.
1324         * sysdeps/i386/memchr.S: Likewise.
1325         * sysdeps/i386/memcmp.S: Likewise.
1326         * sysdeps/i386/mul_1.S: Likewise.
1327         * sysdeps/i386/rawmemchr.S: Likewise.
1328         * sysdeps/i386/rshift.S: Likewise.
1329         * sysdeps/i386/stpncpy.S: Likewise.
1330         * sysdeps/i386/strchr.S: Likewise.
1331         * sysdeps/i386/strchrnul.S: Likewise.
1332         * sysdeps/i386/strcspn.S: Likewise.
1333         * sysdeps/i386/strpbrk.S: Likewise.
1334         * sysdeps/i386/strrchr.S: Likewise.
1335         * sysdeps/i386/strspn.S: Likewise.
1336         * sysdeps/i386/strtok.S: Likewise.
1337         * sysdeps/i386/sub_n.S: Likewise.
1338         * sysdeps/i386/submul_1.S: Likewise.
1339         * sysdeps/i386/elf/bsd-setjmp.S: Likewise.
1340         * sysdeps/i386/i486/strcat.S: Likewise.
1341         * sysdeps/i386/i586/add_n.S: Likewise.
1342         * sysdeps/i386/i586/addmul_1.S: Likewise.
1343         * sysdeps/i386/i586/lshift.S: Likewise.
1344         * sysdeps/i386/i586/memcpy.S: Likewise.
1345         * sysdeps/i386/i586/memset.S: Likewise.
1346         * sysdeps/i386/i586/mul_1.S: Likewise.
1347         * sysdeps/i386/i586/rshift.S: Likewise.
1348         * sysdeps/i386/i586/strchr.S: Likewise.
1349         * sysdeps/i386/i586/strcpy.S: Likewise.
1350         * sysdeps/i386/i586/sub_n.S: Likewise.
1351         * sysdeps/i386/i586/submul_1.S: Likewise.
1352         * sysdeps/i386/i686/add_n.S: Likewise.
1353         * sysdeps/i386/i686/memcmp.S: Likewise.
1354         * sysdeps/i386/i686/memmove.S: Likewise.
1355         * sysdeps/i386/i686/mempcpy.S: Likewise.
1356         * sysdeps/i386/i686/memset.S: Likewise.
1357         * sysdeps/i386/i686/strtok.S: Likewise.
1358         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1359         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1360         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1361         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1362         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1363         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1365         * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4.
1367         * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available
1368         on ppc in 2.6.12.
1370 2005-04-29  Jakub Jelinek  <jakub@redhat.com>
1372         [BZ #1083]
1373         * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,
1374         call ftruncate if offset is bigger than current size.  Make sure
1375         the file is offset + len bytes long if that is more than current size.
1376         Don't overwrite previous content of the file.
1377         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1378         Likewise.
1380 2005-05-02  Roland McGrath  <roland@redhat.com>
1382         [BZ #924]
1383         * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
1385 2005-04-29  Roland McGrath  <roland@redhat.com>
1387         * timezone/africa: Update from tzdata2005i.
1388         * timezone/asia: Likewise.
1389         * timezone/northamerica: Likewise.
1390         * timezone/yearistype: Likewise.
1392         * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.
1394 2005-04-29  Ulrich Drepper  <drepper@redhat.com>
1396         [BZ #1093]
1397         * nis/nis_table.c: Fix realloc handling.
1398         * nis/nis_removemember.c: Likewise.
1400 2005-04-28  Ulrich Drepper  <drepper@redhat.com>
1402         [BZ #798]
1403         * nscd/Makefile: Help losers who use --with-headers.
1405 2005-04-28  Roland McGrath  <roland@redhat.com>
1407         [BZ #796]
1408         * sysdeps/unix/sysv/linux/dl-sysdep.h: New file.
1409         Define NEED_DL_SYSINFO_DSO for all platforms.
1411         * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection.
1412         * sysdeps/alpha/dl-sysdep.h: Likewise.
1413         Use #include_next instead of duplicating generic file's contents.
1414         * sysdeps/ia64/dl-sysdep.h: Likewise.
1415         * sysdeps/sparc/dl-sysdep.h: Likewise.
1417 2005-03-22  Steven Munroe  <sjmunroe@us.ibm.com>
1419         * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local.
1421 2005-03-07  Steven Munroe  <sjmunroe@us.ibm.com>
1423         [BZ #781]
1424         * sysdeps/unix/sysv/linux/kernel-features.h
1425         (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1.
1426         (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1.
1427         (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting
1428         with 2.6.1.
1429         (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.
1431 2005-04-28  Ulrich Drepper  <drepper@redhat.com>
1433         * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.
1434         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1435         * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate
1436         cfi_startproc and cfi_endproc.
1438         * configure.in: Remove ultrasparc names.
1440         * sysdeps/i386/i686/memcmp.S: Move misplaced END.
1442 2005-03-27  Bruno Haible  <bruno@clisp.org>
1444         Make it possible for multiple threads to use gettext() in different
1445         locales.
1446         * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro.
1447         (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename
1448         field.
1449         (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields.
1450         (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in
1451         search and newp.
1453         * intl/tst-gettext4.c: New file.
1454         * intl/tst-gettext4.sh: New file.
1455         * intl/tst-gettext4-de.po: New file.
1456         * intl/tst-gettext4-fr.po: New file.
1457         * intl/tst-gettext5.c: New file.
1458         * intl/tst-gettext5.sh: New file.
1459         * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po,
1460         tst-gettext4-fr.po, tst-gettext5.sh.
1461         (multithread-test-srcs): New variable.
1462         (test-srcs): Add its contents.
1463         (tests): Depend on tst-gettext4.out, tst-gettext5.out.
1464         (tst-gettext4.out, tst-gettext5.out): New rules.
1465         (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables.
1466         Add rule for linking the multithread-test-srcs with the appropriate
1467         thread-library.
1469 2005-04-28  Ulrich Drepper  <drepper@redhat.com>
1471         * po/rw.po: New file.  From translation team.
1473         * scripts/config.guess: Update from upstream.
1474         * scripts/config.sub: Likewise.
1476 2005-04-27  Ulrich Drepper  <drepper@redhat.com>
1478         [BZ #1094]
1479         * nscd/connections.c (nscd_run): Use time() value in prune_cache
1480         call, not timeout value, since the latter might be from another clock.
1482 2005-04-27  Roland McGrath  <roland@redhat.com>
1484         [BZ #877]
1485         * posix/unistd.h: Remove __nonnull from acct decl.
1487         * rt/tst-cpuclock1.c: New file.
1488         * rt/tst-cpuclock2.c: New file.
1489         * rt/tst-cputimer1.c: New file.
1490         * rt/tst-cputimer2.c: New file.
1491         * rt/tst-cputimer3.c: New file.
1492         * rt/Makefile (tests): Add them.
1494         * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
1495         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file.
1496         * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
1497         (HAS_CPUCLOCK): New macro.
1498         (clock_getcpuclockid): Function removed.
1499         #include the new linux file to define it instead.
1500         * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
1501         New function, broken out of ...
1502         (clock_gettime) [HP_TIMING_AVAIL]: ... here.  Call it.
1503         (realtime_gettime): New function, broken out of ...
1504         (clock_gettime) [! HANDLED_REALTIME]: ... here.  Call it.
1505         (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
1506         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro.
1507         (SYSDEP_GETTIME_CPUTIME): New macro.
1508         (SYSDEP_GETTIME): Use both.
1509         [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken
1510         out of ...
1511         (SYSDEP_GETTIME): ... here.  Use it.
1512         [__NR_clock_gettime] (HANDLED_CPUTIME): Define it.
1513         (SYSDEP_GETTIME_CPUTIME): New macro.  Handle CPU timers by trying
1514         kernel support and falling back to hp-timing code.
1515         * sysdeps/posix/clock_getres.c
1516         [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ...
1517         (clock_getres) [HP_TIMING_AVAIL]: ... here.  Call it.
1518         (realtime_getres): New function, broken out of ...
1519         (clock_getres) [! HANDLED_REALTIME]: ... here.  Call it.
1520         (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case.
1521         * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro.
1522         (SYSDEP_GETRES_CPUTIME): New macro.
1523         (SYSDEP_GETRES): Use both.
1524         [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken
1525         out of ...
1526         (SYSDEP_GETRES): ... here.  Use it.
1527         [__NR_clock_getres] (HANDLED_CPUTIME): Define it.
1528         (SYSDEP_GETRES_CPUTIME): New macro.  Handle CPU timers by trying
1529         kernel support and falling back to hp-timing code.
1530         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle
1531         CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially,
1532         translating to the kernel clockid_t for our own process/thread clock.
1534 2005-04-27  Ulrich Drepper  <drepper@redhat.com>
1536         * stdlib/test-canon.c: Make doesExist a directory and add more tests
1537         for the new error case.
1539 2004-06-02  Dmitry V. Levin  <ldv@altlinux.org>
1540             Ranjani Murthy <ranmur@gmail.com>
1542         * stdlib/canonicalize.c (__realpath): Change realpath(3) to
1543         return NULL and set errno to ENOTDIR for such pathnames like
1544         "/path/to/existing-non-directory/".
1546 2005-04-26  Ulrich Drepper  <drepper@redhat.com>
1548         [BZ #1105]
1549         * time/strptime_l.c (__strptime_internal): Handle 'z' to set
1550         tm_gmtoff.
1551         * time/Makefile (tests): Add tst-strptime2.
1552         * time/tst-strptime2.c: New file.
1554 2005-04-26  Jakub Jelinek  <jakub@redhat.com>
1556         [BZ #1081]
1557         * elf/dl-close.c: Include stddef.h.
1558         (_dl_close): If called recursively, just remember GC needs to be rerun
1559         and decrease l_direct_opencount.  Avoid GC if l_direct_opencount
1560         decreased to 1.  Rerun GC at the end if any destructor unloaded some
1561         additional libraries.
1562         * elf/Makefile: Add rules to build and run unload6 test.
1563         * elf/unload6.c: New test.
1564         * elf/unload6mod1.c: New file.
1565         * elf/unload6mod2.c: New file.
1566         * elf/unload6mod3.c: New file.
1568         * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
1569         if magic_p is not NULL.
1570         (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
1571         (malloc_check): Fail if sz == -1.
1572         (free_check): Adjust mem2chunk_check caller.
1573         (realloc_check): Likewise.  Fail if bytes == -1.  If bytes == 0 and
1574         oldmem != NULL, call free_check and return NULL.  If reallocating
1575         and returning NULL, invert magic byte again to make oldmem valid
1576         region for further checking.
1577         (memalign_check): Fail if bytes == -1.
1578         * malloc/Makefile: Add rules to build and run tst-mcheck.
1579         * malloc/tst-mcheck.c: New test.
1581 2005-04-26  Ulrich Drepper  <drepper@redhat.com>
1583         [BZ #1110]
1584         * stdio-common/vfscanf.c: Correctly account for characters of
1585         decimal points right after +-.
1587 2005-04-26  Roland McGrath  <roland@redhat.com>
1589         * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of
1590         ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
1592 2005-04-25  Roland McGrath  <roland@redhat.com>
1594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1595         (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
1597         * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.
1599         * elf/dl-load.c: Revert last change.
1601 2005-04-24  Ulrich Drepper  <drepper@redhat.com>
1603         [BZ #1110]
1604         * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.
1605         Patch by Hamed Malek <hamed@bamdad.org>.
1607 2005-04-21  Roland McGrath  <roland@redhat.com>
1609         * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,
1610         since Linux ignores it in user mmap calls.
1612 2005-04-17  David S. Miller  <davem@davemloft.net>
1614         * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
1615         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1617 2005-04-15  Roland McGrath  <roland@redhat.com>
1619         * timezone/Makefile (zic-deps): New variable.
1620         ($(testdata)/America/New_York): Use it instead of explicit deps.
1621         ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise.
1622         ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise.
1623         (%/UTC %/Universal): New pattern rule, replaces ...
1624         ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets.
1625         ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule.
1626         ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
1628 2005-04-14  Roland McGrath  <roland@redhat.com>
1630         * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well.
1631         (extract): Filter-out distinfo file name.
1633         [BZ #253]
1634         * MakeTAGS (text-srcs): Match %.bash.in files too.
1636         [BZ #253]
1637         * nscd/Makefile (all-nscd-modules): New variable, include selinux
1638         module regardless of configuration.
1639         (distribute): Use that instead of $(nscd-modules).
1641 2005-04-13  David S. Miller  <davem@davemloft.net>
1643         Add sparc64 TLS and NPTL support.
1644         * elf/tls-macros.h: Add Sparc64 defines.
1645         * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
1646         always_inline.
1647         (elf_machine_fixup_plt): Likewise.
1648         (elf_machine_rela): Handle TLS relocations.
1649         (elf_machine_type_cleaa): Likewise.
1650         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1651         (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
1652         It does not always fit in R_SPARC_GOT13 when building -fPIC.
1653         Also, add TLS handling.
1654         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1655         Increase it to 2.4.21 for sparc64.
1656         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
1657         backtrace by zero'ing out %fp.  Store away flags, func_ptr,
1658         and func_arg in global registers not local registers.
1659         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
1660         and CTID arguments properly.  Add RESET_PID handling.
1661         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
1662         do not invoke __sigprocmask().  We can always assume rt signals
1663         are present on sparc64, so just do an inline syscall.
1665 2005-04-13  Jakub Jelinek  <jakub@redhat.com>
1667         * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
1668         inclusion guard for the first half of the header.
1669         (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
1670         ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
1671         elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
1672         #ifndef dl_machine_h guarded part of the header.
1674 2005-04-14  Ulrich Drepper  <drepper@redhat.com>
1676         [BZ #851]
1677         * posix/execvp.c (execvp): Use file name including path when
1678         trying to run it with shell.
1679         * posix/Makefile: Add rules to build and run tst-execvp3.
1680         * posix/tst-execvp3.c: New file.
1682 2005-04-12  Ulrich Drepper  <drepper@redhat.com>
1684         [BZ #1090]
1685         * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
1686         * string/tst-strfry.c: New file.
1687         * string/Makefile (tests): Add tst-strfry.
1689 2005-04-11  James A. Morrison  <ja2morri@uwaterloo.ca>
1691         * manual/string.texi: Fix typo in wmemcpy decl.
1693 2005-04-10  David S. Miller  <davem@davemloft.net>
1695         * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
1697 2005-04-08  Carlos O'Donell <carlos@baldric.uwo.ca>
1699         * FAQ.in: Explain why `make' might fail running rpcgen.
1700         * FAQ: Regenerated.
1702 2005-04-07  Roland McGrath  <roland@redhat.com>
1704         * po/libc.pot: Regenerated.
1706 2005-04-07  Roland McGrath  <roland@redhat.com>
1708         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
1709         [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
1710         GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
1711         we can skip the uname call if it's there.
1712         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
1713         DL_SYSDEP_OSCHECK here.
1714         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
1716         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
1717         Add _dl_sysinfo_map.
1718         * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
1719         rtld_is_main case.  Call it unconditionally later.
1720         Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
1721         Initialize GLRO(dl_sysinfo_map).
1722         * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
1723         * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
1724         (_dl_important_hwcaps)
1725         [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
1726         GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
1727         and bit values.
1728         * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
1729         (hwcap_extra): New static variable.
1730         (is_hwcap_platform): Check hwcap_extra for a matching name.
1731         Remove tls special case.
1732         (path_hwcap): Likewise.
1733         (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
1734         and their names, stored in hwcap_extra.
1735         (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
1737         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
1738         _dl_hwcap and _dl_hwcap_mask.
1739         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
1740         AT_HWCAP to unsigned long int.
1741         * elf/dl-support.c (_dl_aux_init): Likewise.
1742         (_dl_hwcap): Update defn.
1744         * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
1745         * elf/ldconfig.c (search_dir): Likewise.
1747 2005-04-05  Roland McGrath  <roland@redhat.com>
1749         * NEWS: Copy 2.3.5 section from 2.3 branch.
1751         * intl/tst-codeset.sh: Use mkdir -p.  Put msgfmt output in temporary
1752         file and mv it into place.
1753         * intl/tst-gettext3.sh: Likewise.
1755         * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
1756         are up to date in srcdir.  Touch all configure scripts after export.
1758         * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
1760 2005-04-05  H.J. Lu  <hongjiu.lu@intel.com>
1762         [BZ #592]
1763         * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
1764         (comment changes only).
1765         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1766         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1767         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1768         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1769         * sysdeps/ia64/fpu/e_exp.S: Likewise.
1770         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1771         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1772         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1773         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1774         * sysdeps/ia64/fpu/e_expf.S: Likewise.
1775         * sysdeps/ia64/fpu/e_log.S: Likewise.
1776         * sysdeps/ia64/fpu/e_logf.S: Likewise.
1777         * sysdeps/ia64/fpu/e_pow.S: Likewise.
1778         * sysdeps/ia64/fpu/e_powf.S: Likewise.
1779         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1780         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1781         * sysdeps/ia64/fpu/libm_error.c: Likewise.
1782         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1783         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1784         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1785         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1786         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1787         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1788         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1789         * sysdeps/ia64/fpu/s_cos.S: Likewise.
1790         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1791         * sysdeps/ia64/fpu/s_erf.S: Likewise.
1792         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1793         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1794         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1795         * sysdeps/ia64/fpu/s_erff.S: Likewise.
1796         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1797         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1798         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1799         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1800         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1801         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
1802         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1803         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1804         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1806 2005-04-05  Roland McGrath  <roland@redhat.com>
1808         * scripts/config.guess: Update from master, timestamp='2005-03-24'.
1809         * scripts/config.sub: Update from master, timestamp='2005-02-10'.
1811 2005-04-04  David S. Miller  <davem@davemloft.net>
1813         * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
1814         * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
1815         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1816         (elf_machine_runtime_setup): Test for dl_profile non-null.
1817         * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
1818         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1819         * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
1820         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1821         (elf_machine_runtime_setup): Test for dl_profile non-null.
1822         * sysdeps/sparc/bits/link.h: New file.
1823         * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
1824         La_sparc64_regs, La_sparc64_retval): New.
1825         (struct audit_ifaces): Add sparc entries.
1826         * elf/tst-auditmod1.c: Add sparc entries.
1828 2005-03-27  Bruno Haible  <bruno@clisp.org>
1830         * intl/tst-gettext3.c: New file.
1831         * intl/tst-gettext3.sh: New file.
1832         * intl/Makefile (distribute): Add tst-gettext3.sh.
1833         (test-srcs): Add tst-gettext3.
1834         (tests): Depend on tst-gettext3.out.
1835         (tst-gettext3.out): New rule.
1836         (CFLAGS-tst-gettext3.c): New variable.
1838         Fix bug exposed by tst-gettext3.
1839         * intl/gettextP.h (struct converted_domain): New type.
1840         (struct loaded_domain): Remove the conv, conv_tab fields. Add
1841         conversions, nconversions fields.
1842         (_nl_init_domain_conv): Remove declaration.
1843         (_nl_free_domain_conv): Remove declaration.
1844         (_nl_find_msg): Add convert argument.
1845         * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
1846         (_nl_find_msg): Add convert argument. When a conversion to a different
1847         charset is needed, create a new converted_domain element, instead of
1848         throwing away the old converted translations.
1849         (get_output_charset): New function.
1850         * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
1851         (_nl_free_domain_conv): Remove function.
1852         (_nl_load_domain): Initialize the conversions array to empty. Use
1853         _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
1854         entry.
1855         (_nl_unload_domain): Free the conversions array and its contents.
1857         * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
1858         (struct binding): Likewise.
1859         * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
1860         modifications.
1862 2005-04-04  Jakub Jelinek  <jakub@redhat.com>
1864         [BZ #1082]
1865         * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
1866         of trying to encode uninitialized arglen.
1868 2005-04-04  Ulrich Drepper  <drepper@redhat.com>
1870         [BZ #825]
1871         * timezone/scheck.c: Update from tzcode2005h.
1872         * timezone/tzfile.h: Likewise.
1873         * timezone/zdump.c: Likewise.
1874         * timezone/zic.c: Likewise.
1876         [BZ #825]
1877         * timezone/antarctica: Update from tzdata2005h.
1878         * timezone/asia: Likewise.
1879         * timezone/australasia: Likewise.
1880         * timezone/etcetera: Likewise.
1881         * timezone/europe: Likewise.
1882         * timezone/northamerica: Likewise.
1883         * timezone/southamerica: Likewise.
1884         * timezone/leapseconds: Likewise.
1885         * timezone/iso3166.tab: Likewise.
1887 2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1889         [BZ #592]
1890         * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
1892 2005-04-01  Ulrich Drepper  <drepper@redhat.com>
1894         * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
1895         * wcsmbs/wctob.c (wctob): Likewise.
1896         * wcsmbs/wchar.h (btowc): Add optimized inline function.
1897         (wctob): Likewise.
1899 2005-03-31  Jakub Jelinek  <jakub@redhat.com>
1901         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
1902         equivalent, but shorter instructions.
1903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1904         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1905         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1906         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1907         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1908         * sysdeps/x86_64/strchr.S: Likewise.
1909         * sysdeps/x86_64/memset.S: Likewise.
1910         * sysdeps/x86_64/strcspn.S: Likewise.
1911         * sysdeps/x86_64/strcmp.S: Likewise.
1912         * sysdeps/x86_64/elf/start.S: Likewise.
1913         * sysdeps/x86_64/strspn.S: Likewise.
1914         * sysdeps/x86_64/dl-machine.h: Likewise.
1915         * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
1916         * sysdeps/x86_64/bsd-setjmp.S: Likewise.
1917         * sysdeps/x86_64/strtok.S: Likewise.
1919 2005-03-30  H.J. Lu  <hongjiu.lu@intel.com>
1921         [BZ #592]
1922         * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
1923         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
1924         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1925         * sysdeps/ia64/fpu/e_acosh.S: Likewise.
1926         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
1927         * sysdeps/ia64/fpu/e_acos.S: Likewise.
1928         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
1929         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
1930         * sysdeps/ia64/fpu/e_asin.S: Likewise.
1931         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
1932         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
1933         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
1934         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
1935         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1936         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1937         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
1938         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1939         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1940         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
1941         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1942         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1943         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
1944         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1945         * sysdeps/ia64/fpu/e_expf.S: Likewise.
1946         * sysdeps/ia64/fpu/e_exp.S: Likewise.
1947         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
1948         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
1949         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
1950         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
1951         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
1952         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
1953         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1954         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1955         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
1956         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
1957         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
1958         * sysdeps/ia64/fpu/e_log2.S: Likewise.
1959         * sysdeps/ia64/fpu/e_logf.S: Likewise.
1960         * sysdeps/ia64/fpu/e_logl.S: Likewise.
1961         * sysdeps/ia64/fpu/e_log.S: Likewise.
1962         * sysdeps/ia64/fpu/e_powf.S: Likewise.
1963         * sysdeps/ia64/fpu/e_powl.S: Likewise.
1964         * sysdeps/ia64/fpu/e_pow.S: Likewise.
1965         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
1966         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
1967         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
1968         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
1969         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
1970         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
1971         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1972         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
1973         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1974         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
1975         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
1976         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
1977         * sysdeps/ia64/fpu/libm_error.c: Likewise.
1978         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1979         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1980         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1981         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
1982         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1983         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1984         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1985         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1986         * sysdeps/ia64/fpu/libm_support.h: Likewise.
1987         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
1988         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1989         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
1990         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1991         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
1992         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
1993         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1994         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1995         * sysdeps/ia64/fpu/s_cos.S: Likewise.
1996         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1997         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1998         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1999         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
2000         * sysdeps/ia64/fpu/s_erf.S: Likewise.
2001         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
2002         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
2003         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
2004         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
2005         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
2006         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
2007         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
2008         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
2009         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
2010         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
2011         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
2012         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
2013         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
2014         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
2015         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
2016         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
2017         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
2018         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
2019         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
2020         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
2021         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
2022         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
2023         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
2024         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
2025         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
2026         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
2027         * sysdeps/ia64/fpu/s_logb.S: Likewise.
2028         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
2029         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
2030         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
2031         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
2032         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
2033         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
2034         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
2035         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
2036         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
2037         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
2038         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
2039         * sysdeps/ia64/fpu/s_round.S: Likewise.
2040         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
2041         * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
2042         * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
2043         * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
2044         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
2045         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
2046         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
2047         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
2048         * sysdeps/ia64/fpu/s_tan.S: Likewise.
2049         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
2050         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2051         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2052         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2053         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2054         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2056         [BZ #592]
2057         * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
2058         * sysdeps/ia64/fpu/libm_error_codes.h: New file.
2060         [BZ #592]
2061         * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
2062         2005-03-21.
2063         * sysdeps/ia64/fpu/import_file.awk: Likewise.
2064         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
2065         * sysdeps/ia64/fpu/Makefile: Likewise.
2067 2005-03-29  Jakub Jelinek  <jakub@redhat.com>
2069         [BZ #1087]
2070         * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
2071         avoid calling mbsrtowcs twice.
2073 2005-03-29  Roland McGrath  <roland@redhat.com>
2075         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
2076         function, inline broken out of ...
2077         (DL_SYSDEP_OSCHECK): ... here.  Use that.
2078         Do the discovery and set GLRO(dl_osversion) if successful,
2079         if __LINUX_KERNEL_VERSION <= 0.
2080         * elf/dl-load.c: Don't include dl-osinfo.h here.
2082 2005-03-29  Alfred M. Szmidt  <ams@gnu.org>
2084         * manual/install.texi (Tools for Compilation): GNU binutils 2.15
2085         is now needed.
2087 2005-03-19  Bruno Haible  <bruno@clisp.org>
2089         * intl/dcigettext.c (struct known_translation_t): Change type of
2090         domainname field to 'const char *'.
2091         (DCIGETTEXT): Remove const-cast.
2093 2005-03-29  Thorsten Kukuk  <kukuk@suse.de>
2095         [BZ #661]
2096         * grp/initgroups.c (internal_getgrouplist): Check if we have
2097         enough space before adding the primary group to the list.
2099         * posix/tst-execle1.c (do_test): Fix execle arguments.
2100         * posix/tst-execle2.c (do_test): Likewise.
2102 2005-03-28  Roland McGrath  <roland@redhat.com>
2104         * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
2105         Reported by Mark Mitchell <mark@codesourcery.com>.
2106         * Versions.def (libm): Define GLIBC_2.4 set.
2107         * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
2108         * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
2109         * sysdeps/ia64/Versions: Likewise.
2110         * sysdeps/m68k/Versions: Likewise.
2111         * sysdeps/sparc/sparc64/Versions: Likewise.
2112         * sysdeps/x86_64/Versions: New file.
2113         * sysdeps/mips/mips64/Versions: New file.
2115         * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
2116         [__USE_GNU] (NL_LOCALE_NAME): New macro.
2117         * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
2118         return locale name string for the category.
2120 2005-03-25  Jakub Jelinek  <jakub@redhat.com>
2122         * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
2123         <wcstol_l.c>.
2125 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
2127         * sysdeps/mips/atomicity.h: Remove unused file.
2128         * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
2129         * sysdeps/mips/dl-tls.h: New file.
2130         * sysdeps/mips/libc-tls.c: New file.
2131         * sysdeps/mips/tls-macros.h: New file.
2132         * sysdeps/mips/bits/atomic.h: New file.
2133         * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
2134         * sysdeps/mips/elf/configure.in: New file.
2135         * sysdeps/mips/elf/configure: Generated.
2136         * sysdeps/mips/sys/asm.h: New file.
2137         * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
2138         * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
2139         clone support.
2140         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2141         (INTERNAL_SYSCALL_NCS): New.
2142         (INTERNAL_SYSCALL): Update for non-constant support.
2143         (internal_syscall0): Likewise.
2144         (internal_syscall1): Likewise.
2145         (internal_syscall2): Likewise.
2146         (internal_syscall3): Likewise.
2147         (internal_syscall4): Likewise.
2148         (internal_syscall5): Likewise.
2149         (internal_syscall6): Likewise.
2150         (internal_syscall7): Likewise.
2151         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
2152         Update to match the kernel.
2153         (SIGEV_CALLBACK): Likewise.
2154         (SIGEV_THREAD_ID): Likewise.
2156 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
2158         [BZ #783]
2159         * elf/tst-auditmod1.c: Add MIPS support.
2160         * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
2161         (La_mips_32_retval): New.
2162         (La_mips_64_regs): New.
2163         (La_mips_64_retval): New.
2164         (struct audit_ifaces): Add MIPS entries.
2165         * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
2166         (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
2167         ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
2168         ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
2169         (RTLD_START): Align the stack before calling _dl_init_internal.
2170         Use .ent for _dl_start_user.
2171         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
2172         (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
2173         (elf_machine_runtime_setup): Use "auto inline".
2174         (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
2175         (elf_machine_got_rel): Likewise.  Use RESOLVE_MAP.
2176         * sysdeps/mips/dl-trampoline.c: New file.
2177         * sysdeps/mips/bits/link.h: New file.
2178         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
2179         (internal_syscall5): Use register operands instead of non-lvalue
2180         memory operands.
2181         (internal_syscall6): Likewise.
2182         (internal_syscall7): Likewise.
2184 2005-03-27  Andreas Jaeger  <aj@suse.de>
2186         * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
2187         avoid warnings with older compiler.
2188         (__builtin___memcpy_chk): Likewise.
2189         (__builtin___memmove_chk: Likewise.
2190         (__builtin___mempcpy_chk): Likewise.
2191         (__builtin___memset_chk): Likewise.
2192         (__builtin___stpcpy_chk): Likewise.
2193         (__builtin___strcat_chk): Likewise.
2194         (__builtin___strcpy_chk): Likewise.
2195         (__builtin___strncat_chk): Likewise.
2196         (__builtin___strncpy_chk): Likewise.
2197         (__builtin_object_size): Likewise.
2199 2005-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
2201         * elf/tls-macros.h: Correct typo.
2203 2005-03-23  Jakub Jelinek  <jakub@redhat.com>
2205         [BZ #822]
2206         * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
2207         (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
2209 2005-03-22  Roland McGrath  <roland@redhat.com>
2211         * locale/setlocale.c: Comment typo.
2213         * scripts/versions.awk: No errors for GLIBC_PRIVATE.
2215         * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
2217         * scripts/versions.awk: Print all errors and die at the end.
2218         Use library name in versions array keys.
2220 2005-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
2222         * elf/elf.h (PT_ARM_EXIDX): New macro.
2224 2005-03-21  Thorsten Kukuk  <kukuk@suse.de>
2226         [BZ #1098]
2227         * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
2228         Convert correctly between long/int on 64bit big-endian.
2230 2005-03-21  David Mosberger  <davidm@hpl.hp.com>
2232         * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
2233         with more than 8 output registers.  Fix this by passing original
2234         ar.pfs to _mcount_ret_helper via r3.
2236 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
2238         [BZ #786]
2239         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
2240         GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
2241         * elf/Makefile: Add rules to build and run tst-tls15.
2242         * elf/tst-tls15.c: New test.
2243         * elf/tst-tlsmod15a.c: New file.
2244         * elf/tst-tlsmod15b.c: New file.
2246 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
2248         * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
2250 2005-03-20  Alfred M. Szmidt  <ams@gnu.org>
2252         * elf/dl-open.c (dl_open_worker): Fix typo.
2254 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
2256         * malloc/malloc.c (public_cALLOc): We cannot skip the memory
2257         clearing if perturb_byte != 0.
2259 2005-03-20  Jakub Jelinek  <jakub@redhat.com>
2261         * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
2262         instead of __off_t for last argument.
2263         * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
2264         * debug/tst-lfschk1.c: New test.
2265         * debug/tst-lfschk2.c: New test.
2266         * debug/tst-lfschk3.c: New test.
2268 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
2270         * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
2271         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
2272         and __USE_XOPEN guards to match linux/bits/termios.h.
2273         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2274         (CMSPAR): Define.
2275         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2277 2005-02-10  H.J. Lu  <hongjiu.lu@intel.com>
2279         * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
2281 2005-02-27  Denis Barbier  <barbier@debian.org>
2283         [BZ #549]
2284         * locale/iso-4217.def: Add CSD currency.
2286 2005-03-19  Ulrich Drepper  <drepper@redhat.com>
2288         * inet/test-ifaddrs.c: Use test-skeleton.
2289         * inet/test_ifindex.c: Likewise.
2291         [BZ #821]
2292         * elf/dl-lookup.c (add_dependency): Always search l_initfini if
2293         the list exists.
2295         [BZ #821]
2296         * elf/Makefile: Add rules to build and run order2.
2297         * elf/order2.c: New file.
2298         * elf/order2mod1.c: New file.
2299         * elf/order2mod2.c: New file.
2300         * elf/order2mod3.c: New file.
2301         * elf/order2mod4.c: New file.
2303 2005-03-19  Jakub Jelinek  <jakub@redhat.com>
2305         [BZ #821]
2306         * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
2307         it has been incremented before.
2309 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
2311         [BZ #821]
2312         * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
2313         function _dl_sort_fini.
2314         (_dl_sort_fini): New function.
2315         * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
2316         * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
2317         destructors to call them in the right order.
2319 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
2321         * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
2322         (La_ppc64_retval): Correct size of lrc_fp.
2323         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
2324         Fix up ABI problems and complete function.
2326 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
2328         * math/test-misc.c (main): Add some more tests.
2330 2005-03-17  Jakub Jelinek  <jakub@redhat.com>
2332         * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
2333         __wcrtomb.  Check return values of other __wcrtomb calls.
2334         * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
2335         Change mbclen type to size_t.
2336         (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
2337         Handle mb chars whose upper case doesn't have multibyte representation
2338         in locale's charset.
2340 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
2342         * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
2343         public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
2344         #ifndef _LIBC.
2346         [BZ #779]
2347         * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
2348         initialized.
2350 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
2352         * misc/sys/cdefs.h (__always_inline): Define.
2353         * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
2354         Use __always_inline instead of __inline.
2355         * socket/bits/socket2.h (recv, recvfrom): Likewise.
2356         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
2357         * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
2358         __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
2359         __strcat_ichk, __strncat_ichk): Use __always_inline instead of
2360         __inline__ __attribute__ ((__always_inline__)).
2362 2005-03-09  Jakub Jelinek  <jakub@redhat.com>
2364         * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
2365         (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
2366         readlink.  Add some more tests for read, pread, pread64, fgets and
2367         fgets_unlocked.
2369         * posix/bits/unistd.h (read, pread, pread64, readlink,
2370         getcwd, getwd): Change macros into extern inline functions.
2371         (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
2372         __getcwd_alias, __getwd_alias): New prototypes.
2373         * socket/bits/socket2.h (recv, recvfrom): Change macros into
2374         extern inline functions.
2375         (__recv_alias, __recvfrom_alias): New prototypes.
2376         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
2377         into extern inline functions.
2378         (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
2380         * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
2381         to __pread.
2382         * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
2383         to __pread64.
2385 2005-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
2387         * configure.in: Use %function instead of @function.
2389 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
2391         [BZ #821]
2392         * include/link.h (struct link_map): Remove l_opencount.  Add l_removed.
2393         Change type of l_idx to int.
2394         * elf/dl-close.c: Basically rewrite.  Do not use l_opencount to
2395         determine whether a DSO has to be unloaded.  Instead compute this
2396         in this function.
2397         * elf/dl-deps.c: No need to manipulate l_opencount anymore.
2398         * elf/dl-lookup.c: Likewise.
2399         * elf/rtld.c: Likewise
2400         * elf/dl-open.c: Likewise.  Use l_init_called to determine whether
2401         object was just loaded.
2402         * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
2403         * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
2404         is about to be unloaded as a match.
2405         (_dl_map_object): Likewise.
2406         * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
2407         to be unloaded.
2408         * elf/circleload1.c: Don't use l_opencount anymore.
2409         * elf/neededtest.c: Likewise.
2410         * elf/neededtest2.c: Likewise.
2411         * elf/neededtest3.c: Likewise.
2412         * elf/neededtest4.c: Likewise.
2413         * elf/unload.c: Likewise.
2414         * elf/unload2.c: Likewise.
2415         * elf/loadtest.c: Likewise.
2417         [BZ #821]
2418         * elf/rtld.c: Preloading errors are now never fatal.
2420 2005-03-08  Jakub Jelinek  <jakub@redhat.com>
2422         [BZ #821]
2423         * elf/Makefile: Add rules to build and run unload5 test.
2424         * elf/unload5.c: New file.
2426         [BZ #821]
2427         * elf/Makefile: Add rules to build and run unload4 test.
2428         * elf/unload4.c: New file.
2429         * elf/unload4mod1.c: New file.
2430         * elf/unload4mod2.c: New file.
2431         * elf/unload4mod3.c: New file.
2432         * elf/unload4mod4.c: New file.
2434 2005-03-17  Roland McGrath  <roland@redhat.com>
2436         * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
2438 2005-03-16  Richard Henderson  <rth@redhat.com>
2440         * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
2441         of internal.
2442         (__hidden_def1, __hidden_dot_def1): Remove.
2443         (__hidden_def2, __hidden_def3): Remove.
2444         (__hidden_ver1): New.
2445         (hidden_ver, hidden_def, hidden_weak): Use it.
2446         (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
2447         version of the macro.
2449         * include/wchar.h (__wcscoll): Remove.
2450         * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
2451         * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
2453 2005-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
2455         * elf/elf.h: Define MIPS TLS relocations.
2457 2005-03-16  Ulrich Drepper  <drepper@redhat.com>
2459         * elf/circleload1.c (main): Pretty printing.
2461 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
2463         * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
2464         Patch by Dan Kegel <dank@kegel.com>.
2466         * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
2467         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2468         Add inline keyword.
2469         * sysdeps/alpha/dl-machine.h (elf_machine_rela,
2470         elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
2471         attribute.
2472         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2473         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.  Change
2474         static inline into auto inline.
2475         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2476         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
2477         * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
2478         Likewise.
2479         * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
2480         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
2481         Likewise.
2483 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
2485         [BZ #789]
2486         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
2487         Remove memory clobber.
2489         * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
2490         thread-safe.  Subtract GLRO(dl_hp_timing_overhead) from Diff.
2492 2005-03-14  Jakub Jelinek  <jakub@redhat.com>
2494         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
2495         asm/types.h.
2497 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
2499         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
2500         MAP_NONBLOCK.
2501         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2502         Correct MAP_GROWSDOWN value.
2504 2005-03-13  Roland McGrath  <roland@redhat.com>
2506         * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
2507         version if there is one.  Only #error if macros are then undefined.
2508         * sysdeps/generic/tls-macros.h: New file.
2510 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
2512         * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
2513         * sysdeps/hppa/configure: Regenerated.
2515 2005-03-08  Roland McGrath  <roland@redhat.com>
2517         * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
2518         array types match exactly in C alias decls.
2520 2005-03-07  Ulrich Drepper  <drepper@redhat.com>
2522         * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
2523         mallopt appropriately.
2524         * malloc/malloc.h: Define M_PERTURB.
2525         * malloc/malloc.c (perturb_byte): New variable.
2526         (alloc_perturb, free_perturb): New macros.
2527         (_int_malloc): Before returning, overwrite the memory if this is
2528         requested.
2529         (_int_free): Overwrite freed memory if requested.
2530         (mALLOPt): Handle M_PERTURB.
2531         * test-skeleton.c: Add call to mallopt with M_PERTURB command.
2533         * elf/dl-close.c (_dl_close): Decrement l_opencount before
2534         printing debug message.
2535         * elf/dl-open.c (dl_open_worker): Always print the new opencount
2536         in debug messages.
2538 2005-03-06  Ulrich Drepper  <drepper@redhat.com>
2540         * elf/dl-close.c (_dl_close): Unify debug message format.
2542         * elf/dl-close.c (_dl_close): Print debug message just before
2543         destroying a link map.
2545         * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
2546         * elf/dl-version.c (match_symbol): Likewise.
2548         * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
2550         * debug/recv_chk.c (__recv_chk): Always fail if request could
2551         overflow the buffer.
2552         * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
2553         * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
2554         we know the call succeeds.
2555         (recvfrom): Likewise.
2557 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
2559         * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
2560         warning.
2561         * posix/regex_internal.c (re_string_reconstruct): Add cast to
2562         avoid warning.
2563         (build_wcs_upper_buffer): Change type of bug to plain char.
2564         * locale/weightwc.h (findidx): Add casts to avoid warnings.
2565         * time/mktime.c (ranged_convert): Initialize tm to make the
2566         compiler happy.
2567         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
2568         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
2569         * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
2570         * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
2571         * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
2572         * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
2573         * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
2574         * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
2575         * libio/iofwide.c: Add casts to avoid warnings.
2576         * stdio-common/printf-prs.c (parse_printf_format): Introduce new
2577         variable f to avoid warnings.
2578         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2579         Fix a few casts to avoid warnings.
2580         * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
2581         to avoid warning.
2583         [BZ #1101]
2584         * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
2585         dynamically sized array.
2586         (build_wcs_upper_buffer): Likewise.
2588 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
2590         * include/bits/unistd.h: New file.
2591         * include/bits/socket2.h: New file.
2593 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
2595         * sunrpc/key_call.c: Remove doors support.
2596         * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
2597         * configure.in: Remove test for doors support which never existed.
2598         * config.make.in: Remove have_doors entry.
2600         * configure.in: Make sure at least gcc 3.4 is used.  Undo last change.
2601         * config.make.in: Undo last change.
2603         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
2604         -mtune.
2606 2005-03-05  Roland McGrath  <roland@redhat.com>
2608         * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
2609         (_dl_out_of_memory): Use rtld_hidden_proto.
2610         * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
2611         (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
2612         * elf/dl-open.c (_dl_open): Likewise.
2613         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2615         * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
2617         * elf/dl-addr.c (_dl_addr): Add a cast.
2619         [BZ #821]
2620         * elf/unload3mod4.c: Declare foo.
2621         * elf/testobj2.c: Include <stdio.h>.
2623         * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
2624         value constant, and use it in the defn.
2625         * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
2626         Use actual size for compat array decls.
2628         * config.make.in (cc-mtune): New substituted variable.
2629         * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
2630         done only if libc_mtune_example is defined.
2631         * sysdeps/i386/configure.in (libc_mtune_example): Set it.
2632         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
2634 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
2636         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
2637         unconditionally to (defined RTLD_BOOTSTRAP).
2638         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
2640 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
2642         * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
2643         $(inst_slibdir) in AS_NEEDED directive.
2645 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
2647         * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
2649 2005-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2651         [BZ #776]
2652         * iconv/iconvconfig.c: Fix comment for the output file.
2653         (write_output): Clear padding in header.
2655 2005-03-03  Ulrich Drepper  <drepper@redhat.com>
2657         [BZ #821]
2658         * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
2659         loader is closed.  Fixes unload3.
2660         * elf/tst-global1.c: New file.
2661         * elf/Makefile (tests): Add tst-global1.
2662         * elf/testobj2.c (p): New function.
2664 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
2666         [BZ #821]
2667         * elf/Makefile: Add rules to build and run unload3 test.
2668         * elf/unload3.c: New test.
2669         * elf/unload3mod1.c: New file.
2670         * elf/unload3mod2.c: New file.
2671         * elf/unload3mod3.c: New file.
2672         * elf/unload3mod4.c: New file.
2674 2005-02-21  Alan Modra <amodra@bigpond.net.au>
2676         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
2677         use __uint128_t.
2679 2005-03-01  Jakub Jelinek  <jakub@redhat.com>
2681         * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
2682         of __bos.
2683         * socket/bits/socket2.h (recv, recvfrom): Likewise.
2685 2005-03-01  Roland McGrath  <roland@redhat.com>
2687         [BZ #721]
2688         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
2689         of [RESOLVE_MAP].
2691 2005-03-01  Alfred M. Szmidt  <ams@gnu.org>
2693         [BZ #777]
2694         * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
2695         Add missing initializer.
2697         [BZ #777]
2698         * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
2699         USE_TLS && !USE___THREAD].
2701 2005-02-26  GOTO Masanori  <gotom@debian.or.jp>
2703         * csu/Makefile: Use printf instead of echo for some shells.
2705 2005-02-28  Roland McGrath  <roland@redhat.com>
2707         * debug/warning-nop.c (__nop): Rename to nop, make it static.
2708         (__warndecl): Use alias attribute directly, instead of strong_alias
2709         macro.  Add attribute_hidden.
2711 2005-02-28  Ulrich Drepper  <drepper@redhat.com>
2713         * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
2714         determine the call will never trigger a failure.
2715         * debug/read_chk.c (__read_chk): Always fail if the buffer is too
2716         small.
2717         * debug/readlink_chk.c (__readlink_chk): Likewise.
2718         * debug/pread64_chk.c (__pread64_chk): Likewise.
2719         * debug/pread_chk.c (__pread_chk): Likewise.
2721         * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
2722         * sysdeps/x86_64/memset_chk.S: Likewise.
2724 2005-02-24  Roland McGrath  <roland@redhat.com>
2726         * debug/Versions (libc: GLIBC_2.4): Remove
2727         __memset_zero_constant_len_parameter.
2728         * sysdeps/generic/memset_chk.c: Remove alias and warning.
2729         * misc/sys/cdefs.h (__warndecl): New macro.
2730         * debug/warning-nop.c: New file.
2731         * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
2732         arguments, instead of calling __memset_zero_constant_len_parameter.
2733         Use __warndecl for __warn_memset_zero_len.
2734         * debug/Makefile (routines): Add $(static-only-routines).
2735         (static-only-routines): New variable.
2737 2005-02-27  Ulrich Drepper  <drepper@redhat.com>
2739         * po/tr.po: Update from translation team.
2741 2005-02-26  Ulrich Drepper  <drepper@redhat.com>
2743         * elf/dl-addr.c: Cleanups.  Move declaration next to first use.
2745         * dlfcn/dlerror.c (check_free): New function.  Extract common code
2746         from fini and free_key_mem.  Check whether this is libdl in the
2747         base namespace.
2749 2005-02-25  Ulrich Drepper  <drepper@redhat.com>
2751         * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
2752         to debug output.
2754 2004-11-11  Richard Sandiford  <rsandifo@redhat.com>
2756         [BZ #758]
2757         * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
2758         preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
2759         like __NR_N32_open.  Just include <asm/unistd.h> otherwise.
2760         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2761         * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
2762         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
2763         standard __NR prefix.
2764         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
2765         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
2766         the output file is compatible with both pre-2.6 and 2.6 kernel headers.
2767         Extract separate syscall lists for each ABI.
2769 2005-02-23  Ulrich Drepper  <drepper@redhat.com>
2771         * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
2773         [BZ #719]
2774         * elf/Makefile: Run tst-tls9-static again.
2776 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
2778         [BZ #719]
2779         * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
2780         slotinfo array.
2781         (__libc_setup_tls): Initialize length of DTV based on array length.
2782         * elf/dl-load.c: Revert last change.
2783         * sysdeps/generic/dl-tls.c: Revert last change.
2785         * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
2786         tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
2787         tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
2788         * posix/tst-execl1.c: New file.
2789         * posix/tst-execl2.c: New file.
2790         * posix/tst-execle1.c: New file.
2791         * posix/tst-execle2.c: New file.
2792         * posix/tst-execlp1.c: New file.
2793         * posix/tst-execlp2.c: New file.
2794         * posix/tst-execv1.c: New file.
2795         * posix/tst-execv2.c: New file.
2796         * posix/tst-execve1.c: New file.
2797         * posix/tst-execve2.c: New file.
2798         * posix/tst-execvp1.c: New file.
2799         * posix/tst-execvp2.c: New file.
2801 2005-02-22  Roland McGrath  <roland@redhat.com>
2803         * include/signal.h: Revert last change.
2804         (__sigemptyset): Use __builtin_memset instead of memset.
2806 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
2808         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
2809         non-cancelable I/O functions.
2811 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
2813         [BZ #769]
2814         * nscd/nscd-client.h: Include sys/uio.h.
2815         (__readall, __readvall, writeall): New prototypes.
2816         * nscd/connections.c (writeall): New function.
2817         (handle_request): Use it.
2818         * nscd/aicache.c (addhstaiX): Likewise.
2819         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2820         * nscd/hstcache.c (cache_addhst): Likewise.
2821         * nscd/grpcache.c (cache_addgr): Likewise.
2822         * nscd/pwdcache.c (cache_addpw): Likewise.
2823         * nscd/nscd_helper.c (__readall, __readvall): New functions.
2824         * nscd/nscd_getai.c (__nscd_getai): Use them.
2825         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
2826         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
2827         * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
2828         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2830 2005-02-22  Roland McGrath  <roland@redhat.com>
2832         * include/sys/socket.h: Declare __recv.
2833         * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
2834         * sysdeps/mach/hurd/recv.c: Likewise.
2836         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
2837         __backtrace_* decls.
2839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2840         (INTERNAL_SYSCALL_ERROR_P): Evalute VAL.  Parenthesize ERR.
2841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2843         * include/signal.h: Include <string.h> for memset decl.
2845 2005-02-22  Andreas Schwab  <schwab@suse.de>
2847         * posix/execvp.c (execvp): Fix invalid free.
2849 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
2851         [BZ #1095]
2852         * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
2853         * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
2854         librpcsvc.a objects.
2856 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
2858         [BZ #1107]
2859         * iconvdata/ibm930.h: Correct Yen mapping.
2860         * iconvdata/ibm939.h: Likewise.
2861         * iconvdata/testdata/IBM930..UTF8: Adjust test data.
2862         * iconvdata/testdata/IBM939..UTF8: Likewise.
2863         Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2865         * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
2866         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
2867         (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
2868         ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
2869         ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
2870         ibm1158.c, and ibm1158.h.
2871         * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
2872         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
2873         * iconvdata/gconv-modules: Likewise.
2874         * iconvdata/ibm1025.c: New file.
2875         * iconvdata/ibm1025.h: New file.
2876         * iconvdata/ibm1122.c: New file.
2877         * iconvdata/ibm1122.h: New file.
2878         * iconvdata/ibm1137.c: New file.
2879         * iconvdata/ibm1137.h: New file.
2880         * iconvdata/ibm1153.c: New file.
2881         * iconvdata/ibm1153.h: New file.
2882         * iconvdata/ibm1154.c: New file.
2883         * iconvdata/ibm1154.h: New file.
2884         * iconvdata/ibm1155.c: New file.
2885         * iconvdata/ibm1155.h: New file.
2886         * iconvdata/ibm1156.c: New file.
2887         * iconvdata/ibm1156.h: New file.
2888         * iconvdata/ibm1157.c: New file.
2889         * iconvdata/ibm1157.h: New file.
2890         * iconvdata/ibm1158.c: New file.
2891         * iconvdata/ibm1158.h: New file.
2892         * iconvdata/testdata/IBM1025: New file.
2893         * iconvdata/testdata/IBM1025..UTF8: New file.
2894         * iconvdata/testdata/IBM1122: New file.
2895         * iconvdata/testdata/IBM1122..UTF8: New file.
2896         * iconvdata/testdata/IBM1137: New file.
2897         * iconvdata/testdata/IBM1137..UTF8: New file.
2898         * iconvdata/testdata/IBM1153: New file.
2899         * iconvdata/testdata/IBM1153..UTF8: New file.
2900         * iconvdata/testdata/IBM1154: New file.
2901         * iconvdata/testdata/IBM1154..UTF8: New file.
2902         * iconvdata/testdata/IBM1155: New file.
2903         * iconvdata/testdata/IBM1155..UTF8: New file.
2904         * iconvdata/testdata/IBM1156: New file.
2905         * iconvdata/testdata/IBM1156..UTF8: New file.
2906         * iconvdata/testdata/IBM1157: New file.
2907         * iconvdata/testdata/IBM1157..UTF8: New file.
2908         * iconvdata/testdata/IBM1158: New file.
2909         * iconvdata/testdata/IBM1158..UTF8: New file.
2910         Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2912 2005-02-10  Paolo Bonzini  <bonzini@gnu.org>
2914         * posix/regcomp.c (lower_subexp): Do not optimize empty
2915         subexpressions even with REG_NOSUB.
2916         * posix/rxspencer/tests: Add a previously failing testcase.
2918 2005-02-21  Alan Modra <amodra@bigpond.net.au>
2920         [BZ #719]
2921         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
2922         array index is within bounds.
2924 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
2926         [BZ #719]
2927         * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
2928         linked code.
2929         * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
2930         * elf/Makefile: Remove rules to build and run tst-tls9-static.
2932         [BZ #719]
2933         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
2934         THREAD_DTV multiple times, this minimally reduces code size on
2935         some archs.
2937 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
2939         [BZ #768]
2940         * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
2941         NETDB_INTERNAL if buffer is too small.
2943         [BZ #768]
2944         * nscd/hstcache.c (INCR): Remove.
2945         (addhstbyX): Double buflen in each iteration rather than add INCR.
2946         * nscd/grpcache.c: Likewise.
2947         * nscd/pwdcache.c: Likewise.
2949 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
2951         * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
2952         map if requested.
2953         * debug/chk_fail.c: Request backtrace and memory map dump.
2955         * Versions.def: Add GLIBC_2.4 for libc.
2956         * debug/fgets_chk.c: New file.
2957         * debug/fgets_u_chk.c: New file.
2958         * debug/getcwd_chk.c: New file.
2959         * debug/getwd_chk.c: New file.
2960         * debug/readlink_chk.c: New file.
2961         * debug/read_chk.c: New file.
2962         * debug/pread_chk.c: New file.
2963         * debug/pread64_chk.c: New file.
2964         * debug/recv_chk.c: New file.
2965         * debug/recvfrom_chk.c: New file.
2966         * debug/Versions: Add all new functions with version GLIBC_2.4.
2967         * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
2968         pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
2969         getwd_chk, and getcwd_chk.  Plus appropriate CFLAGS definitions.
2970         * debug/tst-chk1.c: Add more tests.
2971         * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
2972         * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
2973         * posix/unistd.h: Include <bits/unistd.h> for fortification.
2974         * posix/bits/unistd.h: New file.
2975         * posix/Makefile (headers): Add bits/unistd.h.
2976         * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
2977         * socket/bits/socket2.h: New file.
2978         * socket/Makefile (headers): Add bits/socket2.h.
2980         * string/bits/string3.h: Extend memset macro to check for zero 3rd
2981         parameter and use __memset_zero_constant_len_parameter in that case.
2982         * sysdeps/generic/memset_chk.c: Add
2983         __memset_zero_constant_len_parameter alias and linker warning.
2984         * debug/Versions: Add __memset_zero_constant_len_parameter to libc
2985         with version GLIBC_2.4.
2987         * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
2988         in __STD_TYPE definition.
2990 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
2992         * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
2993         the error message rather than program name.
2995 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
2997         [BZ #767]
2998         * posix/unistd.h: symlink and readlink are unconditionally
2999         available in the 2001 spec.
3001 2005-02-16  Roland McGrath  <roland@redhat.com>
3003         * intl/dcigettext.c (_nl_find_msg): Add a cast.
3005         * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
3006         * nis/nis_clone_obj.c (nis_clone_object): Likewise.
3007         * nis/nis_clone_res.c (nis_clone_result): Likewise.
3009         * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
3010         for END_OF_MESSAGE and CP.
3012         * resolv/res_send.c (send_dg): Add else branch for case impossible
3013         unless `poll' is buggy.
3015         * crypt/crypt_util.c (__setkey_r): Add a cast.
3017         * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
3018         NBYTES, and unsigned char * for BYTES.
3020         * locale/programs/charmap.c (charmap_new_char): Use size_t and
3021         unsighed char * for NBYTES, BYTES parameters.
3023         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
3024         and cast it.
3025         * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
3027         * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
3029         * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
3031         * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
3032         (authdes_marshal): Don't use unsigned int for LEN.
3033         * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
3034         (xdr_u_hyper): Likewise.
3035         (xdr_u_short): Don't use u_long for L.
3036         * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
3038         * inet/rexec.c (rexec_af): Use socklen_t.
3039         * sunrpc/key_call.c (getkeyserv_handle): Likewise.
3040         * sunrpc/rtime.c (rtime): Likewise.
3041         * resolv/res_send.c (send_vc, send_dg): Likewise.
3042         * nis/nis_callback.c (__nis_create_callback): Likewise.
3044         * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
3046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
3048         * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
3050         * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
3051         (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
3052         (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
3053         * intl/bindtextdom.c (INTUSE): Macro removed.
3054         (_nl_default_dirname): Use libc_hidden_proto.
3055         (set_binding_values): Don't use INTUSE.
3056         * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
3057         (_libc_intl_domainname): Use libc_hidden_proto.
3058         * posix/regex_internal.h (gettext): Remove INTUSE on it.
3059         * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
3060         rather than INTDEF.
3061         * include/libintl.h (_): Don't use *_internal name.
3063         * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
3064         not uint32_t.
3065         * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
3067         * iconv/gconv_open.c (__gconv_open): Remove useless cast.
3069         [BZ #721]
3070         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
3071         of [RESOLVE_MAP].
3072         * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
3073         * sysdeps/powerpc/powerpc32/dl-machine.h
3074         (elf_machine_rel, elf_machine_rel_relative): Removed.
3075         * sysdeps/powerpc/powerpc64/dl-machine.h
3076         (elf_machine_rel, elf_machine_rel_relative): Removed.
3078 2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
3080         [BZ #721]
3081         * elf/dynamic-link.h: Don't declare nested auto functions that are
3082         not going to be defined.
3084 2004-07-23  Jakub Jelinek  <jakub@redhat.com>
3086         [BZ #284]
3087         * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
3088         if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
3090 2005-02-16  Roland McGrath  <roland@redhat.com>
3092         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
3093         inside [! SHARED] where it's used.
3095 2005-02-15  Ulrich Drepper  <drepper@redhat.com>
3097         * sysdeps/generic/bits/byteswap.h: Make sure result of all the
3098         functions and macros is unsigned.
3100 2005-02-11  Barry deFrese  <bddebian@comcast.net>
3102         [BZ #722]
3103         * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
3104         * sysdeps/mach/hurd/setresuid.c: Likewise.
3106 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
3108         * misc/sys/syslog.h: Fix typo in comment.
3110 2005-02-14  Roland McGrath  <roland@redhat.com>
3112         [BZ #720]
3113         * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
3114         if it wasn't originally.
3116 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
3118         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
3119         getpeername entry.
3120         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3121         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3123 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
3125         * scripts/soversions.awk: Only record first WORDSIZE{32,64}
3126         matching line.
3128 2005-02-14  Alan Modra  <amodra@bigpond.net.au>
3130         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
3131         with auto inline, and attribute always_inline.
3132         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
3133         (elf_machine_rel, elf_machine_rel_relative): Likewise.
3134         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3135         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
3136         (elf_machine_rel, elf_machine_rel_relative): Likewise.
3137         (elf_machine_tprel): Likewise.
3139 2005-02-14  Andreas Schwab  <schwab@suse.de>
3141         * manual/filesys.texi (Random Access Directory): Fix type of file
3142         position value for telldir and seekdir.
3143         (Attribute Meanings): Fix typo.
3145 2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>
3147         * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
3148         isn't defined.
3149         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
3150         if SHARED isn't defined.
3151         * elf/Makefile (tests-static): Add tst-array1-static.
3152         ($(objpfx)tst-array1-static.out): New target.
3153         * elf/tst-array1-static.c: New file.
3155 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
3157         [BZ #1100]
3158         * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
3159         __libc_message to kill GCC warning about noreturn function returning.
3161         * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
3162         before relocating ld.so again.
3164         * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
3165         for already prelinked ld.so.
3167 2005-02-11  Roland McGrath  <roland@redhat.com>
3169         [BZ #715]
3170         * Makefile (installed-stubs): New variable.
3171         Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
3172         or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
3173         [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
3174         ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
3175         rule's target.
3176         ($(inst_includedir)/gnu/stubs.h): New target, install from ...
3177         * include/stubs-biarch.h: New file.
3179         * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
3181         * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
3182         Emit defn for variable `biarch'.
3184         * include/stub-tag.h: Update comment.
3186         * scripts/soversions.awk: Fix default version set handling.
3188 2005-02-10  Roland McGrath  <roland@redhat.com>
3190         [BZ #157]
3191         * include/libc-symbols.h (stub_warning): Emit a marker section called
3192         .gnu.glibc-stub.NAME.
3193         * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
3194         Use objdump to collect those marker section names.
3195         ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
3197         * Rules (subdir_objs, subdir_stubs): New phony targets.
3198         * Makefile (+subdir_targets): Add them.
3200         * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
3201         soversions.i.
3203         * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
3204         Reported by H.J. Lu <hongjiu.lu@intel.com>.
3206         * scripts/lib-names.awk: Always print WORDSIZE32 section first when
3207         doing two.
3209 2005-02-10  Jakub Jelinek  <jakub@redhat.com>
3211         * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
3212         * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
3213         * sysdeps/powerpc/bits/link.h: ... here.  New file.
3215 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
3217         [BZ #710]
3218         * stdlib/random_r.c (__initstate_r): Save old state.
3219         * stdlib/Makefile (tests): Add tst-random2.
3220         * stdlib/tst-random2.c: New test.
3221         Reported by Peter Bergner <bergner@vnet.ibm.com>.
3223 2005-01-25  H.J. Lu  <hongjiu.lu@intel.com>
3225         * dlfcn/dlfcn.c (init): Put it in .init_array section.
3227 2005-02-10  Roland McGrath  <roland@redhat.com>
3229         [BZ #632]
3230         * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
3231         from command line.
3232         Grok shlib-versions lines with WORDSIZE* in second column.
3233         Add new leading column to output, DEFAULT for existing output lines.
3234         Also emit lines with WORDSIZE* for alternate configurations.
3235         * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
3236         ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
3237         ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
3238         of soversions.mk; replace inline shell script with use of ...
3239         * scripts/lib-names.awk: New file.  If input has non-DEFAULT lines,
3240         emit multiple sets of macros under #if.
3241         * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
3242         (s390x-.*-.*): Likewise for s390.
3243         (powerpc64-.*-.*): Likewise for powerpc.
3244         (sparc64-.*-.*): Likewise for sparc.
3245         (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
3246         for these mapping back to the above.
3248 2005-02-08  Jakub Jelinek  <jakub@redhat.com>
3250         * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
3252 2005-02-08  Andreas Schwab  <schwab@suse.de>
3254         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
3255         RESOLVE.
3257 2005-02-07  Richard Henderson  <rth@redhat.com>
3259         * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
3261 2005-02-08  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3263         * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
3264         RESOLVE.
3266 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
3268         * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
3269         set correctly.
3271 2005-01-07  Richard Henderson  <rth@redhat.com>
3273         * math/math_private.h (__copysign): Define as builtin for gcc 4.
3274         (__copysignf, __copysignl): Likewise.
3275         * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
3276         for gcc 4.0.
3277         (copysignf, copysignl, fabsf, fabs): Likewise.
3278         (__copysign, __copysignf, __copysignl): Remove.
3279         (__fabs, __fabsf): Remove.
3281 2005-01-07  Jakub Jelinek  <jakub@redhat.com>
3283         [BZ #738]
3284         * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
3285         avoid writing to it if none of the standard search directories exist.
3287 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
3289         [BZ #700]
3290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3291         (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
3292         Load MSR as a doubleword.
3293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3294         (__novec_swapcontext, __swapcontext): Likewise.
3296 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
3298         * iconv/iconv_prog.c (main): Provide more help in case on an error.
3300         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
3302 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
3304         [BZ #741]
3305         * nscd/nscd.c (termination_handler): Avoid segfault if some database
3306         is not enabled.
3308         [BZ #741]
3309         * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
3310         __nss_not_use_nscd_hosts and return -1.
3311         * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
3312         initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
3313         Avoid leaking sockets.
3315 2005-01-28  Andreas Schwab  <schwab@suse.de>
3316             H.J. Lu  <hongjiu.lu@intel.com>
3318         [BZ #677]
3319         * elf/dl-runtime.c (fixup): Change return type to
3320         DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
3321         DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
3322         values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
3323         store and retrieve relocation values.
3324         (profile_fixup): Likewise.
3325         * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
3326         l_reloc_result.
3327         * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
3328         * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
3329         (DL_FIXUP_MAKE_VALUE): Likewise.
3330         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
3331         (DL_FIXUP_VALUE_ADDR): Likewise.
3332         (DL_FIXUP_ADDR_VALUE): Likewise.
3333         * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
3334         (DL_FIXUP_VALUE_TYPE): New.
3335         (DL_FIXUP_MAKE_VALUE): Likewise.
3336         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
3337         (DL_FIXUP_VALUE_ADDR): Likewise.
3338         (DL_FIXUP_ADDR_VALUE): Likewise.
3339         * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
3340         (elf_machine_profile_plt): Removed.
3341         (elf_machine_fixup_plt): Change return type and type of value
3342         parameter to struct fdesc.
3343         (elf_machine_plt_value): Likewise.
3344         (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
3345         argument for elf_machine_fixup_plt.
3347 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
3349         [BZ #742]
3350         * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
3351         after the status string printed by killproc.
3353 2004-11-18  Alexandre Oliva  <aoliva@redhat.com>
3355         * manual/.cvsignore: Add dir-add.texi.
3357 2005-02-06  Richard Henderson  <rth@redhat.com>
3359         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
3360         all the time.
3362 2004-11-03  Marcus Brinkmann  <marcus@gnu.org>
3364         * configure.in (sysnames): Append sysdeps/generic for each add-on.
3365         * configure: Regenerated.
3367 2005-02-02  Alfred M. Szmidt  <ams@gnu.org>
3369         * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
3370         (dtv_t): Change pointer type to be a struct which also contains
3371         information whether the memory pointed to is static TLS or not.
3373         * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
3375         * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
3376         (FALSEP): ... this.  Updated all references.
3378         [BZ #765]
3379         * libio/fmemopen.c: Include <stdint.h>.
3381 2005-01-30  Ulrich Drepper  <drepper@redhat.com>
3383         [BZ #1103]
3384         * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
3385         * nscd/connections.c (send_ro_fd): Likewise.
3387 2005-01-28  H.J. Lu  <hongjiu.lu@intel.com>
3389         * elf/tst-auditmod1.c: Add ia64 entries.
3390         * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
3391         (La_ia64_retval): New.
3392         (audit_ifaces): Add ia64 entries.
3393         * sysdeps/ia64/bits/link.h: New file.
3394         * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
3395         for dl_profile non-null.
3396         (ARCH_LA_PLTENTER): New.
3397         (ARCH_LA_PLTEXIT): New.
3398         * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
3399         only 2 output registers. Allocate stack to save/restore
3400         8 incoming fp registers. Call _dl_fixup instead of fixup.
3401         (_dl_runtime_profile): Rewrite.
3403 2005-01-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>
3405         * sysdeps/s390/bits/link.h: New file.
3406         * sysdeps/s390/s390-32/dl-trampoline.S: New file.
3407         * sysdeps/s390/s390-64/dl-trampoline.S: New file.
3408         * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
3409         dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
3410         relocation code.
3411         (elf_machine_runtime_setup): Test for dl_profile non-null.
3412         (elf_machine_rela): Remove code using RESOLVE.
3413         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
3414         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3415         * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
3416         La_s390_64_regs, La_s390_64_retval): New.
3417         * elf/tst-auditmod1.c: Add s390 entries.
3419         [BZ #743]
3420         * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
3421         strncat, memchr, strcmp): Add missing memory clobber.
3423 2005-01-27  Ulrich Drepper  <drepper@redhat.com>
3425         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
3426         copy gl_offs.  Patch by Sergey Tikhonov <tsv@solvo.ru>.
3428 2005-01-27  Paolo Bonzini  <bonzini@gnu.org>
3430         [BZ #558]
3431         * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
3432         Initialize the node sets in dfa->inveclosures.
3433         (analyze): Initialize inveclosures only if it is needed.
3434         Check errors from calc_inveclosure.
3435         * posix/regex_internal.c (re_dfa_add_node): Do not initialize
3436         the inveclosure node set.
3437         * posix/regexec.c (re_search_internal): If nmatch includes unused
3438         subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
3440         * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
3441         Do build a SIMPLE_BRACKET token.
3443         * posix/regexec.c (transit_state_mb): Do not examine nodes
3444         where ACCEPT_MB is not set.
3446 2005-01-27  Jakub Jelinek  <jakub@redhat.com>
3448         * stdlib/tst-fmtmsg.c: Include stdlib.h.
3449         * stdio-common/tst-fmemopen2.c: Include string.h.
3450         * posix/execvp.c: Include stdbool.h.
3452 2004-12-13  Paolo Bonzini  <bonzini@gnu.org>
3454         Separate parsing and creation of the NFA.  Avoided recursion on
3455         the (very unbalanced) parse tree.
3456         [BZ #611]
3457         * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
3458         re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
3459         (optimize_subexps, duplicate_tree, calc_first, calc_next,
3460         mark_opt_subexp): Rewritten.
3461         (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
3462         create_token_tree, free_tree, free_token): New.
3463         (analyze): Accept a regex_t *.  Invoke the passes via the preorder and
3464         postorder generic visitors.  Do not initialize the fields in the
3465         re_dfa_t that represent the transitions.
3466         (free_dfa_content): Use free_token.
3467         (re_compile_internal): Analyze before UTF-8 optimizations.  Do not
3468         include optimization of subexpressions.
3469         (create_initial_state): Fetch the DFA node index from the first node's
3470         bin_tree_t *.
3471         (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
3472         Return on COMPLEX_BRACKET.
3473         (duplicate_node_closure): Fix comment.
3474         (duplicate_node): Do not initialize the fields in the
3475         re_dfa_t that represent the transitions.
3476         (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
3477         (create_tree): Remove final argument.  All callers adjusted.  Rewritten
3478         to use create_token_tree.
3479         (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
3480         build_charclass_op): Use create_tree or create_token_tree instead
3481         of re_dfa_add_tree_node.
3482         (parse_dup_op): Likewise.  Also free the tree using free_tree for
3483         "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
3484         to "a|".  Adjust invocation of mark_opt_subexp.
3485         (parse_sub_exp): Create a single SUBEXP node.
3486         * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
3487         always perform as if it was 1.  Do not initialize OPT_SUBEXP and
3488         DUPLICATED, and initialize the DFA fields representing the transitions.
3489         * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
3490         (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
3491         section.  Add a tree-only code SUBEXP.  Remove OP_DELETED_SUBEXP.
3492         (bin_tree_t): Include a full re_token_t for TOKEN.  Turn FIRST and
3493         NEXT into pointers to trees.  Remove ECLOSURE.
3495 2004-12-28  Paolo Bonzini  <bonzini@gnu.org >
3497         [BZ #605]
3498         * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
3499         that were already created.
3500         * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
3501         in the token if needed.
3502         (create_ci_newstate, create_cd_newstate): Set accept_mb field
3503         from the tokens' field.
3504         * posix/regex_internal.h (re_token_t): Add accept_mb field.
3505         (ACCEPT_MB_NODE): Removed.
3506         * posix/regexec.c (proceed_next_node, transit_states_mb,
3507         build_sifted_states, check_arrival_add_next_nodes): Use
3508         accept_mb instead of ACCEPT_MB_NODE.
3510 2005-01-26  Ulrich Drepper  <drepper@redhat.com>
3512         [BZ #1100]
3513         * debug/chk_fail.c (__chk_fail): Print program name in final message.
3515         * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
3516         MSG_NOSIGNAL being in 2.2 kernels.
3518 2005-01-26  Jakub Jelinek  <jakub@redhat.com>
3520         * sysdeps/unix/sysv/linux/i386/sysdep.h
3521         (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
3523         [BZ #693]
3524         * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
3525         (WORD_DELIM_CONSTRAINT): ...this.
3526         (NOT_WORD_DELIM_CONSTRAINT): Define.
3527         (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
3528         change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
3529         * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
3530         anchor instead of INSIDE_WORD.
3531         (parse_expression): Handle NOT_WORD_DELIM constraint.
3532         * posix/bug-regex19.c (tests): Adjust tests that relied on \B
3533         being inside word instead of not word delim.
3534         * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
3535         characters.
3536         * posix/rxspencer/tests: Add some new tests.
3538 2005-01-14  GOTO Masanori  <gotom@debian.or.jp>
3540         [BZ #1108]
3541         * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
3542         irrespective of Cflag.
3544         * manual/memory.texi (sbrk): Fix definition.
3545         * manual/string.texi (strcasestr): Fix example typo.
3547 2005-01-25  Roland McGrath  <roland@redhat.com>
3549         * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
3551 2005-01-23  Roland McGrath  <roland@redhat.com>
3553         [BZ #737]
3554         * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
3555         in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
3556         * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
3557         (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
3558         from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
3559         * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
3561 2005-01-25  Jakub Jelinek  <jakub@redhat.com>
3563         [BZ #731]
3564         * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
3565         (free_mem): Don't free string.
3566         * stdlib/tst-fmtmsg.c: Include string.h.
3567         (main): Add some more tests.
3569 2005-01-25  Andreas Schwab  <schwab@suse.de>
3571         [BZ #736]
3572         * timezone/asia: Update from tzdata2005c.
3573         * timezone/backward: Likewise.
3574         * timezone/europe: Likewise.
3575         * timezone/leapseconds: Likewise.
3576         * timezone/northamerica: Likewise.
3577         * timezone/southamerica: Likewise.
3579         [BZ #736]
3580         * timezone/private.h: Update from tzcode2005c.
3581         * timezone/tzfile.h: Likewise.
3582         * timezone/zdump.c: Likewise.
3583         * timezone/zic.c: Likewise.
3585 2005-01-25  Ulrich Drepper  <drepper@redhat.com>
3587         * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
3588         RESOLVE.
3589         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
3590         using RESOLVE.
3591         * elf/rtld.c (_dl_start): Remove RESOLVE definition.
3593 2005-01-25  Alan Modra  <amodra@bigpond.net.au>
3595         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
3596         sym_map, not sym, against zero.
3598 2005-01-24  Ulrich Drepper  <drepper@redhat.com>
3600         [BZ #671]
3601         * misc/syslog.c: Moved to...
3602         * sysdeps/generic/syslog.c: ...here.
3603         [NO_SIGIPE]: Don't install SIGPIPE handler.
3604         * sysdeps/unix/sysv/linux/syslog.c: New file.
3605         * sysdeps/unix/sysv/linux/kernel-features.h: Define
3606         __ASSUME_MSG_NOSIGNAL.
3608 2005-01-22  Richard Henderson  <rth@redhat.com>
3610         * sysdeps/alpha/dl-trampoline.S: New file.
3611         * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
3612         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
3613         (elf_machine_runtime_setup): Test for dl_profile non-null.
3614         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
3615         * sysdeps/alpha/bits/link.h: New file.
3616         * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
3617         (struct audit_ifaces): Add alpha entries.
3618         * elf/tst-auditmod1.c: Add alpha entries.
3620 2005-01-22  Ulrich Drepper  <drepper@redhat.com>
3622         * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
3623         * sysdeps/ia64/dl-trampoline.S: New file.
3625         * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
3626         La_x86_64_xmm definition.
3628         * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
3629         pointer option.
3630         * stdlib/Makefile (CFLAGS-system.os): Use this instead of
3631         CFLAGS-system.c for frame pointer option.
3633 2005-01-21  Roland McGrath  <roland@redhat.com>
3635         * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
3636         * sysdeps/i386/dl-machine.h: Update decl.
3638 2005-01-21  Jakub Jelinek  <jakub@redhat.com>
3640         [BZ #735]
3641         * elf/Makefile: Add rules to build and run tst-align2.
3642         * elf/tst-align2.c: New test.
3643         * elf/tst-alignmod2.c: New file.
3644         * sysdeps/powerpc/tst-stack-align.h: New file.
3645         * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
3646         pointer before calling _dl_init.
3647         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3649 2005-01-20  Ulrich Drepper  <drepper@redhat.com>
3651         * posix/execl.c: Do not allocate potentially large buffers on the
3652         stack.
3653         * posix/execle.c: Likewise.
3654         * posix/execlp.c: Likewise.
3655         * posix/execvp.c: Likewise.
3656         (script_execute): Removed.
3657         (allocate_scripts_argv): New function.  Called at most once to
3658         allocate memory, not every time a script is run.  Adjust caller.
3660         * sysdeps/generic/wordexp.c (exec_comm): Add a few
3661         TEMP_FAILURE_RETRY.  Reorganize code to avoid multiple calls to
3662         exec_comm_child.
3663         (exec_comm_child): Can now be inlined.
3665         * posix/Makefile: Add -fomit-frame-pointer for a few more files.
3666         * stdlib/Makefile: Likewise.
3668 2005-01-19  Roland McGrath  <roland@redhat.com>
3670         [BZ #681]
3671         * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
3672         argument to execlp.
3673         Reported by Marcus Meissner <meissner@suse.de>.
3675 2005-01-19  Jakub Jelinek  <jakub@redhat.com>
3677         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
3678         in assert.
3679         * iconv/strtab.c (strtabfinalize): Likewise.
3681         * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
3683 2005-01-17  Roland McGrath  <roland@redhat.com>
3685         [BZ #745]
3686         * nscd/Makefile (LDLIBS-nscd): New variable.
3687         ($(objpfx)nscd): Use that instead of selinux-LIBS.
3689         * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
3690         (link-extra-libs-static): Define to $(link-extra-libs).
3691         (link-extra-libs-bounded): Likewise.
3693 2005-01-17  Ulrich Drepper  <drepper@redhat.com>
3695         * include/link.h: Remove stray definition of pltenter.
3697 2005-01-16  GOTO Masanori  <gotom@debian.or.jp>
3699         [BZ #734]
3700         * sysdeps/unix/rewinddir.c: Reset filepos.
3701         * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
3703 2005-01-15  Ulrich Drepper  <drepper@redhat.com>
3705         * elf/tst-auditmod1.c: Reduce duplication.
3707 2005-01-16  Andreas Schwab  <schwab@suse.de>
3709         * sysdeps/m68k/dl-machine.h: Remove trampoline code.  Define
3710         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3711         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
3712         GLRO(dl_profile) != NULL.
3713         * sysdeps/m68k/dl-trampoline.S: New file.
3714         * sysdeps/m68k/bits/link.h: New file.
3715         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
3716         variants.
3717         * elf/tst-auditmod1.c: Add m68k support.
3719 2005-01-14  Ulrich Drepper  <drepper@redhat.com>
3721         * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
3722         LC_* variable.  Patch by Aharon Robbins <arnold@skeeve.com>.
3724         [BZ #731]
3725         * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
3726         * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
3728 2005-01-12  Ulrich Drepper  <drepper@redhat.com>
3730         * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
3731         callers from libc anymore.
3733         * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
3734         to _dl_map_object_deps.
3735         * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
3736         protections when loading auditing modules.
3738         * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
3740         * posix/getconf.c: Update copyright year.
3741         * nss/getent.c: Likewise.
3742         * nscd/nscd_nischeck.c: Likewise.
3743         * iconv/iconvconfig.c: Likewise.
3744         * iconv/iconv_prog.c: Likewise.
3745         * elf/ldconfig.c: Likewise.
3746         * catgets/gencat.c: Likewise.
3747         * csu/version.c: Likewise.
3748         * elf/ldd.bash.in: Likewise.
3749         * elf/sprof.c (print_version): Likewise.
3750         * locale/programs/locale.c: Likewise.
3751         * locale/programs/localedef.c: Likewise.
3752         * nscd/nscd.c (print_version): Likewise.
3753         * debug/xtrace.sh: Likewise.
3754         * malloc/memusage.sh: Likewise.
3755         * malloc/mtrace.pl: Likewise.
3756         * debug/catchsegv.sh: Likewise.
3758 2005-01-11  Thorsten Kukuk  <kukuk@suse.de>
3760         [BZ #733]
3761         * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
3762         as backlog.
3763         * sunrpc/svc_unix.c (svcunix_create): Likewise.
3765         [BZ #1099]
3766         * grp/putgrent.c (putgrent): Don't write 0 as group
3767         ID if groupname starts with + or -.
3768         * pwd/putpwent.c (putpwent): Don't write 0 as user or
3769         group ID if user name starts with + or -.
3771 2005-01-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3773         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
3774         * sysdeps/elf/tst-auditmod1.c: Add sh support.
3775         * sysdeps/sh/bits/link.h: New.
3776         * sysdeps/sh/dl-machine.h: Remove trampoline code here.  Define
3777         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.  Remove obsolete comments.
3778         (RTLD_START): Define __fpscr_values.
3779         * sysdeps/sh/dl-trampoline.S: New file.
3780         * sysdeps/sh/sh4/dl-trampoline.S: New file.
3781         * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
3782         * sysdeps/sh/sh4/dl-machine.h: Remove.
3784 2005-01-10  Jakub Jelinek  <jakub@redhat.com>
3786         [BZ #732]
3787         * time/tst-strptime.c (day_tests): Add 2 new tests.
3788         (test_tm, main): Issue an error instead of segfaulting if
3789         strptime returns NULL.
3791 2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3793         * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
3794         * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
3796 2005-01-11  Ulrich Drepper  <drepper@redhat.com>
3798         * malloc/malloc.h: Remove no-glibc support.
3800 2005-01-12  GOTO Masanori  <gotom@debian.or.jp>
3802         [BZ #650]
3803         * malloc/malloc.h: Always include features.h.
3805 2005-01-10  Roland McGrath  <roland@redhat.com>
3807         * sysdeps/ia64/fpu/e_logl.c: File removed.
3809         * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
3811 2005-01-10  Ulrich Drepper  <drepper@redhat.com>
3813         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
3814         recognition of last entry.
3816 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
3818         * elf/dl-runtime.c: Include <sys/param.h>.
3820         * elf/Makefile (headers): Add bits/link.h.
3822 2005-01-09  Andreas Schwab  <schwab@suse.de>
3824         * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
3826 2005-01-09  Andreas Jaeger  <aj@suse.de>
3828         [BZ #732]
3829         * time/strptime_l.c (__strptime_internal): Add braces to avoid
3830         warning.
3832         * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
3834         * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
3836 2005-01-08  Jakub Jelinek  <jakub@redhat.com>
3838         * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
3840 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
3842         * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
3843         those of all the regular objects.
3845         * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
3846         use it to select the r_debug structure for that namespace.
3847         * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
3848         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3849         * elf/dl-open.c (_dl_open): Likewise.
3850         * elf/rtld.c (dl_main): Likewise.
3851         * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
3852         member.
3853         (_dl_debug_initialize): Add new parameter in declaration.
3855         * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
3856         called for the auditing objects themselves.
3857         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3859 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
3861         * sysdeps/powerpc/powerpc64/dl-machine.h
3862         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
3863         GLRO(dl_profile) != NULL.
3864         * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
3865         padding.
3866         * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
3867         Extend _dl_prof_resolve to add pass extra parameters to
3868         _dl_profile_fixup and set up structure with register content.
3870         * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
3871         If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
3872         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
3873         Extend _dl_prof_resolve to add pass extra parameters to
3874         _dl_profile_fixup and set up structure with register content.
3875         * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
3876         the register and result structures.
3877         * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
3878         in the 32-bit register and result structures.
3880         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
3882         * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
3883         * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
3884         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3885         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
3886         * elf/tst-auditmod1.c: Add ppc32 support.
3887         * sysdeps/powerpc/powerpc32/bits/link.h: New file.
3888         * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
3890         * malloc/malloc.c (malloc_printerr): Print program name as part of
3891         error message.
3893         * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
3894         * stdlib/stdlib.h: Make realloc with
3895         __attribute_warn_unused_result__ instead of __wur.
3896         * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
3897         markers as in <stdlib.h>.
3899         * libio/stdio.h: Remove __wur from rename and remove.
3900         * posix/unistd.h: Remove __wur from dup2.
3902 2005-01-03  Andreas Jaeger  <aj@suse.de>
3904         * elf/Makefile (tests): Revert patch from 2005-01-03.
3906 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
3908         * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
3909         make __libc_init_first hidden.
3911         * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
3912         l_relocated of rtld map.
3913         * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
3914         * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
3915         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3916         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
3917         * elf/tst-auditmod1.c: Add ppc64 support.
3918         * sysdeps/powerpc/powerpc64/bits/link.h: New file.
3920 2005-01-06  Roland McGrath  <roland@redhat.com>
3922         [BZ #633]
3923         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
3924         indicating file-name lookup errors, and return ENOSYS or EBADF instead.
3926 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
3928         * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
3929         * sysdeps/generic/libc-start.c: Don't register program destructor here.
3931         * dlfcn/Makefile: Add rules to build dlfcn.c.
3932         (LDFLAGS-dl.so): Removed.
3933         * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
3934         table.
3935         * dlfcn/dlmopen.c: Likewise for _dl_open.
3936         * dlfcn/dlopen.c: Likewise.
3937         * dlfcn/dlopenold.c: Likewise.
3938         * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
3939         * elf/Makefile (routines): Remove dl-open and dl-close.
3940         (dl-routines): Add dl-open, dl-close, and dl-trampoline.
3941         Add rules to build and run tst-audit1.
3942         * elf/tst-audit1.c: New file.
3943         * elf/tst-auditmod1.c: New file.
3944         * elf/Versions [libc]: Remove _dl_open and _dl_close.
3945         * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
3946         * elf/dl-open.c: Likewise.
3947         * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
3948         signaled by nonzero parameter.
3949         * elf/dl-init.c: Fix use of r_state.
3950         * elf/dl-load.c: Likewise.
3952         * elf/dl-close.c: Add auditing checkpoints.
3953         * elf/dl-open.c: Likewise.
3954         * elf/dl-fini.c: Likewise.
3955         * elf/dl-load.c: Likewise.
3956         * elf/dl-sym.c: Likewise.
3957         * sysdeps/generic/libc-start.c: Likewise.
3958         * elf/dl-object.c: Allocate memory for auditing information.
3959         * elf/dl-reloc.c: Remove RESOLV.  We now always need the map.
3960         Correctly initialize slotinfo.
3961         * elf/dynamic-link.h: Adjust after removal of RESOLV.
3962         * sysdeps/hppa/dl-lookupcfg.h: Likewise.
3963         * sysdeps/ia64/dl-lookupcfg.h: Likewise.
3964         * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
3965         * elf/dl-runtime.c (_dl_fixup): Little cleanup.
3966         (_dl_profile_fixup): New parameters to point to register struct and
3967         variable for frame size.
3968         Add auditing checkpoints.
3969         (_dl_call_pltexit): New function.
3970         Don't define trampoline code here.
3971         * elf/rtld.c: Recognize LD_AUDIT.  Load modules on startup.
3972         Remove all the functions from _rtld_global_ro which only _dl_open
3973         and _dl_close needed.
3974         Add auditing checkpoints.
3975         * elf/link.h: Define symbols for auditing interfaces.
3976         * include/link.h: Likewise.
3977         * include/dlfcn.h: Define __RTLD_AUDIT.
3978         Remove prototypes for _dl_open and _dl_close.
3979         Adjust access to argc and argv in libdl.
3980         * dlfcn/dlfcn.c: New file.
3981         * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
3982         is gone.
3983         * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
3984         * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
3985         * sysdeps/i386/dl-machine.h: Remove trampoline code here.
3986         Adjust for removal of RESOLVE.
3987         * sysdeps/x86_64/dl-machine.h: Likewise.
3988         * sysdeps/generic/dl-trampoline.c: New file.
3989         * sysdeps/i386/dl-trampoline.c: New file.
3990         * sysdeps/x86_64/dl-trampoline.c: New file.
3992         * sysdeps/generic/dl-tls.c: Cleanups.  Fixup for dtv_t change.
3993         Fix updating of DTV.
3994         * sysdeps/generic/libc-tls.c: Likewise.
3996         * sysdeps/arm/bits/link.h: Renamed to ...
3997         * sysdeps/arm/bits/linkmap.h: ...this.
3998         * sysdeps/generic/bits/link.h: Renamed to...
3999         * sysdeps/generic/bits/linkmap.h: ...this.
4000         * sysdeps/hppa/bits/link.h: Renamed to...
4001         * sysdeps/hppa/bits/linkmap.h: ...this.
4002         * sysdeps/i386/bits/link.h: Renamed to...
4003         * sysdeps/i386/bits/linkmap.h: ...this.
4004         * sysdeps/ia64/bits/link.h: Renamed to...
4005         * sysdeps/ia64/bits/linkmap.h: ...this.
4006         * sysdeps/s390/bits/link.h: Renamed to...
4007         * sysdeps/s390/bits/linkmap.h: ...this.
4008         * sysdeps/sh/bits/link.h: Renamed to...
4009         * sysdeps/sh/bits/linkmap.h: ...this.
4010         * sysdeps/x86_64/bits/link.h: Renamed to...
4011         * sysdeps/x86_64/bits/linkmap.h: ...this.
4013         * posix/unistd.h: Declare ftruncate for POSIX 2003.  [BZ #640]
4015 2004-12-22  Steven Munroe  <sjmunroe@us.ibm.com>
4017         [BZ #602]
4018         * math/libm-test.inc (rint_test_tonearest): New test.
4019         (rint_test_towardzero): New test.
4020         (rint_test_downward): New test.
4021         (rint_test_upward): New test.
4022         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
4023         Remove redundant const values.
4024         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
4025         Remove redundant const values.  Use float const.
4026         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
4027         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
4028         Use float const.
4029         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
4030         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
4031         Use float const.
4032         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
4033         Remove redundant const values.
4034         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
4035         Remove redundant const values.  Use float const.
4036         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
4037         Remove redundant const values.
4038         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
4039         Remove redundant const values.  Use float const.
4040         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
4041         alignment.  Fix -0.0 case.  Remove redundant const values.
4042         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
4043         alignment.  Fix -0.0 case.  Remove redundant const values.
4044         Use float const.
4045         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
4046         alignment.  Fix -0.0 case.
4047         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
4048         alignment.  Fix -0.0 case.  Use float const.
4049         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
4050         alignment.  Fix -0.0 case.
4051         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
4052         alignment.  Fix -0.0 case.  Use float const.
4053         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
4054         alignment.  Fix -0.0 case.  Remove redundant const values.
4055         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
4056         alignment.  Fix -0.0 case.  Remove redundant const values.
4057         Use float const.
4058         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
4059         alignment.  Fix -0.0 case.
4060         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
4061         alignment.  Fix -0.0 case.  Remove redundant const values.
4062         Use float const.
4064 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
4066         * misc/sys/cdefs.h: Define __wur.
4067         * libio/stdio.h: Use __wur for a number of interfaces.
4068         * posix/unistd.h: Likewise.
4069         * stdlib/stdlib.h: Likewise.
4071 2004-12-29  Jakub Jelinek  <jakub@redhat.com>
4073         [BZ #592]
4074         * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
4075         libc_hidden_proto instead of HIDDEN_PROTO.
4076         * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
4077         (__libm_error_support): If ASSEMBLER and in libc, define to
4078         HIDDEN_JUMPTARGET(__libm_error_support).
4080 2004-12-28  David Mosberger  <davidm@hpl.hp.com>
4082         [BZ #592]
4083         * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
4084         (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
4085         with $(duplicated-routines).
4086         (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
4087         "m_" prefix.
4089 2004-12-27  David Mosberger  <davidm@hpl.hp.com>
4091         [BZ #592]
4092         * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
4093         undefine "ret" macro.  Add __libm_error_support hidden definitions.
4095         [BZ #592]
4096         * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment.  Add
4097         missing portion of copyright statement.
4098         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
4099         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
4101         [BZ #592]
4102         * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment.  Add
4103         missing portion of copyright statement.
4104         (__ieee754_lgamma): Rename from lgamma().  Make lgamma() a weak alias.
4105         (__ieee754_gamma): Likewise.
4106         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
4107         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
4109 2004-12-09  H.J. Lu <hjl@lucon.org>
4111         [BZ #592]
4112         * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
4113         * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
4114         * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
4115         * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
4116         * sysdeps/ia64/fpu/e_expl.S: Likewise.
4117         * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
4119 2004-11-18  David Mosberger  <davidm@hpl.hp.com>
4121         [BZ #592]
4122         * sysdeps/ia64/fpu/README: New file.
4123         * sysdeps/ia64/fpu/gen_import_file_list: New file.
4124         * sysdeps/ia64/fpu/import_check: Likewise.
4125         * sysdeps/ia64/fpu/import_diffs: Likewise.
4126         * sysdeps/ia64/fpu/import_file.awk: Likewise.
4127         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
4128         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4130         [BZ #592]
4131         * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
4132         * sysdeps/ia64/fpu/e_acosf.S: Likewise.
4133         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
4134         * sysdeps/ia64/fpu/e_asin.S: Likewise.
4135         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
4136         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
4137         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
4138         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
4139         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
4140         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
4141         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
4142         * sysdeps/ia64/fpu/e_exp.S: Likewise.
4143         * sysdeps/ia64/fpu/e_expf.S: Likewise.
4144         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
4145         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
4146         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
4147         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
4148         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
4149         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
4150         * sysdeps/ia64/fpu/e_log.S: Likewise.
4151         * sysdeps/ia64/fpu/e_log2.S: Likewise.
4152         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
4153         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
4154         * sysdeps/ia64/fpu/e_logf.S: Likewise.
4155         * sysdeps/ia64/fpu/e_pow.S: Likewise.
4156         * sysdeps/ia64/fpu/e_powf.S: Likewise.
4157         * sysdeps/ia64/fpu/e_powl.S: Likewise.
4158         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
4159         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
4160         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
4161         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
4162         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
4163         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
4164         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
4165         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
4166         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
4167         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
4168         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
4169         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
4170         * sysdeps/ia64/fpu/libm_error.c: Likewise.
4171         * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
4172         * sysdeps/ia64/fpu/libm_support.h: Likewise.
4173         * sysdeps/ia64/fpu/s_atan.S: Likewise.
4174         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
4175         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
4176         * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
4177         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
4178         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
4179         * sysdeps/ia64/fpu/s_ceil.S: Likewise.
4180         * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
4181         * sysdeps/ia64/fpu/s_ceill.S: Likewise.
4182         * sysdeps/ia64/fpu/s_cos.S: Likewise.
4183         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
4184         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4185         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
4186         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
4187         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
4188         * sysdeps/ia64/fpu/s_fabs.S: Likewise.
4189         * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
4190         * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
4191         * sysdeps/ia64/fpu/s_floor.S: Likewise.
4192         * sysdeps/ia64/fpu/s_floorf.S: Likewise.
4193         * sysdeps/ia64/fpu/s_floorl.S: Likewise.
4194         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
4195         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
4196         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
4197         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
4198         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
4199         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
4200         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
4201         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
4202         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
4203         * sysdeps/ia64/fpu/s_logb.S: Likewise.
4204         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
4205         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
4206         * sysdeps/ia64/fpu/s_modf.S: Likewise.
4207         * sysdeps/ia64/fpu/s_modff.S: Likewise.
4208         * sysdeps/ia64/fpu/s_modfl.S: Likewise.
4209         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
4210         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
4211         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
4212         * sysdeps/ia64/fpu/s_rint.S: Likewise.
4213         * sysdeps/ia64/fpu/s_rintf.S: Likewise.
4214         * sysdeps/ia64/fpu/s_rintl.S: Likewise.
4215         * sysdeps/ia64/fpu/s_round.S: Likewise.
4216         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
4217         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
4218         * sysdeps/ia64/fpu/s_significand.S: Likewise.
4219         * sysdeps/ia64/fpu/s_significandf.S: Likewise.
4220         * sysdeps/ia64/fpu/s_significandl.S: Likewise.
4221         * sysdeps/ia64/fpu/s_tan.S: Likewise.
4222         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
4223         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
4224         * sysdeps/ia64/fpu/s_trunc.S: Likewise.
4225         * sysdeps/ia64/fpu/s_truncf.S: Likewise.
4226         * sysdeps/ia64/fpu/s_truncl.S: Likewise.
4228         [BZ #592]
4229         * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
4230         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
4231         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
4232         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
4233         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
4234         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
4235         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
4236         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
4237         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
4238         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4239         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
4240         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
4241         * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
4242         * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
4243         * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
4244         * sysdeps/ia64/fpu/e_logl.S: Likewise.
4245         * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
4246         * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
4247         * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
4248         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
4249         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
4250         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
4251         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
4252         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
4253         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
4254         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
4255         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
4256         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
4257         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
4258         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4259         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
4260         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4261         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
4262         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
4263         * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
4264         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
4265         * sysdeps/ia64/fpu/s_erf.S: Likewise.
4266         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
4267         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
4268         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
4269         * sysdeps/ia64/fpu/s_erff.S: Likewise.
4270         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
4271         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
4272         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
4273         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
4274         * sysdeps/ia64/fpu/s_fma.S: Likewise.
4275         * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
4276         * sysdeps/ia64/fpu/s_fmal.S: Likewise.
4277         * sysdeps/ia64/fpu/s_fmax.S: Likewise.
4278         * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
4279         * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
4280         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
4281         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
4282         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
4283         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
4284         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
4285         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
4286         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
4287         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
4288         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
4289         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
4290         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
4291         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
4292         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
4293         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
4294         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
4295         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
4296         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4297         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4298         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4300         [BZ #592]
4301         * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
4302         * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
4303         * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
4304         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4305         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4306         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4307         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4308         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4309         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4310         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4311         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4312         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4313         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4314         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4315         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4316         * sysdeps/ia64/fpu/w_expl.c: Likewise.
4317         * sysdeps/ia64/fpu/e_expl.S: Likewise.
4318         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
4319         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
4320         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
4321         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4322         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4323         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4324         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4325         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4326         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4328         [BZ #592]
4329         * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
4330         * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
4331         * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
4332         * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
4333         * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
4334         * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
4335         * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
4337         [BZ #592]
4338         * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
4339         * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
4340         * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
4342         [BZ #592]
4343         * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
4345         [BZ #592]
4346         * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
4347         alias for use by libm_error.c
4349         [BZ #592]
4350         * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
4351         libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
4352         Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
4353         libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
4354         libm_scalbn{,f,l}, libm_scalblnf.
4355         (sysdep_routines): Remove libm_frexp4{,f,l}.
4356         Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
4357         (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
4358         _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
4359         -DSIZE_LONG_LONG_INT_64.
4361 2005-01-05  Steven Munroe  <sjmunroe@us.ibm.com>
4363         [BZ #729]
4364         * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
4365         l_text_end are set for a VDSO with a single PT_LOAD entry.
4367 2005-01-05  Ulrich Drepper  <drepper@redhat.com>
4369         [BZ #730]
4370         * libio/iofopncook.c (_IO_cookie_seekoff): Define.  Mark offset as
4371         invalid to disable optimizations in fileops which won't work here.
4372         (_IO_cookie_jumps): Use it.
4373         (_IO_old_cookie_jumps): Likewise.
4374         * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
4375         not the return value.
4376         * stdio-common/Makefile (tests): Add tst-fmemopen2.
4377         * stdio-common/tst-fmemopen2.c: New file.
4379         * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
4381 2005-01-05  Roland McGrath  <roland@redhat.com>
4383         * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
4384         * sysdeps/i386/configure.in: ... here.  New file.
4386 2005-01-03  Ulrich Drepper  <drepper@redhat.com>
4388         [BZ #727]
4389         * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
4390         initialize __environ again.
4391         * stdlib/Makefile: Add rules to build and run tst-putenv.
4392         * stdlib/tst-putenv.c: New file.
4393         * stdlib/tst-putenvmod.c: New file.
4395         * sysdeps/unix/sysv/linux/init-first.c: Clean file up.  Don't
4396         define unnecessary wrappers or aliases of static functions.
4398 2005-01-03  Andreas Jaeger  <aj@suse.de>
4400         * csu/Makefile (generated): Add start.os and start.ob.
4402         * elf/Makefile (tests): Change rule for tst-pie1 so that make
4403         clean works.
4405 2004-12-29  Roland McGrath  <roland@redhat.com>
4407         [BZ #626]
4408         * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
4409         than always up; when nearest is zero, round up to one.
4411 2004-12-28  Ulrich Drepper  <drepper@redhat.com>
4413         * po/es.po: Update from translation team.
4415         [BZ #726]
4416         * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
4418 2004-12-27  Ulrich Drepper  <drepper@redhat.com>
4420         [BZ #744]
4421         * include/signal.h: Define __sigemptyset.
4423 2004-04-27  Paolo Bonzini  <bonzini@gnu.org>
4425         * posix/regex_internal.h (struct re_dfastate_t): Make
4426         word_trtable a pointer to the 512-item transition table.
4427         * posix/regexec.c (build_trtable): Fill in either state->trtable
4428         or state->word_trtable.  Return a boolean indicating success.
4429         (transit_state): Expect state->trtable to be a 256-item
4430         transition table.  Reorganize code to have less tests in
4431         the common case, and to save an indentation level.
4432         * posix/regex_internal.c (free_state): Free word_trtable.
4434 2004-12-21  Jakub Jelinek  <jakub@redhat.com>
4436         [BZ #723]
4437         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
4438         calling fn is 16 byte aligned.
4439         * sysdeps/i386/tst-stack-align.h: New file.
4441         [BZ #725]
4442         * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
4443         (ecvt_r): Special case denormals.
4444         * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
4445         * misc/tst-efgcvt.c: Include float.h.
4446         (ecvt_tests): Add 2 new tests.
4448 2004-12-20  Roland McGrath  <roland@frob.com>
4450         * version.h (RELEASE, VERSION): development, 2.3.90
4451         * include/features.h (__GLIBC_MINOR__): Now 4.
4454 See ChangeLog.15 for earlier changes.