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