Update.
[glibc.git] / ChangeLog
blob6cd528ebea93d338c5d6fb889db729faef75ea48
1 2000-08-02  Ulrich Drepper  <drepper@redhat.com>
3         * version.h (VERSION): Bump to 2.1.92.
5         * sysdeps/ia64/Dist: Add _mcount.S.
7         * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
9         * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
11         * elf/Makefile (distribute): Add missing modules.
13         * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
15         * posix/regex.c (compile_range): Transliate range start and end
16         characters to avoid empty range in case of REG_ICASE [PR libc/1842].
18         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
19         asm/resource.h.
21         * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
23 2000-08-02  Andreas Jaeger  <aj@suse.de>
25         * elf/elf.h (EM_S390): Added.
26         (R_390_*): New relocs for S390.
28         * sysdeps/unix/sysv/linux/s390/Dist: New file.
29         * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
30         * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
31         * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
32         * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
33         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
35         * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
36         * sysdeps/unix/sysv/linux/s390/socket.S: New file.
37         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
38         * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
39         * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
40         * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
41         * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
42         * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
43         * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
44         * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
45         * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
46         * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
47         * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
48         * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
49         * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
50         * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
51         * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
52         * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
53         * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
54         * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
55         * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
56         * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
57         * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
58         * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
59         * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
60         * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
61         * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
62         * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
63         * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
64         * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
65         * sysdeps/unix/sysv/linux/s390/clone.S: New file.
66         * sysdeps/unix/sysv/linux/s390/brk.c: New file.
67         * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
68         * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
69         * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
70         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
71         * sysdeps/unix/sysv/linux/s390/Makefile: New file.
72         * sysdeps/s390/sysdep.h: New file.
73         * sysdeps/s390/sys/ucontext.h: New file.
74         * sysdeps/s390/sub_n.S: New file.
75         * sysdeps/s390/strncpy.S: New file.
76         * sysdeps/s390/strcpy.S: New file.
77         * sysdeps/s390/stackinfo.h: New file.
78         * sysdeps/s390/setjmp.S: New file.
79         * sysdeps/s390/s390-mcount.S: New file.
80         * sysdeps/s390/mul_1.S: New file.
81         * sysdeps/s390/memusage.h: New file.
82         * sysdeps/s390/memset.S: New file.
83         * sysdeps/s390/memcpy.S: New file.
84         * sysdeps/s390/memchr.S: New file.
85         * sysdeps/s390/machine-gmon.h: New file.
86         * sysdeps/s390/ldbl2mpn.c: New file.
87         * sysdeps/s390/gmp-mparam.h: New file.
88         * sysdeps/s390/fpu/fpu_control.h: New file.
89         * sysdeps/s390/fpu/fesetround.c: New file.
90         * sysdeps/s390/fpu/fegetround.c: New file.
91         * sysdeps/s390/fpu/fclrexcpt.c: New file.
92         * sysdeps/s390/fpu/bits/fenv.h: New file.
93         * sysdeps/s390/ffs.c: New file.
94         * sysdeps/s390/elf/start.S: New file.
95         * sysdeps/s390/elf/setjmp.S: New file.
96         * sysdeps/s390/elf/bsd-setjmp.S: New file.
97         * sysdeps/s390/elf/bsd-_setjmp.S: New file.
98         * sysdeps/s390/dl-machine.h: New file.
99         * sysdeps/s390/bzero.S: New file.
100         * sysdeps/s390/bsd-setjmp.S: New file.
101         * sysdeps/s390/bsd-_setjmp.S: New file.
102         * sysdeps/s390/bits/string.h: New file.
103         * sysdeps/s390/bits/setjmp.h: New file.
104         * sysdeps/s390/bits/huge_val.h: New file.
105         * sysdeps/s390/bits/endian.h: New file.
106         * sysdeps/s390/bits/byteswap.h: New file.
107         * sysdeps/s390/bcopy.S: New file.
108         * sysdeps/s390/backtrace.c: New file.
109         * sysdeps/s390/atomicity.h: New file.
110         * sysdeps/s390/asm-syntax.h: New file.
111         * sysdeps/s390/addmul_1.S: New file.
112         * sysdeps/s390/add_n.S: New file.
113         * sysdeps/s390/abort-instr.h: New file.
114         * sysdeps/s390/__longjmp.c: New file.
115         * sysdeps/s390/Makefile: New file.
116         * sysdeps/s390/Implies: New file.
117         * sysdeps/s390/Dist: New file.
118         Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
120 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
122         Remove incompatible IPv6 extension of RPC.
123         * sunrpc/Makefile: Undo changes.
124         * sunrpc/rpc_main.c: Likewise.
125         * sunrpc/rpc/clnt.h: Likewise.
126         * sunrpc/rpc/svc.h: Likewise.
127         * sunrpc/bindrsvprt6.c: Removed.
128         * sunrpc/clnt_tcp6.c: Removed.
129         * sunrpc/clnt_udp6.c: Removed.
130         * sunrpc/svc_tcp6.c: Removed.
131         * sunrpc/svc_udp6.c: Removed.
133         * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
134         dgettext, and dcgettetxt.
136         * intl/locale.alias: Update japanese aliases.
138         * sysdeps/ia64/bits/byteswap.h: New file.
139         Patch by Dan Pop <Dan.Pop@cern.ch>.
141         * misc/sys/cdefs.h: Define __attribute_format_arg__.
142         * intl/libintl.h: Use it here instead of using __attribute__ directly.
144 2000-07-13  H.J. Lu  <hjl@gnu.org>
146         * posix/regex.c (re_max_failures): Set to 4000.
148 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
150         * gnulib/Makefile (tests): Add tst-gcc.
151         * gnulib/tst-gcc.c: New file.
153         * assert/Makefile (routines): Add __assert.
154         * assert/Versions: Export __assert for glibc 2.2.
155         * assert/__assert.c: New file.
156         * assert/assert.h: Declare __assert.
158 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
160         * locale/localeinfo.h (_ISCTYPE): New macro.
161         * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
162         LC_CTYPE locale format.
163         * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
164         (ctype_output): Output class_b[nr] right before class_3level[nr].
165         (allocate_arrays): Fill class_b, similarly to class_3level.
167 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
168             Joseph S. Myers  <jsm28@cam.ac.uk>
170         * math/tgmath.h: Make standard compliant.  Don't ask how.
172 2000-07-04  H.J. Lu  <hjl@gnu.org>
174         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
175         Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
176         ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
178 2000-07-30  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
180         * include/features.h (_XOPEN_SOURCE): Update the explanation.
181         (__USE_LARGEFILE): Add an explanation.
182         (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
183         (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
185 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
187         * libio/Makefile: Enable exception handling for genops, wgenops,
188         fileops, and wfileops.
190 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
192         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
193         acount that elf/rtld's main program might remove some varibales
194         from the environment if we're trying to be secure.  Move the Hurd
195         startup data if necessary, or, if we there is no startup data,
196         make sure the magical convention that ARGV[0] is stored just after
197         the environment list.
199 2000-08-01  Philip Blundell  <philb@gnu.org>
201         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
202         (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
203         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
204         oldsetrlimit for GLIBC_2.0.
206 2000-08-01  Andreas Jaeger  <aj@suse.de>
208         * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
209         (LINE_PARSER): Allow any number of spaces between ip address and
210         number.  Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
212         * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
214         * include/netdb.h: Remove getipnodebyaddr and friends, leave
215         constants in.
217         * nis/Versions: Remove _nss_nis_getipnodebyname_r and
218         _nss_nisplus_getipnodebyname_r.
220         * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
221         now, getipnodebyname is deprecated.
222         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
223         Likewise.
225         * inet/Makefile (routines): Don't build getipnodebyaddr and
226         friends.
228         * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
230         * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
232         * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
234         * wctype/Makefile (distribute): Add wchar-lookup.h.
236         * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
238         * iconvdata/Makefile (distribute): Add isiri-3342.h.
240 2000-08-01  Andreas Schwab  <schwab@suse.de>
242         * Make-dist (dist): Resolve `..' in file names.
244 2000-08-01  Andreas Jaeger  <aj@suse.de>
246         * stdio-common/Makefile (distribute): Remove removed files, add
247         new files.
249         * Makefile (distribute): Remove include/db_185.h and db.h.
251         * include/db_185.h: Remove, it's not needed anymore.
252         * include/db.h: Likewise.
254 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
256         * inet/Makefile (tests): Remove tst-ipnode.
257         * include/netdb.h: Add stuff removed from resolv/netdb.h here for
258         now.
260 2000-07-31  Jes Sorensen  <jes@linuxcare.com>
262         * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
263         endp statements have already been added.
265 2000-04-18  David Mosberger  <davidm@hpl.hp.com>
267         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
268         <sysdeps/ia64/sysdep.h>.
270         * sysdeps/ia64/_mcount.S: New file.
272         * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
273         __gmon_start__.  Fix up extraneous whitespace.
275 2000-01-12  H.J. Lu  <hjl@gnu.org>
277         * sysdeps/ia64/elf/initfini.c: New file.
279 2000-07-31  Jes Sorensen  <jes@linuxcare.com>
281         * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
282         dependency between branch and ar.pfs write.
284 2000-07-31  H.J. Lu  <hjl@gnu.org>
286         * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
287         handle the wchar_t array.
289 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
291         * iconvdata/gb18030.c: Don't map to and from positions in ISO
292         10646 which are not yet assigned.
293         Patch by wang shouhua <shouhuawang@redflag-linux.com>.
295 2000-07-31  Andreas Jaeger  <aj@suse.de>
297         * inet/Versions: Remove getipnodebyaddr and friends from
298         GLIBC_2.2.
300         * resolv/netdb.h: Remove getipnodebyaddr and friends.
302 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
304         * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
305         ch >= 0x81 && ch2 < 0x40 as invalid.
307 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
309         * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
310         (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
312 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
314         * iconvdata/johab.c (BODY for TO_LOOP): After calling
315         ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
317 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
319         * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
320         0xb8.
321         (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
323 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
325         * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
327 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
329         * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
330         (from_ucs4): Change values of U+00A4 and U+00ED.
331         (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
333 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
335         * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
336         (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
338 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
340         * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
341         * iconvdata/isiri-3342.h: New file.
342         * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
343         treat 0x80 as a gap.
345 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
347         * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
348         (utf8_encode): Use simple shifts instead.  Fix return value.
350 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
352         * timezone/private.h: Update from tzcode2000e.
353         * timezone/asia: Update from tzdata2000e.
354         * timezone/australasia: Likewise.
355         * timezone/europe: Likewise.
356         * timezone/northamerica: Likewise.
357         * timezone/zone-tab: Likewise.
359 2000-07-30  Ralf Baechle  <ralf@gnu.org>
361         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h:  New file.  On MIPS
362         the order of struct sigaltstack members is different.
364 2000-07-26  Philip Blundell  <philb@gnu.org>
366         * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
368 2000-07-29  Ulrich Drepper  <drepper@redhat.com>
370         * locale/langinfo.h: Add entries for extra tables in CTYPE data.
371         * locale/programs/ld-ctype.c: Adjust for this.
373         * locale/programs/ld-collate.c: Add more alignment checks.
374         * locale/string/strcoll.c: Likewise.
376 2000-07-30  Mark Kettenis  <kettenis@gnu.org>
378         * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
379         outside USE_IN_LIBIO block.
381 2000-07-26  Philip Blundell  <philb@gnu.org>
383         * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
384         (elf_machine_rel): Use it for out-of-range PC24 relocs.
386 2000-07-28  Philip Blundell  <philb@gnu.org>
388         * math/test-fpucw.c: Ignore reserved bits in control word.
390 2000-07-28  Philip Blundell  <philb@gnu.org>
392         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
393         (ret): Redefine to PSEUDO_RET.
394         (PSEUDO): Remove jump to syscall_error.
396 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
398         * resolv/README: Add some information about using the resolver in
399         multi-threaded code and with C++.  Spelling fixes.
401 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
403         * resolv/resolv.h (struct __sockaddr_in): Remove.
404         (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
406 2000-07-29  Greg McGary  <greg@mcgary.org>
408         * Rules (test-bp-inputs, make-test-out): New variables.
409         ($(objpfx)%-bp.out): New rule.
410         ($(objpfx)%.out): Rewrite in terms of new variables.
412         * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
413         internal function that uses vtable.
414         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
415         * libio/vswprintf.c (_IO_vswprintf): Likewise.
417         * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
418         (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
419         (chunk_align): Likewise.
421         * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
422         in a way that conforms to decl, and avoids spurious bounds violation.
424         * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
425         * sysdeps/generic/frame.h: Likewise.
426         * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
427         around return value.
428         (__backtrace): Qualify frame-pointer chain and return address
429         pointers as __unbounded.  Wrap bounds around variable `current'.
430         * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
431         around return value.
432         (catch_segfault): Qualify frame-pointer chain and return address
433         pointers as __unbounded.  Wrap bounds around variable `current'.
434         * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
435         (ADVANCE_STACK_FRAME): Wrap bounds around return value.
436         * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
437         __unbounded.
438         (__backtrace): Qualify frame-pointer chain and return address
439         pointers as __unbounded.  Wrap bounds around variable `current'.
441         * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
442         * sysdeps/i386/mul_1.S: Likewise.
443         * sysdeps/i386/submul_1.S: Likewise.
444         * sysdeps/i386/i586/addmul_1.S: Likewise.
445         * sysdeps/i386/i586/mul_1.S: Add bounds checks.
446         * sysdeps/i386/i586/submul_1.S: Likewise.
448 2000-07-27  Andreas Jaeger  <aj@suse.de>
450         * libio/Depend: New file, libio needs localedata for tests.
451         * posix/Depend: Likewise.
453 2000-07-28  Ulrich Drepper  <drepper@redhat.com>
455         * stdio-common/_i18n_itoa.c: Removed.
456         * stdio-common/_i18n_itoa.h: Removed.
457         * stdio-common/_i18n_itowa.c: Removed.
458         * stdio-common/_i18n_itowa.h: Removed.
459         * stdio-common/_i18n_number.h: New file.
460         * stdio-common/Depend: New file.
461         * stdio-common/printf-parse.h: Handle I modifier correctly.  Optimize.
462         * stdio-common/vfprintf.c: Rewrite buffer handling for integer
463         printing.  Change printing of numbers with locale specific digits to
464         use new code in _i18n_number.h.
465         * stdio-common/Makefile (routines): Remove _i18n_itoa and
466         _i18n_itowa.
468         * stdio-common/bug13.c: Improve messages.
470         * locale/programs/ld-ctype.c (ctype_read): Improve error message.
471         (set_class_defaults): Always search also for Uxxxx names.
472         Detect insufficient number of outdigits.
474         * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
476 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
478         * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
479         _NL_CTYPE_MAP_NAMES.
480         * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
481         * wctype/wcfuncs.c (towlower, towupper): Use them.
482         * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
483         * wctype/wctrans.c (wctrans): Likewise.
484         * wctype/wctrans_l.c (__wctrans_l): Likewise.
486 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
488         * posix/fnmatch.c (is_char_class): Fix logic.  Avoid buffer overrun.
489         Use the optimized version of this function outside glibc as well.
491 2000-07-27  Jakub Jelinek  <jakub@redhat.com>
493         * locale/indigits.h (indigit_value): Correct.
494         * locale/indigitswc.h (indigitwc_value): Correct.
495         * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
496         conversion, add GROUP checking for it, fix GROUP number
497         conversion with strlen(thousands) > 1.
498         Honour width correctly in the presence of floating
499         decimal points and thousands separators.
500         * stdio-common/tst-sscanf.c: New test.
501         * stdio-common/Makefile: Add it to tests.
502         * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
503         thousands separators and group argument is non-zero.
505 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
507         * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
508         starts at GLIBC_2.2.
510 2000-07-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
512         * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
513         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
514         _test_and_set.
515         (headers): Add sys/tas.h.
516         * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
517         GLIBC_2.2 from libc.
518         * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
519         * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
520         _test_and_set.
522 2000-07-28  Andreas Jaeger  <aj@suse.de>
524         * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
526         * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
527         ($(objpfx)tst-dladdr.out): new.
528         (tests): Add tst-dladdr.
529         ($(objpfx)glrefmain): Use libdl.
531         * dlfcn/tst-dladdr.c: New file.  Based on a test by Volkmar Sieh
532         <vs@caldera.de>.
534 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
536         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
537         ftruncate(64) calls.
539 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
541         * intl/tst-translit.c: Include string.h to get prototype for
542         strcmp().
544 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
546         * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
547         name and add weak alias for __fork.
549         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
550         & pwrite to use __libc_<name> as strong names instead of
551         __syscall_<name>.
553         * include/sched.h: Add clone2 prototype.
555 2000-07-26  Jes Sorensen  <jes@linuxcare.com>
557         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
558         procedure name twice.
560 2000-07-27  Philip Blundell  <philb@gnu.org>
562         * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
564 2000-07-27  Andreas Jaeger  <aj@suse.de>
566         * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
567         MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
568         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
569         Reported by Andi Kleen <ak@suse.de>.
571         * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
572         (do_wait): Test requests with aio_return64.
573         (do_test): Change callers of do_wait.
575 2000-07-26  Andreas Jaeger  <aj@suse.de>
577         * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
578         (do_wait): Test requests with aio_return.
579         (do_test): Change callers of do_wait.
581 2000-07-27  Ulrich Drepper  <drepper@redhat.com>
583         * rt/aio_misc.c (__aio_remove_request): New function.  Handle removing
584         from request list.  Don't do the list handling here, call
585         __aio_remove_request.
586         * rt/aio_misc.h: Add prototype for __aio_remove_request.
587         * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
588         request might already be processed.  Don't do the list handling
589         here, call __aio_remove_request.
591         * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
592         LIO_DSYNC.
594         * rt/aio_misc.c: Add comment explaining why writer memory barriers
595         are missing.
597 2000-07-27  Greg McGary  <greg@mcgary.org>
599         * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
600         * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
601         in union init.  Pass zero for ignored semnum arg to semctl.
602         * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
604 2000-07-26  Greg McGary  <greg@mcgary.org>
606         * sysdeps/gnu/bits/msq.h: Qualify kernel's
607         data structure pointers as __unbounded.
608         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
609         * sysdeps/generic/bp-semctl.h: New file.
610         * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
611         pointers as __unbounded.  Check bounds of syscall args.
612         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
613         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
614         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
615         * sysdeps/unix/sysv/linux/semop.c: Likewise.
616         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
617         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
618         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
619         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
620         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
621         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
622         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
623         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
624         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
625         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
626         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
627         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
629 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
631         * libio/iofwide.c: Enable transliteration for conversion from wchar_t
632         by default.
633         * locale/C-ctype.c: Likewise.
634         * wcsmbs/wcsmbsload.c: Likewise.
636 2000-07-26  Greg McGary  <greg@mcgary.org>
638         * Makeconfig (+link-bounded, link-libc-bounded,
639         link-extra-libs-bounded): New variables.
640         (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
641         * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
642         * Rules (tests-bp.out): New variable.
643         (tests): Conditionally add BP tests.
644         (binaries-bounded): Add variable and associated rule.
645         * csu/Makefile [build-bounded] (extra-objs, install-lib):
646         Move conditional stuff after place where condition is defined.
648         * malloc/malloc.c (bp-checks.h): Add #include.
649         (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
650         (_bin_at): Add unbounded version of bin_at.
651         (IAV, chunk_alloc): Use unbounded _bin_at.
652         (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
653         chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
654         Wrap BOUNDED_N around return value.
655         (chunk_realloc): Adjust oldsize once.
657         * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
658         (__ubp_memchr): Add correct decl.
659         (_CHECK_STRING): Use __ubp_memchr.
660         * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
661         New alias for unbounded-pointer __memchr.
662         * sysdeps/i386/memchr.S: Likewise.
663         * sysdeps/ia64/memchr.S: Likewise.
664         * sysdeps/m68k/memchr.S: Likewise.
665         * sysdeps/sparc/sparc32/memchr.S: Likewise.
666         * sysdeps/sparc/sparc64/memchr.S: Likewise.
667         * sysdeps/vax/memchr.s: Likewise.
669         * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
670         (SAVE_PTR): New macro.  (save_ptr): Expand size as BP.
671         (strtok): Don't bother to write into SAVE_PTR when returning NULL.
672         * sysdeps/i386/i686/strtok.S: Likewise.
673         * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
674         RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
676         * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
677         * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
679         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
680         bounds of copy_result to mount_proc.
682 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
684         * wctype/wctype.h (__wctrans_l): New declaration.
685         * wctype/wctrans_l.c: New file.
686         * wctype/Makefile (routines): Add wctrans_l.
688 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
690         * posix/fnmatch_loop.c: Fixes for use outside glibc.
691         Patch by MacGyver <macgyver@tos.net>.
693 2000-07-26  Andreas Jaeger  <aj@suse.de>
695         * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
696         * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
697         * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
699         * rt/tst-aio.c (test_file): Fix typo.
700         * rt/tst-aio64.c (test_file): Likewise.
702         * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
703         * rt/Makefile: Add rules to build and run tst-aio3.
705         * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
706         it's not needed and confuses only.
708 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
710         * resolv/res_init.c: Add support for nameserver communication with
711         IPv6.
712         * resolv/res_send.c: Likewise.
713         * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
714         in nsaddrs field.
715         Patch by <venaas@nvg.ntnu.no>.
717 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
719         * locale/programs/ld-ctype.c (wctype_table_get): New function.
720         (wcwidth_table_get): New function.
721         (wcwidth_table_add): Call it.
722         (wctrans_table_get): New function.
723         (wctrans_table_add): Call it.
725 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
727         * rt/lio_listio.c (lio_listio): Always disable individual
728         notification.
729         * rt/Makefile: Add rules to build and run tst-aio2.
730         * rt/tst-aio2.c: New file.
732         * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
733         Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
735 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
737         * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
738         (_nss_netgroup_parseline): Use strip_whitespace to strip off any
739         leading and trailing spaces from host, user and domain name.
741 2000-07-25  Jes Sorensen  <jes@linuxcare.com>
743         * csu/defs.awk: Add support for need_endp.
745 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
747         * resolv/resolv.h: Remove __P from res_send_qhook and
748         res_send_rhook typedefs.
750 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
752         * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
754 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
756         * iconv/gconv_builtin.h: Add WCHAR_T alias.
758 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
760         * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
761         calling thread, set the cancellation flag and return success
762         instead of EINTR.
764 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
766         * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
767         * libio/tst-widetext.c: New file.
768         * libio/tst-widetext.input: New file.
770         * libio/iogetwline.c (_IO_getwline_info): Pretty print.
772         * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
773         empty external buffer correctly.
775 2000-07-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
777         * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
778         __STRING(entry) and not #entry.
779         (_RTLD_EPILOGUE): Likewise.
780         * sysdeps/mips/mips64/dl-machine.h: Likewise.
782 2000-07-25  Andreas Jaeger  <aj@suse.de>
784         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
785         according to changes in test program, run also with static only
786         builds.
787         ($(objpfx)tst-printf.out): Likewise.
789         * stdio-common/tst-unbputc.sh: Likewise.
790         * stdio-common/tst-printf.sh: Likewise.
792 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
794         * libio/wfileops.c (_IO_wdo_write): Correct return value.
796         * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
797         loop.
799         * libio/fileops.c: Pretty print.
801 2000-07-23  Bruno Haible  <haible@clisp.cons.org>
803         * wctype/wchar-lookup.h: New file.
804         * wctype/iswctype.c: Include "wchar-lookup.h".
805         (__iswctype): Support alternate locale format with 3-level tables.
806         * wctype/iswctype_l.c (__iswctype_l): Likewise.
807         * wctype/towctrans.c (__towctrans): Likewise.
808         * wctype/towctrans_l.c (__towctrans_l): Likewise.
809         * wctype/wcfuncs.c: Include "wchar-lookup.h".
810         (__ctype32_wctype, __ctype32_wctrans): Declare external.
811         (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
812         __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
813         __iswxdigit, towlower, towupper): Support alternate locale format
814         with 3-level tables.
815         * wctype/wcextra.c (iswblank): Likewise.
816         * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
817         (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
818         __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
819         __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
820         format with 3-level tables.
821         * wctype/wcextra_l.c (__iswblank_l): Likewise.
822         * wctype/wctype.c (__wctype): Likewise.  In the alternate locale
823         format, return a 3-level table pointer.
824         * wctype/wctype_l.c (__wctype_l): Likewise.
825         * wctype/wctrans.c (wctrans): Likewise.
826         * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
827         __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
828         __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
829         (iswctype): Remove macro definition.
830         * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
831         (internal_wcwidth): Support alternate locale format with 3-level
832         tables.
833         * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
834         New nl_items.
835         * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
836         Define them as being type "word".
837         * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
838         * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
839         __ctype32_width): New exported variables.
840         * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
841         alternate locale format. Don't initialize __ctype_names and
842         __ctype_width in the alternate locale format.
843         * locale/programs/localedef.h (oldstyle_tables): New declaration.
844         * locale/programs/localedef.c (oldstyle_tables): New variable.
845         (OPT_OLDSTYLE): New macro.
846         (options): Add --old-style option.
847         (parse_opt): Handle --old-style option.
848         * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
849         map_offset, class_3level, map_3level, width_3level members.
850         (ctype_output): Support for alternate locale format: Computation of
851         nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
852         _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
853         New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
854         _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
855         now contain both class and map tables.
856         (struct wctype_table): New type.
857         (wctype_table_init, wctype_table_add, wctype_table_finalize): New
858         functions.
859         (struct wcwidth_table): New type.
860         (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
861         functions.
862         (struct wctrans_table): New type.
863         (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
864         functions.
865         (allocate_arrays): Support for alternate locale format: Set
866         plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
867         256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
868         to the first 256 characters. Compute ctype->map_3level. Set
869         ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
870         instead of ctype->width.
872 2000-07-24  Ulrich Drepper  <drepper@redhat.com>
874         * libio/iogetwline.c (_IO_getwline_info): Use wide character
875         string functions.
877 2000-07-24  Jakub Jelinek  <jakub@redhat.com>
879         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
880         in wide characters, not bytes.
881         * libio/tst_putwc.c (do_test): Add test for writing lots of data
882         into file.
884 2000-07-22  Bruno Haible  <haible@clisp.cons.org>
886         * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
887         new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
888         LC_MEASUREMENT, LC_IDENTIFICATION.
890         * locale/xlocale.h (struct __locale_struct): Increase size of
891         __locales array.
892         * locale/duplocale.c (__duplocale): Copy newly added categories as
893         well.
894         * locale/freelocale.c (__freelocale): Free newly added categories.
895         * locale/newlocale.c (__newlocale): Fix typo in sanity check.
896         If a base is given, use it, don't simply return it.
898 2000-07-22  Bruno Haible  <haible@clisp.cons.org>
900         * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
901         variables, copied_key and copied_salt, instead of boolean variables.
903 2000-07-24  Andreas Jaeger  <aj@suse.de>
905         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
906         check for offset.
908         * grp/initgroups.c (initgroups_dyn_function): Renamed from
909         initgroups_function, adopted prototype for change from 2000-07-23.
910         (initgroups): Follow type change.
912         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
913         & PAGE_MASK case, reformat.
915         * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
916         from stdin and setup environment.
918 2000-07-24  Andreas Schwab  <schwab@suse.de>
920         * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
922 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
924         * string/endian.h: Explain the _*_ENDIAN constant values a bit
925         more.  Patch by scarlet@mit.edu [PR libc/1799].
927         * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
928         [PR libc/1792].
930         * argp/argp-parse.c (parser_finalize): Reverse order in which
931         parsers are run for ARGP_KEY_END.  [PR libc/1755].
933         * grp/initgroups.c (initgroups): Don't limit the possible number
934         of groups to NGROUPS_MAX.  Allow dynamic resizing.  Loop around
935         the setgroups call while the call fails and descrease the number
936         of groups each round.
937         The name of the initgroups function in the NSS modules changed.
938         (compat_call): Adapt for dynamic resizing.
939         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
940         Implement dynamic resizing.
941         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
942         Likewise.
943         * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
944         * hesiod/Versions: Change exported interface name.
945         * nis/Versions: Change exported interface name.
947 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
949         * locale/iso-639.def: Some errors corrected.
950         Patch by Keld Simonsen.
952         * include/limits.h: Update non-gcc portion.
953         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
955 2000-07-22  Mark Kettenis  <kettenis@gnu.org>
957         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
958         program's data space, reallocate only the space that was just
959         deallocated to release its backing space.
961 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
963         * stdio-common/vfprintf.c (process_string_arg): For wide character
964         version, handle precision also correctly.
966         * nss/nss_files/files-hosts.c: Correct problem with three or more
967         entries with the same name.
969         * nss/nss_files/files-hosts.c: Implement multi handling.
970         * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
972 2000-07-22  Ulrich Drepper  <drepper@redhat.com>
974         * nss/nss_files/files-parse.c: Don't pollute namespace by using
975         strcasecmp.
977         * grp/Makefile: Change Makefiles and tests to run only when necessary.
978         * malloc/Makefile: Likewise.
979         * malloc/tst-mtrace.sh: Likewise.
980         * posix/Makefile: Likewise.
981         * posix/globtest.sh: Likewise.
982         * posix/wordexp-tst.sh: Likewise.
983         * string/Makefile: Likewise.
985 2000-07-22  Mark Kettenis  <kettenis@gnu.org>
987         * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
988         size instead of LC_ALL to take into account the new locale
989         categories.
991 2000-07-22  Ulrich Drepper  <drepper@redhat.com>
993         * iconv/gconv_trans.c: Correct a few bugs in the search loop.  Remove
994         remainders of hash table.
995         * locale/categories.def: Remove remainders of transliteration
996         hash table.
997         * locale/langinfo.h: Likewise.
998         * locale/programs/ld-ctype.c: Likewise.  Fix code to write out
999         transliteration tables.
1001         * locale/gen-translit.pl: New file.
1002         * locale/C-translit.h.in: New file.
1003         * locale/C-ctype.c: Include C-translit.h.  Initialize transliteration
1004         data pointers with data from this file.
1005         * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
1006         and gen-translit.pl.
1007         Add rule to generate C-translit.h.
1008         * intl/tst-translit.c (main): Update for now performed
1009         transliteration.
1011         * stdio-common/vfscanf.c: Handle input -- with format %f correctly
1012         (it's no input error).
1013         * stdio-common/tstscanf.c: Add test case for format %f with input --.
1014         * stdio-common/scanf12.c: Correct expected result for first scanf.
1016         * stdio-common/vfprintf.c (process_string_arg): Correct handling
1017         of multibyte character strings in %s format with precision.
1019 2000-07-21  Ulrich Drepper  <drepper@redhat.com>
1021         * locale/programs/ld-collate.c (collate_read): Allow collating
1022         symbols and elements be named in reorder-after instructions.
1023         Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1025         * locale/programs/ld-collate.c (handle_ellipsis): Test for
1026         duplication with generated name, not the name of the first
1027         character.
1028         Patch by Yong Li <yong.li@asu.edu>.
1030         * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
1031         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1033 2000-07-21  Wolfram Gloger  <wg@malloc.de>
1035         * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
1036         allocations only if a non-main arena cannot be extended.
1038 2000-07-21  Ulrich Drepper  <drepper@redhat.com>
1040         * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
1041         in DF_1_NODEFLIB handling.
1043 2000-07-21  Andreas Jaeger  <aj@suse.de>
1045         * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
1046         own rule.
1048         * libio/fwide.c: Include <wchar.h> for prototype.
1050 2000-07-21  Greg McGary  <greg@mcgary.org>
1052         * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
1053         set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
1054         Define in terms of chunk_at_offset.
1055         (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
1056         (next_bin, prev_bin): offset by size of real array elements.
1057         (chunk_align): Make `m' a scalar, since that's how it's used.
1059 2000-07-21  Greg McGary  <greg@mcgary.org>
1061         * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
1062         UNCHECK_BOUNDS.
1063         * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
1064         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
1065         Wrap bounds around argv & envp and each of their string members.
1066         * sysdeps/powerpc/elf/start.S: Designate BP symbols.
1067         * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
1068         symbol in BP_SYM ().  Discard bounds of address arg.
1069         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
1070         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
1071         Discard bounds on address arg, add bounds to return value.
1073 2000-07-20  Ulrich Drepper  <drepper@redhat.com>
1075         * elf/Makefile (tests): Add filter.  Add rules to generate filter.
1076         * elf/filter.c: New file.
1077         * elf/filtmod1.c: New file.
1078         * elf/filtmod2.c: New file.
1080         * elf/rtld.c: Define _dl_bind_not variable.
1081         (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
1082         * elf/dl-support.c: Likewise.
1083         * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
1084         * elf/dl-runtime.c (fixup): Don't remember looked up value if
1085         _dl_bind_not.
1086         (profile_fixup): Likewise.
1088         * libio/Makefile (routines): Add fwide.
1089         * libio/iofwide.c (_IO_fwide): Remove locking.  This is done in
1090         fwide now.  Internal calls to _IO_fwide must do locking themselves
1091         or don't need locking.
1092         * libio/fwide.c: New file.
1094         * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
1096         * elf/Makefile: Add no modules for nodelete test.
1097         * elf/nodelmod3.c: New file.
1098         * elf/nodelmod4.c: New file.
1099         * elf/nodelete.c: Also test case where dependency of dlopen() object
1100         is marked nodelete.
1102         * elf/Makefile (tests): Add nodlopen.  Add rules to generate nodlopen.
1103         * elf/nodlopen.c: New file.
1104         * elf/nodlopenmod.c: New file.
1105         * include/dlfcn.h: Define __RTLD_DLOPEN.
1106         * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
1107         and this is a dlopen() call, do not load the binary.
1108         * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
1109         * dlfcn/dlopenold.c: Likewise.
1110         * configure.in: Add test for -z nodelete option.
1111         * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1113 2000-07-20  Mark Kettenis  <kettenis@gnu.org>
1115         Make Hesiod NSS module thread-safe.
1117         * hesiod/README.hesiod: Update.
1119         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
1120         _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
1121         _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
1122         * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
1123         hesiod-proto.
1124         * hesiod/nss_hesiod/hesiod-init.c: New file.
1125         * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
1126         * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
1127         * hesiod/nss_hesiod/nss_hesiod.h: New file.
1128         * hesiod/nss_hesiod/hesiod-service.c
1129         (_nss_hesiod_getservbyport_r): New function.  Provide support for
1130         looking up services by port number.
1131         * hesiod/nss_hesiod/hesiod-proto.c: New file.
1133         * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
1134         * hesiod/hesiod.h: Likewise.
1135         * hesiod/hesiod_p.h: Likewise.
1137 2000-07-20  Mark Kettenis  <kettenis@gnu.org>
1139         Fix problems with `struct __res_state' getting too big.
1140         * resolv/resolv.h (struct __sockaddr_in): New definition.
1141         (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
1142         the private parts of the structure to save some space.
1143         * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
1144         (struct sockaddr_in *) in call to sock_eq.
1145         Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
1147 2000-07-20  Ulrich Drepper  <drepper@redhat.com>
1149         * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
1150         * elf/dl-close.c (_dl_close): Don't close an object if it is marked
1151         with nodelete.
1152         * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
1153         to _dl_map_object.  Return immediately if no object loaded.
1154         Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
1155         * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
1156         if it exists into l_flags_1 word.
1157         * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
1158         it to determine whether loading is wanted or not.
1159         (_dl_map_object): Likewise.
1160         Call _dl_map_object_from_fd with new parameter.
1161         * sysdeps/generic/ldsodefs.h: Update prototype.
1162         * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
1163         * elf/rtld.c: Likewise.
1164         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1165         * elf/Makefile (tests): Add noload.  Add rules to generate noload.
1166         * elf/noload.c: New file.
1167         * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
1168         * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
1169         * sysdeps/mips/bits/dlfcn.h: Likewise.
1170         * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
1171         (tests-nodelete-yes): Define.
1172         (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
1173         Add rules to build nodelete and modules.
1174         * elf/nodelete.c: New file.
1175         * elf/nodelmod1.c: New file.
1176         * elf/nodelmod2.c: New file.
1177         * configure.in: Add test for -z nodelete option.
1178         * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1180         * libio/Makefile (tests): Add tst_wprintf2.
1181         (tst_wprintf2-ARGS): Define.
1182         * libio/tst_wprintf2.c: New file.
1183         Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
1185         * libio/wfiledoalloc.c: Only allocate external buffer if this
1186         hasn't happened yet.
1188         * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
1189         something in the buffer.  gconv call can write up to end of the
1190         buffer, not only _IO_write_end.
1191         (_IO_wfile_overflow): Allocate also external buffer.
1193 2000-07-19  Ulrich Drepper  <drepper@redhat.com>
1195         * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
1196         strings with precision in vfwprintf correctly.
1197         * stdio-common/vfprintf.c: Fix completely broken handling of
1198         unbuffered wide character streams.
1199         Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1201         * resolv/Makefile (distribute): Add README.
1203         * resolv/README: New file.  By Mark Kettenis <kettenis@gnu.org>.
1205 2000-07-18  Mark Kettenis  <kettenis@gnu.org>
1207         Update resolver code to BIND 8.2.3-T5B.
1209         * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
1210         __res_nclose.
1211         [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
1212         __res_mkquery, __res_nsend, __res_query, __res_querydomain and
1213         __res_search.
1214         * resolv/Banner: BIND-8.2.3-T5B.
1216         * resolv/base64.c: Update from BIND 8.2.3-T5B.
1217         * resolv/herror.c: Likewise.
1218         * resolv/inet_addr.c: Likewise.
1219         * resolv/inet_net_ntop.c: Likewise.
1220         * resolv/inet_net_pton.c: Likewise.
1221         * resolv/inet_neta.c: Likewise.
1222         * resolv/inet_ntop.c: Likewise.
1223         * resolv/nsap_addr.c: Likewise.
1224         * resolv/inet_pton.c: Likewise.  Reject a few more more invalid
1225         IPv6 addresses (ISC bug #520).
1227         * resolv/ns_name.c: Avoid emitting RCS ID in object file.
1228         * resolv/ns_parse.c: Likewise.
1229         * resolv/ns_netint.c: Likewise.
1230         * resolv/ns_samedomain.c: Likewise.
1231         * resolv/ns_ttl.c: Likewise.
1232         * resolv/ns_print.c: Update from BIND 8.2.3-T5B.  Avoid emitting
1233         RCS ID in object file.
1235         * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
1236         * resolv/res_mkquery.c: Likewise.
1237         * resolv/res_query.c: Likewise.
1238         * resolv/res_init.c: Likewise.
1239         (res_setoptions): Mark internal.
1240         * resolv/res_send.c: Likewise.
1241         [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
1242         by using poll instead.
1243         * resolv/res_comp.c: Likewise.
1244         [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
1245         weak alias for __dn_expand.
1246         * resolv/res_data.c: Likewise.
1247         (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
1248         in _res.options.  Avoids a potential security risk by avoiding a
1249         close (0).
1250         [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
1251         res_mkquery, res_query, res_querydomain adn res_search weak
1252         aliases for __res_mkquery, __res_query, __res_querydomain and
1253         __res_search.
1254         * resolv/res_libc.c: (_res): Don't initialize.  Fix res_close
1255         instead to avoid close(0).
1256         (res_init): Always use the static resolver context.
1257         [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
1258         alias for __res_init.
1260         * resolv/resolv.h: Update from BIND 8.2.3-T5B.  Move definition of
1261         RES_SET_H_ERRNO and accompanying comment to...
1262         * include/resolv.h: ... here.
1264         * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
1265         * resolv/arpa/nameser_compat.h: Likewise.
1267 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
1269         * nss/makedb.c (main): Compare result of load_db with
1270         NSS_STATUS_SUCCESS and not 0.
1271         Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
1273         * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
1275 2000-07-18  Greg McGary  <greg@mcgary.org>
1277         * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
1278         (EXTEND_BUFFER): Use it.
1280 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
1282         * include/libc-symbols.h: Define RETURN_ADDRESS macro.
1283         * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
1284         __builtin_return_address.
1285         * dlfcn/dlopenold.c: Likewise.
1286         * dlfcn/dlsym.c: Likewise.
1287         * dlfcn/dlvsym.c: Likewise.
1288         * elf/dl-profstub.c: Likewise.
1289         * malloc/malloc.c: Likewise.
1290         * sysdeps/generic/machine-gmon.h: Likewise.
1291         Based on a patch by schwidefsky@de.ibm.com.
1293 2000-07-18  Andreas Jaeger  <aj@suse.de>
1295         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
1296         NULL to elf_machine_fixup_plt t argument to silence GCC.
1298         * include/string.h: Add prototype for __memchr.
1300         * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
1302         * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
1303         instead of memrchr.
1305 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
1307         * intl/Makefile: Make sure tst-translit is run after tst-gettext.
1309         * locale/C-ctype.c: Add initializers for gap elements.
1310         * locale/programs/ld-ctype.c (ctype_output): Write out index entries
1311         for gap elements.
1313 2000-07-16  Ulrich Drepper  <drepper@redhat.com>
1315         * nscd/nscd.c (print_version): Update copyright year.
1317 2000-07-17  Greg McGary  <greg@mcgary.org>
1319         * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1320         keyletters F, I, S, W.  Remove unused keyletter V.  Surround
1321         signature argnames with angle-brackets for use as word delimiters,
1322         and to induce syntax errors for any args not handled.  Split
1323         multi-echo echoes and comment each stage.
1324         * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
1325         * sysdeps/unix/inet/syscalls.list: Likewise.
1326         * sysdeps/unix/mman/syscalls.list: Likewise.
1327         * sysdeps/unix/syscalls.list: Likewise.
1328         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1329         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1330         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1331         * sysdeps/unix/sysv/syscalls.list: Likewise.
1332         * sysdeps/unix/sysv/linux/powerpc/syscalls.list
1334         * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
1335         * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
1336         qualifiers.  Don't check NULL-terminator of argv & envp.
1337         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
1338         unbounded pointer type in word-size assertion.
1339         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
1340         cases to stifle warnings.
1342         * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
1343         _IO_file_attach.
1344         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1346         * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
1347         * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods.  Qualify
1348         ptr as __unbouned.
1350         * Makerules (o-objects): Supplement with $(o-objects$o).
1351         * string/Makefile (o-objects.ob): Add variable to pull
1352         unbounded versions of memcpy, memset and memchr into libc_b.
1354         * sysdeps/generic/bp-checks.h: Use unbounded __memchr
1355         rather than non-existent __ubp_memchr.
1356         (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
1357         (_CHECK_STRING, _CHECK_N): New macros.
1358         (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
1359         (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
1360         * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
1361         Add weak alias "memchr".
1362         * sysdeps/generic/memchr.c: Likewise.
1363         * sysdeps/i386/memchr.S: Likewise.
1364         * sysdeps/ia64/memchr.S: Likewise.
1365         * sysdeps/m68k/memchr.S: Likewise.
1366         * sysdeps/sparc/sparc32/memchr.S: Likewise.
1367         * sysdeps/sparc/sparc64/memchr.S: Likewise.
1368         * sysdeps/vax/memchr.s: Likewise.
1370         * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
1372         * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
1373         (profile_fixup): Don't define for __BOUNDED_POINTERS__.
1374         * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
1375         __BOUNDED_POINTERS__.
1376         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
1377         for __BOUNDED_POINTERS__.
1379 2000-07-17  Bruno Haible  <haible@clisp.cons.org>
1381         * iconv/gconv_open.c (__gconv_open): Initialize the __data
1382         field of struct __gconv_trans_data differently.  Don't pass NULL to
1383         trans_init_fct.  Simplify list append operation.
1385 2000-07-14  Bruno Haible  <haible@clisp.cons.org>
1387         * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
1388         not only those having tsearch.
1390 2000-07-17  Ulrich Drepper  <drepper@redhat.com>
1392         * locale/langinfo.h: Add placeholder values in enum for removed
1393         LC_CTYPE entries.
1395 2000-07-17  Jakub Jelinek  <jakub@redhat.com>
1397         * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
1398         chain if the PHDR check fails.
1400 2000-07-17  Mark Kettenis  <kettenis@gnu.org>
1402         * nss/getent.c (print_hosts): Make sure we always print a space
1403         between numeric addresses and hostnames.
1405 2000-07-17  Wolfram Gloger  <wg@malloc.de>
1407         * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
1408         i.e. if n_mmaps_max>0.
1410 2000-07-16  Mark Kettenis  <kettenis@gnu.org>
1412         * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
1413         values to remove possible clash with other AI_* constants.
1414         (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
1415         hexadecimal constants to stress the fact they're in fact
1416         bit flags.
1418 2000-07-15  Mark Kettenis  <kettenis@gnu.org>
1420         * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
1421         (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
1422         instead of res_init.
1424 2000-07-16  Ulrich Drepper  <drepper@redhat.com>
1426         * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
1427         parameters of memset calls to avoid warnings.
1429 2000-07-15  Ulrich Drepper  <drepper@redhat.com>
1431         * stdlib/Makefile: Rewrite rules to avoid running isomac unless
1432         necessary.
1434         * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
1435         Patch by Greg McGary <greg@mcgary.org>.
1437         * io/Makefile (tests): Add tst-getcwd.
1438         * io/tst-getcwd.c: New file.
1440         * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
1442 2000-07-15  Jakub Jelinek  <jakub@redhat.com>
1444         * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
1445         structure.
1447 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
1449         * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
1450         * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
1452 2000-07-12  H.J. Lu  <hjl@gnu.org>
1454         * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
1455         GLIBC_2.2.
1456         * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
1457         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
1458         (sysdep-routines): Add clone2.
1459         * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
1461 2000-07-13  Jes Sorensen  <jes@linuxcare.com>
1463         * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
1464         * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
1466 2000-06-05  David Mosberger  <davidm@hpl.hp.com>
1468         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
1469         based on sysdeps/unix/sysv/linux/bits/siginfo.h.
1470         Change type of si_band from "int" to "long".
1471         (si_imm) [USE_GNU]: Define
1472         (si_isr) [USE_GNU]: Ditto.
1473         (ILL_BREAK) [USE_GNU]: Ditto.
1474         (FPE_DECOVF) [USE_GNU]: Ditto.
1475         (FPE_DECDIV) [USE_GNU]: Ditto.
1476         (FPE_DECERR) [USE_GNU]: Ditto.
1477         (FPE_INVASC) [USE_GNU]: Ditto.
1478         (FPE_INVDEC) [USE_GNU]: Ditto.
1479         (TRAP_BRANCH) [USE_GNU]: Ditto.
1480         (TRAP_HWBKPT) [USE_GNU]: Ditto.
1482 2000-07-06  Jes Sorensen  <jes@linuxcare.com>
1484         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1485         bits/sigcontext as struct mcontext does not depend on it.
1487         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
1489 2000-07-04  Jes Sorensen  <jes@linuxcare.com>
1491         * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
1493 2000-07-04  David Mosberger-Tang  <davidm@hpl.hp.com>
1495         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
1497 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
1499         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
1501 2000-07-15  Ulrich Drepper  <drepper@redhat.com>
1503         * intl/Makefile (test-srcs): Add tst-translit.
1504         (tests): Likewise.
1505         Add rules to build and run tst-translit.
1506         * intl/tst-translit.c: New file.
1507         * intl/tst-translit.sh: New file.
1508         * intl/translit.po: New file.
1510 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
1512         * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
1513         transliteration function did its job, continue, don't stop.
1515         * iconvdata/iso646.c: Little optimizations in body for conversion
1516         from UCS4.
1518 2000-07-14  Mark Kettenis  <kettenis@gnu.org>
1520         * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
1522 2000-07-14  Mark Kettenis  <kettenis@gnu.org>
1524         * configure.in: Check for pwd binary.
1525         * config.make.in: Add PWD_P to be subsituted.
1526         * Makerules: Use $(PWD_P) instead of /bin/pwd.
1528 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
1530         * iconvdata/Makefile (modules): Add GB18030.
1531         (distribute): Add gb18030.c.
1532         * iconvdata/gconv-modules: Add entries for GB18030 module.
1533         * iconvdata/gb18030.c: New file.
1534         Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
1535         and Wu Jian.
1537 2000-07-13  Andreas Jaeger  <aj@suse.de>
1539         * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
1540         patch.
1542         * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
1543         * inet/getnetgrent.c (free_mem): Likewise.
1544         * misc/mntent.c (free_mem): Likewise.
1545         * nss/getXXbyYY.c (free_mem): Likewise.
1546         * nss/getXXent.c (free_mem): Likewise.
1547         * pwd/fgetpwent.c (free_mem): Likewise.
1548         * shadow/fgetspent.c (free_mem): Likewise.
1550 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
1552         * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
1553         64-bit architecture correctly [PR libc/1794].
1555 2000-07-13  Ulrich Drepper  <drepper@redhat.com>
1557         * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
1558         * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
1559         report that we are out of memory.
1560         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1561         * elf/dl-libc.c (dlerror_run): Likewise.
1562         * elf/dl-open.c (_dl_open): Likewise.
1563         * elf/rtld.c (dl_main): Likewise.
1564         * elf/dl-error.c: Define _dl_out_of_memory.
1565         (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
1566         the error string.
1567         * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
1568         [PR libc/1813].
1570         * dlfcn/dlerror.c (free_key_mem): Also free error string.
1572         * iconv/loop.c: Fix comment.
1574         * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
1576 2000-07-13  Andreas Jaeger  <aj@suse.de>
1578         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
1579         getcwd (NULL, size) with size > 0.
1580         Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
1582 2000-07-13  Andreas Jaeger  <aj@suse.de>
1584         * posix/Makefile: Remove build rules for libposix.
1586 2000-07-13  Andreas Schwab  <schwab@suse.de>
1588         * sysdeps/generic/glob.c (glob): Fix memory leak.
1589         [SHELL]: Remove reference to undefined variable `files'.
1590         Fixes PR libc/1782.
1592 2000-07-13  Andreas Jaeger  <aj@suse.de>
1594         * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
1595         functions.
1597         * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
1598         memory if it was allocated.
1600 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
1602         * iconv/gconv_db.c (gen_steps): Always initialize __data field of
1603         step.
1605         * iconv/gconv_open.c (__gconv_open): Reapply
1606         2000-07-12 Bruno Haible <haible@clisp.cons.org>
1608                 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1610         * iconv/gconv_open.c: Undo last two changes for now.  They break
1611         everything.
1613 2000-07-12  Andreas Jaeger  <aj@suse.de>
1615         * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
1616         compiler.
1617         (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
1618         (CFLAGS-dl-cache.c): Likewise.
1619         (CFLAGS-ldconfig.c): Added, passes directory locations.
1621         * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
1622         locate cache.
1623         * elf/ldconfig.c (LD_SO_CONF): Likewise.
1624         (main): Use configured LIBDIR and SLIBDIR.
1626 2000-07-11  Jakub Jelinek  <jakub@redhat.com>
1628         * math/bits/cmathcalls.h (cimag): Add __THROW.
1629         (creal, conj): Likewise.
1630         * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
1631         by negative value.
1633 2000-07-12  H.J. Lu  <hjl@gnu.org>
1635         * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
1636         for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
1638 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
1640         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
1641         it is wrong.
1643 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
1645         * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1647 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
1649         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1650         __modname.
1652 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
1654         * iconv/gconv_open.c (__gconv_open): Initialize
1655         result->__steps[cnt].__data.
1657 2000-07-12  Mark Kettenis  <kettenis@gnu.org>
1659         * nss/getent.c (services_keys): Pass port number in network byte
1660         order in call to getservbyport.
1662 2000-07-11  Andreas Jaeger  <aj@suse.de>
1664         * stdlib/Makefile (test-canon-ARGS): Fix for building in the
1665         source dir.
1666         * intl/Makefile (do-gettext-test): Likewise.
1667         * dirent/Makefile (opendir-tst1-ARGS): Likewise.
1669 2000-07-11  Andreas Schwab  <schwab@suse.de>
1671         * Makeconfig (run-program-prefix): New rule.
1672         (built-program-cmd): Use run-program-prefix.
1674 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
1676         * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
1677         and NOEXPR unconditionally available.
1679 2000-07-12  Greg McGary  <greg@mcgary.org>
1681         * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
1682         * sysdeps/posix/open64.c: Likewise.
1683         * sysdeps/generic/fegetenv.c: Likewise.
1684         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1685         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1686         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1687         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1688         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1689         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1691 2000-07-11  Greg McGary  <greg@mcgary.org>
1693         * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
1694         Add extra level of macro expansion.
1695         [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
1696         * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
1697         is available at the time `select' prototype is declared.
1698         * sysdeps/unix/make-syscalls.sh: Remove unused variables.
1699         Collect non-versioned weak aliases.  Consider only non-versioned
1700         aliases for the user-visible systemcall name.  Do checks inline with
1701         call to primitive system call.
1702         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
1703         stand-alone bounds checks to suppress unused value warnings.
1704         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1706 2000-07-10  Mark Kettenis  <kettenis@gnu.org>
1708         * sysdeps/mach/hurd/check_fds.c: New file.  Implements
1709         file descriptor checking in SUID programs for the Hurd.
1711         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
1712         res_hostalias instead of __hostalias for thread-safety.
1714 2000-07-09  Mark Kettenis  <kettenis@gnu.org>
1716         * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
1717         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
1719 2000-07-10  Ulrich Drepper  <drepper@redhat.com>
1721         * include/features.h: Include ISO C99 features if the compiler used
1722         is an ISO C99 compiler.
1723         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1725 2000-07-08  Mark Kettenis  <kettenis@gnu.org>
1727         * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
1729 2000-07-10  Andreas Jaeger  <aj@suse.de>
1731         * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
1732         it's overridden by libpthreads.
1733         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1734         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1735         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1736         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1737         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1739         * malloc/Makefile: Run tst-mtrace only with shared libs.
1741         * stdio-common/Makefile: Run unbputc and tst-printf tests only
1742         with shared libs.
1744 2000-07-10  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1746         * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
1747         that gpreg really points to the GOT section of the calling object.
1748         Scan all PT_LOAD segments of objects for stub_pc, instead of only
1749         checking a start address of first one.
1750         Fix typos.
1751         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
1752         Likewise.
1754         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
1756 2000-07-10  Andreas Jaeger  <aj@suse.de>
1758         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
1759         (string_alias->strong_alias).
1761 2000-07-08  Mark Kettenis  <kettenis@gnu.org>
1763         * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
1765 2000-07-07  Greg McGary  <greg@mcgary.org>
1767         * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
1768         have no names without leading underscores.
1770 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
1772         * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
1773         U007E.
1775         * stdio-common/Makefile (tests): Remove tst-printf here...
1776         (tests-srcs): ...and add it here.
1777         (distribute): Add tst-unbputc.sh and tst-printf.sh.
1778         Add rules to run tst-printf.sh.
1779         * stdio-common/tst-printf.c: Move code around so that there is really
1780         no further output where it's stated.
1781         * stdio-common/tst-printf.sh: New file.
1783 2000-07-07  Mark Kettenis  <kettenis@gnu.org>
1785         * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
1786         (do_write): Renamed from pwrite.
1787         (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
1788         `struct _IO_cookie_file'.
1790 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
1792         * malloc/mtrace.pl: Exit with exit code 1 if any leak was
1793         detected.
1794         * malloc/tst-mtrace.sh: Run mtrace script.
1796 2000-07-07  Greg McGary  <greg@mcgary.org>
1798         * posix/regex.c (EXTEND_BUFFER): Compute increment once.
1799         Move all three components of a bounded pointer.
1801 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
1803         * locale/programs/locale.c (write_locales): Don't simply add all
1804         directories found in the subdir, test whether at least the
1805         LC_CTYPE file is in there.
1807 2000-07-06  Ulrich Drepper  <drepper@redhat.com>
1809         * iconvdata/euc-jp.c: Map characters in C1 area to itself.
1810         * iconvdata/euc-kr.c: Likewise.
1812         * stdio-common/vfprintf.c (process_string_arg): Check result of
1813         wcrtomb call and bail out if it failed.
1815         * malloc/Makefile (test-srcs): Add tst-mtrace.
1816         (distribute): Add tst-mtrace.sh.
1817         Add rule to run tst-mtrace.sh.
1818         * malloc/tst-mtrace.c: New file.
1819         * malloc/tst-mtrace.sh: New file.
1821         * include/signal.h: Declare __libc_sigaction.
1822         * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
1823         * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
1824         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1825         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1826         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1827         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1828         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1830         * configure.in: Fix CFLAGS-memprofstat.c definition after
1831         2000-06-19 change.
1832         Patch by Bradford W. Johnson <bradford@math.umn.edu>.
1834 2000-07-06  Jakub Jelinek  <jakub@redhat.com>
1836         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
1837         instead of NULL to elf_machine_fixup_plt t argument.
1838         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1839         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
1840         cast.
1842 2000-07-06  Andreas Jaeger  <aj@suse.de>
1844         * crypt/Makefile (LDLIBS-cert): Removed.
1845         (LDLIBS-md5c-test): Removed.
1846         ($(objpfx)cert): Renamed from cert.out to fix dependencies.
1847         ($(objpfx)md5c-test): Likewise for md5c-test.out.
1849 2000-07-06  Andreas Jaeger  <aj@suse.de>
1851         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
1852         of the proc system is "proc".
1854         * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
1855         thread library for static programs.
1857 2000-07-06  Greg McGary  <greg@mcgary.org>
1859         * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
1860         New macros.
1861         * sysdeps/generic/strcpy.c: Add bounds checks.
1862         * sysdeps/unix/fxstat.c: Likewise.
1863         * sysdeps/unix/xstat.c: Likewise.
1864         * sysdeps/unix/common/lxstat.c: Likewise.
1865         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1866         * sysdeps/unix/sysv/linux/execve.c: Likewise.
1867         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1868         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1869         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1870         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1871         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1872         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1873         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1874         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1875         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1876         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1877         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1878         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1879         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1880         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1881         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1882         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1883         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1884         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1885         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1886         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1887         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1888         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1889         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1890         * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1891         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1892         * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1893         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1894         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1895         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1896         * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1897         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1898         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1899         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1900         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1901         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1902         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1903         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1904         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1905         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1906         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1907         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1908         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1909         * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
1910         * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
1911         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1912         * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
1913         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1914         * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
1915         * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
1916         * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
1917         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1918         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1919         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1920         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1921         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1922         * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1923         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1924         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
1925         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1926         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1927         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1928         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
1930         * string/endian.h (__LONG_LONG_PAIR): New macro.
1931         * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
1932         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1933         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1934         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1935         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1936         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1937         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1938         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1939         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1940         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1941         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1942         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1944         * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
1946 2000-07-06  Andreas Jaeger  <aj@suse.de>
1948         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1949         Initialize result.
1951         * math/test-fpucw.c: Include <stdio.h> for printf.
1953 2000-07-05  Greg McGary  <greg@mcgary.org>
1955         * sysdeps/generic/bp-checks.h: New file.
1956         * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
1957         with list of #include files.
1958         * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1959         keyletters a, b, B, f, n, N, P, v, V.  Fixup some indentation.
1960         Don't generate BP thunk if `V' appears in signature.
1961         Generate thunks with complete bounds checks.
1962         * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
1963         * sysdeps/unix/inet/syscalls.list: Likewise.
1964         * sysdeps/unix/mman/syscalls.list: Likewise.
1965         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1966         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1967         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1968         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1970 2000-07-05  Ulrich Drepper  <drepper@redhat.com>
1972         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
1973         result.  Search first in /etc/mtab (proc/mounts would be stupid).
1974         If mount not in the file fall back on /proc.
1976         * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
1977         string got copied in.
1978         Patch by Solar Designer <solar@false.com>.
1980 2000-07-05  Andreas Jaeger  <aj@suse.de>
1982         * manual/install.texi (Installation): Update information about
1983         add-ons.
1984         (Configuring and compiling): Update for glibc 2.2.
1986 2000-07-04  Andreas Jaeger  <aj@suse.de>
1988         * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
1989         (_FPU_IEEE): Likewise.
1991         * math/Makefile (tests): Add test-fpucw.
1993         * math/test-fpucw.c (main): New file.
1995 2000-07-05  Ulrich Drepper  <drepper@redhat.com>
1997         * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
1999         * locale/programs/ld-collate.c (collate_output): Also write out the
2000         collation sequence values and the wide character string for the
2001         collation symbol table.
2003         * posix/fnmatch.c: Include "../locale/elem-hash.h".
2004         * posix/fnmatch_loop.c: Implement collating symbol handling.
2005         * posix/tst-fnmatch.input: Add more tests, especially for collating
2006         symbol handling.
2008         * posix/regex.c: Fix comment.
2010 2000-07-05  Andreas Jaeger  <aj@suse.de>
2012         * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
2013         (_FPU_GETCW): Remove extra colon.
2014         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2016         * posix/fnmatch_loop.c (FCT): Only declare len if
2017         !WIDE_CHAR_VERSION to silence GCC.
2019         * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
2020         prototype.
2021         * sysdeps/generic/strchrnul.c: Likewise.
2022         * sysdeps/generic/strlen.c: Likewise.
2023         * sysdeps/generic/strchr.c: Likewise.
2024         * sysdeps/generic/memchr.c: Likewise.
2026 2000-07-04  Ulrich Drepper  <drepper@redhat.com>
2028         * posix/fnmatch_loop.c: Implement equivalence class handling.
2029         * posix/tst-fnmatch.input: Add tests for equivalence class
2030         handling.
2032         * posix/fnmatch_loop.c: Improve performance for single-byte
2033         character sets by not using btowc.
2035         * posix/tst-fnmatch.input: Add tests for locale dependent
2036         behaviour.
2037         * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
2039         * posix/tst-fnmatch.input: Add more test cases.
2041         * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
2042         are not aligned to alignof(md5_uint32) do it before calling
2043         __md5_process_bytes.
2044         * crypt/md5.c: Make sure buffers are aligned.
2045         * crypt/md5.h: Likewise.
2046         Reported by Solar Designer <solar@false.com>.
2048         * crypt/Makefile: Add dependencies for test programs.
2050         * Rules: Define LC_ALL=C in environments of all programs we run.
2052         * intl/tst-gettext.sh (LC_ALL): Define to C and export.
2054 2000-07-03  H.J. Lu  <hjl@gnu.org>
2056         * locale/programs/ld-ctype.c (ctype_output): The size of iov
2057         is 2 + elem + offset, not 2 + elem + offset + 2.
2059 2000-07-04  Ulrich Drepper  <drepper@redhat.com>
2061         * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
2062         suite.
2063         * posix/Makefile (tests): Add tst-fnmatch.
2064         (tst-fnmatch-ENV): Define.
2065         * posix/tst-fnmatch.c: New file.
2066         * posix/tst-fnmatch.sh: New file.
2068 2000-07-04  NIIBE Yutaka  <gniibe@chroot.org>
2070         * locale/programs/charmap.c (charmap_read): Prepend
2071         the condition filename == NULL.
2073 2000-07-03  Greg McGary  <greg@mcgary.org>
2075         * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
2077         * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
2078         ($(objpfx)b$(start-installed-name)): Add non-elf rule.
2080         * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
2081         * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
2082         (FILEBUF_LITERAL): Add cast for CHAIN init.
2083         * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
2084         (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2085         Revert type of `fp' to _IO_FILE*.
2086         (_IO_iter_file): Remove cast.
2087         (_IO_iter_next): Elide intermediate member reference.
2089         * sysdeps/powerpc/strchr.S:  Check bounds.
2090         Wrap extern symbols in BP_SYM ().
2092 2000-07-03  Andreas Jaeger  <aj@suse.de>
2094         * dlfcn/Makefile (generated): New.
2096 2000-07-03  Ulrich Drepper  <drepper@redhat.com>
2098         * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
2099         (__uflow): Likewise.
2100         (__underflow): Likewise.
2101         * libio/wgenops.c (__wunderflow): Likewise.
2102         * stdio-common/tst-unbputc.c: New file.
2103         * stdio-common/tst-unbputc.sh: New file.
2104         * stdio-common/Makefile: Add rules to build and run tst-unbputc.
2106         * po/en_GB.po: New file.
2107         Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
2109 2000-07-01  Andreas Jaeger  <aj@suse.de>
2111         * intl/Makefile (generated-dirs): New.
2113         * elf/Makefile (generated): trusted-dirs.h is always generated,
2114         move out of build-shared condition.
2115         (generated): Merge the two entries for build-shared.
2117 2000-07-01  Ulrich Drepper  <drepper@redhat.com>
2119         * debug/Makefile (distribute): Add xtrace.sh.
2121 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
2123         * version.h (VERSION): Bump to 2.1.91.
2125         * configure.in: Update warning comment.  glibc should not be
2126         broken anymore.
2128         * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content.  Add
2129         ioperm.c, sys/procfs.h, and sys/io.h.
2131         * sysdeps/powerpc/Dist: Add bp-asm.h.
2133         * assert/Depend: Add localedata.
2134         * assert/Makefile (test-assert-ENV): New.  Define LANGUAGE=C.
2135         (test-assert-perr-ENV): New.  Define LANGUAGE=C.
2137         * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
2138         R_ALPHA_REFQUAD]: Use memcpy to load and store value from
2139         relocation address to prevent unaligned trap.
2140         Suggested by Richard Henderson <rth@cygnus.com>.
2142 2000-06-30  Jakub Jelinek  <jakub@redhat.com>
2144         * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
2145         if redirecting and either redirection is done using defines or
2146         not optimizing.
2148 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
2150         * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
2151         generated expressions.
2152         Patch by Darren McClelland <dmcclell@zetec.com>.
2154         * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
2155         since zic uses setlocale and gettext but we cannot make it use the
2156         new locale data since zic calls a shell which might not use the
2157         new libc.
2159         * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
2160         handling the internation currency symbol.  POSIX says that the
2161         fourth character is used to separate the currency symbol from the
2162         value.  Therefore it does not have to be printed.  But we cannot
2163         remove the space if the currency symbol is printed before the
2164         number since this is what many locales expect.
2166         * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
2167         whether this information is available.
2169         * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
2170         buffers in case the translation is too large.  Remember allocated
2171         memory blocks in a list.
2172         (free_mem): Free memory for translations.
2174         * intl/tst-gettext.c: Use correct locale.  Improve error messages.
2176         * locale/programs/ld-ctype.c (ctype_output): If no default_missing
2177         information is available set the string length to zero.
2179         * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
2181 2000-06-30  Greg McGary  <greg@mcgary.org>
2183         * sysdeps/powerpc/bp-asm.h: New file.
2184         * sysdeps/powerpc/__longjmp.S:  Check bounds.
2185         Wrap extern symbols in BP_SYM ().
2186         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
2187         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
2188         * sysdeps/powerpc/setjmp.S: Likewise.
2189         * sysdeps/powerpc/add_n.S: Likewise.
2190         * sysdeps/powerpc/addmul_1.S: Likewise.
2191         * sysdeps/powerpc/lshift.S: Likewise.
2192         * sysdeps/powerpc/rshift.S: Likewise.
2193         * sysdeps/powerpc/mul_1.S: Likewise.
2194         * sysdeps/powerpc/sub_n.S: Likewise.
2195         * sysdeps/powerpc/submul_1.S: Likewise.
2196         * sysdeps/powerpc/strlen.S: Likewise.
2197         * sysdeps/powerpc/memset.S: Likewise.
2198         * sysdeps/powerpc/stpcpy.S: Likewise.
2199         * sysdeps/powerpc/strcmp.S: Likewise.
2200         * sysdeps/powerpc/strcpy.S: Likewise.
2201         * sysdeps/powerpc/elf/bzero.S: Likewise.
2203         * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
2204         Line up operands column with tabs.
2206 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
2208         * elf/Makefile (LDFLAGS-origtest): Actually add it.
2210         * sysdeps/ia64/htonl.S: New file.
2211         * sysdeps/ia64/htons.S: New file.
2212         * sysdeps/ia64/memcpy.S: Replace with version which does not use
2213         floating point registers.
2214         Patches by Dan Pop <Dan.Pop@cern.ch>.
2216 2000-06-30  Andreas Jaeger  <aj@suse.de>
2218         * posix/Makefile (tests): tst-exec and tst-spawn only work with
2219         shared libraries.
2221         * io/Makefile (CFLAGS-test-lfs.c): New.
2222         (tests): Add test-lfs.
2224         * io/test-lfs.c: New file.
2226 2000-06-30  Jakub Jelinek  <jakub@redhat.com>
2228         * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
2229         instruction.
2231 2000-06-29  David Mosberger-Tang  <davidm@hpl.hp.com>
2233         * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
2235 2000-06-29  Jes Sorensen  <jes@linuxcare.com>
2237         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
2238         alias to the fstatfs call.
2240         * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
2241         * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
2243         * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
2244         * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
2246         * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
2247         * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
2248         * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
2249         * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
2251         * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
2252         * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
2254         * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
2255         * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
2257         * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
2258         * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
2260         * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
2262 2000-06-29  Andreas Jaeger  <aj@suse.de>
2264         * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
2265         with syslog.
2266         (print_err_message): Likewise.
2267         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
2269 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
2271         * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
2272         used as words is properly aligned.
2274         * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
2275         data files.
2277 2000-06-29  Greg McGary  <greg@mcgary.org>
2279         * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
2280         * sysdeps/unix/make-syscalls.sh: Handle signatures of
2281         length 7..9, just in case...
2282         * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
2284         * sysdeps/i386/bp-asm.h (PCOFF): New constant.
2285         (POP_ERRNO_LOCATION_RETURN): Fold insns.
2286         * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
2287         (PUSH_SIGNAL_MASK): New macro.
2288         * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
2289         LEAVE is unnecessary.  Check bounds of jmp_buf.
2290         * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK.  Wrap symbols
2291         in BP_SYM ().  Check bounds of jmp_buf.  Don't call LEAVE until
2292         immediately before tail-call.
2293         * sysdeps/i386/setjmp.S: Likewise.
2294         * sysdeps/i386/bsd-_setjmp.S: Likewise.
2295         * sysdeps/i386/bsd-setjmp.S: Likewise.
2297 2000-06-29  Jakub Jelinek  <jakub@redhat.com>
2299         * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
2300         versioned_symbol.
2301         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2302         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2303         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2304         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2305         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2306         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2307         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
2308         * shlib-versions: Make sparc64 GLIBC_2.2+ only.
2310 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
2312         * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
2313         we later need to calling free().
2314         Patch by Matt Wilson <msw@redhat.com>.
2316         * stdio-common/tst-printf.c: Add test for above problem.
2318 2000-06-27  David Mosberger-Tang  <davidm@hpl.hp.com>
2320         * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
2321         * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
2323 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
2325         * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
2326         prototype for abs().
2327         * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
2329 2000-06-23  Andreas Jaeger  <aj@suse.de>
2331         * config.h.in: Don't use regparm with bounded pointers.
2333 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
2335         * stdlib/grouping.h: Correctly handle multibyte thousands
2336         separator and decimal point.
2337         * stdlib/stdtod.c: Likewise.
2338         * sysdeps/generic/strtol.c: Likewise.
2340         * locale/categories.def: Add entries for wide character decimal point
2341         and thousands separator in numeric and monetary category.
2343 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
2345         * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
2346         second definition and initialization of decimal.
2348 2000-06-28  Greg McGary  <greg@mcgary.org>
2350         * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
2351         out.
2352         (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
2353         * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
2354         in.
2355         (_IO_JUMPS): Don't cast THIS--expect arg to be a
2356         (struct _IO_FILE_plus *).
2357         (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
2358         THIS, since _IO_JUMPS no longer does it implicitly.
2359         (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
2360         arg type as (struct _IO_FILE_plus *).
2361         (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
2362         arg as (_IO_strfile *).
2363         * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
2364         Declare 1st arg as (_IO_strfile *).
2365         * libio/fileops.c (_IO_new_file_init): Declare
2366         arg type as (struct _IO_FILE_plus *).
2367         * libio/oldfileops.c (_IO_old_file_init): Likewise.
2368         * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
2369         (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2370         Declare iteration pointer as (struct _IO_FILE_plus *).
2371         (_IO_iter_next, _IO_iter_file): _IO_ITER is now
2372                 (struct _IO_FILE_plus *).
2373         * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
2374         * libio/oldstdfiles.c (_IO_list_all): Likewise.
2375         (_IO_check_libio): Set user-visible handles to
2376         (struct _IO_FILE_plus *).
2377         * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
2378         to (struct _IO_FILE_plus *).
2380         * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
2381         whose high bound includes vtable to all functions that will use
2382         vtable.  For streambufs, pass pointer whose bounds include struct
2383         _IO_strfile.
2384         * libio/wgenops.c (_IO_wdefault_finish): Likewise.
2385         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2386         * libio/iofopen.c (_IO_new_fopen): Likewise.
2387         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2388         * libio/iofopen64.c (_IO_fopen64): Likewise.
2389         * libio/iopopen.c (_IO_new_popen): Likewise.
2390         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2391         * libio/memstream.c (open_memstream): Likewise.
2392         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2393         * libio/iovsprintf.c (_IO_vsprintf): Likewise.
2394         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2395         * libio/iofopncook.c (_IO_cookie_init): Likewise.
2396         * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
2397         * libio/vasprintf.c (_IO_vasprintf): Likewise.
2398         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2399         * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2400         * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2401         * stdlib/strfmon.c (__strfmon_l): Likewise.
2402         * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
2403         (vfprintf): Qualify computed-goto targets as unbounded.
2405 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
2407         * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
2408         thousands separator correctly.
2410         * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
2411         * stdio-common/vfwscanf.c: Likewise.
2413 2000-06-27  Jes Sorensen  <jes@linuxcare.com>
2415         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
2416         count into signatures for most calls.
2418 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
2420         * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed.  We can use
2421         the generic parser now.
2423 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
2425         * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted.  Hash
2426         table entries are 32 bit on the ia64 (as specified by the ABI),
2427         not 64 bit as on the Alpha.
2429         * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
2430         change of objects to use 32 bit hash table indices (see above).
2432 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
2434         * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
2435         prototype for abs().
2437 2000-06-28  Wolfram Gloger  <wg@malloc.de>
2439         * malloc/malloc.c (chunk_alloc): If extension of the linear heap
2440         fails, try mmap_chunk() as a last resort even though n_mmaps_max
2441         may have been reached.
2443 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
2445         * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
2446         symbols in multi-character weights correctly.
2448         * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
2449         depending on whether the input string is empty or not.
2451         * wcsmbs/mbrtowc.c: Calling function without input means clearing the
2452         given state and not avoiding this by modifying a local object.
2453         * wcsmbs/wcrtomb.c: Likewise.
2455         * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
2456         object since some incomplete characters might be in there.
2458         * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
2459         sequences with first byte 0x8e correctly.
2461         * iconvdata/jis0208.h: Remove redundant test.
2463 2000-06-27  Ulrich Drepper  <drepper@redhat.com>
2465         * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
2466         Add it where it is needed now.
2468         * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
2469         the input charset into account when generating the hash table.
2470         (allocate_arrays): Correct setting default width.  Not all empty slots
2471         in the table are filled, only those not covert explicitly by the
2472         locale description and in the charset.
2474         * wctype/towctrans.c (__towctrans): Be graceful and accept error
2475         return values from the wctrans function.
2477         * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
2478         wide character version.
2479         For %C handling, test correct pointer variable for NULL.
2481         * wcsmbs/wctob.c: Handle WEOF special.
2483         * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
2485         * wctype/wctype.h: Protect gcc-isms with __extension__.  Avoid
2486         always-true test to avoid warning.
2488 2000-06-27  Greg McGary  <greg@mcgary.org>
2490         * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
2491         * include/libc-symbols.h (weak_extern): Add extra level of expansion.
2492         (symbol_version, default_symbol_version): Factor redundant
2493         definitions out of conditional.
2495 2000-06-27  Jakub Jelinek  <jakub@redhat.com>
2497         * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
2498         not obstack_blank.
2500 2000-06-26  Ulrich Drepper  <drepper@redhat.com>
2502         * include/libc-symbols.h (symbol_version): Add extra level of
2503         macro expansion.
2504         (default_symbol_version): Likewise.
2506 2000-06-26  Greg McGary  <greg@mcgary.org>
2508         * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
2509         for BP return value & push implicit struct-return pointer to
2510         __errno_location.
2511         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2512         (SYSCALL_ERROR_HANDLER): Likewise.
2513         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
2514         (SYSCALL_ERROR_HANDLER): Likewise.
2516         * Makeconfig: Add missing comment.
2517         * csu/Makefile (extra-objs, omit-deps, install-lib): Add
2518         BP-flavored startup object.
2519         ($(objpfx)b$(start-installed-name)): New rule.
2520         * include/libc-symbols.h (symbol_set_declare): Change type
2521         of `__start_##set' and `__stop_##set' to pointer-to-function.
2522         (symbol_set_declare): Change type of `set' to array of
2523         pointer-to-function.
2524         * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
2525         pointer-to-function.
2527         * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
2529         * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
2530         Remove clock_* and timer_* entries.
2531         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
2532         arg-count with signatures.
2534         * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
2535         Check bounds of arguments.
2536         * sysdeps/i386/addmul_1.S: Likewise.
2537         * sysdeps/i386/lshift.S: Likewise.
2538         * sysdeps/i386/mul_1.S: Likewise.
2539         * sysdeps/i386/rshift.S: Likewise.
2540         * sysdeps/i386/sub_n.S: Likewise.
2541         * sysdeps/i386/submul_1.S: Likewise.
2542         * sysdeps/i386/i586/add_n.S: Likewise.
2543         * sysdeps/i386/i586/addmul_1.S: Likewise.
2544         * sysdeps/i386/i586/lshift.S: Likewise.
2545         * sysdeps/i386/i586/rshift.S: Likewise.
2546         * sysdeps/i386/i586/sub_n.S: Likewise.
2547         * sysdeps/i386/i686/add_n.S: Likewise.
2549         * sysdeps/i386/memchr.S: Likewise.
2550         * sysdeps/i386/memcmp.S: Likewise.
2551         * sysdeps/i386/rawmemchr.S: Likewise.
2552         * sysdeps/i386/i586/bzero.S: Likewise.
2553         * sysdeps/i386/i586/memcpy.S: Likewise.
2554         * sysdeps/i386/i586/mempcpy.S: Likewise.
2555         * sysdeps/i386/i586/memset.S: Likewise.
2556         * sysdeps/i386/i686/bzero.S: Likewise.
2557         * sysdeps/i386/i686/memcpy.S: Likewise.
2558         * sysdeps/i386/i686/mempcpy.S: Likewise.
2559         * sysdeps/i386/i686/memset.S: Likewise.
2561         * sysdeps/i386/stpcpy.S: Likewise.
2562         * sysdeps/i386/stpncpy.S: Likewise.
2563         * sysdeps/i386/strchr.S: Likewise.
2564         * sysdeps/i386/strchrnul.S: Likewise.
2565         * sysdeps/i386/strcspn.S: Likewise.
2566         * sysdeps/i386/strpbrk.S: Likewise.
2567         * sysdeps/i386/strrchr.S: Likewise.
2568         * sysdeps/i386/strspn.S: Likewise.
2569         * sysdeps/i386/strtok.S: Likewise.
2570         * sysdeps/i386/strtok_r.S: Likewise.
2571         * sysdeps/i386/i486/strcat.S: Likewise.
2572         * sysdeps/i386/i486/strlen.S: Likewise.
2573         * sysdeps/i386/i586/strchr.S: Likewise.
2574         * sysdeps/i386/i586/strcpy.S: Likewise.
2575         * sysdeps/i386/i586/strlen.S: Likewise.
2576         * sysdeps/i386/i686/strcmp.S: Likewise.
2577         * sysdeps/i386/i686/strtok.S: Likewise.
2578         * sysdeps/i386/i686/strtok_r.S: Likewise.
2580         * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
2581         * sysdeps/i386/fpu/fesetenv.c: Likewise.
2582         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2583         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2584         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2586         * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
2587         * sysdeps/i386/mul_1.S: Likewise.
2588         * sysdeps/i386/submul_1.S: Likewise.
2589         * sysdeps/i386/i586/add_n.S: Likewise.
2590         * sysdeps/i386/i586/addmul_1.S: Likewise.
2591         * sysdeps/i386/i586/lshift.S: Likewise.
2592         * sysdeps/i386/i586/mul_1.S: Likewise.
2593         * sysdeps/i386/i586/rshift.S: Likewise.
2594         * sysdeps/i386/i586/sub_n.S: Likewise.
2595         * sysdeps/i386/i586/submul_1.S: Likewise.
2597 2000-06-26  Ulrich Drepper  <drepper@redhat.com>
2599         * rt/Makefile (librt-routines): Add clock_nanosleep.
2600         * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
2601         * sysdeps/generic/clock_nanosleep.c: New file.
2602         * sysdeps/unix/clock_nanosleep.c: New file.
2603         * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
2604         * time/time.h: Declare clock_nanosleep.
2606 2000-06-26  Greg McGary  <greg@mcgary.org>
2608         * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
2609         INSN1, INSN2, TEXT, GLOBL): Remove macros.
2610         (ALIGN): Cleanup surrounding conditionals.
2612         * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
2613         Call ENTER/LEAVE macros.
2614         * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
2615         * sysdeps/i386/submul_1.S: Likewise.
2617         * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
2618         syntax.  Define & use symbolic argument stack offsets.  Call
2619         ENTER/LEAVE macros.
2620         * sysdeps/i386/i586/mul_1.S: Likewise.
2621         * sysdeps/i386/i586/submul_1.S: Likewise.
2623 2000-06-25  Greg McGary  <greg@mcgary.org>
2625         * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
2626         not as bcopy.
2628 2000-06-25  Ulrich Drepper  <drepper@redhat.com>
2630         * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
2631         * iconvdata/gen-8bit-gap.sh: Likewise.
2632         * iconvdata/gen-8bit.sh: Likewise.
2634         * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
2636         * locale/programs/ld-collate.c (collate_read): Don't actually read
2637         the copy locale if we are ignoring the content.
2639         * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
2640         unknown character.
2642         * locale/programs/ld-collate.c: Correct handling of different
2643         collation sections.
2644         * locale/programs/localedef.c (add_to_readlist): Take locale pointer
2645         as extra parameter from which to copy category information.
2646         Change all callers.
2647         (load_locale): Likewise.
2648         * locale/programs/localedef.h: Update prototypes of add_to_readlist
2649         and load_locale.
2650         * locale/programs/ld-ctype.c: Update call to add_to_readlist.
2651         * locale/programs/locfile.h: Likewise.
2652         * locale/programs/locfile-kw.gperf: Add entry for script.
2653         * locale/programs/locfile-token.h: Add tok_script.
2655         * locale/programs/locale.c: Update copyright year.
2656         * locale/programs/localedef.c: Likewise.
2658 2000-06-23  Thorsten Kukuk  <kukuk@suse.de>
2660         * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
2661         Jens Moeller <jens.moeller@waii.com>.
2663 2000-06-24  Ulrich Drepper  <drepper@redhat.com>
2665         * locale/programs/ld-name.c (name_finish): Add missing format
2666         specifier to test for name_fmt.
2668         * locale/programs/ld-address.c (iso639): Correct length of string
2669         elements.
2670         (iso3166): Likewise.
2672         * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
2674         * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
2675         Define.
2677         * elf/elf.h (NT_PRFPXREG): Define.
2679 2000-06-23  Ulrich Drepper  <drepper@redhat.com>
2681         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
2682         PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
2684 2000-06-23  Andreas Schwab  <schwab@suse.de>
2686         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
2687         with signatures.
2689 2000-06-23  Andreas Jaeger  <aj@suse.de>
2691         * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
2693         * io/test-stat.c: Add copyright header, mention Maciej.
2695         * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
2696         SYS_mincore, SYS_madvise): Added.
2698         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
2699         execve.
2701 2000-06-22  Ulrich Drepper  <drepper@redhat.com>
2703         * libio/Makefile (tests): Add tst-getwc and tst_putwc.
2704         (CFLAGS-tst_putwc.c): New definition.
2705         * libio/tst_getwc.c: New file.
2706         * libio/tst_getwc.input: New file.
2707         * libio/tst_putwc.c: New file.
2709         * include/string.h: Add prototype for __strdup.
2711 2000-06-22  Greg McGary  <greg@mcgary.org>
2713         * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
2714         * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
2715         Fix signatures.
2717 2000-06-23  Jes Sorensen  <jes@linuxcare.com>
2719         * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
2721 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
2723         * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
2725 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
2727         * shlib-versions: Bump so versions to 6.1 for libc and libm on the
2728         ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
2730 2000-06-22  Ulrich Drepper  <drepper@redhat.com>
2732         * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
2733         * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
2734         and __S_TYPEISSHM.
2735         * sysdeps/mach/hurd/bits/stat.h: Likewise.
2736         * sysdeps/unix/bsd/bits/stat.h: Likewise.
2737         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2738         * sysdeps/unix/sysv/bits/stat.h: Likewise.
2739         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2740         * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
2741         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2742         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2743         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2744         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2745         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2746         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2747         * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
2748         * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
2749         S_TYPEISSHM.
2751 2000-06-22  Andreas Jaeger  <aj@suse.de>
2753         * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
2754         with signatures.
2756         * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
2758         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
2760 2000-06-21  Ulrich Drepper  <drepper@redhat.com>
2762         * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
2763         ahead.
2765 2000-06-21  Greg McGary  <greg@mcgary.org>
2767         * Makerules (elide-routines.*, elide-bp-thunks):
2768         Define unconditionally.
2770 2000-06-21  Jes Sorensen  <jes@linuxcare.com>
2772         * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2774 2000-06-21  Andreas Jaeger  <aj@suse.de>
2776         * io/Makefile (tests): Add test-stat.
2777         (CFLAGS-test-stat.c): New.
2779         * io/test-stat.c: New file from Maciej W. Rozycki
2780         <macro@ds2.pg.gda.pl>.
2782 2000-06-21  Jes Sorensen  <jes@linuxcare.com>
2784         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
2785         in __rlimit_resource to make them match the kernel order.
2786         rlim_t is always 64 bit, use __rlim64_t to declare it
2787         unconditionally.
2789 2000-05-04  Jes Sorensen  <jes@linuxcare.com>
2791         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
2792         RLIM_INFINITY before defining it to avoid clash with kernel header
2794 2000-05-03  Jes Sorensen  <jes@linuxcare.com>
2796         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
2798 2000-06-21  Ulrich Drepper  <drepper@redhat.com>
2800         * sysdeps/unix/sysv/linux/ia64/Versions: New file.
2802 2000-06-21  Andreas Jaeger  <aj@suse.de>
2804         * stdio-common/temptest.c: Include <stdlib.h>.
2805         * stdio-common/tst-fileno.c: Likewise.
2806         * stdio-common/scanf4.c: Likewise.
2807         * stdio-common/scanf5.c: Likewise.
2808         * time/clocktest.c: Likewise.
2809         * posix/test-vfork.c: Likewise.
2810         * posix/globtest.c: Likewise.
2811         * io/test-utime.c: Likewise.
2812         * wctype/test_wcfuncs.c: Likewise.
2813         * crypt/cert.c: Likewise.
2815         * stdio-common/tst-printfsz.c: Include <string.h>.
2816         * libio/tst_swscanf.c: Likewise.
2817         * libio/tst_wscanf.c: Likewise.
2818         * posix/runtests.c: Likewise.
2819         * posix/tst-getaddrinfo.c: Likewise.
2820         * posix/wordexp-test.c: Likewise.
2821         * misc/tst-efgcvt.c: Likewise.
2823         * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
2824         * nss/test-netdb.c: Likewise.
2826         * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
2827         supported kernel for MIPS.
2829         * elf/vismod2.c: Include <stdlib.h> for abort prototype.
2830         * rt/aio_suspend.c: Likewise.
2832 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
2834         * math/libm-test.inc: Include <string.h>.
2836 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
2838         * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
2840 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
2842         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
2843         * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
2845 2000-06-20  David Mosberger-Tang  <davidm@hpl.hp.com>
2847         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
2849 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
2851         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
2853 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
2855         * locale/programs/ld-collate.c (insert_value): Now take string and
2856         length instead of struct token* parameter.  Adjust use of token.
2857         (handle_ellipsis): Likewise.
2858         (collate_read): Allow <Uxxxx> names and transform them into names
2859         to be passed to insert_value and handle_ellipsis.
2861         * locale/programs/ld-ctype.c (uninames): New array with names of
2862         digits in <Uxxxxxxxx> format.
2863         (ctype_finish): Correct search for space character value.  Likewise
2864         for default outdigits values.
2866 2000-06-20  Greg McGary  <greg@mcgary.org>
2868         * Makerules (objects): Add BP thunks.
2870 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
2872         * locale/programs/charmap.c (parse_charmap): Handle UCS names also
2873         in width definitions.
2875 2000-06-20  Andreas Jaeger  <aj@suse.de>
2877         * sysdeps/mips/fpu/libm-test-ulps: New file.
2879         * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2880         first.
2882         * sysdeps/mips/fpu/feholdexcpt.c: New file.
2884         * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2886 2000-06-19  Ulrich Drepper  <drepper@redhat.com>
2888         * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2889         change in gconv_builtin.h.
2891         * malloc/Makefile: Change all references to memprof into memusage.
2892         * malloc/memprof.c: Rename to...
2893         * malloc/memusage.c: ...this.  New file.
2894         * malloc/memprof.sh: Rename to...
2895         * malloc/memusage.sh: ...this.  New file.
2896         * malloc/memprofstat.c: Rename to...
2897         * malloc/memusagestat.c: ...this.  New file.
2898         * sysdeps/alpha/memprof.h: Rename to..
2899         * sysdeps/alpha/memusage.h: ...this.  New file.
2900         * sysdeps/arm/memprof.h: Rename to..
2901         * sysdeps/arm/memusage.h: ...this.  New file.
2902         * sysdeps/generic/memprof.h: Rename to..
2903         * sysdeps/generic/memusage.h: ...this.  New file.
2904         * sysdeps/i386/memprof.h: Rename to..
2905         * sysdeps/i386/memusage.h: ...this.  New file.
2906         * sysdeps/ia64/memprof.h: Rename to..
2907         * sysdeps/ia64/memusage.h: ...this.  New file.
2908         * sysdeps/m68k/memprof.h: Rename to..
2909         * sysdeps/m68k/memusage.h: ...this.  New file.
2910         * sysdeps/mips/memprof.h: Rename to..
2911         * sysdeps/mips/memusage.h: ...this.  New file.
2912         * sysdeps/powerpc/memprof.h: Rename to..
2913         * sysdeps/powerpc/memusage.h: ...this.  New file.
2914         * sysdeps/sparc/memprof.h: Rename to..
2915         * sysdeps/sparc/memusage.h: ...this.  New file.
2916         * sysdeps/sh/memprof.h: Rename to..
2917         * sysdeps/sh/memusage.h: ...this.  New file.
2919         * elf/sprof.c (print_version): Update year.
2921         * elf/sprof.c (load_shobj): Don't always add load address to dynamic
2922         table entry values.  Use D_PTR.
2923         * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
2924         binaries without PLT.  Patches by James Mathiesen <james@curl.com>.
2926 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
2928         * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2929         * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
2930         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
2931         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
2933 2000-05-05  Jes Sorensen  <jes@linuxcare.com>
2935         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
2937 2000-06-16  Jes Sorensen  <jes@linuxcare.com>
2939         * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
2940         * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
2941         * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
2943         * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
2945         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
2946         kernel change.
2948         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
2949         __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
2950         structure.
2951         Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
2952         implementation.
2954 2000-06-15  Jes Sorensen  <jes@linuxcare.com>
2956         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
2958 2000-06-08  Jes Sorensen  <jes@linuxcare.com>
2960         * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
2962 2000-06-19  Ulrich Drepper  <drepper@redhat.com>
2964         * iconv/gconv_int.h (strict gconv_module): Remove all members
2965         associated with regular expressions.  Use a simple string as the
2966         from name.
2967         * iconv/gconv_db.c: Remove code handling regular expressions.
2968         * iconv/gconv_conf.c: Likewise.
2969         * iconv/iconv_prog.c: Likewise.
2970         * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
2972         * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
2973         General namespace cleanup.
2974         (struct __gconv_trans_data): Add next field.
2975         (struct __gconv_step_data): Make __trans a pointer.
2976         * iconv/gconv_conf.c: Split out code to find gconv directories from
2977         __gconv_read_conf in new functions.
2978         * iconv/gconv_int.h: Define new data structure and declare new
2979         functions for handling of gconv directory list.
2980         * iconv/gconv_open.c: Allow more than one error handling step being
2981         used.  Call function to load error handling module if it is none
2982         of the builtin transformations.
2983         * iconv/gconv_close.c: Add code to free transliteration data.
2984         * iconv/gconv_trans.c: Add functions to load and unload modules
2985         implementing transliteration etc.
2986         * iconv/skeleton.c: Call all context functions now that more than
2987         one module is allowed.
2988         * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
2989         * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
2990         where the full error handling using transliteration is needed.
2991         * iconvdata/8bit-gap.c: Likewise.
2992         * iconvdata/8bit-generic.c: Likewise.
2993         * iconvdata/ansi_x3.110.c: Likewise.
2994         * iconvdata/big5.c: Likewise.
2995         * iconvdata/big5hkscs.c: Likewise.
2996         * iconvdata/euc-cn.c: Likewise.
2997         * iconvdata/euc-jp.c: Likewise.
2998         * iconvdata/euc-kr.c: Likewise.
2999         * iconvdata/euc-tw.c: Likewise.
3000         * iconvdata/gbgbk.c: Likewise.
3001         * iconvdata/gbk.c: Likewise.
3002         * iconvdata/iso-2022-cn.c: Likewise.
3003         * iconvdata/iso-2022-jp.c: Likewise.
3004         * iconvdata/iso-2022-kr.c: Likewise.
3005         * iconvdata/iso646.c: Likewise.
3006         * iconvdata/iso8859-1.c: Likewise.
3007         * iconvdata/iso_6937-2.c: Likewise.
3008         * iconvdata/iso_6937.c: Likewise.
3009         * iconvdata/johab.c: Likewise.
3010         * iconvdata/sjis.c: Likewise.
3011         * iconvdata/t.61.c: Likewise.
3012         * iconvdata/uhc.c: Likewise.
3013         * iconvdata/unicode.c: Likewise.
3014         * iconvdata/utf-16.c: Likewise.
3015         * libio/iofwide.c: Reset __trans member of __gconv_trans_data
3016         structure correctly after last change.
3017         * wcsmbs/btowc.c: Likewise.
3018         * wcsmbs/mbrtowc.c: Likewise.
3019         * wcsmbs/mbsnrtowcs.c: Likewise.
3020         * wcsmbs/mbsrtowcs.c: Likewise.
3021         * wcsmbs/wcrtomb.c: Likewise.
3022         * wcsmbs/wcsnrtombs.c: Likewise.
3023         * wcsmbs/wcsrtombs.c: Likewise.
3024         * wcsmbs/wctob.c: Likewise.
3026         * localedata/Makefile: Set -Wno-format for some files since gcc does
3027         not know all the format specifiers.
3029 2000-06-18  Ulrich Drepper  <drepper@redhat.com>
3031         * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
3032         unneeded code.
3033         * locale/lc-time.c (_nl_init_era_entries): Likewise.
3035 2000-06-18  Andreas Jaeger  <aj@suse.de>
3037         * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
3038         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
3040 2000-06-17  Ulrich Drepper  <drepper@redhat.com>
3042         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
3043         LINUX_LINK_MAX.
3044         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
3046         * locale/programs/ld-ctype.c (ctype_output): Really write out
3047         mboutdigits information.
3048         * localedata/tst-trans.c: Add code to test printf's I flag with locale.
3049         * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
3050         * localedata/tests/trans.def: Add outdigit information.
3052         * localedata/tst-mbswcs3.c: Remove comment.
3054         * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
3055         * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
3056         * libio/tst_wprintf.c (main): Add test for I flag.
3058         * iconv/gconv_trans.c: Implement handling if translit_ignore.
3059         * locale/langinfo.h: Add entries for translit_ignore information.
3060         * locale/categories.def: Add entries for new LC_CTYPE elements.
3061         * locale/C-ctype.c: Add initializers for new fields.  Use NULL
3062         pointer instead of "" where possible.
3063         * locale/programs/ld-ctype.c: Write out translit_ignore information.
3064         * intl/Depend: Add localedata.
3065         * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
3066         * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
3068 2000-06-16  Ulrich Drepper  <drepper@redhat.com>
3070         * locale/langinfo.h: Add entries for default_missing information.
3071         * locale/C-ctype.c: Add initializers for new fields.
3072         * iconv/gconv_trans.c: If nothing matched, try to use default_missing
3073         information.
3074         * locale/categories.h: Add entries for all LC_CTYPE values.
3075         * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
3076         information.
3078         * localedata/tst-trans.c: Write out an error message if class is
3079         not found.
3081         * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
3082         * iconv/gconv_open.c: Remove error handling specification from `from'
3083         character set name.
3084         * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
3085         new parameter to always enable transliteration.
3086         * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
3087         change.
3088         (struct locale_data): Add new members use_translit and options.
3089         * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
3090         character set name contained modifier TRANSLIT.
3091         * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
3092         and options fields.
3093         (_nl_unload_locale): Free options string if necessary.
3094         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
3095         the locale names suggested this.
3096         * locale/C-address.c: Add two new initialilzers to adjust data
3097         structure for new format.
3098         * locale/C-collate.c: Likewise.
3099         * locale/C-ctype.c: Likewise.
3100         * locale/C-identification.c: Likewise.
3101         * locale/C-measurement.c: Likewise.
3102         * locale/C-messages.c: Likewise.
3103         * locale/C-monetary.c: Likewise.
3104         * locale/C-name.c: Likewise.
3105         * locale/C-numeric.c: Likewise.
3106         * locale/C-paper.c: Likewise.
3107         * locale/C-telephone.c: Likewise.
3108         * locale/C-time.c: Likewise.
3110         * locale/setlocale.c: Add some more __builtin_expect.
3112 2000-06-15  Ulrich Drepper  <drepper@redhat.com>
3114         * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
3115         unsigned char **.
3116         (__gconv_init_fct): Remove two parameters.
3117         * iconv/gconv_int.h (__gconv_transliterate): Renamed from
3118         gconv_transliterate.  Remove two parameters.
3119         Change prototypes of builtin functions according to __gconv_fct change.
3120         * iconv/skeleton.c: Change type of fifth parameter.  make sure it is
3121         != NULL only during error handling.  Stop in this case after the
3122         conversion.
3123         * iconv/gconv_trans.c: Replace with real implementation for
3124         __gconv_transliterate.
3125         * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
3126         * iconv/gconv.c: Change calls to downstream functions once again.
3127         Use NULL for the fifth parameter instead of pointer to output buffer.
3128         * libio/iofwide.c: Likewise.
3129         * wcsmbs/btowc.c: Likewise.
3130         * wcsmbs/mbrtowc.c: Likewise.
3131         * wcsmbs/mbsnrtowcs.c: Likewise.
3132         * wcsmbs/mbsrtowcs.c: Likewise.
3133         * wcsmbs/wcrtomb.c: Likewise.
3134         * wcsmbs/wcsnrtombs.c: Likewise.
3135         * wcsmbs/wcsrtombs.c: Likewise.
3136         * wcsmbs/wctob.c: Likewise.
3137         * iconv/gconv_simple.c: Remove two parameters from error handling
3138         function call.
3139         * iconvdata/8bit-gap.c: Likewise.
3140         * iconvdata/8bit-generic.c: Likewise.
3141         * iconvdata/ansi_x3.110.c: Likewise.
3142         * iconvdata/big5.c: Likewise.
3143         * iconvdata/big5hkscs.c: Likewise.
3144         * iconvdata/euc-cn.c: Likewise.
3145         * iconvdata/euc-jp.c: Likewise.
3146         * iconvdata/euc-kr.c: Likewise.
3147         * iconvdata/euc-tw.c: Likewise.
3148         * iconvdata/gbgbk.c: Likewise.
3149         * iconvdata/gbk.c: Likewise.
3150         * iconvdata/iso-2022-cn.c: Likewise.
3151         * iconvdata/iso-2022-jp.c: Likewise.
3152         * iconvdata/iso-2022-kr.c: Likewise.
3153         * iconvdata/iso646.c: Likewise.
3154         * iconvdata/iso8859-1.c: Likewise.
3155         * iconvdata/iso_6937-2.c: Likewise.
3156         * iconvdata/iso_6937.c: Likewise.
3157         * iconvdata/johab.c: Likewise.
3158         * iconvdata/sjis.c: Likewise.
3159         * iconvdata/t.61.c: Likewise.
3160         * iconvdata/uhc.c: Likewise.
3161         * iconvdata/unicode.c: Likewise.
3162         * iconvdata/utf-16.c: Likewise.
3164 2000-06-15  Greg McGary  <greg@mcgary.org>
3166         * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
3167         of callnum assignment.  Tolerate callnum expressions containing
3168         parens.
3170 2000-06-14  Ulrich Drepper  <drepper@redhat.com>
3172         * login/Makefile (utmpd): Remove rule to build utmpd.
3174         * csu/Versions: Move libgcc frame handling functions from here...
3175         * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
3176         * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
3177         * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
3178         * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
3179         * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
3180         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
3181         New file.
3182         * sysdeps/mach/hurd/i386/Versions: ...and here.  New file.
3184         * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
3186         * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
3188 2000-06-14  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
3190         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
3191         compatibility.
3192         * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
3193         * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
3194         * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
3195         * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
3197 2000-06-14  Jakub Jelinek  <jakub@redhat.com>
3199         * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
3200         defined, terminate quotes and read them after the comment char.
3201         * configure.in (HAVE_SECTION_QUOTES): Test whether
3202         __attribute__((section ("x"))) puts quotes around x or not.
3203         * config.h.in (HAVE_SECTION_QUOTES): Add.
3204         * configure: Rebuilt.
3206 2000-06-14  Andreas Jaeger  <aj@suse.de>
3208         * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
3209         depending on the configure option --sysconfdir.
3210         Closes PR libc/1762.
3211         Patch by Andreas Schwab <schwab@suse.de>.
3213         * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
3214         entry point.
3215         Reported by Jim Pick <jim@jimpick.com>.
3217 2000-06-14  Ulrich Drepper  <drepper@redhat.com>
3219         * misc/syslog.c (vsyslog): Allow open_memstream to fail without
3220         crashing the application.  Emit some simple error message.
3221         Reported by mju@panasas.com [PR libc/1769].
3223 2000-06-13  Ulrich Drepper  <drepper@redhat.com>
3225         * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
3227         * crypt/Makefile (distribute): Add md5.h.
3229         * Makefile (distribute): Add include/shlib-compat.h.
3231         * Make-dist: Search for tests also in sysdeps hierachy.
3233         * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
3234         ufc.c, speeds.c, README.ufc-crypt, and Banner.
3236         * sysdeps/sparc/Subdirs: New file.
3238         * locale/Makefile (distribute): Add weightwc.h and
3239         programs/localedef.h.
3241         * time/Makefile (distribute): Add datemsk.
3243         * sysdeps/ia64/Dist: Add softpipe.h.
3245         * sysdeps/unix/sysv/aix/Dist: New file.
3247         * posix/setpgrp.c: Moved to...
3248         * sysdeps/generic/setpgrp.c: ...here.  New file.
3249         * io/mknod.c: Moved to...
3250         * sysdeps/generic/mknod.c: ...here.  New file.
3252         * sysdeps/unix/sysv/linux/ia64/Dist: New file.
3254         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
3256         * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
3258         * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
3259         gprsave0.S, gprrest1.S, and gprrest0.S.
3261         * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
3263         * posix/Makefile (routines): Add spawnattr_getsigmask,
3264         spawnattr_getschedpolicy, spawnattr_getschedparam,
3265         spawnattr_setsigmask, spawnattr_setschedpolicy, and
3266         spawnattr_setschedparam.
3267         * posix/Versions: Add posix_spawnattr_getschedpolicy,
3268         posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
3269         posix_spawnattr_setschedparam.
3271         * posix/spawnattr_setschedparam.c: Fix typo.
3273         * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
3274         Correct typo.
3276         * login/programs/utmpd.c: Removed.
3277         * login/programs/utmpd.h: Removed.
3278         * login/programs/utmpd-private.h: Removed.
3280         * Makefile (distribute): Add include/db_185.h and include/db.h.
3282         * iconvdata/Makefile (distribute): Add iso-ir-165.c and
3283         iso-ir-165.h.
3285         * elf/Makefile (distribute): Add missing files.
3287         * dlfcn/Makefile: Add back rules to include eval in libdl.so.
3288         * elf/eval.c: Moved to...
3289         * dlfcn/eval.c: ...here.  New file.
3291         * Makefile (distribute): Also distribute ChangeLog.1?.
3293         * Make-dist (+tsrcs): Remove .args handling here as well.
3295         * rt/Makefile (tests): Add tst-timer.
3296         * sysdeps/generic/tst-timer.c: New file.
3298         * Makerules (sources): Don't add BP sources here.
3300         * login/Makefile (distribute): Remove xtmp.h.
3302         * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
3303         is true.  Reported by Bruno Haible <haible@ilog.fr>.
3305 2000-06-13  Andreas Jaeger  <aj@suse.de>
3307         * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
3308         Patch by Ralf Baechle <ralf@gnu.org>.
3310 2000-06-13  Ulrich Drepper  <drepper@redhat.com>
3312         * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
3313         for mincore syscall.
3315         * misc/sys/cdefs.h: Define __bounded and __unbounded if
3316         __BOUNDED_POINTERS__ is not defined.
3318 2000-06-07  Greg McGary  <greg@mcgary.org>
3320         * sysdeps/generic/bp-sym.h: New file.
3321         * sysdeps/generic/bp-start.h: New file.
3322         * sysdeps/i386/elf/start.S: Designate BP symbols.
3323         * sysdeps/generic/libc-start.c: Wrap bounds around
3324         argv & envp and each of their string members.
3326 2000-06-07  Greg McGary  <greg@mcgary.org>
3328         * sysdeps/unix/make-syscalls.sh: Add comments to
3329         output that aid debugging & comprehension.
3330         Map simple syscall signatures to number of args.
3331         Generate BP syscall thunk definitions.
3332         * sysdeps/generic/bp-thunks.h: New file.
3333         * sysdeps/unix/syscalls.list: Replace arg-count with
3334         simple return+arg signature.
3335         * sysdeps/unix/common/syscalls.list: Likewise.
3336         * sysdeps/unix/inet/syscalls.list: Likewise.
3337         * sysdeps/unix/mman/syscalls.list: Likewise.
3338         * sysdeps/unix/sysv/syscalls.list: Likewise.
3339         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3340         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3342 2000-06-07  Greg McGary  <greg@mcgary.org>
3344         * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
3345         for all files *.[cS].
3346         (CFLAGS-.ob): Don't optimize sibling calls.
3347         (bppfx): New variable.
3348         * Makerules (elide-bp-thunks): New variable.
3349         (elide-routines.*): Elide BP-* files for all but *.ob.
3350         (sources): Include bp-thunks.
3352 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
3354         * iconv/gconv_simple.c: Remove unnecessary prototype.
3356         * iconv/gconv_trans.c: Pretty print.
3358         * elf/elf.h (R_SH_NUM): Got accidently dropped.
3360         * sysdeps/unix/sysv/linux/configure.in: Improve handling of
3361         minimal kernel versions.  Add information about IA-64 kernel.
3363         * sysdeps/unix/sysv/linux/configure.in: Allow architecture
3364         specific minimal supported kernel versions to be specified.
3366         * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
3367         step data structure.
3368         * wcsmbs/btowc.c: Likewise.
3369         * wcsmbs/mbrtowc.c: Likewise.
3370         * wcsmbs/mbsnrtowcs.c: Likewise.
3371         * wcsmbs/mbsrtowcs.c: Likewise.
3372         * wcsmbs/wcrtomb.c: Likewise.
3373         * wcsmbs/wcsnrtombs.c: Likewise.
3374         * wcsmbs/wcsrtombs.c: Likewise.
3375         * wcsmbs/wctob.c: Likewise.
3377         * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
3378         * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
3380         * shlib-versions: Earliest backward compatible version for SH is 2.2.
3382         * misc/sys/cdefs.h: Remove one more __P.
3384         * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
3385         Reported by HJ Lu.
3387         * sysdeps/sh/sh3/bits/setjmp.h: Removed.
3388         * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
3389         * sysdeps/sh/bits/setjmp.h: ...here.  New file.
3391 2000-06-12  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
3392             Yutaka Niibe  <gniibe@chroot.org>
3394         * configure.in: Add machine sh3, sh4.
3395         * elf/elf.h: Add SH specific declarations of relocations.
3396         * shlib-versions: Add sh*-*-linux* cases.
3398 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
3400         * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
3401         * sysdeps/sh/bsd-_setjmp.S: ...here.  New file.
3402         * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
3403         * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
3404         * sysdeps/sh/bsd-setjmp.S: ...here.  New file.
3405         * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
3407         * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
3408         instead of KERNEL_MATH_EMULATION.
3409         * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
3410         KERNEL_MATH_EMULATION.
3412         * sysdeps/sh/Dist: Removed.  There is no ieee754.h file.
3413         * sysdeps/sh/sh3/dl-machine.h: Moved to...
3414         * sysdeps/sh/dl-machine.h: ...here.  New file.
3415         * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
3416         and include generic SH version.
3417         * sysdeps/sh/sh3/bits/endian.h: Move to...
3418         * sysdeps/sh/bits/endian.h: ...here.  New file.
3419         * sysdeps/sh/sh4/bits/endian.h: Removed.
3420         * sysdeps/sh/sh3/bits/huge_val.h: Move to...
3421         * sysdeps/sh/bits/huge_val.h: ...here.  New file.
3422         * sysdeps/sh/sh4/bits/huge_val.h: Removed.
3424         * include/libc-symbols.h (link_warning): Work around a change in
3425         GAS which warns about changing section attributes.
3426         Proposed by Nick Clifton <nickc@redhat.com>.
3428 2000-06-12  H.J. Lu  <hjl@gnu.org>
3430         * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
3432 2000-06-11  H.J. Lu  <hjl@gnu.org>
3434         * sysdeps/i386/fpu/Versions: New file.
3436 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
3438         * iconv/gconv.h (__gconv_trans_context_fct): Remove two
3439         parameters.
3440         * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
3441         exists.
3443 2000-06-12  Jes Sorensen  <jes@linuxcare.com>
3445         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
3446         * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
3447         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
3449         * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
3450         * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
3451         * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
3453 2000-06-12  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
3454             Yutaka Niibe  <gniibe@chroot.org>
3456         * sysdeps/sh/Dist: New file.
3457         * sysdeps/sh/Implies: New file.
3458         * sysdeps/sh/elf/initfini.c: New file.
3459         * sysdeps/sh/gmp-mparam.h: New file.
3460         * sysdeps/sh/init-first.c: New file.
3461         * sysdeps/sh/machine-gmon.h: New file.
3462         * sysdeps/sh/memcpy.S: New file.
3463         * sysdeps/sh/memprof.h: New file.
3464         * sysdeps/sh/memset.S: New file.
3465         * sysdeps/sh/sh3/__longjmp.S: New file.
3466         * sysdeps/sh/sh3/bits/endian.h: New file.
3467         * sysdeps/sh/sh3/bits/huge_val.h: New file.
3468         * sysdeps/sh/sh3/bits/setjmp.h: New file.
3469         * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
3470         * sysdeps/sh/sh3/bsd-setjmp.S: New file.
3471         * sysdeps/sh/sh3/dl-machine.h: New file.
3472         * sysdeps/sh/sh3/setjmp.S: New file.
3473         * sysdeps/sh/sh4/__longjmp.S: New file.
3474         * sysdeps/sh/sh4/bits/endian.h: New file.
3475         * sysdeps/sh/sh4/bits/huge_val.h: New file.
3476         * sysdeps/sh/sh4/bits/setjmp.h: New file.
3477         * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
3478         * sysdeps/sh/sh4/bsd-setjmp.S: New file.
3479         * sysdeps/sh/sh4/dl-machine.h: New file.
3480         * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
3481         * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
3482         * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
3483         * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
3484         * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
3485         * sysdeps/sh/sh4/fpu/fegetround.c: New file.
3486         * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
3487         * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
3488         * sysdeps/sh/sh4/fpu/fesetround.c: New file.
3489         * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
3490         * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
3491         * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
3492         * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
3493         * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
3494         * sysdeps/sh/sh4/setjmp.S: New file.
3495         * sysdeps/sh/elf/start.S: New file.
3496         * sysdeps/sh/sys/ucontext.h: New file.
3497         * sysdeps/sh/strlen.S: New file.
3498         * sysdeps/sh/sysdep.h: New file.
3499         * sysdeps/unix/sh/sysdep.S: New file.
3500         * sysdeps/unix/sh/sysdep.h: New file.
3501         * sysdeps/unix/sysv/linux/sh/Dist: New file.
3502         * sysdeps/unix/sysv/linux/sh/Makefile: New file.
3503         * sysdeps/unix/sysv/linux/sh/Versions: New file.
3504         * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
3505         * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
3506         * sysdeps/unix/sysv/linux/sh/brk.c: New file.
3507         * sysdeps/unix/sysv/linux/sh/chown.c: New file.
3508         * sysdeps/unix/sysv/linux/sh/clone.S: New file.
3509         * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
3510         * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
3511         * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
3512         * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
3513         * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
3514         * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
3515         * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
3516         * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
3517         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
3518         * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
3519         * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
3520         * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
3521         * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
3522         * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
3523         * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
3524         * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
3525         * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
3526         * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
3527         * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
3528         * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
3529         * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
3530         * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
3531         * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
3532         * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
3533         * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
3534         * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
3535         * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
3536         * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
3537         * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
3538         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
3539         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
3540         * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
3541         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
3542         * sysdeps/unix/sysv/linux/sh/socket.S: New file.
3543         * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
3544         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3545         * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
3546         * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
3547         * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
3548         * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
3549         * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
3550         * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
3552 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
3554         * Rules (%.out): Define GCONV_PATH in the environment.
3555         * assert/Depend: New file.
3556         * iconvdata/Depend: New file.
3557         * intl/Depend: New file.
3558         * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
3559         * intl/tst-gettext.sh: Likewise.
3560         * iconv/Makefile (routines): Add gconv_trans.
3561         * iconv/gconv_trans.c: New file.
3562         * iconv/gconv.h (struct __gconv_trans_data): New type.
3563         (__gconv_fct): New parameter with starting position in output buffer.
3564         (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
3565         __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
3566         (struct __gconv_step): Add new member __trans.
3567         * iconv/gconv_int.h: Pretty print prototypes.
3568         (gconv_transliterate): New prototype.
3569         (__BUILTIN_TRANS): Update for new conversion function interface.
3570         * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
3571         * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
3572         in names, find appropriate function, and install in the conversion
3573         steps it can be used.
3574         * iconv/skeleton.c: Add additional parameter for beginning of output
3575         buffer.  Change calls of downstream functions.
3576         * iconv/loop.c: Change loop function interface completely.  Pass in
3577         step and step_data structure.  Remove optimization for BODY with
3578         NEED_LENGTH_TEST == 0.
3579         * iconv/gconv_simple.c: Update interfaces of functions.  Insert
3580         appropriate error handling code to use transliteration steps.  Remove
3581         optimization for BODY with NEED_LENGTH_TEST == 0.
3582         * iconvdata/8bit-gap.c: Likewise.
3583         * iconvdata/8bit-generic.c: Likewise.
3584         * iconvdata/ansi_x3.110.c: Likewise.
3585         * iconvdata/big5.c: Likewise.
3586         * iconvdata/big5hkscs.c: Likewise.
3587         * iconvdata/euc-cn.c: Likewise.
3588         * iconvdata/euc-jp.c: Likewise.
3589         * iconvdata/euc-kr.c: Likewise.
3590         * iconvdata/euc-tw.c: Likewise.
3591         * iconvdata/gbgbk.c: Likewise.
3592         * iconvdata/gbk.c: Likewise.
3593         * iconvdata/iso-2022-cn.c: Likewise.
3594         * iconvdata/iso-2022-jp.c: Likewise.
3595         * iconvdata/iso-2022-kr.c: Likewise.
3596         * iconvdata/iso646.c: Likewise.
3597         * iconvdata/iso8859-1.c: Likewise.
3598         * iconvdata/iso_6937-2.c: Likewise.
3599         * iconvdata/iso_6937.c: Likewise.
3600         * iconvdata/johab.c: Likewise.
3601         * iconvdata/sjis.c: Likewise.
3602         * iconvdata/t.61.c: Likewise.
3603         * iconvdata/uhc.c: Likewise.
3604         * iconvdata/unicode.c: Likewise.
3605         * iconvdata/utf-16.c: Likewise.
3606         * libio/iofwide.c: Adjust to new interface of gconv functions.  Use
3607         DL_CALL_FCT.
3608         * wcsmbs/btowc.c: Likewise.
3609         * wcsmbs/mbrtowc.c: Likewise.
3610         * wcsmbs/mbsnrtowcs.c: Likewise.
3611         * wcsmbs/mbsrtowcs.c: Likewise.
3612         * wcsmbs/wcrtomb.c: Likewise.
3613         * wcsmbs/wcsnrtombs.c: Likewise.
3614         * wcsmbs/wcsrtombs.c: Likewise.
3615         * wcsmbs/wctob.c: Likewise.
3617 2000-04-11  Geoff Keating  <geoffk@cygnus.com>
3619         * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
3620         other header files.  Mention about 128-byte cache line sizes.
3621         (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
3622         * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
3623         for current calling sequence.
3624         * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
3626         * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
3627         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3629         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
3630         and setrlimit syscalls for backwards compatibility.
3632 2000-06-10  Ulrich Drepper  <drepper@redhat.com>
3634         * iconv/skeleton.c:  Rename converted written to correcter name
3635         irreversible.
3636         * iconv/gconv.c: Rename converted variable to correcter name
3637         irreversible.
3638         * iconv/gconv_int.h: Likewise.
3639         * iconv/gconv_simple.c: Likewise.
3640         * iconv/iconv.c: Likewise.
3641         * iconv/loop.c: Likewise.
3642         * iconvdata/8bit-gap.c: Likewise.
3643         * iconvdata/8bit-generic.c: Likewise.
3644         * iconvdata/ansi_x3.110.c: Likewise.
3645         * iconvdata/big5.c: Likewise.
3646         * iconvdata/big5hkscs.c: Likewise.
3647         * iconvdata/euc-cn.c: Likewise.
3648         * iconvdata/euc-jp.c: Likewise.
3649         * iconvdata/euc-kr.c: Likewise.
3650         * iconvdata/gbgbk.c: Likewise.
3651         * iconvdata/gbk.c: Likewise.
3652         * iconvdata/iso-2022-cn.c: Likewise.
3653         * iconvdata/iso-2022-jp.c: Likewise.
3654         * iconvdata/iso-2022-kr.c: Likewise.
3655         * iconvdata/iso646.c: Likewise.
3656         * iconvdata/iso8859-1.c: Likewise.
3657         * iconvdata/iso_6937-2.c: Likewise.
3658         * iconvdata/iso_6937.c: Likewise.
3659         * iconvdata/johab.c: Likewise.
3660         * iconvdata/sjis.c: Likewise.
3661         * iconvdata/t.61.c: Likewise.
3662         * iconvdata/uhc.c: Likewise.
3663         * iconvdata/unicode.c: Likewise.
3664         * iconvdata/utf-16.c: Likewise.
3666         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
3667         __cmsg_data field with __extension__.
3669 2000-06-10  David Mosberger  <davidm@hpl.hp.com>
3671         * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
3673 2000-06-10  Ulrich Drepper  <drepper@redhat.com>
3675         * iconv/gconv_simple.c: Fix various small bugs in several
3676         functions.
3678         * iconv/loop.c: Fix comment.
3680 2000-06-10  Jakub Jelinek  <jakub@redhat.com>
3682         * elf/link.h: Remove libc internal declarations.
3683         * include/link.h: Move them here.
3685 2000-06-09  Ulrich Drepper  <drepper@redhat.com>
3687         * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
3688         Patch by Dan Pop <Dan.Pop@cern.ch>.
3690         Rewrite error message handling.
3691         * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
3692         _dl_catch_error.
3693         * elf/dl-error (struct catch): Add objname member.
3694         (_dl_signal_error): Take new parameter with object name.  When
3695         passing message on simply store object name and duplicate error
3696         message.
3697         (_dl_catch_error): Take new parameter.  Store object name in the
3698         place pointed to.
3699         * include/dlfcn.h: Adjust _dl_catch_error prototype.
3700         * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
3701         * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
3702         (dlerror): Add objname to asprintf() parameters.
3703         (_dl_error_run): Pass new parameter to _dl_catch_error.
3704         * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
3705         * elf/dl-open.c (_dl_open): Likewise.
3706         * elf/rtld.c (dl_main): Likewise.
3707         * elf/dl-close.c: Mark error messages with N_().
3708         * elf/dl-deps.c: Likewise.
3709         * elf/dl-error.c: Likewise.
3710         * elf/dl-load.c: Likewise.
3711         * elf/dl-open.c: Likewise.
3712         * elf/dl-reloc.c: Likewise.
3713         * elf/dl-support.c: Likewise.
3714         * elf/dl-sym.c: Likewise.
3715         * elf/dl-version.c: Likewise.
3716         * elf/dl-lookup.c: Add comments about problems with error message
3717         translations.
3718         * elf/dl-reloc.c: Likewise.
3719         * elf/dl-version.c: Likewise.
3721 2000-06-09  H.J. Lu  <hjl@gnu.org>
3723         * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
3724         after freeing it.
3726         * dlfcn/Makefile (distribute): Add failtestmod.c.
3727         (tests): Add failtest.
3728         Add rules to build and run failtest.
3729         * dlfcn/failtest.c: New file.
3730         * dlfcn/failtestmod.c: New file.
3732 2000-06-09  David Mosberger-Tang  <davidm@hpl.hp.com>
3734         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
3735         * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
3736         * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
3737         * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
3738         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
3740 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
3742         * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
3743         * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
3745 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
3746             Ulrich Drepper  <drepper@redhat.com>
3748         * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
3749         * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
3750         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
3751         * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
3752         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
3753         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
3755 2000-06-09  Ulrich Drepper  <drepper@redhat.com>
3757         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
3758         to find correct mount point despite wrong information from the
3759         kernel.
3761 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
3763         * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
3764         the address of a symbol so function pointers are handled properly.
3766 2000-06-08  Ulrich Drepper  <drepper@redhat.com>
3768         * sysdeps/i386/Dist: Add bp-asm.h.
3770         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
3771         defaultdir variable instead of "/var/shm" everywhere.
3772         (defaultdir): Change to /dev/shm/.
3774 2000-06-08  Greg McGary  <greg@mcgary.org>
3776         * sysdeps/i386/bp-asm.h: New file.
3777         * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
3778         offsets.  Add ENTER/LEAVE macros for optionally maintaining
3779         frame-pointer chain when debugging.
3780         * sysdeps/i386/add_n.S: Likewise.
3781         * sysdeps/i386/addmul_1.S: Likewise.
3782         * sysdeps/i386/lshift.S: Likewise.
3783         * sysdeps/i386/memchr.S: Likewise.
3784         * sysdeps/i386/memcmp.S: Likewise.
3785         * sysdeps/i386/mul_1.S: Likewise.
3786         * sysdeps/i386/rawmemchr.S: Likewise.
3787         * sysdeps/i386/rshift.S: Likewise.
3788         * sysdeps/i386/stpcpy.S: Likewise.
3789         * sysdeps/i386/stpncpy.S: Likewise.
3790         * sysdeps/i386/strchr.S: Likewise.
3791         * sysdeps/i386/strchrnul.S: Likewise.
3792         * sysdeps/i386/strcspn.S: Likewise.
3793         * sysdeps/i386/strpbrk.S: Likewise.
3794         * sysdeps/i386/strrchr.S: Likewise.
3795         * sysdeps/i386/strspn.S: Likewise.
3796         * sysdeps/i386/strtok.S: Likewise.
3797         * sysdeps/i386/sub_n.S: Likewise.
3798         * sysdeps/i386/submul_1.S: Likewise.
3799         * sysdeps/i386/elf/setjmp.S: Likewise.
3800         * sysdeps/i386/i486/strcat.S: Likewise.
3801         * sysdeps/i386/i486/strlen.S: Likewise.
3802         * sysdeps/i386/i586/add_n.S: Likewise.
3803         * sysdeps/i386/i586/lshift.S: Likewise.
3804         * sysdeps/i386/i586/memcpy.S: Likewise.
3805         * sysdeps/i386/i586/memset.S: Likewise.
3806         * sysdeps/i386/i586/rshift.S: Likewise.
3807         * sysdeps/i386/i586/strchr.S: Likewise.
3808         * sysdeps/i386/i586/strcpy.S: Likewise.
3809         * sysdeps/i386/i586/strlen.S: Likewise.
3810         * sysdeps/i386/i586/sub_n.S: Likewise.
3811         * sysdeps/i386/i686/add_n.S: Likewise.
3812         * sysdeps/i386/i686/memcpy.S: Likewise.
3813         * sysdeps/i386/i686/mempcpy.S: Likewise.
3814         * sysdeps/i386/i686/memset.S: Likewise.
3815         * sysdeps/i386/i686/strcmp.S: Likewise.
3817 2000-06-08  Ulrich Drepper  <drepper@redhat.com>
3819         * sysdeps/unix/sysv/linux/getdtsz.c: New file.
3821         * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
3822         256 and don't use OPEN_MAX.
3824         * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
3825         use it instead of LINK_MAX.
3826         * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
3828 2000-06-08  Andreas Jaeger  <aj@suse.de>
3830         * libio/genops.c (_IO_list_lock): Only compile body if we're
3831         thread safe.
3832         (_IO_list_unlock): Likewise.
3833         (_IO_list_resetlock): Likewise.
3835 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
3837         * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
3838         unless user defined it.
3840         * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
3841         if not defined by the user.
3843         * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
3844         * libio/iofwrite.c (_IO_fwrite): Likewise.
3846         * time/time.h: Add missing __THROW for clock_getcpuclockid
3847         prototype.
3849         * elf/Makefile (distribute): Add dl-dtprocnum.h.
3850         * include/elf.h: Include also <dl-dtprocnum.h>.
3851         * elf/dl-deps.c: Likewise.
3852         * elf/dl-lookup.c: Likewise.
3853         * elf/dl-runtime.c: Likewise.
3854         * elf/dl-version.c: Likewise.
3855         * elf/do-rel.h: Likewise.
3856         * elf/dynamic-link.h: Likewise.
3857         * elf/link.h: Likewise.
3858         * elf/rtld.c: Likewise.
3859         * sysdeps/generic/dl-dtprocnum.h: New file.
3860         * sysdeps/ia64/dl-dtprocnum.h: New file.
3861         * sysdeps/mips/dl-dtprocnum.h: New file.
3862         * sysdeps/sparc/dl-dtprocnum.h: New file.
3864         * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
3866         * elf/do-lookup.h: Add some __builtin_expect.
3868         * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
3870         * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
3871         (_dl_dynamic_weak): New variable.
3872         * elf/dl-support.c: Likewise.
3873         * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
3874         * elf/do-lookup.h: If we find a weak definition treat it like a
3875         normal symbol unless _dl_dynamic_weak is nonzero.  In the latter
3876         case treat it like before.
3878         * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3879         is in main program.
3880         * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3882         * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3883         using l_map_start and l_map_end.
3885         * elf/dl-version.c: Add __builtin_expect in many places.
3887         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3888         Update.
3890 2000-06-04  Kaz Kylheku  <kaz@ashi.footprints.net>
3892         Lock for stdio stream list becomes global, for use in LinuxThreads.
3894         * libio/genops.c (_IO_iter_begin, _IO_iter_end,
3895         _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
3896         _IO_list_resetlock): New interface for iterating global list of
3897         streams without accessing the _IO_list_all global variable,
3898         and for manipulating the lock which protects this list.
3899         * libio/libioP.h: Likewise.
3900         * libio/Version: Add entries for the new functions.
3902         * libio/libioP.h (_IO_ITER): New typedef, just an alias for
3903         pointer to _IO_FILE.
3905 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
3907         * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
3908         BIT() must actually be BITw().
3910         * locale/programs/ld-ctype.c: Handle SP and space consistently.
3912         * locale/programs/charmap.c: Allow string arguments for
3913         code_set_name and repertoiremap.
3915 2000-06-07  Andreas Jaeger  <aj@suse.de>
3917         * elf/Makefile: Build ldconfig only when building shared libraries.
3919 2000-06-07  Jakub Jelinek  <jakub@redhat.com>
3921         * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
3922         __USE_ISOC99.
3923         (fdimf, __fdim, fdim): Likewise.
3925 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
3927         * locale/findlocale.c: Add __builtin_expect in many places.
3928         * locale/loadlocale.c: Likewise.
3930 2000-06-06  Greg McGary  <greg@mcgary.org>
3932         * sysdeps/mips/elf/start.S: Trim redundant code.
3934         * sysdeps/powerpc/memset.S: Define & use symbolic register names.
3935         Use C comments throughout.  Line up operands column with tabs.
3936         * sysdeps/powerpc/strchr.S: Likewise.
3937         * sysdeps/powerpc/strcmp.S: Likewise.
3938         * sysdeps/powerpc/strcpy.S: Likewise.
3939         * sysdeps/powerpc/strlen.S: Likewise.
3941         * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
3942         Get low part of &__curbrk with @l.
3944 2000-06-06  Ulrich Drepper  <drepper@redhat.com>
3946         * iconvdata/utf-16.c: Add __builtin_expect in many places.
3947         * iconvdata/unicode.c: Likewise.
3948         * iconvdata/uhc.c: Likewise.
3949         * iconvdata/t.61.c: Likewise.
3950         * iconvdata/sjis.c: Likewise.
3951         * iconvdata/johab.c: Likewise.
3952         * iconvdata/iso_6937.c: Likewise.
3953         * iconvdata/iso_6937-2.c: Likewise.
3954         * iconvdata/iso8859-1.c: Likewise.
3955         * iconvdata/iso646.c: Likewise.
3956         * iconvdata/iso-2022-kr.c: Likewise.
3957         * iconvdata/iso-2022-jp.c: Likewise.
3958         * iconvdata/iso-2022-cn.c: Likewise.
3959         * iconvdata/gbgbk.c: Likewise.
3960         * iconvdata/gbk.c: Likewise.
3961         * iconvdata/euc-kr.c: Likewise.
3962         * iconvdata/euc-jp.c: Likewise.
3963         * iconvdata/euc-cn.c: Likewise.
3965 2000-06-05  Ulrich Drepper  <drepper@redhat.com>
3967         * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
3968         * iconvdata/big5.c: Likewise.
3969         * iconvdata/ansi_x3.110.c: Likewise.
3970         * iconvdata/8bit-generic.c: Likewise.
3971         * iconvdata/8bit-gap.c: Likewise.
3972         * iconv/loop.c: Likewise.
3973         * iconv/gconv_db.c: Likewise.
3974         * iconv/gconv_dl.c: Likewise.
3975         * iconv/gconv_simple.c: Likewise.
3976         * iconv/skeleton.c: Likewise.
3978         * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
3979         (struct __gconv_step_data): Rename __is_last to __flags.
3980         * iconv/gconv_close.c: Change all uses of __is_last.
3981         * iconv/skeleton.c: Likewise.
3982         * iconvdata/iso-2022-cn.c: Likewise.
3983         * iconvdata/iso-2022-jp.c: Likewise.
3984         * iconvdata/iso-2022-kr.c: Likewise.
3985         * iconv/gconv_open.c: Likewise.  Avoid unneeded initializations.
3986         Recognize IGNORE error handling, set flag, and remove from name.
3987         * iconv/loop.c (ignore_errors_p): Define.
3988         Add flags parameter to both functions.
3989         * iconv/skeleton.c: Pass flags to all conversion functions.
3990         * iconv/gconv_simple.c: Add flags parameter to all functions.
3991         Don't return error for invald error if ignore flag is set.
3992         (ucs4_internal_loop_single): Add missing pointer increment.
3993         (internal_ucs4le_loop_single): Likewise.
3994         * iconv/iconv_prog.c: Implement handling of -c parameter.
3995         * iconvdata/8bit-gap.c: Don't return error for invald error if
3996         ignore flag is set.
3997         * iconvdata/8bit-generic.c: Likewise.
3998         * iconvdata/ansi_x3.110.c: Likewise.
3999         * iconvdata/big5.c: Likewise.
4000         * iconvdata/big5hkscs.c: Likewise.
4001         * iconvdata/euc-cn.c: Likewise.
4002         * iconvdata/euc-jp.c: Likewise.
4003         * iconvdata/euc-kr.c: Likewise.
4004         * iconvdata/gbgbk.c: Likewise.
4005         * iconvdata/gbk.c: Likewise.
4006         * iconvdata/iso-2022-cn.c: Likewise.
4007         * iconvdata/iso-2022-jp.c: Likewise.
4008         * iconvdata/iso-2022-kr.c: Likewise.
4009         * iconvdata/iso646.c: Likewise.
4010         * iconvdata/iso8859-1.c: Likewise.
4011         * iconvdata/iso_6937-2.c: Likewise.
4012         * iconvdata/iso_6937.c: Likewise.
4013         * iconvdata/johab.c: Likewise.
4014         * iconvdata/sjis.c: Likewise.
4015         * iconvdata/t.61.c: Likewise.
4016         * iconvdata/uhc.c: Likewise.
4017         * iconvdata/unicode.c: Likewise.
4018         * iconvdata/utf-16.c: Likewise.
4019         * libio/fileops.c: Likewise.
4020         * libio/iofwide.c: Likewise.
4021         * wcsmbs/btowc.c: Likewise.
4022         * wcsmbs/mbrtowc.c: Likewise.
4023         * wcsmbs/mbsnrtowcs.c: Likewise.
4024         * wcsmbs/mbsrtowcs.c: Likewise.
4025         * wcsmbs/wcrtomb.c: Likewise.
4026         * wcsmbs/wcsnrtombs.c: Likewise.
4027         * wcsmbs/wcsrtombs.c: Likewise.
4028         * wcsmbs/wctob.c: Likewise.
4030         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
4031         an error.
4033 2000-06-04  Ulrich Drepper  <drepper@redhat.com>
4035         * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
4036         counter for the object we are releasing, just decrement it.
4037         Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
4039 2000-06-04  Jakub Jelinek  <jakub@redhat.com>
4041         * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
4042         if -ffast-math.
4044 2000-06-04  Ulrich Drepper  <drepper@redhat.com>
4046         * iconvdata/big5hkscs.c: New file.
4047         Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
4049         * iconvdata/gconv-modules: Add entry for new module.
4050         * iconvdata/Makefile (modules): Add BIG5HKSCS.
4051         (distribute): Add big5hkscs.c.
4053 2000-06-01  Jakub Jelinek  <jakub@redhat.com>
4055         * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
4056         inlines to match prototypes in mathcalls.h.
4057         * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4058         * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4059         * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
4060         * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4062 2000-06-03  Ulrich Drepper  <drepper@redhat.com>
4064         * elf/elf.h (SHT_SUNW_move): Define.
4066         * elf/elf.h: Add more Solaris compatiblity definitions.
4068 2000-06-03  Andreas Jaeger  <aj@suse.de>
4070         * sysdeps/powerpc/dl-start.S: Close open comment.
4072 2000-06-03  Jakub Jelinek  <jakub@redhat.com>
4074         * inet/Versions: Fix typo in rresvport_af export.
4076 2000-06-02  Ulrich Drepper  <drepper@redhat.com>
4078         * math/tgmath.h: Pretty print.
4080 2000-06-02  Andreas Jaeger  <aj@suse.de>
4082         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
4083         Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4085 2000-06-02  Ulrich Drepper  <drepper@redhat.com>
4087         * elf/rtld.c (process_envvars): Test for = after variable name.
4089 2000-06-01  Ulrich Drepper  <drepper@redhat.com>
4091         * sysdeps/generic/initfini.c (_init): One less relocation.  Don't
4092         have extra call to __gmon_start__, use the pointer we already have.
4094         * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
4095         shifting.
4097         * sysdeps/i386/elf/setjmp.S: Work around change is recent
4098         binutils.  gas now emits a jump through the PLT instead of a
4099         relative jump if the jump target is an exported symbol.
4101 2000-05-31  Ulrich Drepper  <drepper@redhat.com>
4103         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
4105 2000-05-31  Andreas Jaeger  <aj@suse.de>
4107         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
4108         gregset_t.
4110         * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
4111         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4113         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
4114         syscall.
4115         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4117 2000-05-30  Ulrich Drepper  <drepper@redhat.com>
4119         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
4121         * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
4122         * locale/localeconv.c: Make function versioned (with same definition).
4124         * elf/Makefile (modules-names): Strip before using it.
4126 2000-05-30  Andreas Jaeger  <aj@suse.de>
4128         * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
4129         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
4130         * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
4131         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
4132         * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
4133         * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
4135 2000-05-29  Ulrich Drepper  <drepper@redhat.com>
4137         * Makefile: Add GNU make magic.
4139         * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
4140         Removed.
4141         * inet/rcmd.c: Remove __P.  Remove unused variables.
4142         (iruserfopen): Make first parameter const.
4143         (ruserok_sa): Return result of ruserok2_sa.
4144         (__checkhost_sa): Correctly iterate through results of getaddrinfo.
4145         * inet/rexec.c: Remove unused variables.  Other small cleanups.
4146         * inet/ruserpass.c: Remove __P.  Remove unused variables.
4147         (ruserpass): Check results of memory allocation.
4148         * include/netdb.h: Add prototype for ruserpass.
4150 2000-05-29  Andreas Jaeger  <aj@suse.de>
4152         * elf/readlib.c (interpreters): Use LD_SO since this is supported
4153         for all platforms.
4155 2000-05-29  Jakub Jelinek  <jakub@redhat.com>
4157         * inet/rcmd.c (rresvport_af): Use correct port number.
4159 2000-05-26  Andreas Schwab  <schwab@suse.de>
4161         * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
4162         entries in all-sonames.
4163         ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
4164         preserving the old name if different for compatibility.
4166 2000-05-29  Ulrich Drepper  <drepper@redhat.com>
4168         * posix/Makefile (tests): Add tst-spawn.
4169         (tst-spawn-ARGS): New variable.
4170         * posix/tst-spawn.c: New file.
4172         * posix/spawn_faction_addclose.c: Correctly account for new entry.
4173         * posix/spawn_faction_adddup2.c: Likewise.
4174         * posix/spawn_faction_addopen.c: Likewise.
4175         * posix/spawni.c: Correctly test for success of dup2 calls.
4177         * posix/tst-preadwrite.c: Check success of malloc call.
4179 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
4181         * posix/Makefile (tests): Add tst-exec.
4182         (tst-exec-ARGS): New variable.
4183         * posix/tst-exec.c: New file.
4185         * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
4187 2000-05-04  Andreas Jaeger  <aj@suse.de>
4189         * string/string.h: Remove __strdup prototype, it's not needed in
4190         this file anymore.
4192 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
4194         * posix/Makefile (tests): Add tst-fork.
4195         * posix/tst-fork.c: New file.
4197         * resolv/inet_pton.c: Loose __P.
4199 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
4201         * libio/libioP.h (_IO_CHECK_WIDE): Define.
4202         * libio/iosetbuffer.c (_IO_setbuffer): Use it.
4203         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4204         * libio/fileops.c (_IO_new_file_fopen): Return NULL if
4205         _IO_CHECK_WIDE fails.
4207 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
4209         * po/da.po: New file.
4211         * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
4212         Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
4214         * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
4215         (Other iconv Implementations): Fix typo.
4216         Patch by Martin Pool <mbp@wistful.humbug.org.au>.
4218 2000-05-27  Andreas Jaeger  <aj@suse.de>
4220         * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
4221         normal version now.
4222         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
4223         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
4224         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4225         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4226         * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
4227         * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
4229         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
4230         endianness to decide how to pass arguments.
4231         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4233         * elf/vismain.c: Use test-skeleton interface.
4234         (TEST_FUNCTION): New macro.
4235         (do_test): Renamed from main.
4237 2000-05-27  Ulrich Drepper  <drepper@redhat.com>
4239         * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
4240         AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
4242         * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify.  Correct
4243         handling of AI_V4MAPPED flag.
4245         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
4246         of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
4247         perform lookup for T_A type and tell getanswer_r to convert the
4248         result with new argument.
4249         (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
4250         Don't convert addresses from IPv4 to IPv6 here.
4251         (getanswer_r): Take new parameter indicating if mapping from IPv4 to
4252         IPv6 is wanted.  Allow qtype and type from reply to disagree if
4253         IPv4 mapping has to be done.  Perform mappings if required by the
4254         caller and not if RES_USE_INET6 bit in _res.options is set.
4255         Add several __builtin_expect.
4257 2000-05-26  Ulrich Drepper  <drepper@redhat.com>
4259         * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
4261         * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
4262         NULL.
4264         * posix/tst-preadwrite.c: Allow parallel execution of
4265         tst-preadwrite and tst-preadwrite64.
4267         * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
4268         * posix/tst-truncate.c: New file.
4269         * posix/tst-truncate64.c: New file.
4271         * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
4272         was switched.
4274         * posix/Makefile (tests): Add tst-preadwrite64.
4275         * posix/tst-preadwrite.c: Alloc file being used also for testing
4276         pread64 and pwrite64.
4277         * posix/tst-preadwrite64.c: New file.
4279 2000-05-26  Andreas Jaeger  <aj@suse.de>
4281         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
4282         of arguments dependend on endianness.
4283         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4285         * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
4286         normal version now.
4287         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4288         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4289         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4290         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4292         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
4293         endianness to check how to pass argument.
4294         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4296         * elf/ldconfig.h: Update parameter list for process_elf_file.
4298         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
4299         Add parameter file_length and pass it ot process_elf*file.
4301         * sysdeps/generic/readelflib.c (check_ptr): New.
4302         (process_elf_file): Use check_ptr to check all accesses to the
4303         mmapped file. Add parameter file_length.
4305         * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
4306         library names.
4308         * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
4309         Closes PR libc/1573, reported by Bradley White
4310         <bww@laurelnetworks.com>.
4312 2000-05-25  Ulrich Drepper  <drepper@redhat.com>
4314         * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
4315         __FAST_MATH__ is defined.
4317 2000-05-22  Andreas Jaeger  <aj@suse.de>
4319         * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
4320         CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
4322         * manual/math.texi (FP Function Optimizations): Document gcc
4323         -ffast-math behaviour with mathinlines.
4325         * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
4326         functions unless -ffast-math is given to gcc.
4328 2000-05-23  Jakub Jelinek  <jakub@redhat.com>
4330         * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
4331         __sincosl): Guard with __USE_GNU.
4333 2000-05-24  Ulrich Drepper  <drepper@redhat.com>
4335         * csu/Makefile (routines): Add check_fds.
4336         * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
4337         binaries.  Add various __builtin_expect.
4338         * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
4339         * sysdeps/generic/check_fds.c: ...here.  New file.
4341         * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
4342         binaries if file /etc/suid-debug is available.
4344         * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
4345         and wcseqorder members.
4346         (struct locale_collate_t): Likewise.
4347         (collate_finish): Assign collation sequence value to each character.
4348         Create tables for output.
4349         (collate_output): Write out tables with collation sequence information.
4350         * locale/C-collate.c: Provide C locale data for collation sequence
4351         table.
4352         * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
4353         _NL_COLLATE_COLLSEQWC.
4354         * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
4355         _NL_COLLATE_COLLSEQWC.
4356         * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
4357         include fnmatch_loop.c.
4358         * posix/fnmatch_loop.c: Don't use strcoll while determining whether
4359         character is matched by range expression.  Use collation sequence
4360         table.  Outside glibc fall back on simple character value comparison.
4362 2000-05-24  Andreas Jaeger  <aj@suse.de>
4364         * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
4365         words.
4367         * intl/Makefile: Run gettext-test only if msgfmt is available.
4369         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
4370         Define it for newer kernels.
4372 2000-05-23  Ulrich Drepper  <drepper@redhat.com>
4374         * elf/dl-sym.c: Minor cleanups.
4376         * configure.in: Add test for .protected.
4377         * config.make.in: Add have-protected variable.
4378         * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
4379         (tests-vis-yes): Add vismain.
4380         (modules-names): Add $(modules-vis-$(have-protected)).
4381         (modules-vis-yes): Add vismod1, vismod2, and vismod3.
4382         Add rules to generate and run vismain.
4383         * elf/vismain.c: New file.
4384         * elf/vismod1.c: New file.
4385         * elf/vismod2.c: New file.
4386         * elf/vismod3.c: New file.
4388 2000-05-23  Andreas Jaeger  <aj@suse.de>
4390         * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
4392         * manual/search.texi (Array Sort Function): Document that qsort is
4393         not necessarily in-place.
4395         * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4396         Closes PR libc/1731.
4398         * csu/munch-tmpl.c (__libc_init): Remove K&R support.
4399         * dirent/scandir64.c: Likewise.
4400         * pwd/getpw.c: Likewise.
4401         * stdlib/bsearch.c (bsearch): Likewise.
4402         * stdlib/tst-strtoll.c: Likewise.
4403         * localedata/collate-test.c: Likewise.
4404         * localedata/xfrm-test.c: Likewise.
4405         * posix/bsd-getpgrp.c: Likewise.
4406         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4407         * sysdeps/generic/bits/siginfo.h: Likewise.
4408         * sysdeps/generic/bits/sockaddr.h: Likewise.
4409         * sysdeps/generic/sys/swap.h: Likewise.
4410         * sysdeps/generic/sys/sysinfo.h: Likewise.
4411         * sysdeps/generic/vfork.c: Likewise.
4412         * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
4413         * sysdeps/mach/hurd/fdopen.c: Likewise.
4414         * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
4415         * sysdeps/unix/sysv/linux/poll.c: Likewise.
4416         * sysdeps/unix/sysv/linux/readv.c: Likewise.
4417         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4418         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4419         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4420         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4422         * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
4423         * shadow/lckpwdf.c: Likewise.
4424         * stdlib/tst-strtol.c: Likewise.
4425         * sysdeps/generic/tcsetattr.c: Likewise.
4426         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4427         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4429 2000-05-22  Jakub Jelinek  <jakub@redhat.com>
4431         * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
4432         free it and set to (void *) -1.
4434 2000-05-22  Jakub Jelinek <jakub@redhat.com>
4436         * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
4437         not the second character in the range.
4438         * stdio-common/tstscanf.c (main): Add testcase for the above.
4439         Reported by jik@kamens.brookline.ma.us.
4441 2000-05-21  H.J. Lu  <hjl@gnu.org>
4443         * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
4444         with noexec and noplt parameter.
4445         (do_lookup): Likewise.
4447         * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
4448         do_lookup.  Support STV_PROTECTED.
4449         (_dl_lookup_symbol_skip): Likewise.
4450         (_dl_lookup_versioned_symbol): Likewise.
4451         (_dl_lookup_versioned_symbol_skip): Likewise.
4453         * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
4455         * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
4457 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
4459         * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
4460         * sysdeps/i386/bits/huge_val.h: Likewise.
4461         * sysdeps/ieee754/bits/huge_val.h: Likewise.
4462         * sysdeps/m68k/bits/huge_val.h: Likewise.
4463         * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
4464         * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
4466 2000-05-22  Andreas Jaeger  <aj@suse.de>
4468         * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
4469         change in iconv.h.
4471 2000-05-19  Andreas Jaeger  <aj@suse.de>
4473         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4474         (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
4475         breaks compilation without linuxthreads.
4477 2000-05-21  Ulrich Drepper  <drepper@redhat.com>
4479         * sysdeps/ia64/memccpy.S: New file.
4480         * sysdeps/ia64/memchr.S: New file.
4481         * sysdeps/ia64/memcmp.S: New file.
4482         * sysdeps/ia64/memcpy.S: New file.
4483         * sysdeps/ia64/memmove.S: New file.
4484         * sysdeps/ia64/memset.S: New file.
4485         * sysdeps/ia64/strcat.S: New file.
4486         * sysdeps/ia64/strchr.S: New file.
4487         * sysdeps/ia64/strcmp.S: New file.
4488         * sysdeps/ia64/strcpy.S: New file.
4489         * sysdeps/ia64/strlen.S: New file.
4490         * sysdeps/ia64/strncmp.S: New file.
4491         * sysdeps/ia64/strncpy.S: New file.
4492         * sysdeps/ia64/softpipe.h: New file.
4493         Patches by Dan Pop <Dan.Pop@cern.ch>.
4495         * manual/memory.texi: Document memory handling functions (mlock,
4496         munlock, mlockall, munlockall, brk, and sbrk)
4497         * manual/time.texi: Document timespec and friends.
4498         * manual/conf.texi: Fix references.
4499         * manual/ctype.texi: Likewise.
4500         * manual/errno.texi: Likewise.
4501         * manual/intro.texi: Likewise.
4502         * manual/locale.texi: Likewise.
4503         * manual/sysinfo.texi: Likewise.
4504         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4506 2000-05-09  Jes Sorensen  <jes@linuxcare.com>
4508         * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
4509         * sysdeps/ia64/dl-lookupcfg.h: ...here.
4511 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
4513         * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
4514         dxfer_direction.
4516 2000-05-21  Ulrich Drepper  <drepper@redhat.com>
4518         * locale/locale.h (struct lconv): Add new elements from ISO C99.
4519         * locale/localeconv.c: Initialize new elements from ISO C99.
4520         * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
4521         new standard elements.
4522         * locale/categories.def: Adjust accordingly.
4524         * iconv/iconv.h (iconv): Remove const from inbuf parameter.
4525         * iconv/iconv.c: Likewise.
4526         * conform/data/iconv.h-data: Likewise.
4527         * iconv/iconv_prog.c (process_block): Remove const from second
4528         parameter.
4529         (main): Remove const from addr definition.
4530         * manual/charset.texi (Generic Conversion Interface): Remove from
4531         inbuf parameter of iconv.
4533         * intl/dcigettext.c: Fix typo in comment.
4535 2000-05-20 2000  H.J. Lu  <hjl@gnu.org>
4537         * resolv/res_libc.c (_res): Initialize _sock to -1.
4539 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
4541         * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
4542         (fopencookie@@GLIBC_2.2): New.
4543         (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
4544         (fopencookie@GLIBC_2.0): New.
4545         * libio/Versions: Add fopencookie to GLIBC_2.2.
4547 2000-05-18  Andreas Jaeger  <aj@suse.de>
4549         * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4550         Closes PR libc/1731.
4552         * manual/arith.texi (Parsing of Integers): Fix typo.
4553         Closes PR libc/1744, reported by blp@gnu.org.
4555 2000-05-17  Jakub Jelinek  <jakub@redhat.com>
4557         * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
4558         __extension__ to hexadecimal floating constant notation.
4559         * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4560         Likewise.
4561         * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
4562         * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4563         Likewise.
4564         * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4565         HUGE_VALL): Likewise.
4566         * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4567         HUGE_VALL): Likewise.
4568         (HUGE_VALL): Set to HUGE_VAL on sparc32.
4570 2000-05-17  Andreas Jaeger  <aj@suse.de>
4572         * string/envz.h: Add pure attributes if possible.
4574         * string/argz.h: argz_count is a pure function.
4576         * string/strings.h: Add pure and const attributes if possible.
4578         * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
4579         possibly searching through the whole memory.
4580         Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
4582 2000-05-17  Jakub Jelinek  <jakub@redhat.com>
4584         * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
4585         not yet defined.
4586         (_dl_cache_check_flags): Likewise.
4587         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
4588         dl-cache.h.
4590 2000-05-17  Andreas Jaeger  <aj@suse.de>
4592         * manual/creature.texi (Feature Test Macros): Remove paragraph
4593         since the description is wrong.
4594         Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
4596         * scripts/config.sub: New version.
4597         * scripts/config.guess: Likewise.
4598         * manual/texinfo.tex: Likewise.
4600         * time/test_time.args: Removed.
4601         * time/Makefile (test_time-ARGS): Added contents here instead.
4603         * posix/tstgetopt.args: Removed.
4604         * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
4606         * Rules: Allow arguments for test files to be specified in
4607         Makefile with testname-ARGS; remove rules with .args in it.
4609         * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
4610         remove old bogus rule for opendir-tst1.args.
4612         * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
4614         * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
4615         into objdir.  This allows a readonly sourcetree.
4616         Reported by lrgallardo@yahoo.com, closes PR libc/1421.
4618 2000-05-16  Andreas Jaeger  <aj@suse.de>,
4619             David Huggins-Daines <dhd@linuxcare.com>
4621         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
4622         cache_data in case of only new cache format correctly.
4624         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
4625         cache_file_new.
4627         * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
4628         struct cache_file_new.
4630         * elf/cache.c (save_cache): Fix str_offset if only new cache is
4631         present.
4633         * elf/cache.c (save_cache): Align struct new_file_cache.
4634         (print_cache): Likewise.
4636 2000-05-13  Jakub Jelinek  <jakub@redhat.com>
4638         * elf/soinit.c (__libc_global_ctors): Move
4639         __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
4640         * resolv/resolv.h (__res_state): Added __attribute__((const)).
4641         (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
4642         variable, don't define it to __res_state call.
4644 2000-05-13  Andreas Jaeger  <aj@suse.de>
4646         * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
4647         Linux 2.3.99pre7.
4648         (AF_PPPOX): Likewise.
4649         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
4650         (AF_PPPOX): Likewise.
4652 2000-05-12  Andreas Jaeger  <aj@suse.de>
4654         * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
4655         Reported by tmoestl@gmx.net, closes PR libc/1732.
4657 2000-05-11  Jan Hubicka  <jh@suse.cz>
4659         * misc/sys/cdefs.h: Add support for pure attribute.
4661         * include/string.h: Add __attribute_pure__ to various functions.
4662         * string/string.h: Likewise.
4664 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
4666         * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
4667         argument.
4668         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4669         R_SPARC_UA64.
4670         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
4672 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
4674         * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
4675         at proper place.  Compute the high nibble correctly.
4677 2000-05-09  Jakub Jelinek  <jakub@redhat.com>
4679         * elf/ldconfig.c: Include elf.h.
4681         * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
4682         (_dl_vsym): Likewise.
4683         Reported by Owen Taylor <otaylor@redhat.com>.
4685         * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
4686         always.
4688 2000-05-08  Andreas Jaeger  <aj@suse.de>
4690         * include/libintl.h: Add prototype for __bind_textdomain_codeset.
4692         * intl/bindtextdom.c (set_binding_values): Add prototype.
4694 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
4696         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
4697         call to elf_machine_fixup_plt.
4698         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4699         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4701 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
4703         * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
4704         they are not dlclose'd from underneath us.
4706 2000-05-08  Andreas Schwab  <schwab@suse.de>
4708         * posix/execle.c: Fix size parameter of memcpy.
4710 2000-05-08  Andreas Schwab  <schwab@suse.de>
4712         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file.  Use
4713         getpagesize syscall if available.
4715 2000-05-08  Andreas Jaeger  <aj@suse.de>
4717         * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
4718         set errno.
4720 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
4722         * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
4723         sizeof(struct link_map *) chunks, not in bytes.
4725 2000-05-07  Ulrich Drepper  <drepper@redhat.com>
4727         * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS.  It's
4728         only needed for locale.
4729         * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
4730         It's only needed for catgets.
4731         Patches by Greg McGary <gkm@eng.ascend.com>.
4733 2000-05-07  Mark Kettenis  <kettenis@gnu.org>
4735         * nss/nss_db/db-open.c: Cleanup and add comments.  Pretty print.
4736         Remove duplicate <errno.h> include.  Remove inclusion of
4737         <libintl.h> and "nsswitch.h".
4738         (set_cloexec_flag): New function, broken out of dbopen.
4739         (dbopen): Changed return type to `enum
4740         nss_status'.  Mostly rewritten to make sure that we do not report
4741         NSS_STATUS_SUCCESS if something went wrong.  Remove unnecessary casts.
4742         (internal_setent): Change return type to nss_status.
4743         Document, and make sure that the function
4744         behaves accordingly.  Make dynamically loading the database
4745         library really thread-safe and return NSS_STATUS_UNAVAIL if it
4746         failed.
4747         (db_cursor): Return ENOMEM is memory allocation failed.  Remove
4748         unecessary casts.
4749         * nss/nss_db/dummy-db.h: Add copyright notice.  Improve
4750         documentation.
4751         (struct dbc24, struct dbc27): Use DBT type in parameter lists for
4752         c_get function member.
4753         * nss/nss_db/nss_db.h: Add and tweak some comments.
4754         (DBT): Move typedef before NSS_DBC typedef.
4755         (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
4757 2000-05-07  H.J. Lu  <hjl@gnu.org>
4759         * csu/initfini.c: Moved to ....
4760         * sysdeps/generic/initfini.c: ...here.
4762         * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
4764 2000-05-07  Ulrich Drepper  <drepper@redhat.com>
4766         * manual/resource.texi: Document POSIX scheduling functions.
4767         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4769         * inet/rcmd.c (rcmd_af): errno is not set if read returns without
4770         reading anything.  Reported by Andries.Brouwer@cwi.nl.
4772         * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
4773         for x since promotion in comparison might leads to unexpected
4774         results.  Reported by Dan Pop <Dan.Pop@cern.ch>.
4776         * iconv/Makefile (tests): Add tst-iconv1.
4777         * iconv/tst-iconv1.c: New file.
4778         * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
4779         empty input buffer over full output buffer.
4780         (ucs4_internal_loop): Likewise.
4781         (ucs4_internal_loop_unaligned): Likewise.
4782         (internal_ucs4le_loop): Likewise.
4783         (internal_ucs4le_loop_unaligned): Likewise.
4784         (ucs4le_internal_loop): Likewise.
4785         (ucs4le_internal_loop_unaligned): Likewise.
4786         Reported by yaoz@nih.gov.
4788 2000-05-06  Bruno Haible  <haible@clisp.cons.org>
4790         * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
4791         returned != __GCONV_OK, there is nothing to clean up.
4793 2000-05-06  Bruno Haible  <haible@clisp.cons.org>
4795         * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
4796         OUTPUT_CHARSET environment variables.
4798 2000-05-06  Andreas Jaeger  <aj@suse.de>
4800         * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
4801         (struct cache_file_new): New.
4802         (struct file_entry): New (moved from cache.c).
4803         (struct cache_file): New (moved from cache.c).
4805         * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
4806         from _dl_load_cache_lookup.
4807         (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
4808         the different cache formats.
4809         New variable cache_new for new format.
4811         * elf/ldconfig.h: Change according to changes in cache.c and
4812         ldconfig.c; remove cache_libcmp; add opt_format.
4814         * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
4815         stuff that's defined in those headers.
4816         Add hwcap to struct lib_entry.
4817         (opt_format): New variable to select cache format.
4818         (options): Add format parameter.
4819         (is_hwcap): New function.
4820         (path_hwcap): New function.
4821         (parse_opt): Handle new format parameter.
4822         (search_dir): Handle hwcap, search also subdirectories with hwcap.
4824         * elf/cache.c (_GNU_SOURCE): Removed.  Not needed anymore since
4825         ldconfig is part of glibc.
4826         Include dl-cache.h and remove stuff that's defined there.
4827         (struct cache_entry): Add new member hwcap.
4828         (print_entry): Print hwcap, cleanup a bit.
4829         (print_cache): Print new and old formats.
4830         (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
4831         (save_cache): Save new and old formats.
4832         (add_to_cache): Handle hwcap.
4834         * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
4835         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
4836         * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
4837         * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
4838         * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
4839         * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
4841 2000-05-05  Bruno Haible  <haible@clisp.cons.org>
4843         * intl/dcigettext.c (alignof): New macro.
4844         (_nl_find_msg): Use it instead of __alignof__. Pass correct output
4845         buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4846         freemem_size to 0.
4848 2000-05-05  Bruno Haible  <haible@clisp.cons.org>
4850         * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
4851         return value.
4853 2000-05-06  Ulrich Drepper  <drepper@redhat.com>
4855         * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4856         (mempcpy): Correct typo is parameter list.
4858 2000-05-06  Andreas Jaeger  <aj@suse.de>
4860         * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
4861         functions unless -ffast-math is given to gcc.
4863 2000-05-06  Ulrich Drepper  <drepper@redhat.com>
4865         * po/ko.po: Update from translation team.
4867 2000-05-05  Ulrich Drepper  <drepper@redhat.com>
4869         * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
4870         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
4871         * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
4872         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
4873         * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
4874         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
4876         * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
4877         * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
4878         * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
4880         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
4881         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
4882         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
4883         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
4885         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4886         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4888 2000-05-05  Jes Sorensen  <jes@linuxcare.com>
4890         * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4891         * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4893         * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4894         * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
4896         * sysdeps/ia64/Implies: New file.
4897         * sysdeps/ia64/Versions: New file.  Declare _dl_symbol_address.
4898         * sysdeps/ia64/Makefile: New file.
4899         * sysdeps/ia64/gmp-mparam.h: New file,
4901         * sysdeps/ia64/elf/start.S: New file.
4903         * sysdeps/ia64/bits/fenv.h: New file.
4905 2000-05-05  David Mosberger-Tang  <davidm@hpl.hp.com>
4907         * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
4909 2000-04-26  Jes Sorensen  <Jes.Sorensen@cern.ch>
4911         * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file.  The
4912         ia64 has 64 bit .hash entries just as the Alpha.
4914 2000-04-25  Jes Sorensen  <Jes.Sorensen@cern.ch>
4916         * sysdeps/ia64/memprof.h: New file.  Provide GETSP() macro.
4918 2000-04-17  Jes Sorensen  <Jes.Sorensen@cern.ch>
4920         * sysdeps/ia64/fpu/fclrexcpt.c: New file.
4921         * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
4922         * sysdeps/ia64/fpu/feenablxcpt.c: New file.
4923         * sysdeps/ia64/fpu/fegetenv.c: New file.
4924         * sysdeps/ia64/fpu/fegetexcept.c: New file.
4925         * sysdeps/ia64/fpu/fegetround.c: New file.
4926         * sysdeps/ia64/fpu/feholdexcpt.c: New file.
4927         * sysdeps/ia64/fpu/fesetenv.c: New file.
4928         * sysdeps/ia64/fpu/fesetround.c: New file.
4929         * sysdeps/ia64/fpu/feupdateenv.c: New file.
4930         * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
4931         * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
4932         * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
4933         * sysdeps/ia64/fpu/ftestexcept.c: New file.
4935 2000-05-05  Andreas Jaeger  <aj@suse.de>
4937         * misc/tst-tsearch.c (main): Correct type for initstate argument.
4939         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4940         (_dl_string_hwcap): New, does nothing.
4942         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4943         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4944         (_dl_string_hwcap): New function, converts from string to hwcap
4945         encoding.
4946         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4947         (_DL_HWCAP_COUNT): New.
4948         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4949         (_dl_string_hwcap): New function, converts from string to hwcap
4950         encoding.
4951         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
4952         (_DL_HWCAP_COUNT): New.
4953         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4954         (_dl_string_hwcap): New function, converts from string to hwcap
4955         encoding.
4957 2000-05-05  Ulrich Drepper  <drepper@redhat.com>
4959         * elf/Makefile (distribute): Add dl-lookupcfg.h.
4960         * sysdeps/ia64/Dist: New file.
4962         * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
4963         parameter to mprotect and for variable assignments.
4965 2000-05-03  Jes Sorensen  <jes@linuxcare.com>
4967         * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
4968         validity of map before dereferencing it.
4970         * elf/dl-reloc.c (RESOLVE_MAP): Define.
4972 2000-05-02  Jes Sorensen  <jes@linuxcare.com>
4974         * elf/dl-runtime.c (fixup): Add the value returned in the symbol
4975         lookup to the arguments to elf_machine_fixup_plt().
4977         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
4978         of the symbol being resolved to input argument list and make the
4979         function return the pointer to the reloc.
4981         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
4982         return valuie to lookup_t and return the value.
4983         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
4984         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
4985         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
4986         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
4987         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
4988         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
4990         * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
4991         Make it an inline function returning value after calling
4992         __elf_machine_fixup_plt().
4994         * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
4995         symbol address.
4997         * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
4998         obtain the symbol address.
5000         * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
5001         depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
5003         * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
5004         _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
5005         inline on non ia64.
5007 2000-04-28  Jes Sorensen  <jes@linuxcare.com>
5009         * elf/dl-runtime.c (fixup): Use the portable macros to get the
5010         symbol address of an object.
5012         * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
5013         the symbol address of an object.
5015         * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
5016         * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
5017         (_dl_lookup_symbol_skip): Likewise.
5018         (_dl_lookup_versioned_symbol): Likewise.
5019         (_dl_lookup_versioned_symbol_skip): Likewise.
5021 2000-04-27  Jes Sorensen  <jes@linuxcare.com>
5023         * elf/rtld.c (_dl_start): Get the function pointer return address
5024         via _dl_start_address for architectures that need a function
5025         pointer descriptor rather than just a pointer (ia64).
5027         * sysdeps/generic/dl-lookupcfg.h: New file.
5028         * sysdeps/ia64/dl-lookupcfg.h: New file.
5029         * sysdeps/ia64/dl-machine.h: New file.
5030         * sysdeps/ia64/dl-symaddr.c: New file.
5031         * sysdeps/ia64/dl-fptr.c: New file.
5033         * elf/elf.h: Add IA-64 specific definitions.
5035 2000-05-04  Jakub Jelinek  <jakub@redhat.com>
5037         * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
5038         end of enum.
5040 2000-05-04  Jakub Jelinek  <jakub@redhat.com>
5042         * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
5043         happy.
5045 2000-04-11  Geoff Keating  <geoffk@cygnus.com>
5047         * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
5048         symbol.  Call _dl_init rather than the old way.
5050 2000-05-04  Ulrich Drepper  <drepper@redhat.com>
5052         * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
5053         test for pointer in range of DSO address space.
5055 2000-05-04  Andreas Jaeger  <aj@suse.de>
5057         * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
5059 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
5061         * locale/findlocale.c (_nl_find_locale): Add new parameter to
5062         calls of _nl_make_l10nflist.
5064         * libio/stdio.h: Make fseeko and ftello prototypes available is
5065         __USE_LARGEFILE.  Patch by Paul Eggert <eggert@twinsun.com>.
5067         * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
5068         real unsetenv implementation from 1999-07-29 [PR libc/1714].
5070 2000-05-03  Bruno Haible  <haible@clisp.cons.org>
5072         * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
5073         before calling tfind.
5075 2000-03-05  Jakub Jelinek  <jakub@redhat.com>
5077         * resolv/resolv.h (res_querydomain): Remove redefinition to
5078         __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
5080 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
5082         * po/gl.po: Update from translation team.
5084         * manual/intro.texi (Program Basics): Change section title.
5085         * manual/process.texi: Fix reference.
5086         (Executing a File): Add reference exec in other section.
5087         * manual/signal.texi: Fix reference.
5088         * manual/startup.texi: Document syscall function.
5089         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5091 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
5093         * intl/libintl.h (bind_textdomain_codeset): New declaration.
5094         * intl/bindtextdom.c (set_binding_values): New function.
5095         (bindtextdomain): Call it.
5096         (bind_textdomain_codeset): New function.
5097         * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
5098         (free_mem): Free each binding's codeset.
5099         * intl/gettextP.h (struct binding): Add codeset field.
5100         (_nl_find_domain): Add domainbinding argument.
5101         * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
5102         Pass it to _nl_make_l10nflist.
5103         * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
5104         (_nl_make_l10nflist): Add domainbinding argument.
5105         * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
5106         * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
5107         codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
5108         locale_charset().
5109         * manual/message.texi: New node "Charset conversion in gettext".
5111 2000-04-30  Bruno Haible  <haible@clisp.cons.org>
5113         * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
5114         appropriate.  Handle possible __read error.
5116 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
5118         * intl/gettextP.h (__builtin_expect): Define as empty if not a
5119         compiler builtin.
5120         * intl/loadinfo.h (__builtin_expect): Likewise.
5121         * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
5122         __builtin_expect where appropriate.
5123         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5124         * intl/localealias.c (extend_alias_table): Return an error indicator.
5125         (read_alias_file): Bail out if extend_alias_table fails.
5127 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
5129         * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
5130         * intl/localealias.c: Likewise.
5132 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
5134         * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
5135         Initialize domain->plural and domain->nplurals even if there is no
5136         nullentry.
5138 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
5140         * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
5141         value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
5142         In case of failure, goto converted.
5144 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
5146         * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
5147         * iconv/gconv_int.h (norm_add_slashes): Move to here.
5148         * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
5149         __gconv_open.
5151 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
5153         * intl/dcigettext.c (transcmp): Compare the domains as well.
5154         (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
5155         not before.
5156         * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
5157         <errno.h>.
5159 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
5161         * string/bits/string2.h: Declare __strdup and __strndup if necessary.
5162         Reported by Bruno Haible.
5164 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
5166         * manual/arith.texi: Remove @w from @itemize.
5168 2000-05-02  Andreas Jaeger  <aj@suse.de>
5170         * conform/data/tar.h-data: Add some checks for specific values.
5172         * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
5173         and RAND_MAX.
5175         * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
5176         FOPEN_MAX.
5178         * conform/data/netinet/in.h-data: Add exact checks for the values
5179         fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
5181         * conform/data/float.h-data: Add some minimal values.
5183         * conform/conformtest.pl: Test for macros with string constants,
5184         check for minimum and maximum values.
5185         Add limits.h to headers.
5187         * conform/data/cpio.h-data: Test for value of MAGIC.
5189         * conform/data/limits.h-data: New file.
5191 2000-04-30  Bruno Haible  <haible@clisp.cons.org>
5193         * math/Makefile (headers): Add bits/fenvinline.h.
5195 2000-05-01  Ulrich Drepper  <drepper@redhat.com>
5197         * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
5198         * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
5200         * posix/Versions: Change posix_spawnattr_getdefault and
5201         posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
5202         and posix_spawnattr_setsigdefault respectively.
5203         * posix/spawn.h: Likewise.
5204         * posix/spawnattr_getdefault.h: Likewise.
5205         * posix/spawnattr_setdefault.h: Likewise.
5206         * conform/data/spawn.h-data: Likewise.
5208 2000-05-01  Andreas Jaeger  <aj@suse.de>
5210         * nscd/nscd.c: Include <grp.h> for setgroups prototype.
5212 2000-04-30  Ulrich Drepper  <drepper@redhat.com>
5214         * manual/sysinfo.texi: Document getdomainname, setdomainname
5215         and sysctl.
5216         * manual/string.texi: Fix typo.
5217         * manual/terminal.texi: Document gtty and stty.
5218         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5220 2000-04-30  Andreas Jaeger  <aj@suse.de>
5222         * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
5223         accordance with Austin Draft.
5225 2000-04-30  Ulrich Drepper  <drepper@redhat.com>
5227         * catgets/gencat.c (read_input_file): Use isblank and not isspace
5228         to recognize second character in comment line.
5230         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
5231         ENOBUFS if we are out of memory.
5233         * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
5234         available if __USE_XOPEN2K.
5235         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5236         * sysdeps/unix/common/bits/fcntl.h: Likewise.
5237         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5238         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5239         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5240         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5241         * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
5242         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5244 2000-04-29  Ulrich Drepper  <drepper@redhat.com>
5246         * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
5247         Recognize option -s, -c, and -l.
5249 2000-04-20  Thorsten Kukuk  <kukuk@suse.de>
5251         * nscd/nscd.c: Start new session for nscd, drop privilegs
5252         to configured user if requested and no -S parameter are used.
5253         * nscd/nscd.conf: Add new option "server-user".
5254         * nscd/nscd_conf.c: Add support for new "server-user" option.
5255         * nscd/nscd.h: Add declaration for server_user variable.
5256         Based on patch by Chris Wing <wingc@engin.umich.edu>
5258 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
5260         * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
5261         that changing the __restore and __restore_rt signal return code
5262         will break GDB.
5264 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
5266         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
5267         <sys/user.h>.
5269 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
5271         * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
5273 2000-04-29  Ulrich Drepper  <drepper@redhat.com>
5275         * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
5276         sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
5277         arpa/inet.h.
5278         * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
5279         SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
5280         S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
5281         S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
5282         S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
5283         POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
5284         POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
5285         posix_fallocate, and posix_madvise.
5286         * conform/data/netdb.h-data: New file.
5287         * conform/data/pthread.h-data: Add pthread_barrier_t,
5288         pthread_barrierattr_t, pthread_barrier_destroy,
5289         pthread_barrier_init, pthread_barrier_wait,
5290         pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
5291         pthread_barrierattr_init, pthread_barrierattr_setpshared,
5292         pthread_condattr_getclock, pthread_condattr_setclock,
5293         pthread_getcpuclockid, pthread_mutex_timedlock,
5294         pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
5295         pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
5296         pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
5297         * conform/data/sched.h-data: Add sched_ss_low_priority,
5298         sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
5299         SCHED_SPORADIC.
5300         * conform/data/semaphore.h-data: Add sem_timedwait.
5301         * conform/data/signal.h-data: Add SIGIO.
5302         * conform/data/spawn.h-data: New file.
5303         * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
5304         * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
5305         CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
5306         Fix typo in gmtime_r definition.
5307         * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
5308         _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
5309         _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
5310         _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
5311         _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
5312         _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
5313         _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
5314         _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
5315         _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
5316         _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
5317         _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
5318         _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
5319         _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
5320         _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
5321         _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
5322         _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
5323         _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
5324         _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
5325         _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5326         _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid.  Fix
5327         typo in off_t definition.
5328         * conform/data/net/if.h-data: New file.
5329         * conform/data/netinet/in.h-data: New file.
5330         * conform/data/netinet/tcp.h-data: New file.
5331         * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
5332         POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
5333         POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
5334         POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
5335         posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
5336         and posix_typed_mem_open.
5337         * conform/data/sys/socket.h-data: New file.
5338         * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
5339         * conform/data/sys/types.h-data: Add pthread_barrier_t,
5340         pthread_barrierattr_t, and pthread_spinlock_t.
5341         * conform/data/sys/un.h-data: New file.
5342         * conform/data/sys/utsname.h-data: New file.
5344         * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
5345         parameter.
5346         * inet/gethstbyad.c (gethostbyname): Likewise.
5347         * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
5348         * inet/getipnodebyad.c (getipnodebyad): Likewise.
5349         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
5350         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
5351         Likewise.
5352         * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
5353         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
5354         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
5355         * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
5356         * resolv/gethnamaddr.c (gethostbyname): Likewise.
5357         * resolv/netdb.h (struct hostent): Fix type of h_length member.
5358         (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
5359         and second parameter.
5361         * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
5362         == NULL.
5364 2000-04-29  Andreas Jaeger  <aj@suse.de>
5366         * conform/data/arpa/inet.h-data: New file.
5368 2000-04-28  Geoff Clare <gwc@unisoft.com>
5370         * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
5371         path passed to ftw() or nftw() is an empty string.
5372         Closes PR libc/1710.
5374 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
5376         * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
5377         (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
5378         * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
5379         * localedata/tst-mbswcs4.c: New file.
5380         * localedata/tst-mbswcs5.c: New file.
5382         * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
5383         == NULL.  Little optimization.
5385         * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
5386         DT_PREINIT_ARRAYSZ).
5387         Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
5389         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
5390         overflows in conversion from ASCII.
5392 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
5394         * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
5395         * Makerules (full_config_sysdirs): Likewise.
5396         * MakeTAGS (full_config_sysdirs): Likewise.
5398 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
5400         * .cvsignore: Remove linuxthreads.
5401         * po/.cvsignore: Remove *.pot.
5402         * posix/glob/.cvsignore: Removed.
5403         * sysdeps/unix/bsd/osf/.cvsignore: Removed.
5405 2000-04-25  Andreas Jaeger  <aj@suse.de>
5407         * conform/Makefile (distribute): Also distribute contents of
5408         subdirectories.
5410         * Makerules (no_deps): Remove abi-versions.h.
5412         * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
5414 2000-04-25  Jakub Jelinek  <jakub@redhat.com>
5416         * sysdeps/sparc/sparc64/elf/Dist: Remove.
5417         * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
5418         * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
5419         * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
5420         * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
5421         * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
5422         objects.
5424 2000-04-25  Thorsten Kukuk  <kukuk@suse.de>
5426         * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
5428 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
5430         * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
5431         * intl/l10nflist.c: Likewise.
5433 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
5435         * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
5436         __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
5437         * intl/textdomain.c [!_LIBC]: Likewise.
5438         * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
5439         __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
5440         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
5441         syntax error.
5443 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
5445         * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
5446         character set conversion also in the case the translation was found
5447         after a hash collision or through binary search.  Store the maximum
5448         index together with the converted message.  Use iconv() when available.
5449         In case of out of memory during conversion, return the unconverted
5450         translated string, not NULL.
5452 2000-04-25  Jes Sorensen  <Jes.Sorensen@cern.ch>
5454         * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
5455         to avoid name clashes with the ia32 linker.
5457 2000-04-25  Jakub Jelinek  <jakub@redhat.com>
5459         * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
5460         handling.
5462 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
5464         * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
5465         strtoumax, strfry, and memfrob.
5466         * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
5467         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5469         * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
5470         if this function is available.
5472         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
5473         all values.
5475 2000-04-27  Jakub Jelinek  <jakub@redhat.com>
5477         * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
5479 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
5481         * localedata/Makefile (test-srcs); Add tst-mbswcs3.
5482         Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
5483         * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
5484         * localedata/tst-mbswcs3.c: New file.
5486 2000-04-26  Ulrich Drepper  <drepper@redhat.com>
5488         * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
5489         characters.  Don't handle incomplete characters as errors.
5490         * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
5491         * localedata/Makefile (test-srcs): Add tst-mbswcs2.
5492         Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
5493         * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
5494         * localedata/tst-mbswcs2.c: New file.
5496         * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
5497         stored character in state in UNPACK_BYTES macro.
5498         * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work.  Correct
5499         test for available characters, handle result of BODY code correctly.
5500         * localedata/Makefile (test-srcs): Add tst-mbswcs1.
5501         (distribute): Add tst-mbswcs.sh.
5502         Add rule to run tst-mbswcs.sh.
5503         * localedata/tst-mbswcs.sh: New file.
5504         * localedata/tst-mbswcs1.c: New file.
5506 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
5508         * nis/nis_callback.c (__nis_create_callback): Do failed memory
5509         allocation fixups centrally, fix __builtin_expect call, return NULL
5510         on failure, not NIS_NOMEMORY.
5512 2000-04-27  Bruno Haible  <haible@clisp.cons.org>
5514         * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
5516         * intl/loadinfo.h (internal_function): Define if not already defined.
5518 2000-04-27  Andreas Jaeger  <aj@suse.de>
5520         * intl/libintl.h: Fix typo, reported by Bruno Haible
5521         <haible@clisp.cons.org>.
5523 2000-04-25  Ulrich Drepper  <drepper@redhat.com>
5525         * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
5526         setting the state to GMON_PROF_BUSY.
5528 2000-04-24  Ulrich Drepper  <drepper@redhat.com>
5530         * elf/dl-profile.c (_dl_start_profile): define all variables which
5531         do not have to be global as local variables.
5533         * nis/nis_callback.c (__nis_create_callback): Partially undo last
5534         patch.  Keep needed tests for failed memory allocation.
5536         * elf/dl-reloc.c (_dl_relocate_object): Add one more
5537         __builtin_expect saying that we don't normally expect to profile.
5539         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
5540         __builtin_expect where desirable.
5542 2000-04-23  Ulrich Drepper  <drepper@redhat.com>
5544         * manual/Makefile (chapters): Add syslog.
5545         * manual/syslog.texi: New file.
5546         * manual/math.texi: Fix references.
5547         * manual/terminal.texi: Likewise.
5548         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5550 2000-04-18  Jakub Jelinek  <jakub@redhat.com>
5552         * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
5553         stdlib.h was not included or __USE_XOPEN not defined.
5555 2000-04-23  Ulrich Drepper  <drepper@redhat.com>
5557         * nss/Makefile (libnss_db-dbs): Remove stray backslash.
5558         Patch by Zack Weinberg <zack@wolery.cumb.org>.
5560 2000-04-22  Ulrich Drepper  <drepper@redhat.com>
5562         * manual/examples/subopt.c (mount_opts): Add missing terminating
5563         entry.
5564         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5566         * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
5567         * libio/ftello.c: Likewise.
5568         * libio/ftello64.c: Likewise.
5569         * libio/ioftell.c: Likewise.
5570         * sysdeps/generic/memrchr.c: Likewise.
5571         * sysdeps/posix/libc_fatal.c: Likewise.
5572         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5573         * misc/fstab.c: Include <string.h> for strcmp prototype.
5574         * sysdeps/generic/ldsodefs.h: Likewise.
5575         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5576         Patch by Kurt Roeckx <Q@ping.be>.
5578         * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
5579         Remove db-open.  Change all uses.
5580         (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
5582 2000-04-21  Jakub Jelinek  <jakub@redhat.com>
5584         * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
5585         * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
5586         * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
5587         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
5588         with .set noat/at to shut up warnings.
5589         * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
5590         * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
5591         compilation if __NR_pciconfig_iobase is not defined.
5592         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
5593         Add alias.
5595 2000-04-21  Ulrich Drepper  <drepper@redhat.com>
5597         * manual/sysinfo.texi: Fix typo.
5598         * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
5599         Replace "high precision time" with "high accuracy clock".
5600         Fix language.
5601         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5603         * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
5604         * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
5605         instead of malloc.
5606         * nis/nis_subr.c: Use __builtin_expect.
5607         * nis/ypclnt.c: Likewise.
5608         * nis/nis_getservlist.c: Likewise.
5609         * nis/nis_creategroup.c: Likewise.
5611         * nis/nis_callback.c (__nis_create_callback): Check result of
5612         memory allocation.  Fix memory leaks.  Use __builtin_expect.
5613         (__nis_destroy_callback): Fix memory leaks.
5615 2000-04-21  Andreas Jaeger  <aj@suse.de>
5617         * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
5618         * sysdeps/mips/mips64/add_n.S: Likewise.
5619         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
5620         * sysdeps/mips/mips64/lshift.S: Likewise.
5621         * sysdeps/mips/mips64/mul_1.S: Likewise.
5622         * sysdeps/mips/mips64/rshift.S: Likewise.
5623         * sysdeps/mips/mips64/setjmp.S: Likewise.
5624         * sysdeps/mips/mips64/sub_n.S: Likewise.
5625         * sysdeps/mips/mips64/submul_1.S: Likewise
5626         * sysdeps/unix/mips/sysdep.S: Likewise.
5628         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
5629         and update comment.  The strtab from _dl_relocate_object can be
5630         used.
5632 2000-04-21  Ulrich Drepper  <drepper@redhat.com>
5634         * iconv/iconv.c (iconv): Add __builtin_expect where useful.
5635         * iconv/iconv_close.c (iconv_close): Likewise.
5636         * iconv/iconv_open.c (iconv_open): Likewise.
5638         * grp/putgrent.c (putgrent): Unlock steam if fprintf failed.  Add
5639         __builtin_expect where useful.
5641         * grp/initgroups.c (initgroups): Test for result of memory
5642         allocation and punt if it fails.
5644         * dirent/scandir.c (scandir): Add __builtin_expect where useful.
5645         * grp/fgetgrent.c (fgetfrent): Likewise.
5646         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5648 2000-04-21  Jakub Jelinek  <jakub@redhat.com>
5650         * libio/vasprintf.c: Include string.h to get memcpy prototype.
5652 2000-04-20  Ulrich Drepper  <drepper@redhat.com>
5654         * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
5655         don't search for NUL byte to decrement counter.
5656         Reported by Ulrich.Brink@sap.com.
5658         * iconv/gconv_simple.c: Define separate functions to convert from
5659         UCS4/UCS4-LE to the internal encoding.
5660         * iconv/gconv_builtin.h: Use separate functions to convert from
5661         UCS4/UCS4-LE to the internal encoding.
5662         * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
5663         __gconv_transform_ucs4le_internal.
5665         * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
5666         output buffer overflow.  Reported by Ulrich.Brink@sap.com.
5668         * iconv/skeleton.c: Add some more __builtin_expect.
5669         * iconv/loop.c: Likewise.
5671 2000-03-08  H.J. Lu  <hjl@gnu.org>
5673         * posix/regex.c (regex_compile): Correctly handle "\{" when
5674         the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
5676 2000-04-20  Ulrich Drepper  <drepper@redhat.com>
5678         * manual/stdio.texi: Give advise about handling error when using
5679         stream functions.
5680         Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
5682 2000-04-19  Jakub Jelinek  <jakub@redhat.com>
5684         * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
5685         field to nelems * sizeof (uint32_t).
5686         * locale/programs/ld-address.c (address_output): Align word fields
5687         properly.
5688         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5689         Don't restart idx pointers to idx end at the duo_int_curr_symbol
5690         field.
5691         Avoid giving arbitrary garbage in the crncystr field.
5692         Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
5693         uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
5694         fields.
5695         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5696         Don't restart idx pointers to idx end at the decimal_point_wc field.
5697         * locale/programs/ld-time.c (time_output): week_1stday should be
5698         word, not byte.  Align it properly.
5700 2000-04-19  H.J. Lu  <hjl@gnu.org>
5702         * csu/gmon-start.c (_start): Declared as "extern void".
5703         (etext): Likewise.
5705 2000-04-18  Andreas Jaeger  <aj@suse.de>
5707         * manual/install.texi (Running make install): Don't mention utmpd
5708         anymore.
5710 2000-04-18  Andreas Jaeger  <aj@suse.de>
5712         * linuxthreads/Versions: Use ld instead of ld.so.
5714         * elf/Makefile (ld-map): Use ld.map.
5716         * Versions.def: Use ld instead of ld.so.
5717         * elf/Versions: Likewise.
5718         * sysdeps/mach/hurd/Versions: Likewise.
5720 2000-04-20  Andreas Jaeger  <aj@suse.de>
5722         * elf/rtld.c (print_statistics): Move ifndef further up.
5723         (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
5724         (dl_main): Likewise.
5726 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
5728         * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
5729         * gmon/Versions: Move moncontrol to GLIBC_2.2.
5731         * po/cs.po: Update from translation team.
5733         * sysdeps/generic/updwtmp.c: Remove daemon support.
5735         * login/Makefile (routines): Remove utmp_daemon.
5737         * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
5738         * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
5739         * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
5740         * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
5742         * elf/rtld.c: Display statitics option also if hp timing is not
5743         available.
5745         * login/programs/connection.c: Removed.
5746         * login/programs/database.c Removed.
5747         * login/programs/error.c: Removed.
5748         * login/programs/request.c: Removed.
5749         * login/programs/xtmp.c: Removed.
5750         * login/programs/xtmp.h: Removed.
5751         * login/Makefile: Remove rules for utmpd.
5752         * login/README.utmpd: Removed.
5753         * login/utmp_daemon.c: Removed.
5754         * login/getutent_r.c: Remove references to daemon functions.
5755         * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
5756         declaration.
5758 2000-04-18  Andreas Jaeger  <aj@suse.de>
5760         * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5761         2.2 for libnsl, libresolv, librt, libnss_*.
5763         * elf/rtld.c (process_dl_debug): Remove obsolete comment.
5765         * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
5767 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
5769         * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
5770         * sysdeps/unix/sysv/aix/getegid.c: Likewise.
5771         * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
5772         * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
5773         * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
5774         * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
5775         * sysdeps/unix/sysv/aix/setregid.c: Likewise.
5776         * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
5777         * sysdeps/unix/sysv/aix/setgid.c: Likewise.
5778         * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
5779         * sysdeps/unix/sysv/aix/setegid.c: Likewise.
5780         * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
5781         * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
5782         it here.
5783         * sysdeps/unix/sysv/aix/msync.c: New file.
5784         * sysdeps/unix/sysv/aix/msgsnd.c: New file.
5785         * sysdeps/unix/sysv/aix/net/if.h: New file.
5786         * sysdeps/unix/sysv/aix/pipe.c: New file.
5787         * sysdeps/unix/sysv/aix/poll.c: New file.
5788         * sysdeps/unix/sysv/aix/rename.c: New file.
5789         * sysdeps/unix/sysv/aix/rmdir.c: New file.
5790         * sysdeps/unix/sysv/aix/select.c: New file.
5791         * sysdeps/unix/sysv/aix/semctl.c: New file.
5792         * sysdeps/unix/sysv/aix/semget.c: New file.
5793         * sysdeps/unix/sysv/aix/semop.c: New file.
5794         * sysdeps/unix/sysv/aix/sendto.c: New file.
5795         * sysdeps/unix/sysv/aix/setgroups.c: New file.
5796         * sysdeps/unix/sysv/aix/setpgid.c: New file.
5797         * sysdeps/unix/sysv/aix/setpgrp.c: New file.
5798         * sysdeps/unix/sysv/aix/setpriority.c: New file.
5799         * sysdeps/unix/sysv/aix/setrlimit.c: New file.
5800         * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
5801         * sysdeps/unix/sysv/aix/setsid.c: New file.
5802         * sysdeps/unix/sysv/aix/setsockopt.c: New file.
5803         * sysdeps/unix/sysv/aix/shmat.c: New file.
5804         * sysdeps/unix/sysv/aix/shmctl.c: New file.
5805         * sysdeps/unix/sysv/aix/shmdt.c: New file.
5806         * sysdeps/unix/sysv/aix/shmget.c: New file.
5807         * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
5808         * sysdeps/unix/sysv/aix/sigstack.c: New file.
5809         * sysdeps/unix/sysv/aix/socket.c: New file.
5810         * sysdeps/unix/sysv/aix/socketpair.c: New file.
5811         * sysdeps/unix/sysv/aix/speed.c: New file.
5812         * sysdeps/unix/sysv/aix/symlink.c: New file.
5813         * sysdeps/unix/sysv/aix/sync.c: New file.
5814         * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
5815         * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
5816         * sysdeps/unix/sysv/aix/times.c: New file.
5817         * sysdeps/unix/sysv/aix/ulimit.c: New file.
5818         * sysdeps/unix/sysv/aix/umask.c: New file.
5819         * sysdeps/unix/sysv/aix/unlink.c: New file.
5820         * sysdeps/unix/sysv/aix/ustat.c: New file.
5821         * sysdeps/unix/sysv/aix/utimes.c: New file.
5823 2000-04-18  Andreas Jaeger  <aj@suse.de>
5825         * manual/startup.texi (Environment Access): Fix putenv prototype
5826         according to recent changes.
5827         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
5828         PR libc/1692.
5830         * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
5831         needed.
5833 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
5835         * posix/Makefile (tests): Add tst-getaddrinfo.
5836         * posix/tst-getaddrinfo.c: New file.
5838 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
5840         * manual/sysinfo.texi: Document that umount2 is not widely available.
5842         * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
5843         signal timing is not really implemented.
5845 2000-04-17  Andreas Jaeger  <aj@suse.de>
5847         * elf/rtld.c (process_dl_debug): Mention statistics in help message.
5849 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
5851         * Makefile (install): Use slibdir and libdir instead of inst_slibdir
5852         and inst_libdir.
5854 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
5856         * manual/intro.texi: Change reference from System Information to
5857         System Management.
5858         * manual/users.texi: Likewise.
5859         * manual/conf.texi: Likewise.
5860         * manual/sysinfo.texi: Document mount, umount, and umount2.
5861         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5863 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
5865         * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
5866         Create wnumstr as well as numstr to support wide character output
5867         correctly.
5869 2000-04-15  Jakub Jelinek  <jakub@redhat.com>
5871         * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
5872         modification and move it...
5873         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
5874         Add -melf64_sparc switch to $(LD) on sparc64-linux.
5875         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
5876         switch to $(LD) on sparc-linux.
5878 2000-04-17  Thorsten Kukuk  <kukuk@suse.de>
5880         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5881         and setresuid from sysdep_routines.
5883 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
5885         * manual/Makefile (chapters): Add resource.
5887         * manual/time.texi: Move section on resources to...
5888         * manual/resource.texi: ...here.  New file.  Document ulimit, vlimit,
5889         and vtimes.
5890         * manual/setjmp.texi: Adjust back reference.
5891         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5893         * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
5894         definition.
5895         * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
5896         * sysdeps/unix/sysv/aix/kill.c: Add copyright.
5897         * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
5898         * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
5899         * sysdeps/unix/sysv/aix/execve.c: Add copyright.
5900         * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
5901         * sysdeps/unix/sysv/aix/close.c: Add copyright.
5902         * sysdeps/unix/sysv/aix/brk.c: Add copyright.
5903         * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
5904         * sysdeps/unix/sysv/aix/access.c: Add copyright.
5905         * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
5906         * sysdeps/unix/sysv/aix/Implies: New file.
5907         * sysdeps/unix/sysv/aix/Versions: New file.
5908         * sysdeps/unix/sysv/aix/bind.c: New file.
5909         * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
5910         * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
5911         * sysdeps/unix/sysv/aix/bits/poll.h: New file.
5912         * sysdeps/unix/sysv/aix/bits/termios.h: New file.
5913         * sysdeps/unix/sysv/aix/chdir.c: New file.
5914         * sysdeps/unix/sysv/aix/chmod.c: New file.
5915         * sysdeps/unix/sysv/aix/chroot.c: New file.
5916         * sysdeps/unix/sysv/aix/creat.c: New file.
5917         * sysdeps/unix/sysv/aix/dl-close.c: New file.
5918         * sysdeps/unix/sysv/aix/dl-open.c: New file.
5919         * sysdeps/unix/sysv/aix/dl-sym.c: New file.
5920         * sysdeps/unix/sysv/aix/fchdir.c: New file.
5921         * sysdeps/unix/sysv/aix/fchmod.c: New file.
5922         * sysdeps/unix/sysv/aix/getgroups.c: New file.
5923         * sysdeps/unix/sysv/aix/gethostname.c: New file.
5924         * sysdeps/unix/sysv/aix/getpriority.c: New file.
5925         * sysdeps/unix/sysv/aix/getrlimit.c: New file.
5926         * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
5927         * sysdeps/unix/sysv/aix/getrusage.c: New file.
5928         * sysdeps/unix/sysv/aix/link.c: New file.
5929         * sysdeps/unix/sysv/aix/madvise.c: New file.
5930         * sysdeps/unix/sysv/aix/mkdir.c: New file.
5931         * sysdeps/unix/sysv/aix/mknod.c: New file.
5932         * sysdeps/unix/sysv/aix/mprotect.c: New file.
5933         * sysdeps/unix/sysv/aix/msgctl.c: New file.
5934         * sysdeps/unix/sysv/aix/msgget.c: New file.
5935         * sysdeps/unix/sysv/aix/msgrcv.c: New file.
5937 2000-04-17  Andreas Jaeger  <aj@suse.de>
5939         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
5940         as suggested by Ulrich Drepper.
5941         (__dl_runtime_resolve): Remove unused variable, initialize sym
5942         directly.
5943         (RTLD_START): Document OFFSET_GP_GOT.
5944         (OFFSET_GP_GOT): New magic value.
5945         (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
5946         (elf_machine_got_rel): Only declare strtab if needed.
5947         (elf_machine_relplt): Removed, it's not needed.
5948         (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
5950         * sysdeps/mips/add_n.S: Add newline at EOF.
5951         * sysdeps/mips/rshift.S: Likewise.
5952         * sysdeps/mips/mul_1.S: Likewise.
5953         * sysdeps/mips/lshift.S: Likewise.
5954         * sysdeps/mips/addmul_1.S: Likewise.
5956 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
5958         * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
5960         * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
5961         * elf/dl-lookup.c: Likewise.
5962         * elf/dl-init.c (_dl_init): Likewise.
5963         * elf/dl-fini.c (_dl_fini): Likewise.
5964         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5965         * elf/dl-close.c (_dl_close): Likewise.
5966         * elf/rtld.c (_dl_start_final): Likewise.
5968         * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
5970 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
5972         * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
5973         only fall back on using Linux.
5975         * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
5976         Before testing versions check that we actually loaded the object
5977         and whether we are in trace mode.  If not loaded during tracing don't
5978         test versions in this object.
5979         (_dl_check_all_versions): Take new parameter and pass to
5980         _dl_check_map_versions.
5981         * sysdeps/generic/ldsodefs.h: Update prototypes for
5982         _dl_check_all_versions and _dl_check_map_versions.
5983         * elf/rtld.c (struct version_check_args): Add dotrace.
5984         (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
5985         (dl_main): Pass info about trace mode to version_check_doit.
5986         * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
5987         _dl_check_all_versions.
5989         * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
5990         and getutmpx.
5991         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5993         * manual/argp.texi: Document index parameter of argp_parse.
5994         Fix typo.
5995         Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
5997 2000-04-14  Andreas Jaeger  <aj@suse.de>
5999         * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
6000         SHMFS_SUPER_MAGIC.  Remove definition of SHMFS_SUPER_MAGIC.
6002         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
6004 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
6006         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
6007         compat_symbol call for old adjtime.
6009         * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
6010         function interface.  Patch by Richard Henderson <rth@cygnus.com>.
6012         * posix/Makefile (headers): Add spawn.h.
6013         (distribute): Add spawn_int.h.
6014         (routines): Add spawn_faction_init, spawn_faction_destroy,
6015         spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
6016         spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
6017         spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
6018         spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
6019         * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
6020         posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
6021         posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
6022         posix_spawnattr_init, posix_spawnattr_destroy,
6023         posix_spawnattr_getdefault, posix_spawnattr_setdefault,
6024         posix_spawnattr_getflags, posix_spawnattr_setflags,
6025         posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
6026         and posix_spawnp.
6027         * posix/spawn.c: New file.
6028         * posix/spawn.h: New file.
6029         * posix/spawn_faction_addclose.c: New file.
6030         * posix/spawn_faction_adddup2.c: New file.
6031         * posix/spawn_faction_addopen.c: New file.
6032         * posix/spawn_faction_destroy.c: New file.
6033         * posix/spawn_faction_init.c: New file.
6034         * posix/spawn_int.h: New file.
6035         * posix/spawnattr_destroy.c: New file.
6036         * posix/spawnattr_getdefault.c: New file.
6037         * posix/spawnattr_getflags.c: New file.
6038         * posix/spawnattr_getpgroup.c: New file.
6039         * posix/spawnattr_getschedparam.c: New file.
6040         * posix/spawnattr_getschedpolicy.c: New file.
6041         * posix/spawnattr_getsigmask.c: New file.
6042         * posix/spawnattr_init.c: New file.
6043         * posix/spawnattr_setdefault.c: New file.
6044         * posix/spawnattr_setflags.c: New file.
6045         * posix/spawnattr_setpgroup.c: New file.
6046         * posix/spawnattr_setschedparam.c: New file.
6047         * posix/spawnattr_setschedpolicy.c: New file.
6048         * posix/spawnattr_setsigmask.c: New file.
6049         * posix/spawni.c: New file.
6050         * posix/spawnp.c: New file.
6052         * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
6053         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6055 2000-04-14  Ulrich Drepper  <drepper@redhat.com>
6057         * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
6058         * malloc/malloc.c: Implement posix_memalign for glibc.
6059         * include/stdlib.h: Add prototype for __posix_memalign.
6060         * stdlib/stdlib.h: Add prototype for posix_memalign.
6062 2000-04-14  Andreas Jaeger  <aj@suse.de>
6064         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
6065         symidx correctly.
6066         (elf_machine_got_rel): Cast sym correctly.
6068         * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
6069         * sysdeps/mips/addmul_1.S: Likewise.
6070         * sysdeps/mips/lshift.S: Likewise.
6071         * sysdeps/mips/mul_1.S: Likewise.
6072         * sysdeps/mips/rshift.S: Likewise.
6073         * sysdeps/mips/sub_n.S: Likewise.
6074         * sysdeps/mips/submul_1.S: Likewise.
6076         * stdlib/stdlib.h: Fix typo in comment.
6078         * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
6079         2.2 for libdl, ld and libm.
6081         * sysdeps/generic/madvise.c: Fix typos.
6083         * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
6085         * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
6087         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
6088         warnings.
6090 2000-04-14  Ulrich Drepper  <drepper@redhat.com>
6092         * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
6093         * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
6094         Make old name weak alias.
6095         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6096         * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
6097         Make old name weak alias.
6098         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6100         * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
6101         posix_fallocate, and posix_fallocate64.
6102         * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
6103         posix_fallocate, and posix_fallocate64.
6104         * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
6105         posix_fallocate, and posix_fallocate64.
6106         * sysdeps/generic/fadvise.c: New file.
6107         * sysdeps/generic/fadvise64.c: New file.
6108         * sysdeps/generic/fallocate.c: New file.
6109         * sysdeps/generic/fallocate64.c: New file.
6110         * sysdeps/posix/fallocate.c: New file.
6111         * sysdeps/posix/fallocate64.c: New file.
6112         * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
6113         POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
6114         POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
6115         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
6116         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
6117         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6118         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6119         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6120         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6122         * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
6123         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6125 2000-04-13  Ulrich Drepper  <drepper@redhat.com>
6127         * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
6128         * misc/sys/mman.h (posix_madvise): Add prototype.
6129         * sysdeps/generic/madvise.c (madvise): Renamed to __madvise.  Make
6130         old name and posix_madvise weak aliases.
6131         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6132         * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
6133         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
6134         * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6135         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
6136         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6137         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6139 2000-04-13  Andreas Jaeger  <aj@suse.de>
6141         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
6142         versioning.
6143         (elf_machine_got_rel): Only add runtime display if needed.
6144         (elf_machine_got_rel): Handle symbol versioning.
6146 2000-04-13  Andreas Jaeger  <aj@suse.de>
6148         * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
6150         * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
6151         default.
6153         * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
6154         with some applications.
6155         Patches by Ralf Baechle <ralf@uni-koblenz.de>.
6157         * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
6158         * sysdeps/mips/bsd-_setjmp.S: Likewise.
6159         * sysdeps/mips/setjmp.S: Likewise.
6161         * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
6163 2000-04-13  Ulrich Drepper  <drepper@redhat.com>
6165         * posix/globtest.sh: Work around inconsistency with expanding ~/
6166         in shell (PR libc/1690).  Reported by patsmith@pobox.com.
6168 2000-04-12  Ulrich Drepper  <drepper@redhat.com>
6170         * posix/getconf.c: Add support for many more POSIX options.
6171         * sysdeps/posix/sysconf.c: Likewise.
6172         * sysdeps/generic/bits/confname.h: Add many more POSIX options.
6173         * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
6174         _POSIX_SHELL.
6175         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6176         * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
6177         CLOCK_PROCESS_CPUTIME_ID.  Add define CLOCK_MONOTONIC and
6178         CLOCK_THREAD_CPUTIME_ID.
6179         * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
6180         CLOCK_PROCESS_CPUTIME_ID.
6181         * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
6182         __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID.  Handle
6183         CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
6184         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6186         * malloc/Makefile (tests): Add tst-calloc.
6187         * malloc/tst-calloc.c: New file.
6189         * sysdeps/arm/libm-test-ulps: New file.
6191         * malloc/malloc.c: Undo all of today's changes.
6193         * locale/programs/locale.c (show_info): Don't try to look into
6194         data for LC_ALL (there is none).
6196         * malloc/malloc.c (cALLOc): Clear only what the user asked for and
6197         avoid writing over boundary.
6198         Patch by Greg McGary <gkm@eng.ascend.com>.
6200         * sysdeps/arm/memprof.h: New file.
6202 2000-04-12  Andreas Jaeger  <aj@suse.de>
6204         * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
6206         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
6207         for memmem declaration.
6209 2000-04-12  Ulrich Drepper  <drepper@redhat.com>
6211         * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
6212         to -1.
6213         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6215         * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
6216         mode is invalid.
6217         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6218         Patch by Bart Veer <bartv@redhat.com>.
6220         * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
6221         function interface.
6223 2000-04-11  Andreas Jaeger  <aj@suse.de>
6225         * sysdeps/mips/dl-machine.h: Update some comments.
6226         (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
6228 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
6230         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
6231         _POSIX_SHARED_MEMORY_OBJECTS.
6233         * rt/Makefile (tests): Add tst-shm.
6234         Add rules to generate tst-shm.
6235         * rt/tst-shm.c: New file.
6237         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
6238         for descriptor.
6240         * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
6241         * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
6242         * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
6243         * sysdeps/generic/shm_open.c: New file.
6244         * sysdeps/generic/shm_unlink.c: New file.
6245         * sysdeps/unix/sysv/linux/shm_open.c: New file.
6246         * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
6247         * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
6248          __endmntent, __getmntent_r, __setmntent, and __statfs.
6250         * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
6251         fragmentation by allocating new memory at the end instead of
6252         reallocating.
6254         * posix/globtest.sh: Fix last change.
6256 2000-04-10  Philip Blundell  <philb@gnu.org>
6258         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
6259         IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
6260         IPV6_DROP_MEMBERSHIP.
6261         * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
6262         Likewise.
6264 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
6266         * elf/readlib (process_file): Close streams in case of an error.
6268 2000-04-09  Andreas Jaeger  <aj@suse.de>
6270         * elf/readlib.c (process_file): Check if file is big enough to
6271         contain aout and ELF headers.
6272         Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
6274 2000-04-10  Jes Sorensen  <Jes.Sorensen@cern.ch>
6276         * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
6278 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
6280         * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
6281         stream unbuffered.
6282         * rt/Makefile (tests): Add tst-clock.
6283         Add rules to build tst-clock.
6284         * rt/tst-clock.c: New file.
6285         * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
6286         about initialization of nsec.
6287         * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
6288         about initialization of freq.  Set retval to zero if successful.
6289         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
6291 2000-04-10  Ulrich Drepper  <drepper@redhat.com>
6293         * Versions.def (librt): Add GLIBC_2.2.
6294         * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
6295         clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
6296         timer_getoverr, timer_gettime, and timer_settime.
6297         * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
6298         clock_settime, timer_create, timer_delete, timer_getoverrun,
6299         timer_gettime, and timer_settime.
6300         * sysdeps/generic/clock_getcpuclockid.c: New file.
6301         * sysdeps/generic/get_clockfreq.c: New file.
6302         * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
6303         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
6304         * sysdeps/mach/hurd/i386/bits/time.h: New file.
6305         * sysdeps/unix/i386/i586/clock_getres.c: New file.
6306         * sysdeps/unix/i386/i586/clock_gettime.c: New file.
6307         * sysdeps/unix/i386/i686/Implies: New file.
6308         * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
6309         * time/Makefile (routines): Move clock_getres, clock_gettime,
6310         clock_settime, timer_create, timer_delete, timer_getoverr,
6311         timer_gettime, and timer_settime to rt/Makefile.
6312         * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
6313         clock_settime, timer_create, timer_delete, timer_getoverrun,
6314         timer_gettime, and timer_settime.
6315         * time/time.h: Define pid_t.  Add prototype for clock_getcpuclockid.
6317         * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility.  Use __const__
6318         and not const as attribute name.
6320 2000-04-10  Thorsten Kukuk  <kukuk@suse.de>
6322         * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
6324 2000-04-10  Andreas Schwab  <schwab@suse.de>
6326         * posix/globtest.sh: Skip tests that depend on unreadable
6327         directories if run as root.
6329 2000-04-10  Ulrich Drepper  <drepper@redhat.com>
6331         * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
6332         for correct range.  From code by Kaz Kylheku <kaz@ashi.footprints.net>.
6334 2000-04-09  Ulrich Drepper  <drepper@redhat.com>
6336         * sysdeps/unix/clock_gettime.c: New file.
6337         * sysdeps/unix/clock_settime.c: New file.
6338         * sysdeps/posix/clock_getres.c: New file.
6340         * conform/data/ftw.h-data: Add allow-header sys/stat.h.
6342         * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
6343         lseek call be passing in a buffer which never allow a successful
6344         first getdents syscall if not at leas the initial entry can be
6345         stored in the user buffer.
6347         * localedata/Makefile: Add rules to clean up directories created by
6348         new strfmon tests.
6350 2000-04-09  Geoff Clare  <gwc@unisoft.com>
6352         * localedata/tst-fmon.data: Added new tests for strfmon()
6353         using test locales with all combinations of cs_precedes,
6354         sign_posn and sep_by_space.
6355         * localedata/tst-fmon.sh: Updated to support the new tests.
6356         * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
6357         the localedef source for the new strfmon() test locale.
6358         * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
6359         * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
6360         * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
6361         * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
6362         * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
6363         * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
6364         * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
6365         * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
6366         * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
6367         * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
6368         * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
6369         * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
6370         * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
6371         * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
6373         * stdlib/strfmon.c: Correct problems with missing or extra
6374         spaces for unusual combinations of sign_posn and sep_by_space.
6375         Improved left-precision alignment code.
6377 2000-04-07  Andreas Jaeger  <aj@suse.de>
6379         * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
6381 2000-04-10  Andreas Jaeger  <aj@suse.de>
6383         * intl/Makefile: Don't run do-gettext-test when cross-compiling.
6385 2000-04-09  Ulrich Drepper  <drepper@redhat.com>
6387         Implement handling of restartable conversion functions according to
6388         ISO C.
6389         * iconv/gconv.h (__gconv_fct): Add additional parameter.
6390         * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
6391         * iconv/gconv.c: Pass additional parameter to conversion function.
6392         * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
6393         (internal_ucs4le_loop_single): New function.
6394         (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
6395         (__gconv_transform_internal_ascii): Likewise.
6396         (__gconv_transform_internal_utf8): Likewise.
6397         (__gconv_transform_utf8_internal): Likewise.
6398         (__gconv_transform_ucs2_internal): Likewise.
6399         (__gconv_transform_internal_ucs2): Likewise.
6400         (__gconv_transform_ucs2reverse_internal): Likewise.
6401         (__gconv_transform_internal_ucs2reverse): Likewise.
6402         (internal_ucs4le_loop_unaligned): Before return
6403         __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
6404         a valid character.  Otherwise return __GCONV_ILLEGAL_INPUT.
6405         (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
6406         * iconv/loop.c: Fit in definition of function to convert one character
6407         for processing of left-over bytes from the state object.
6408         * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
6409         inend to match names in loop functions.
6410         (RESET_INPUT_BUFFER): Change apprpriately.
6411         (gconv): If needed, call function to process bytes from the state
6412         object.  Similar at the end: store left over bytes if input is
6413         incomplete.
6414         Take extra argument and add new argument to all calls of the
6415         conversion function.
6416         * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
6417         information in the state object to not conflict with length count.
6418         * iconvdata/iso-2022-jp.c: Likewise.
6419         * iconvdata/iso-2022-kr.c: Likewise.
6420         * iconvdata/unicode.c: Adjust for change change in parameters of
6421         skeleton function.
6422         * iconvdata/utf-16.c: Likewise.
6423         * libio/iofwide.c: Add new parameter to all calls of conversion
6424         function.
6425         * wcsmbs/btowc.c: Likewise.
6426         * wcsmbs/mbrtowc.c: Likewise.
6427         * wcsmbs/mbsnrtowcs.c: Likewise.
6428         * wcsmbs/mbsrtowcs.c: Likewise.
6429         * wcsmbs/wcrtomb.c: Likewise.
6430         * wcsmbs/wcsnrtombs.c: Likewise.
6431         * wcsmbs/wcsrtombs.c: Likewise.
6432         * wcsmbs/wctob.c: Likewise.
6434         * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
6435         MAX_NEEDED_INPUT.
6437 2000-04-07  Andreas Jaeger  <aj@suse.de>
6439         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
6440         newer kernels.
6442 2000-04-07  Ulrich Drepper  <drepper@redhat.com>
6444         * wcsmbs/wchar.h (__mbstate_t): Rename elements.  Make __value
6445         element a union to allow byte access.
6446         * iconvdata/iso-2022-cn.c: Adjust for change of element name in
6447         mbstate_t.
6448         * iconvdata/iso-2022-jp.c: Likewise.
6449         * iconvdata/iso-2022-kr.c: Likewise.
6450         * wcsmbs/mbsinit.c: Likewise.
6451         * stdlib/mblen.c: Likewise.
6452         * stdio-common/printf-parse.h: Likewise.
6454 2000-04-06  Ulrich Drepper  <drepper@redhat.com>
6456         * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
6457         kernel does not allow relative seeks on descriptors associated
6458         with directories.  Go back to get the position in the directory
6459         every time we enter the function.  Return -1 and set errno if one
6460         entry could be read from the kernel but does not fit into the
6461         buffer passed in by the user.
6463         * locale/programs/charmap.c (charmap_new_char): Add parameter step.
6464         Support ..(2).. ellipsis.
6465         (parse_charmap): Recognize ..(2).. etc and pass step down.
6466         Correctly generate names for UCS4 characters.
6468         * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
6469         (ctype_finish): We know the wide character value for <SP>,
6470         don't search.
6471         (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
6472         (charclass_ucs4_ellipsis): Likewise.
6473         (read_translit_ignore_entry): Store ellipsis step.
6474         (ctype_read): Recognize ..(2).. etc and pass step down.
6476         * locale/programs/linereader.c (lr_token): When seeing comment
6477         character ignore only rest of line in sources but stop at escaped
6478         newline.
6479         Recognize ..(2).. and ....(2).....
6481         * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
6482         and tok_ellipsis4_2.
6484 2000-04-06  Andreas Jaeger  <aj@suse.de>
6486         * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
6487         removed, remove it here also.
6488         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
6489         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
6490         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
6491         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
6493 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
6495         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
6496         include bits/sigcontext.h.
6497         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6499 2000-04-06  Ulrich Drepper  <drepper@redhat.com>
6501         * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
6502         collation symbol definition.  Value in quivalence definition must
6503         be defined, don't check that it is not.
6505         * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
6506         values as character names.
6508         * locale/programs/ld-ctype.c (get_character): Handle missing
6509         repertoire map correctly.
6511 2000-04-05  Cristian Gafton  <gafton@redhat.com>
6513         * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
6514         because it is used in generic code.
6515         * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
6516         * wcsmbs/wcwidth.h: Declare __ctype32_b.
6517         * intl/gettext.c: Include <locale.h>.
6518         * intl/ngettext.c: Likewise.
6520 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
6522         * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
6523         socklen_t type for size.
6524         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
6525         init function interface.
6526         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6527         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
6528         sys/ucontext.h.
6529         (__jmp_buf): Declare the whole type structure here, don't use
6530         ucontext.
6532 2000-04-05  Ulrich Drepper  <drepper@redhat.com>
6534         * iconv/skeleton.c (put16u): Fix typo.
6535         Reported by Bruno Haible <haible@ilog.fr>.
6537         * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
6538         * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
6539         * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
6540         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
6541         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
6542         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
6544         * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
6545         * Makefile (distribute): Add abi-versions.awk and
6546         firstversions.awk.
6547         Patches by Torsten Duwe <duwe@caldera.de>.
6549 2000-04-05  Andreas Schwab  <schwab@suse.de>
6551         * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
6553 2000-04-05  Andreas Schwab  <schwab@suse.de>
6555         * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
6556         entry point, used on Hurd.
6558 2000-04-04  Andreas Jaeger  <aj@suse.de>
6560         * intl/Makefile: Only run the gettext test with shared libraries.
6562 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
6564         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6565         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6567 2000-04-05  Roland McGrath  <roland@baalperazim.frob.com>
6569         * Makeconfig: Undo last change.
6570         * configure.in: If --disable-shared was given, don't set VERSIONING,
6571         don't define DO_VERSIONING, and don't give scare warning for no
6572         versioning.
6573         * configure: Regenerated.
6575 2000-04-04  Roland McGrath  <roland@baalperazim.frob.com>
6577         * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
6579 2000-04-04  Andreas Jaeger  <aj@suse.de>
6581         * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
6583 2000-04-04  Ulrich Drepper  <drepper@redhat.com>
6585         * elf/dl-runtime.c (fixup): Correct handling of symbols marked
6586         STV_HIDDEN and STV_INTERNAL during lookup.
6587         (profile_fixup): Likewise.
6588         * elf/dl-reloc.c (RESOLVE): Likewise.
6590         * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
6591         unaligned so that it compiles for system which need unaligned
6592         access handling.
6594 2000-04-04  Andreas Schwab  <schwab@suse.de>
6596         * elf/cache.c (print_entry): Only look at the type field when
6597         printing the type.
6599 2000-04-04  Andreas Schwab  <schwab@suse.de>
6601         * iconvdata/big5.c (BODY): Fix typo.
6603 2000-04-04  Andreas Schwab  <schwab@suse.de>
6605         * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
6606         function interface.  Remove unused _dl_start_user entry point.
6608 2000-04-03  Andreas Jaeger  <aj@suse.de>
6610         * include/arpa/inet.h (__inet_aton): Add protoype.
6612 2000-04-01  Andreas Jaeger  <aj@suse.de>
6614         * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
6616         * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
6617         * sysdeps/mach/mips/thread_state.h: Likewise.
6619         * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
6620         * sysdeps/generic/fegetenv.c: Likewise.
6621         * sysdeps/generic/fesetenv.c: Likewise.
6622         * sysdeps/generic/feupdateenv.c: Likewise.
6623         * sysdeps/generic/fraiseexcpt.c: Likewise.
6624         * sysdeps/generic/fsetexcptflg.c: Likewise.
6625         * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
6626         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6627         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6628         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6630 2000-04-02  H.J. Lu  <hjl@gnu.org>
6632         * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
6634 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
6636         * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
6637         (add_name_to_object): Add cast in malloc call.
6638         (fillin_rpath): Optimize loop to initialize ->status a bit.
6640         * sysdeps/i386/dl-machine.h: Undo last change.
6641         * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
6642         Restore %edx register after call here.
6644         * sysdeps/arm/atomicity.h: New file.
6645         Contributed by Jesper Skov <jskov@redhat.com>.
6647 2000-04-03  Roland McGrath  <roland@baalperazim.frob.com>
6649         * Makeconfig (preprocess-versions): Undo last change.
6650         Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
6652         * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
6653         here, before we might move the stack.
6654         (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
6655         (init1): And not here.
6657         * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
6658         change, to restore argc value in call-clobbered register after
6659         RTLD_START_SPECIAL_INIT, which will contain a call.
6661         * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
6662         allocating and initializing L->l_initfini.
6664         * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
6666 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
6668         * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
6669         RUNPATH, RPATH, and LD_LIBRARY_PATH.
6670         (open_path): Change type of fourth parameter.  Make pointer to array
6671         of pointers.  Create variable dirs with original type.
6672         Track whether any directory for the object exists and if not,
6673         change *DIRSP to (void*) -1 to signal there is no such search path.
6674         (_dl_map_object): Change all calls of open_path.
6675         Rewrite decompose_rpath calls.
6677 2000-03-31  Andreas Schwab  <schwab@suse.de>
6679         * string/strfry.c: Declare STATE as array of char instead of int
6680         and do not initialize it (done by initstate_r).  Pass correct
6681         size.
6683 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
6685         * sysdeps/generic/ldsodefs.h: Fix typo in comment.
6687         * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
6688         instruction out of the code.
6690 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
6692         * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
6693         element at this position.
6695         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
6696         * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
6697         l_reldeps elements.
6698         * elf/dl-lookup.c (add_dependency): New function.
6699         (_dl_lookup_symbol): Use it whenever symbol was found in a global,
6700         dynamically loaded object.
6701         (_dl_lookup_symbol_skip): Likewise.
6702         (_dl_lookup_versioned_symbol): Likewise.
6703         (_dl_lookup_versioned_symbol_skip): Likewise.
6704         * elf/dl-open.c: Don't define _dl_load_lock here...
6705         * elf/rtld.c: ...but here...
6706         * elf/dl-support.c: ...and here.
6707         * elf/dl-close.c (_dl_close): Close also dependent objects introduce
6708         through relocation.
6709         * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
6710         relocations.
6711         * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
6712         anymore.
6713         * dlfcn/glrefmain.c: Add one more debug message.
6715         * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
6716         command line.
6717         * Makerules (sysd-versions): Use ( ) instead of { }.
6719         * elf/dl-load.c: Use __builtin_expect to signal that compiler should
6720         optimize for the non-debugging case.
6721         * elf/dl-lookup.c: Likewise.
6722         * sysdeps/generic/libc-start.c: Likewise.
6724 2000-04-02  Roland McGrath  <roland@baalperazim.frob.com>
6726         * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
6727         (init1): Don't initialize __environ here, since init already does it.
6728         (first_init): New function, broken out of _init.
6729         (_hurd_stack_setup): Use it.
6730         [SHARED] (_dl_init_first): New function, renamed from old _init.
6731         (init1) [SHARED]: Don't call posixland_init here.
6732         (posixland_init): Take ENVP arg, so signature is usual for initializer.
6733         [SHARED] (_init): Define as alias for posixland_init.
6734         [! SHARED] (__libc_first_init): Define as alias for posixland_init.
6735         * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
6736         RTLD_START_SPECIAL_INIT before calling initializers.
6737         (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
6738         * sysdeps/mach/hurd/i386/dl-machine.h: New file.
6739         * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
6740         * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
6742         * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
6743         since we define the function with the name `tmpfile'.
6745         * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
6746         * hurd/Versions: Likewise.
6748 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
6750         * elf/dl-runtime.c (fixup): Fix typo in comment.
6752         * resolv/netdb.h (getnameinfo): All length parameters are of type
6753         socklen_t.
6754         * inet/getnameinfo.c: Likewise.
6756 2000-04-01  Ulrich Drepper  <drepper@redhat.com>
6758         * posix/unistd.h (socklen_t): Define if it has not yet happened.
6759         (gethostname): Change type of second parameter to socklen_t.
6760         * include/unistd.h (__gethostname): Change type of second
6761         parameter to socklen_t.
6762         * sysdeps/generic/gethostname.c (__gethostname): Likewise.
6763         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6764         * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
6765         * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
6766         Likewise.
6767         * sysdeps/unix/sysv/linux/gethostname.c: Removed.
6768         * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
6769         Allow definition elsewhere.
6770         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6771         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6772         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6773         * sysdeps/generic/bits/types.h: Define __socklen_t.
6774         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6775         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6776         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6777         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6778         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6779         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6780         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6782         * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
6783         (inet_lnaof): Likewise.
6784         (inet_netof): Likewise.
6785         (inet_network): Likewise.
6786         (inet_aton): Likewise.
6787         (inet_makeaddr): Change parameter types to in_addr_t.
6788         (inet_neta): Likewise.
6789         (inet_ntop): Change type of last parameter to socklen_t.
6790         (inet_aton): Only make available if __USE_MISC.
6791         (inet_neta): Likewise.
6792         (inet_net_ntop): Likewise.
6793         (inet_net_pton): Likewise.
6794         (inet_nsap_ntoa): Likewise.
6796         * inet/in.h: Define in_port_t type.
6797         Define in_addr_t type.
6798         (struct in_addr): Use in_addr_t in definition.
6799         (IN_CLASSA): Use cast to in_addr_t.
6800         (IN_CLASSB): Likewise.
6801         (IN_CLASSC): Likewise.
6802         (IN_CLASSD): Likewise.
6803         (IN_EXPERIMENTAL): Likewise.
6804         (IN_BADCLASS): Likewise.
6805         (INADDR_ANY): Likewise.
6806         (INADDR_BROADCAST): Likewise.
6807         (INADDR_NONE): Likewise.
6808         (INADDR_LOOPBACK): Likewise.
6809         (INADDR_UNSPEC_GROUP): Likewise.
6810         (INADDR_ALLHOSTS_GROUP): Likewise.
6811         (INADDR_ALLRTRS_GROUP): Likewise.
6812         (INADDR_MAX_LOCAL_GROUP): Likewise.
6813         (struct sockaddr_in): Use in_port_t for sin_port element.
6814         (struct sockaddr_in6): Use in_port_t for sin6_port element.
6815         Use uint8_t instead of u_int8_t.
6817         * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
6818         Call __inet_aton instead of inet_aton.
6819         (__inet_aton): Renamed from inet_aton.  Add weak alias under old name.
6821         * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
6822         (innetgr): Likewise.
6823         (struct addrinfo): Use socklen_t for ai_addrlen element.
6825         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
6826         IPV6_RECVERR): New defines.
6828         * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
6829         * inet/getnetbyad.c: Likewise.
6830         * inet/getnetbyad_r.c: Likewise.
6831         * nis/nss_nis/nis-network.c: Likewise.
6832         * nis/nssplus_nis/nisplus-network.c: Likewise.
6833         * nss/nss_files/files-network.c: Likewise.
6834         * resolv/netdb.h: Define uint32_t if not already happened.
6835         Include bits/netdb.h.  Remove definition of struct netent.
6836         Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
6837         * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
6838         * sysdeps/generic/bits/netdb.h: New file.
6839         * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
6841         * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
6842         (tests): Add glrefmain.
6843         Add rules to build modules and run tests.  Ignore result of glrefmain
6844         for now since it fails.
6845         * dlfcn/glrefmain.c: New file.
6846         * dlfcn/glreflib1.c: New file.
6847         * dlfcn/glreflib2.c: New file.
6849         * test-skeleton.c: Include <string.h> for strsignal prototype.
6851         * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
6852         to be missing.
6854         * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
6855         former init-first.h.  Initialize __libc_multiple_libcs.
6857 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
6859         * iconv/skeleton.c: Define access macros with u suffix.  Adjust
6860         #if expression for use of unaligned function to the one used in
6861         the definition of these functions.
6862         * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
6863         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
6864         (internal_ucs4le_loop_unaligned): New function.
6866         * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
6867         (tests): Add order.
6868         (module-names): Add dep1, dep2, dep3, and dep4.
6869         Add dependencies for dep* modules and order.
6870         Define rule for order.out which checks the result.
6871         * elf/dep1.c: New file.
6872         * elf/dep2.c: New file.
6873         * elf/dep3.c: New file.
6874         * elf/dep4.c: New file.
6875         * elf/order.c: New file.
6877         * elf/dl-init.c: Fix typo in comment.
6879 2000-03-31  Andreas Jaeger  <aj@suse.de>
6881         * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
6882         init function interface.
6883         * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
6885 2000-03-31  Andreas Jaeger  <aj@suse.de>
6887         * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
6888         * sysdeps/mips/fpu/fegetenv.c: Likewise.
6889         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6890         * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
6891         * sysdeps/mips/fpu/fesetenv.c: Likewise.
6893         * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6894         anymore, update comment.
6896         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6898         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6899         SHLIB_COMPAT - the struct is always needed.
6901 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
6903         * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
6904         * elf/dl-support.c: Define _dl_starting_up.
6906 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
6908         * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
6909         * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
6911         * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
6913         * elf/Makefile (dl-routines): Remove preinit.
6914         * elf/Versions: Remove _dl_preinit.
6915         * elf/dl-preinit.c: Removed.  Move content into...
6916         * elf/dl-init.c: ...here.
6917         * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
6919         * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
6920         elements.
6922 2000-03-29  Geoff Clare  <gwc@unisoft.com>
6924         * stdlib/strfmon.c: Corrected problems with the code that
6925         sets default values for [np]_sep_by_space and
6926         [np]_sign_posn; also the new positive/negative alignment
6927         code from the previous patch was not quite right for
6928         [np]_sign_posn = 0.
6930         * localedata/tst-fmon.data: Changes corresponding to the
6931         two sets of fixes made to stdlib/strfmon.c.
6933 2000-03-29  Jes Sorensen  <jes@pcatls01.cern.ch>
6935         * malloc/malloc.c: Declare bit flags UL so that they will not
6936         default to int size when being inverted.
6938 2000-03-29  Andreas Jaeger  <aj@suse.de>
6940         * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
6941         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6943 2000-03-29  Andreas Jaeger  <aj@suse.de>,
6944             Ralf Baechle <ralf@uni-koblenz.de>
6946         * Makeconfig: Introduce new variable SHARED to mark code used in
6947         the shared library.
6948         * elf/dl-close.c: Use it instead of PIC.
6949         * elf/dl-load.c: Likewise.
6950         * elf/dl-open.c: Likewise.
6951         * hurd/geteuids.c: Likewise.
6952         * include/libc-symbols.h: Likewise.
6953         * include/shlib-compat.h: Likewise.
6954         * libio/freopen.c: Likewise.
6955         * linuxthreads/cancel.c: Likewise.
6956         * linuxthreads/pthread.c: Likewise.
6957         * linuxthreads/wrapsyscall.c: Likewise.
6958         * nss/nsswitch.c: Likewise.
6959         * stdio-common/vfprintf.c: Likewise.
6960         * sysdeps/arm/init-first.c: Likewise.
6961         * sysdeps/i386/init-first.c: Likewise
6962         * sysdeps/generic/init-first.c: Likewise.
6963         * sysdeps/generic/libc-start.c: Likewise.
6964         * sysdeps/mips/init-first.c: Likewise.
6965         * sysdeps/powerpc/elf/libc-start.c: Likewise.
6966         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6967         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6968         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6969         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6971         * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
6973 2000-03-29  Andreas Jaeger  <aj@suse.de>
6975         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6976         Use D_PTR to access relocated entries in l_info.
6977         (elf_machine_rela): Likewise.
6979         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6980         Likewise.
6981         (elf_machine_rela): Likewise.
6983         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6984         Likewise.
6985         (__elf_machine_fixup_plt): Likewise.
6986         (__process_machine_rela): Likewise.
6988         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6989         (elf_machine_rela): Likewise.
6991         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
6992         (elf_machine_rel): Likewise.
6994         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6995         (elf_machine_fixup_plt): Likewise.
6996         (elf_machine_rela): Likewise.
6998 2000-03-29  Andreas Jaeger  <aj@suse.de>
7000         * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
7001         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7002         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7003         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
7004         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7005         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
7006         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7007         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
7008         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7009         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
7010         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
7011         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
7012         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
7013         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7014         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7016         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
7017         macros, remove K&R prototypes.
7019 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
7021         * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
7022         Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
7023         (PR libc/1677).
7025 2000-03-30  Andreas Jaeger  <aj@suse.de>
7027         * misc/sys/cdefs.h: Remove K&R support.
7029 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
7031         * iconv/skeleton.c: Avoid compiling unaligned versions in some
7032         more cases.
7033         * iconv/loop.c: Likewise.
7035 2000-03-29  Bruno Haible  <haible@clisp.cons.org>
7037         * iconv/loop.c (put16): Remove __const. Fix access index.
7038         (put32): Remove __const. Use uint32_t instead of uint16_t.
7039         * iconv/skeleton.c: Likewise.
7041 2000-03-30  Roland McGrath  <roland@baalperazim.frob.com>
7043         * mach/Versions (libc: GLIBC_2.0)
7044         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
7045         __vm_allocate on this.
7046         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
7047         mutex- and spinlock-related symbols on this.
7048         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
7049         New version set.  Lock-related symbols go here instead in this case.
7050         * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
7051         _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
7052         cthread_getspecific, cthread_setspecific, __libc_getspecific.
7053         * hurd/Versions
7054         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
7055         Put them here instead.
7056         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
7057         New version set.  Those cthreads symbols go here instead in this case.
7058         * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
7060 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
7062         * elf/dl-init.c (_dl_init): We don't need to call constructors
7063         recursively.  Fold _dl_init_rec in _dl_init and optimize a bit more.
7065         Implement dynamic determination of constructor/destructor order in
7066         the dynamic linker.
7067         * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
7068         (GLIBC_2.2): Add _dl_init.
7069         * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
7070         r_duplist is not anymore allocated separately.  l_initfini is and
7071         therefore free it if necessary.
7072         * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
7073         malloc block.  Otherwise allocate l_initfini list only.
7074         Put dependencies for the object in l_initfini list.
7075         Sort dependencies for the object to be loaded topologically.
7076         * elf/dl-fini.c: Before running the destructors sort the topologically.
7077         * elf/dl-init.c (_dl_init): Renamed from _dl_init_next.  Rewrite to
7078         call constructors instead of iterating over the pointers.  Get list of
7079         objects for which to run constructors from l_initfini element. Accept
7080         argc, argv, and env as parameters and pass them to the constructors.
7081         * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
7082         with size of dynamic section.
7083         * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
7084         _dl_init_next and calling constructors ourself.
7085         * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
7086         Take argc, argv, and env as parameters and pass them to the
7087         constructors.  Rewrite to call all constructors and not iterate over
7088         the pointers.
7089         * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry.  Don't
7090         precompute l_initcount and l_preinitcount.
7091         * elf/link.h (struct link_map): Add l_ldnum member.
7092         Make l_phdr_allocated part of the bitfield.  Remove l_runcount,
7093         l_initcount, and l_preinitcount.  Add l_initfini.
7094         * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
7095         one for _dl_init.
7096         * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
7097         function interface.
7098         * sysdeps/unix/sysv/linux/init-first.h: Removed.
7099         * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
7100         * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
7101         SYSDEP_CALL_INIT.  Make _init a strong alias of init.  The calling
7102         conventions now match.
7104         * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
7105         effect for shared objects.  Don't emit message and call only for
7106         static library.
7108 2000-03-29  Ulrich Drepper  <drepper@redhat.com>
7110         * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
7111         CSA_Z243.4-1985-1..UCS2.
7112         * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
7113         ISO-8859-10..UCS2.
7115 2000-03-29  Andreas Jaeger  <aj@suse.de>
7117         * include/unistd.h: Remove duplicate entry for __rmdir.
7118         Remove declaration of __mkdir since __mkdir is declared in
7119         sys/stat.h.
7121         * manual/creature.texi (Feature Test Macros): Fix typo, reported
7122         by Michael Deutschmann <michael@talamasca.ocis.net>.
7124         * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
7125         * sysdeps/mips/fpu/fegetenv.c: Likewise.
7126         * sysdeps/mips/fpu/fesetenv.c: Likewise.
7127         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
7128         * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
7130 2000-03-28  Andreas Jaeger  <aj@suse.de>
7132         * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
7133         declaration, the prototype is defined via bits/mathcalls.h.
7134         (__sincosf): Likewise.
7135         (__sincosl): Likewise.
7136         (ldexp): Likewise.
7137         (ldexpf): Likewise.
7138         (ldexpl): Likewise.
7139         (__finite): Likewise.
7140         (__inline_mathcodeNP): New macro without prototype
7141         declarations.
7142         (__inline_mathcodeNP2): Likewise.
7143         (__inline_mathcodeNP3): Likewise.
7144         (__inline_mathcodeNP_): Likewise.
7145         (__inline_mathcodeNP2_): Likewise.
7146         (__inline_mathcodeNP3_): Likewise.
7147         (__inline_mathopNP): Likewise.
7148         (__inline_mathop_declNP): Likewise.
7149         (__inline_mathop_declNP_): Likewise.
7150         (__inline_mathcode_): Use __inline_mathcodeNP_.
7151         (__inline_mathcode2_): Use __inline_mathcodeNP2_.
7152         (__inline_mathcode3_): Use __inline_mathcodeNP3_.
7153         (__inline_mathop_decl_): Use __inline_mathop_declNP__.
7154         (__expm1l): Don't define prototype, the prototype is defined via
7155         bits/mathcalls.h.
7156         (exp): Likewise.
7157         (__expl): Likewise.
7158         (tan): Likewise.
7159         (atan2): Likewise.
7160         (__atan2l): Likewise.
7161         (fmod): Likewise.
7162         (pow): Likewise.
7163         (fabsf): Likewise.
7164         (fabsl): Likewise.
7165         (__fabsl): Likewise.
7166         (asin): Likewise.
7167         (acos): Likewise.
7168         (sinh): Likewise.
7169         (cosh): Likewise.
7170         (tanh): Likewise.
7171         (floor): Likewise.
7172         (ceil): Likewise.
7173         (expm1): Likewise.
7174         (log1p): Likewise.
7175         (asinh): Likewise.
7176         (acosh): Likewise.
7177         (atanh): Likewise.
7178         (hypot): Likewise.
7179         (logb): Likewise.
7180         (fma): Likewise.
7181         (drem): Likewise.
7182         (sqrt): Likewise.
7183         (__sqrtl): Likewise.
7184         (sin): Likewise.
7185         (cos): Likewise.
7186         (atan): Likewise.
7187         (log): Likewise.
7188         (log10): Likewise.
7189         (asinh): Likewise.
7190         (log2): Likewise.
7191         (rint): Likewise.
7193 2000-03-28  Ulrich Drepper  <drepper@redhat.com>
7195         * Makerules: If make variable md5 is defined to yes after
7196         generating dependencies generate MD5 sum for the object.
7198         * iconv/gconv_builtin.h: Fix length in transformation definition
7199         for UNICODEBIG.
7201         * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
7203         * iconv/loop.c: Define get16, get32, put16, and put32 macros to
7204         allow as well reading from/writing to unaligned addresses on machines
7205         which don't support this in hardware.  Use FCTNAME macro to define
7206         function name.  Include the file a second time for platforms which
7207         need special unaligned handling.
7208         * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
7209         to access potentially unaligned addresses.  These macros are intended
7210         to be used only outside the loops.
7211         (unaligned): New definition.  In case the machine can handle unaligned
7212         access define as zero.  Otherwise as a variable which is initialized
7213         as nonzero in case the buffer passed in at runtime is unaligned with
7214         respect to the character set encoding involved.
7215         Call aligned or unaligned looop functions according to unaligned
7216         variable.
7217         * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
7218         of direct casting pointer to potentially handle unaligned memory
7219         accesses.
7220         * iconvdata/8bit-generic.c: Likewise.
7221         * iconvdata/ansi_x3.110.c: Likewise.
7222         * iconvdata/big5.c: Likewise.
7223         * iconvdata/euc-cn.c: Likewise.
7224         * iconvdata/euc-jp.c: Likewise.
7225         * iconvdata/euc-kr.c: Likewise.
7226         * iconvdata/euc-tw.c: Likewise.
7227         * iconvdata/gbk.c: Likewise.
7228         * iconvdata/iso-2022-cn.c: Likewise.
7229         * iconvdata/iso-2022-jp.c: Likewise.
7230         * iconvdata/iso-2022-kr.c: Likewise.
7231         * iconvdata/iso646.c: Likewise.
7232         * iconvdata/iso_6937-2.c: Likewise.
7233         * iconvdata/iso_6937.c: Likewise.
7234         * iconvdata/johab.c: Likewise.
7235         * iconvdata/sjis.c: Likewise.
7236         * iconvdata/t.61.c: Likewise.
7237         * iconvdata/uhc.c: Likewise.
7238         * iconvdata/unicode.c: Likewise.
7239         * iconvdata/utf-16.c: Likewise.
7241         * locale/programs/simple-hash.c: Little optimizations.  Remove K&R
7242         prototypes.
7244         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
7245         * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
7246         public.
7247         * malloc/mcheck.h (mcheck_check_all): Declare.
7249         * stdio-common/Makefile (tests): Add tst-obprintf.
7251 2000-03-28  Roland McGrath  <roland@baalperazim.frob.com>
7253         * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
7254         Declare pthread_sigmask.
7256         * csu/version.c: Add 2000 to copyright years.
7257         Remove Emacs local variables section.
7259 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
7261         * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
7262         __gconv_transform_internal_ucs2little): Remove declarations.
7263         * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
7264         __gconv_transform_internal_ucs2): Never need to bswap_16.
7265         (__gconv_transform_ucs2reverse_internal,
7266         __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
7268 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
7270         * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
7271         obsoleting version not being defined at all, in which case the
7272         result is always true.
7274         * Makeconfig (preprocess-versions): New canned sequence for running
7275         cpp on shlib-versions and the like.
7276         (soversions.i): Use it.
7277         * Makerules (Versions.all, sysd-versions): Use it to preprocess the
7278         Versions.def and Versions files.
7280 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
7282         * stdio-common/tst-obprintf.c (main): Add another check to see
7283         obstack_printf handling all possible beginnings of the block
7284         inside an obstack chunk.
7286         * locale/programs/localedef.c: Use __malloc_initialize_hook to
7287         install mcheck handler.
7289         * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
7290         handling problem.
7292 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
7294         * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
7296         * include/shlib-compat.h: Conditionalize <abi-versions.h> include
7297         on [HAVE_ELF && DO_VERSIONING].
7299 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
7301         * stdio-common/tst-obprintf.c: New file.
7303 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
7305         * libio/genops.c (_IO_default_xsputn): Little optimization.  Call
7306         _IO_OVERFLOW directly instead through __overflow.
7308         * locale/programs/localedef.c (construct_output_path): If path
7309         contains a / compute the end of the directory name correctly.
7311         * include/features.h: Undef and document __USE_XOPEN2K.
7313         * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
7314         whenever a function is called.  Initiated by calling mcheck_pedantic
7315         instead of mcheck.
7316         * malloc/mcheck.h: Declare mcheck_pedantic.
7317         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
7318         * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
7319         for now.
7321 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
7323         * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
7324         * dlfcn/dlopenold.c: Likewise.
7325         * nss/getXXbyYY_r.c: Likewise.
7326         * nss/getXXent_r.c: Likewise.
7327         * hurd/hurdinit.c: Likewise.
7328         * hurd/compat-20.c: Likewise.
7329         * libio/oldiofopen.c: Likewise.
7330         * libio/oldiofclose.c: Likewise.
7331         * libio/oldiofdopen.c: Likewise.
7332         * libio/oldfileops.c: Likewise.
7333         * libio/oldstdfiles.c: Likewise.
7334         * libio/oldiofsetpos.c: Likewise.
7335         * libio/oldiofgetpos.c: Likewise.
7336         * libio/oldiofgetpos64.c: Likewise.
7337         * libio/oldiofsetpos64.c: Likewise.
7338         * libio/oldiopopen.c: Likewise.
7339         * libio/oldpclose.c: Likewise.
7340         * libio/oldtmpfile.c: Likewise.
7341         * libio/freopen.c (freopen): Likewise.
7342         * libio/iofclose.c (_IO_new_fclose): Likewise.
7344         * sysdeps/mach/sys/reboot.h: Include <features.h>.
7345         (reboot): Declare it.
7347         * libio/Makefile (headers): Add bits/stdio-lock.h here.
7349         * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
7351         * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
7353         * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
7354         __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
7355         We need this for the sbrk decl, which can be included without Unix98.
7357 2000-03-20  Richard Henderson  <rth@cygnus.com>
7359         * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
7360         argument to yperr2nss is an int, not size_t.
7361         * posix/regex.c (print_partial_compiled_pattern): Cast all
7362         ptrdiff_t to long for printing.
7363         (print_compiled_pattern): Use Z for printing size_t.
7364         * posix/testfnm.c (tests): Avoid trigraphs.
7365         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7366         Use a C comment, not an assembly comment.
7368         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
7369         of __ASSUME_32BITUIDS.
7371 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
7373         * libio/iofopncook.c: Remove K&R prototypes.
7375 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
7377         * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
7378         an initial value of 1024 instead of RLIM_INFINITY.
7380         * Versions.def (libmachuser, libhurduser): Remove these sections,
7381         since these libraries do not presently use symbol versions.
7383         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
7384         is RLIM_INFINITY, return -1 instead.
7386 2000-03-24  Andreas Jaeger  <aj@suse.de>
7388         * Makefile (postclean): Added soversions.i.
7390 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
7392         * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
7393         _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
7394         and _FPU_IEEE.  Change _FPU_RESERVED.
7396 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
7398         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
7400 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
7402         * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
7403         (gaih_inet): Remove unused duplicate variable.
7405         * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
7406         Don't use __libc_sa_len, which only exists for Linux.  Just handle
7407         AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
7408         only flavors supported by this function anyway.
7410 2000-03-24  Geoff Clare  <gwc@unisoft.com>
7412         * stdlib/strfmon.c: Corrected problems with missing signs and
7413         missing or extra spaces; allow for sign strings longer than
7414         one character; add padding to ensure positive and negative
7415         formats are aligned when a left precision is used.
7417 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
7419         * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
7420         Patch by John Mizel <John.Mizel@msdw.com>.
7422 2000-03-25  Ulrich Drepper  <drepper@redhat.com>
7424         * manual/install.texi: Remove references to crypt add-on.
7426 2000-03-25  Roland McGrath  <roland@baalperazim.frob.com>
7428         * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
7429         section while taking the _hurd_rlimit_lock.
7430         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7432 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
7434         * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
7435         using $(LN_S).
7437         * sysdeps/mach/hurd/if_index.c: New file.
7439         * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
7440         * sysdeps/gnu/net/if.h: here.
7441         (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
7442         * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
7443         * sysdeps/generic/net/if.h: New file.  Declares just the standard
7444         functions and `struct if_nameindex' type.
7445         * socket/Makefile (headers): Add net/if.h here.
7446         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
7447         * sysdeps/mach/hurd/Dist: Remove it here.
7448         * sysdeps/unix/sysv/linux/Dist: And here.
7449         * sysdeps/generic/if_index.c: Include <net/if.h>.
7451 2000-03-24  Andreas Jaeger  <aj@suse.de>
7453         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
7454         access relocated entries in l_info.
7455         (elf_machine_got_rel): Likewise.
7456         (elf_machine_runtime_setup): Likewise.
7457         * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
7458         (elf_machine_runtime_setup): Likewise.
7459         (__dl_runtime_resolve): Likewise.
7461 2000-03-23  Ulrich Drepper  <drepper@redhat.com>
7463         * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
7464         * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
7465         according to RFC 2553.
7466         * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
7467         * inet/getnameinfo.c: Likewise.
7468         Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7470 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
7472         * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
7473         Remove no-op pointer increment.
7475 2000-03-23  Andreas Jaeger  <aj@suse.de>
7477         * stdio-common/tst-cookie.c (cookieseek): Change prototype to
7478         follow change for libio.h from 2000-03-10.
7480 2000-03-23  Andreas Jaeger  <aj@suse.de>
7482         * elf/dl-addr.c: Adjust include paths for ldsodefs location
7483         change.
7484         * elf/dl-debug.c: Likewise.
7485         * elf/dl-deps.c: Likewise.
7486         * elf/dl-error.c: Likewise.
7487         * elf/dl-fini.c: Likewise.
7488         * elf/dl-init.c: Likewise.
7489         * elf/dl-load.c: Likewise.
7490         * elf/dl-lookup.c: Likewise.
7491         * elf/dl-minimal.c: Likewise.
7492         * elf/dl-object.c: Likewise.
7493         * elf/dl-open.c: Likewise.
7494         * elf/dl-preinit.c: Likewise.
7495         * elf/dl-profile.c: Likewise.
7496         * elf/dl-profstub.c: Likewise.
7497         * elf/dl-reloc.c: Likewise.
7498         * elf/dl-runtime.c: Likewise.
7499         * elf/dl-support.c: Likewise.
7500         * elf/dl-symbol.c: Likewise.
7501         * elf/dl-version.c: Likewise.
7502         * elf/rtld.c: Likewise.
7503         * elf/sprof.c: Likewise.
7504         * sysdeps/generic/dl-cache.c: Likewise.
7505         * sysdeps/generic/dl-origin.c: Likewise.
7506         * sysdeps/generic/dl-sysdep.c: Likewise.
7507         * sysdeps/generic/elf/backtracesyms.c: Likewise.
7508         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7509         * sysdeps/generic/libc-start.c: Likewise.
7510         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7511         * sysdeps/powerpc/dl-machine.c: Likewise.
7512         * sysdeps/powerpc/elf/libc-start.c: Likewise.
7513         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7514         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7515         * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
7517         * elf/ldsodefs.h: Move file to ...
7518         * sysdeps/generic/ldsodefs.h: ... here.
7520         * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7522         * sysdeps/mips/elf/ldsodefs.h: New file.
7524         * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
7525         entries in l_info.
7526         (_dl_check_map_versions): Likewise.
7527         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7528         * elf/dl-load.c (_dl_init_paths): Likewise.
7529         (_dl_map_object): Likewise.
7530         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
7531         (elf_get_dynamic_info): Likewise.
7532         * elf/do-lookup.h (FCT): Likewise.
7533         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
7534         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7535         * elf/dl-addr.c (_dl_addr): Likewise.
7536         * elf/dl-runtime.c (profile_fixup): Likewise.
7537         (fixup): Likewise.
7538         * elf/dl-init.c (_dl_init_next): Likewise.
7539         * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
7540         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7541         (DISTINGUISH_LIB_VERSIONS): Likewise.
7542         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
7543         (elf_machine_rel): Likewise.
7545         * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
7546         for writable dynamic section.
7548 2000-03-22  Ulrich Drepper  <drepper@redhat.com>
7550         * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
7551         large enough.  Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7553 2000-03-22  Andreas Jaeger  <aj@suse.de>
7555         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
7556         from latest Linux kernel.
7558 2000-03-21  Andreas Jaeger  <aj@suse.de>
7560         * Versions.def: Add version 2.1.4.
7562 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
7564         * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
7565         * libio/oldiofopen.c: Likewise.
7566         * libio/oldiofclose.c: Likewise.
7567         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7569 2000-03-22  Roland McGrath  <roland@baalperazim.frob.com>
7571         * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
7572         indicating the first version set to obsolete the conditionalized code.
7573         (compat_symbol): New macro.
7574         * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
7575         rhs be the ABI_* macro for the subsuming version.  Assign increasing
7576         integer values to the ABI_* macros for supported versions.
7577         * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
7578         compat_symbol macro.
7580 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
7582         * nscd/connections.c (nscd_run): Pretty print.
7583         * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
7585         * manual/charset.texi: Fix typos.  Rephrase.
7586         * manual/process.texi: Likewise.
7587         * manual/signal.texi: Likewise.
7588         Patches by Mike Coleman <mkc@kc.net>.
7590         * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
7591         versions.
7592         * libio/iofdopen.c: Likewise.
7593         * libio/iofgetpos.c: Likewise.
7594         * libio/iofgetpos64.c: Likewise.
7595         * libio/iofopen.c: Likewise.
7596         * libio/iofsetpos.c: Likewise.
7597         * libio/iofsetpos64.c: Likewise.
7598         * libio/iopopen.c: Likewise.
7599         * libio/oldiofopen.c: Likewise.
7600         * libio/pclose.c: Likewise.
7601         * sysdeps/gnu/siglist.c: Likewise.
7602         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7604         * include/shlib-compat.h (versioned_symbol): Give preprocessor the
7605         chance to expand VERSION_##lib##_##version.
7607         * libio/fileops.c: Use new macros from shlib-compat.h to define
7608         versions.
7609         * libio/iofclose.c: Likewise.
7610         * libio/oldiofclose.c: Likewise.
7611         Patch by Roland McGrath <roland@frob.com>.
7613 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
7615         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
7616         Lay out struct sigcontext according to what really gets passed on
7617         the stack.
7618         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
7619         (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
7620         (prgregset_t, prfpregset_t): Define to elf_* types.
7621         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
7622         Define to correct value.
7623         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
7624         sigcontext.
7625         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
7627 2000-03-21  Roland McGrath  <roland@baalperazim.frob.com>
7629         * scripts/firstversions.awk: Allow multiple version sets in the
7630         "earliest version" specification, meaning that version sets in the
7631         gaps between listed versions should be folded into the earliest later
7632         version that is explicitly listed.
7633         * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
7634         we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
7636 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
7638         * iconv/gconv_builtin.c: Include <endian.h>.
7639         * iconv/gconv_builtin.h: Add UCS-BE aliases.
7640         Add UCS-4LE transformation.  Define UNICODEBIG and UNICODELITTLE
7641         according to current platform.
7642         * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
7643         __gconv_transform_internal_ucs2reverse, and
7644         __gconv_transform_internal_ucs4le.
7645         * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
7646         __gconv_transform_ucs2reverse_internal and
7647         __gconv_transform_internal_ucs2reverse.
7648         * iconvdata/Makefile (modules): Add UNICODE.
7649         (distribute): Add unicode.c.
7650         * iconvdata/gconv-modules: Add definitions for UNICODE module.
7651         * iconvdata/unicode.c: New file.
7653         * iconvdata/utf-16.c: Rewrite code to emit BOM.  Correct code to
7654         determine byte order of input and convert accordingly.
7656         * iconvdata/utf-16.c (gconv_init): Fix typo.
7658 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
7660         * iconvdata/gconv-modules: Fix typo.
7662         * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
7663         more messages.
7665         * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
7667 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
7669         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
7671 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
7673         * misc/Makefile (routines): Add mincore.
7675 2000-03-20  Andreas Jaeger  <aj@suse.de>
7677         * sysdeps/generic/mincore.c: New stub file.
7679         * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
7680         from latest Linux kernel.
7682 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
7684         * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
7685         _SC_GETPW_R_SIZE_MAX.
7687 2000-03-20  Richard Henderson  <rth@cygnus.com>
7689         * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
7690         in GLIBC_2.1.4.
7692 2000-03-20  Richard Henderson  <rth@cygnus.com>
7694         * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
7695         of arithmetic instructions.
7697         * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
7698         with the fpcr.  Protect from INV exception.
7699         * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
7700         * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
7701         * sysdeps/alpha/fpu/s_floorf.c: Likewise.
7703         * sysdeps/alpha/fpu/s_copysign.c: New.
7704         * sysdeps/alpha/fpu/s_copysignf.c: New.
7705         * sysdeps/alpha/fpu/s_fabs.c: New.
7706         * sysdeps/alpha/fpu/s_fabsf.c: New.
7707         * sysdeps/alpha/fpu/s_rint.c: New.
7708         * sysdeps/alpha/fpu/s_rintf.c: New.
7710         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
7712         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7713         Kill sethae.
7714         * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
7715         * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
7716         Use physical addresses not KSEG addresses.
7717         (io_system): Add PYXIS.
7718         (io): Remove hae.reg, sys, hae_shift.
7719         (stb_mb, stw_mb, stl_mb, __sethae): New.
7720         (inline_outb, inline_outw, inline_outl): Don't set hae.
7721         (inline_inb, inline_inw, inline_inl): Likewise.
7722         (dense_sethae): New null function.
7723         (struct cpuinfo_data): New.
7724         (process_cpuinfo): Use local and stack variables, not static.
7725         Move readlink check here from init_iosys.
7726         (init_iosys): Use __pciconfig_iobase first.  Know SX and LX as PYXIS.
7727         (_iopl): Simplify.
7728         (_hae_shift): Calculate it here.
7729         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
7730         add pciconfig_iobase.
7732 2000-03-20  Roland McGrath  <roland@baalperazim.frob.com>
7734         * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
7735         * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
7737         * scripts/versions.awk: Fixed version renaming code to distinguish
7738         libraries properly.
7740 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
7742         * include/stdlib.h: Add prototype for __cxa_atexit.
7744         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
7745         _SLOWDOWN flags.  Patch by Jim Blandy <jimb@cygnus.com>.
7747 2000-03-17  Cristian Gafton  <gafton@redhat.com>
7749         * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
7750         existing rtld-installed-name.
7751         ($(rtld-installed-name)): Request libc-$(version) be installed too.
7752         replace existing rtld-installed-name using $(symbolic-link-prog).
7754 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
7756         * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
7757         (insert_value, handle_ellipsis, collate_read): Replace %zu in format
7758         strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
7759         but not the former.
7761 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
7763         * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
7764         glob64.  Since there is no glob64 in the LFS proposal applications
7765         can assume that glob handles LFS situations.  glob64 is only needed
7766         if alternative filesystem functions are used.
7768 2000-03-19  Geoff Clare  <gwc@unisoft.com>
7770         * sysdeps/generic/glob.c: Correct gl_pathc value returned
7771         when GLOB_DOOFFS is set; correct handling of patterns
7772         containing escaped wildcards (and no unescaped ones);
7773         GLOB_ERR flag was being ignored in some situations.
7775         * posix/globtest.c, posix/globtest.sh: Updated to include
7776         tests for the problems fixed by the above changes to glob.c.
7778         * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
7780 2000-03-19  Roland McGrath  <roland@baalperazim.frob.com>
7782         * Makeconfig (soversion.i): Use only first match for each lib.
7784         * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
7786         * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
7787         rather than $(sysd-dirs-done) to protect these rules.
7789         * Makerules (version-renames.def): Target removed.
7790         (Versions.all): Depend on soversions.i directly and parse it.
7792         * Makeconfig (soversions.i): New target, input-reading parts of
7793         soversions.mk generation moved here; result is a canonicalized
7794         list "LIB VERSION [SET]" for this configuration.
7795         (soversions.mk): Use that as input.  Don't emit map-firstversions.
7796         * Makerules (version-renames.def): New target, generated from
7797         soversions.i with contents that was in $(map-firstversions).
7798         (Versions.all): Don't depend on soversions.mk, depend on
7799         version-renames.def instead; just cat it into the input.
7801         * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
7802         for $(map-firstversions), which better handles it being empty.
7804         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
7805         supported version for libc 0.2.90.libio to GLIBC_2.2.
7807         * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
7808         and use it to emit new variable `map-firstversions'.
7809         * scripts/firstversions.awk: New file.
7810         * Makerules (Versions.all): Use scripts/firstversions.awk and
7811         the $(map-firstversions) value to generate a modified versions list
7812         that includes renames in "A = B" syntax for each version set earlier
7813         than the "earliest symbol version" named in shlib-versions.
7814         * scripts/versions.awk: Recognize "A = B" lines in the input to mean
7815         rename version set A to B in the output to the intermediate file.
7816         * scripts/abi-versions.awk: New file.
7817         * Makerules (abi-versions.h): New target, generated by that script.
7818         [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
7819         * include/shlib-compat.h: New file, uses that generated header.
7821 2000-03-18  Roland McGrath  <roland@baalperazim.frob.com>
7823         * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
7824         after stripping # comments, and then run it through cpp.
7825         This allows things like "%ifdef FOO" based on config.h settings.
7826         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
7828         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
7829         and other errors that indicate a pseudo-receive happened, grok through
7830         the message buffer for port rights that need references fixed up.
7832 2000-03-16  Andreas Jaeger  <aj@suse.de>
7834         * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
7836         * sysdeps/unix/sysv/linux/madvise.c: Remove.
7838         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
7839         from latest Linux kernel.
7840         * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
7842         * misc/sys/mman.h: Add prototype for mincore.
7844 2000-03-17  Ulrich Drepper  <drepper@redhat.com>
7846         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
7847         entry for GLIBC_2.0 version of setrlimit.
7848         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7850 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
7852         * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
7853         * nis/nss_compat/compat-initgroups.c: Likewise.
7854         * nis/nss_nis/nis-initgroups.c: Likewise.
7855         * nis/nss_nis/nis-netgrp.c: Likewise.
7856         * nis/nss_nis/nis-proto.c: Likewise.
7857         * nis/nss_nis/nis-rpc.c: Likewise.
7858         * nis/nss_nis/nis-service.c: Likewise.
7859         * nis/ypclnt.c: Likewise.
7861 2000-03-16  Andreas Jaeger  <aj@suse.de>
7863         * manual/Makefile: MAKEINFO is set to `:' from configure if it
7864         doesn't exist, correct checks.  Fixes PR libc/1649.
7866 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
7868         * nscd/hstcache.c: Restore correct UID.
7869         * nscd/pwdcache.c: Likewise.
7870         Patch from Gabor Gombas <gombasg@inf.elte.hu>.
7872 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
7874         * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
7875         macros for register names, in line with 2000-03-14 linux change.
7877         * sysdeps/mach/sched_yield.c: New file.
7879 2000-03-13  Roland McGrath  <roland@baalperazim.frob.com>
7881         * sysdeps/generic/lockfile.c: Include <stdio.h>
7882         (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
7883         case <libio.h> defined them.
7884         (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
7885         from __internal_*.
7886         (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7887         ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7889         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7890         for more pleasing parse error.
7892 2000-03-16  Ulrich Drepper  <drepper@redhat.com>
7894         * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7895         memory for eras.
7896         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7898         * elf/Makefile: Add rules to compile and run constload1 test.
7899         * elf/constload1.c: New file.
7900         * elf/constload2.c: New file.
7901         * elf/constload3.c: New file.
7903 2000-03-15  Ulrich Drepper  <drepper@redhat.com>
7905         * sysdeps/posix/open64.c: Make __open64 weak alias.
7906         * sysdeps/posix/pread64.c: Make __pread64 weak alias.
7907         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7908         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
7909         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7910         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
7911         * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
7912         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7913         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7914         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7915         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
7917 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
7919         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7920         Nautilus.  Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
7922 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
7924         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7925         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7927 2000-03-08  Andreas Jaeger  <aj@suse.de>
7929         * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
7931 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
7933         * timezone/africa: Update from tzdata2000d.
7934         * timezone/asia: Likewise.
7935         * timezone/australasia: Likewise.
7936         * timezone/europe: Likewise.
7937         * timezone/northamerica: Likewise.
7938         * timezone/southamerica: Likewise.
7940         * po/fr.po: Update from translation team.
7941         * po/de.po: Likewise.
7943         * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
7944         last parameter.  Move code to add map to global scope from here...
7945         * elf/dl-open.c (dl_open_worker): ...here.
7946         * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
7947         * elf/rtld.c: Adjust call to _dl_map_object_deps.
7949         * locale/programs/ld-collate.c (collate_read): Fix warning.
7951         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
7952         values and macros for register names.
7954         * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
7955         returned by seek cookie function is -1.
7957 2000-03-14  Andreas Jaeger  <aj@suse.de>
7959         * locale/localeconv.c (localeconv): Fix typo.
7960         Reported by Andre Charbonneau <andrec@corel.com>.
7962 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
7964         * iconv/skeleton.c: Increment __invocation_counter in inner loop
7965         since modules depend on it counting the number of times the conversion
7966         function got called.
7968         * iconv/gconv_open.c: Optimize loop to setup step data structure.
7970         * iconv/gconv.h: Pretty print.
7972 2000-03-04  Ulrich Drepper  <drepper@redhat.com>
7974         * posix/wordexp-test.c: Correct one of the tests added in the last
7975         change.  Really get the root passwd entry to check again ~root.
7977 2000-03-10  Andreas Jaeger  <aj@suse.de>
7979         * manual/filesys.texi (Working Directory): Fix last patch.
7980         Patch by Martin Buchholz  <martin@xemacs.org>.
7982 2000-03-10  Andreas Jaeger  <aj@suse.de>
7984         * manual/creature.texi (Feature Test Macros): Fix language.
7986 2000-03-10  Roland McGrath  <roland@baalperazim.frob.com>
7988         * mach/devstream.c (devstream_write, devstream_read): New functions.
7989         (input, output): Functions removed.
7990         (mach_open_devstream): Use devstream_{read,write} as cookie functions,
7991         using only the vanilla fopencookie interface.
7993         * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
7994         as macro for __io_functions.
7995         (funcsio): Use cookie_io_functions_t type name.
7996         (fopenport): Renamed from __fopenport.  Rewrite to call fopencookie.
7998         * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
7999         fopencookie.
8000         (fopencookie): Use it.
8001         * libio/libio.h: Declare _IO_cookie_init.
8002         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
8003         _IO_cookie_init.
8005         * libio/libio.h (__io_seek_fn): Fix second argument type
8006         to be a pointer, in line with the manual and the old stdio.
8007         * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
8009         * sysdeps/generic/bits/stdio-lock.h: New file.
8010         This is a stub with #error, but that's better than no file at all.
8012 2000-03-09  Martin Buchholz  <martin@xemacs.org>
8014         * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
8015         * manual/message.texi (Using gettextized software): Doc Fixes.
8016         * manual/message.texi (Message Translation): Doc Fixes.
8017         * manual/filesys.texi (File Size): Doc Fixes.
8018         * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
8019         * locale/programs/ld-collate.c (collate_output): Doc Fixes.
8020         * iconv/gconv_db.c (find_derivation): Doc Fixes.
8021         * manual/install.texi: Doc Fixes.
8022         * manual/search.texi (Hash Search Function): Doc Fixes.
8023         * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
8024         * FAQ.in: Doc Fixes.
8025         * config.h.in: Doc Fixes.
8026         * sysdeps/generic/dl-sysdep.c: Doc Fixes.
8027         Doc Fixes.  `allows to' is not correct English.
8029         * elf/rtld.c: Doc fixes.
8030         * manual/creature.texi (Feature Test Macros): Doc fixes.
8031         * manual/memory.texi (Hooks for Malloc): Doc Fixes.
8033         * manual/filesys.texi (Working Directory): Check for ERANGE to
8034         avoid infloop.
8036 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
8038         * string/argz-stringify.c (__argz_stringify): Fix loop termination
8039         conditions so as not to clobber the final '\0' when there is only one
8040         element in the vector.
8042 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
8044         * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
8045         broken by 2000-02-27 change.
8047         * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
8049 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
8051         * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
8052         argument type, for 2000-02-22 change in signal/signal.h declaration.
8054 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
8056         * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
8057         to getdirentries64 (no __), since the Linux implementation
8058         has no __ name, and there is no declaration for the __ name.
8060         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
8062         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
8063         sed regexp so as not to break directory names including /../ within.
8065         * sysdeps/unix/bsd/bits/waitflags.h: File removed.
8066         The sysdeps/generic file is right for BSD.  This file was in fact the
8067         Hurd file, but the only difference was the WNOREAP flag that was never
8068         actually implemented or used anywhere.
8070         * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
8071         since AC_PATH_PROG already does it for us.
8072         (PERL): Rewrite check added in 2000-02-29 change for syntactic
8073         correctness and sh portability.  I replaced the broken check
8074         with a more sensible implementation of the apparently intended
8075         semantics, which might still be questionable.  Using expr causes
8076         a non-numeric value for `perl -V:apiversion` to be accepted,
8077         refusing to use only a perl that reports a number less than 5;
8078         on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
8079         * configure: Regenerated.
8081 2000-03-08  Andreas Jaeger  <aj@suse.de>
8083         * manual/crypt.texi: Fix paths.
8085 2000-03-07  Andreas Jaeger  <aj@suse.de>
8087         * resolv/netdb.h: The descriptions of rresvport and rresvport_af
8088         were swapped.
8089         Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
8090         libc/1636.
8092 2000-03-06  Andreas Jaeger  <aj@suse.de>
8094         * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
8095         in __sgn1l, otherwise g++ fails to parse this.
8096         Reported by Sean Chen <sean.chen@turbolinux.com>.
8098 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
8100         * configure.in: Compute sizeof-long-double.
8101         * configure: Regenerated.
8102         * config.make.in: Make sizeof-long-double available to sub-makes.
8104 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
8106         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8107         call.
8109 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
8111         * Makeconfig (rpath-dirs): Add crypt.
8112         (all-subdirs): Remove md5crypt.
8113         * crypt/sysdeps/unix/crypt.c: Move to crypt/.
8114         * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
8115         * sysdeps/generic/crypt-entry.c: Delete.
8116         * crypt/sysdeps/unix/crypt.h: Move to crypt/.
8117         * sysdeps/generic/crypt.h: Delete.
8118         * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
8119         * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
8120         * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
8121         * sysdeps/generic/des_impl.c: Delete.
8122         * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
8123         * crypt/sysdeps: Delete.
8124         * crypt/crypt_util.c: Don't use `patchlevel.h'.
8125         * md5-crypt/Versions: Move to crypt/.
8126         * md5-crypt/md5-crypt.c: Move to crypt/.
8127         * md5-crypt/md5.c: Move to crypt/.
8128         * md5-crypt/md5c-test.c: Move to crypt/.
8129         * md5-crypt/md5test.c: Move to crypt/.
8130         * md5-crypt: Delete.
8131         * crypt/Makefile: Adjust for new structure.
8133 2000-03-03  Paul Eggert  <eggert@twinsun.com>
8135         * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
8136         define to 1 if not defined.
8138 2000-03-03  Andreas Jaeger  <aj@suse.de>
8140         * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
8142 2000-03-03  Andreas Jaeger  <aj@suse.de>
8144         * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
8145         cases.
8146         (xdr_int64_t): Correctly handle lower half.
8147         Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
8149 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
8151         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8152         call.
8154 2000-03-02  Andreas Jaeger  <aj@suse.de>
8156         * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
8157         2.3.43.
8159 2000-03-02  Andreas Jaeger  <aj@suse.de>
8161         * resolv/Makefile (headers): Add arpa/nameser_compat.h.
8163 2000-03-01  Andreas Jaeger  <aj@suse.de>
8165         * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
8166         (tests): Added tst-getdate.
8168         * time/tst-getdate.c: New file.
8170         * time/datemsk: New file, needed for tst-getdate.
8172 2000-02-29  Cristian Gafton  <gafton@redhat.com>
8174         * configure.in (CCVERSION): Require at least veersion 5 of perl API.
8176 2000-02-17  H.J. Lu  <hjl@gnu.org>
8178         * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
8180         * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
8181         available.
8182         (svcudp_recv): Set up message with the new "xp_pad" field for
8183         IP_PKTINFO.
8184         (svcudp_reply): Support IP_PKTINFO if available.
8186 2000-03-01  Andreas Jaeger  <aj@suse.de>
8188         * time/getdate.c (check_mday): Fix check for february.
8189         Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
8190         <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
8192 2000-03-02  Andreas Jaeger  <aj@suse.de>
8194         * posix/unistd.h: __THROW has to precede __attribute__, otherwise
8195         g++ fails to parse this.
8196         Reported by Sean Chen <sean.chen@turbolinux.com>.
8198 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
8200         * io/creat.c: Moved to...
8201         * sysdeps/generic/creat.c: ...here.
8202         * io/creat64.c: Moved to...
8203         * sysdeps/generic/creat64.c: ...here.
8204         * io/lockf.c: Moved to...
8205         * sysdeps/generic/lockf.c: ...here.
8207         * crypt/crypt.texi: Moved to...
8208         * manual/crypt.texi: ...here.
8209         * crypt/examples/genpass.c: Moved to...
8210         * manual/examples/genpass.c: ...here.
8211         * crypt/examples/mygenpass.c: Moved to...
8212         * manual/examples/mygenpass.c: ...here.
8213         * crypt/examples/testpass.c: Moved to...
8214         * manual/examples/testpass.c: ...here.
8216         * manual/Makefile (chapters): Add crypt.
8217         * manual/conf.texi: Add usual header for not-last chapter.
8218         * manual/crypt.texi: Add special header for last chapter.
8220 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
8222         * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
8223         * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
8224         complain if there is no crypt add-on.
8225         * crypt/configure: Removed.
8227         * crypt/crypt.texi: Update documentation of US export restrictions
8228         to match the 14 Jan 2000 regulations.
8230 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
8232         * crypt: New subdirectory, merged in from the crypt add-on.
8234 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
8236         * include/unistd.h: Add __rmdir and __mkdir prototypes.
8239 See ChangeLog.10 for earlier changes.