* configure.in: Add `-lm' when checking for libgd. * malloc/Makefile ($(objpfx)memusa...
[glibc/pb-stable.git] / ChangeLog
blob7c2a48959bb3353b36e4a8170da0c136c77dcec9
1 2000-08-09  Andreas Jaeger  <aj@suse.de>
3         * configure.in: Change required make versions.
5         * manual/install.texi (Tools for Compilation): Document required
6         make version.
7         (Supported Configurations): Update list of supported
8         configurations.
9         
10 2000-08-08  Ulrich Drepper  <drepper@redhat.com>
12         * locale/linereader.c (get_string): Don't print an error is a string
13         contains an unknown character.
15 2000-08-06  Ulrich Drepper  <drepper@redhat.com>
17         * locale/programs/ld-collate.c (struct symbol_t): Add name element.
18         (new_symbol): Take new parameters with name of the symbol.
19         Adjust callers.
20         (handle_ellipsis): Don't only allow character symbols.
21         (collate_read): Allow string of collating elements contain invalid
22         characters; ignore entry in this case.
23         Handle ellipsis of collating symbols before first order_start.
24         Allow ellipsis in state 0.
26 2000-08-04  Ulrich Drepper  <drepper@redhat.com>
28         * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
29         error message.
30         Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
32 2000-08-04  Greg McGary  <greg@mcgary.org>
34         * posix/regex.c (SET_HIGH_BOUND): New macro.
35         (MOVE_BUFFER_POINTER): Use it.
36         (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
37         (EXTEND_BUFFER): Use it.
39 2000-08-03  Ulrich Drepper  <drepper@redhat.com>
41         * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
42         * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
43         _wide_data but from _IO_FILE directly.
44         * libio/iofclose.c: Likewise.
45         * libio/wfileops.c: Likewise.
47         * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
48         * libio/libioP.h: Change prototypes.
50 2000-08-03  Greg McGary  <greg@mcgary.org>
52         * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
53         frame pointer early so that we save caller's frame pointer.
54         * sysdeps/i386/elf/setjmp.S: Likewise.
56         * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
57         * io/test-utime.c: Test passing NULL as utimbuf* arg.
59         * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
60         (MOVE_BUFFER_POINTER): Handle high_bound properly.
61         (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
63 2000-08-03  Ulrich Drepper  <drepper@redhat.com>
65         * iconvdata/big5.c: Updated.
66         Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
68 2000-08-02  Ulrich Drepper  <drepper@redhat.com>
70         * Makeconfig (all-subdirs): Add conform.
71         * conform/Makefile: Include ../Rules.
73         * Makefile (README): Add rules to generate here as well.
75 2000-08-02  Ulrich Drepper  <drepper@redhat.com>
77         * version.h (VERSION): Bump to 2.1.92.
79         * sysdeps/ia64/Dist: Add _mcount.S.
81         * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
83         * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
85         * elf/Makefile (distribute): Add missing modules.
87         * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
89         * posix/regex.c (compile_range): Translate range start and end
90         characters to avoid empty range in case of REG_ICASE [PR libc/1842].
92         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
93         asm/resource.h.
95         * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
97 2000-08-02  Andreas Jaeger  <aj@suse.de>
99         * elf/elf.h (EM_S390): Added.
100         (R_390_*): New relocs for S390.
102         * sysdeps/unix/sysv/linux/s390/Dist: New file.
103         * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
104         * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
105         * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
106         * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
107         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
108         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
109         * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
110         * sysdeps/unix/sysv/linux/s390/socket.S: New file.
111         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
112         * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
113         * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
114         * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
115         * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
116         * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
117         * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
118         * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
119         * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
120         * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
121         * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
122         * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
123         * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
124         * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
125         * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
126         * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
127         * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
128         * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
129         * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
130         * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
131         * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
132         * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
133         * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
134         * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
135         * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
136         * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
137         * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
138         * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
139         * sysdeps/unix/sysv/linux/s390/clone.S: New file.
140         * sysdeps/unix/sysv/linux/s390/brk.c: New file.
141         * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
142         * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
143         * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
144         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
145         * sysdeps/unix/sysv/linux/s390/Makefile: New file.
146         * sysdeps/s390/sysdep.h: New file.
147         * sysdeps/s390/sys/ucontext.h: New file.
148         * sysdeps/s390/sub_n.S: New file.
149         * sysdeps/s390/strncpy.S: New file.
150         * sysdeps/s390/strcpy.S: New file.
151         * sysdeps/s390/stackinfo.h: New file.
152         * sysdeps/s390/setjmp.S: New file.
153         * sysdeps/s390/s390-mcount.S: New file.
154         * sysdeps/s390/mul_1.S: New file.
155         * sysdeps/s390/memusage.h: New file.
156         * sysdeps/s390/memset.S: New file.
157         * sysdeps/s390/memcpy.S: New file.
158         * sysdeps/s390/memchr.S: New file.
159         * sysdeps/s390/machine-gmon.h: New file.
160         * sysdeps/s390/ldbl2mpn.c: New file.
161         * sysdeps/s390/gmp-mparam.h: New file.
162         * sysdeps/s390/fpu/fpu_control.h: New file.
163         * sysdeps/s390/fpu/fesetround.c: New file.
164         * sysdeps/s390/fpu/fegetround.c: New file.
165         * sysdeps/s390/fpu/fclrexcpt.c: New file.
166         * sysdeps/s390/fpu/bits/fenv.h: New file.
167         * sysdeps/s390/ffs.c: New file.
168         * sysdeps/s390/elf/start.S: New file.
169         * sysdeps/s390/elf/setjmp.S: New file.
170         * sysdeps/s390/elf/bsd-setjmp.S: New file.
171         * sysdeps/s390/elf/bsd-_setjmp.S: New file.
172         * sysdeps/s390/dl-machine.h: New file.
173         * sysdeps/s390/bzero.S: New file.
174         * sysdeps/s390/bsd-setjmp.S: New file.
175         * sysdeps/s390/bsd-_setjmp.S: New file.
176         * sysdeps/s390/bits/string.h: New file.
177         * sysdeps/s390/bits/setjmp.h: New file.
178         * sysdeps/s390/bits/huge_val.h: New file.
179         * sysdeps/s390/bits/endian.h: New file.
180         * sysdeps/s390/bits/byteswap.h: New file.
181         * sysdeps/s390/bcopy.S: New file.
182         * sysdeps/s390/backtrace.c: New file.
183         * sysdeps/s390/atomicity.h: New file.
184         * sysdeps/s390/asm-syntax.h: New file.
185         * sysdeps/s390/addmul_1.S: New file.
186         * sysdeps/s390/add_n.S: New file.
187         * sysdeps/s390/abort-instr.h: New file.
188         * sysdeps/s390/__longjmp.c: New file.
189         * sysdeps/s390/Makefile: New file.
190         * sysdeps/s390/Implies: New file.
191         * sysdeps/s390/Dist: New file.
192         Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
194 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
196         Remove incompatible IPv6 extension of RPC.
197         * sunrpc/Makefile: Undo changes.
198         * sunrpc/rpc_main.c: Likewise.
199         * sunrpc/rpc/clnt.h: Likewise.
200         * sunrpc/rpc/svc.h: Likewise.
201         * sunrpc/bindrsvprt6.c: Removed.
202         * sunrpc/clnt_tcp6.c: Removed.
203         * sunrpc/clnt_udp6.c: Removed.
204         * sunrpc/svc_tcp6.c: Removed.
205         * sunrpc/svc_udp6.c: Removed.
207         * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
208         dgettext, and dcgettetxt.
210         * intl/locale.alias: Update japanese aliases.
212         * sysdeps/ia64/bits/byteswap.h: New file.
213         Patch by Dan Pop <Dan.Pop@cern.ch>.
215         * misc/sys/cdefs.h: Define __attribute_format_arg__.
216         * intl/libintl.h: Use it here instead of using __attribute__ directly.
218 2000-07-13  H.J. Lu  <hjl@gnu.org>
220         * posix/regex.c (re_max_failures): Set to 4000.
222 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
224         * gnulib/Makefile (tests): Add tst-gcc.
225         * gnulib/tst-gcc.c: New file.
227         * assert/Makefile (routines): Add __assert.
228         * assert/Versions: Export __assert for glibc 2.2.
229         * assert/__assert.c: New file.
230         * assert/assert.h: Declare __assert.
232 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
234         * locale/localeinfo.h (_ISCTYPE): New macro.
235         * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
236         LC_CTYPE locale format.
237         * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
238         (ctype_output): Output class_b[nr] right before class_3level[nr].
239         (allocate_arrays): Fill class_b, similarly to class_3level.
241 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
242             Joseph S. Myers  <jsm28@cam.ac.uk>
244         * math/tgmath.h: Make standard compliant.  Don't ask how.
246 2000-07-04  H.J. Lu  <hjl@gnu.org>
248         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
249         Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
250         ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
252 2000-07-30  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
254         * include/features.h (_XOPEN_SOURCE): Update the explanation.
255         (__USE_LARGEFILE): Add an explanation.
256         (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
257         (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
259 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
261         * libio/Makefile: Enable exception handling for genops, wgenops,
262         fileops, and wfileops.
264 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
266         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
267         acount that elf/rtld's main program might remove some varibales
268         from the environment if we're trying to be secure.  Move the Hurd
269         startup data if necessary, or, if we there is no startup data,
270         make sure the magical convention that ARGV[0] is stored just after
271         the environment list.
273 2000-08-01  Philip Blundell  <philb@gnu.org>
275         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
276         (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
277         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
278         oldsetrlimit for GLIBC_2.0.
280 2000-08-01  Andreas Jaeger  <aj@suse.de>
282         * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
283         (LINE_PARSER): Allow any number of spaces between ip address and
284         number.  Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
286         * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
288         * include/netdb.h: Remove getipnodebyaddr and friends, leave
289         constants in.
291         * nis/Versions: Remove _nss_nis_getipnodebyname_r and
292         _nss_nisplus_getipnodebyname_r.
294         * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
295         now, getipnodebyname is deprecated.
296         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
297         Likewise.
299         * inet/Makefile (routines): Don't build getipnodebyaddr and
300         friends.
302         * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
304         * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
306         * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
308         * wctype/Makefile (distribute): Add wchar-lookup.h.
310         * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
312         * iconvdata/Makefile (distribute): Add isiri-3342.h.
314 2000-08-01  Andreas Schwab  <schwab@suse.de>
316         * Make-dist (dist): Resolve `..' in file names.
318 2000-08-01  Andreas Jaeger  <aj@suse.de>
320         * stdio-common/Makefile (distribute): Remove removed files, add
321         new files.
323         * Makefile (distribute): Remove include/db_185.h and db.h.
325         * include/db_185.h: Remove, it's not needed anymore.
326         * include/db.h: Likewise.
328 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
330         * inet/Makefile (tests): Remove tst-ipnode.
331         * include/netdb.h: Add stuff removed from resolv/netdb.h here for
332         now.
334 2000-07-31  Jes Sorensen  <jes@linuxcare.com>
336         * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
337         endp statements have already been added.
339 2000-04-18  David Mosberger  <davidm@hpl.hp.com>
341         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
342         <sysdeps/ia64/sysdep.h>.
344         * sysdeps/ia64/_mcount.S: New file.
346         * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
347         __gmon_start__.  Fix up extraneous whitespace.
349 2000-01-12  H.J. Lu  <hjl@gnu.org>
351         * sysdeps/ia64/elf/initfini.c: New file.
353 2000-07-31  Jes Sorensen  <jes@linuxcare.com>
355         * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
356         dependency between branch and ar.pfs write.
358 2000-07-31  H.J. Lu  <hjl@gnu.org>
360         * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
361         handle the wchar_t array.
363 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
365         * iconvdata/gb18030.c: Don't map to and from positions in ISO
366         10646 which are not yet assigned.
367         Patch by wang shouhua <shouhuawang@redflag-linux.com>.
369 2000-07-31  Andreas Jaeger  <aj@suse.de>
371         * inet/Versions: Remove getipnodebyaddr and friends from
372         GLIBC_2.2.
374         * resolv/netdb.h: Remove getipnodebyaddr and friends.
376 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
378         * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
379         ch >= 0x81 && ch2 < 0x40 as invalid.
381 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
383         * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
384         (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
386 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
388         * iconvdata/johab.c (BODY for TO_LOOP): After calling
389         ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
391 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
393         * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
394         0xb8.
395         (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
397 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
399         * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
401 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
403         * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
404         (from_ucs4): Change values of U+00A4 and U+00ED.
405         (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
407 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
409         * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
410         (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
412 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
414         * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
415         * iconvdata/isiri-3342.h: New file.
416         * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
417         treat 0x80 as a gap.
419 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
421         * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
422         (utf8_encode): Use simple shifts instead.  Fix return value.
424 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
426         * timezone/private.h: Update from tzcode2000e.
427         * timezone/asia: Update from tzdata2000e.
428         * timezone/australasia: Likewise.
429         * timezone/europe: Likewise.
430         * timezone/northamerica: Likewise.
431         * timezone/zone-tab: Likewise.
433 2000-07-30  Ralf Baechle  <ralf@gnu.org>
435         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h:  New file.  On MIPS
436         the order of struct sigaltstack members is different.
438 2000-07-26  Philip Blundell  <philb@gnu.org>
440         * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
442 2000-07-29  Ulrich Drepper  <drepper@redhat.com>
444         * locale/langinfo.h: Add entries for extra tables in CTYPE data.
445         * locale/programs/ld-ctype.c: Adjust for this.
447         * locale/programs/ld-collate.c: Add more alignment checks.
448         * locale/string/strcoll.c: Likewise.
450 2000-07-30  Mark Kettenis  <kettenis@gnu.org>
452         * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
453         outside USE_IN_LIBIO block.
455 2000-07-26  Philip Blundell  <philb@gnu.org>
457         * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
458         (elf_machine_rel): Use it for out-of-range PC24 relocs.
460 2000-07-28  Philip Blundell  <philb@gnu.org>
462         * math/test-fpucw.c: Ignore reserved bits in control word.
464 2000-07-28  Philip Blundell  <philb@gnu.org>
466         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
467         (ret): Redefine to PSEUDO_RET.
468         (PSEUDO): Remove jump to syscall_error.
470 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
472         * resolv/README: Add some information about using the resolver in
473         multi-threaded code and with C++.  Spelling fixes.
475 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
477         * resolv/resolv.h (struct __sockaddr_in): Remove.
478         (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
480 2000-07-29  Greg McGary  <greg@mcgary.org>
482         * Rules (test-bp-inputs, make-test-out): New variables.
483         ($(objpfx)%-bp.out): New rule.
484         ($(objpfx)%.out): Rewrite in terms of new variables.
486         * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
487         internal function that uses vtable.
488         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
489         * libio/vswprintf.c (_IO_vswprintf): Likewise.
491         * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
492         (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
493         (chunk_align): Likewise.
495         * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
496         in a way that conforms to decl, and avoids spurious bounds violation.
498         * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
499         * sysdeps/generic/frame.h: Likewise.
500         * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
501         around return value.
502         (__backtrace): Qualify frame-pointer chain and return address
503         pointers as __unbounded.  Wrap bounds around variable `current'.
504         * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
505         around return value.
506         (catch_segfault): Qualify frame-pointer chain and return address
507         pointers as __unbounded.  Wrap bounds around variable `current'.
508         * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
509         (ADVANCE_STACK_FRAME): Wrap bounds around return value.
510         * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
511         __unbounded.
512         (__backtrace): Qualify frame-pointer chain and return address
513         pointers as __unbounded.  Wrap bounds around variable `current'.
515         * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
516         * sysdeps/i386/mul_1.S: Likewise.
517         * sysdeps/i386/submul_1.S: Likewise.
518         * sysdeps/i386/i586/addmul_1.S: Likewise.
519         * sysdeps/i386/i586/mul_1.S: Add bounds checks.
520         * sysdeps/i386/i586/submul_1.S: Likewise.
522 2000-07-27  Andreas Jaeger  <aj@suse.de>
524         * libio/Depend: New file, libio needs localedata for tests.
525         * posix/Depend: Likewise.
527 2000-07-28  Ulrich Drepper  <drepper@redhat.com>
529         * stdio-common/_i18n_itoa.c: Removed.
530         * stdio-common/_i18n_itoa.h: Removed.
531         * stdio-common/_i18n_itowa.c: Removed.
532         * stdio-common/_i18n_itowa.h: Removed.
533         * stdio-common/_i18n_number.h: New file.
534         * stdio-common/Depend: New file.
535         * stdio-common/printf-parse.h: Handle I modifier correctly.  Optimize.
536         * stdio-common/vfprintf.c: Rewrite buffer handling for integer
537         printing.  Change printing of numbers with locale specific digits to
538         use new code in _i18n_number.h.
539         * stdio-common/Makefile (routines): Remove _i18n_itoa and
540         _i18n_itowa.
542         * stdio-common/bug13.c: Improve messages.
544         * locale/programs/ld-ctype.c (ctype_read): Improve error message.
545         (set_class_defaults): Always search also for Uxxxx names.
546         Detect insufficient number of outdigits.
548         * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
550 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
552         * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
553         _NL_CTYPE_MAP_NAMES.
554         * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
555         * wctype/wcfuncs.c (towlower, towupper): Use them.
556         * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
557         * wctype/wctrans.c (wctrans): Likewise.
558         * wctype/wctrans_l.c (__wctrans_l): Likewise.
560 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
562         * posix/fnmatch.c (is_char_class): Fix logic.  Avoid buffer overrun.
563         Use the optimized version of this function outside glibc as well.
565 2000-07-27  Jakub Jelinek  <jakub@redhat.com>
567         * locale/indigits.h (indigit_value): Correct.
568         * locale/indigitswc.h (indigitwc_value): Correct.
569         * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
570         conversion, add GROUP checking for it, fix GROUP number
571         conversion with strlen(thousands) > 1.
572         Honour width correctly in the presence of floating
573         decimal points and thousands separators.
574         * stdio-common/tst-sscanf.c: New test.
575         * stdio-common/Makefile: Add it to tests.
576         * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
577         thousands separators and group argument is non-zero.
579 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
581         * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
582         starts at GLIBC_2.2.
584 2000-07-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
586         * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
587         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
588         _test_and_set.
589         (headers): Add sys/tas.h.
590         * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
591         GLIBC_2.2 from libc.
592         * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
593         * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
594         _test_and_set.
596 2000-07-28  Andreas Jaeger  <aj@suse.de>
598         * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
600         * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
601         ($(objpfx)tst-dladdr.out): new.
602         (tests): Add tst-dladdr.
603         ($(objpfx)glrefmain): Use libdl.
605         * dlfcn/tst-dladdr.c: New file.  Based on a test by Volkmar Sieh
606         <vs@caldera.de>.
608 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
610         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
611         ftruncate(64) calls.
613 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
615         * intl/tst-translit.c: Include string.h to get prototype for
616         strcmp().
618 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
620         * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
621         name and add weak alias for __fork.
623         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
624         & pwrite to use __libc_<name> as strong names instead of
625         __syscall_<name>.
627         * include/sched.h: Add clone2 prototype.
629 2000-07-26  Jes Sorensen  <jes@linuxcare.com>
631         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
632         procedure name twice.
634 2000-07-27  Philip Blundell  <philb@gnu.org>
636         * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
638 2000-07-27  Andreas Jaeger  <aj@suse.de>
640         * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
641         MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
642         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
643         Reported by Andi Kleen <ak@suse.de>.
645         * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
646         (do_wait): Test requests with aio_return64.
647         (do_test): Change callers of do_wait.
649 2000-07-26  Andreas Jaeger  <aj@suse.de>
651         * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
652         (do_wait): Test requests with aio_return.
653         (do_test): Change callers of do_wait.
655 2000-07-27  Ulrich Drepper  <drepper@redhat.com>
657         * rt/aio_misc.c (__aio_remove_request): New function.  Handle removing
658         from request list.  Don't do the list handling here, call
659         __aio_remove_request.
660         * rt/aio_misc.h: Add prototype for __aio_remove_request.
661         * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
662         request might already be processed.  Don't do the list handling
663         here, call __aio_remove_request.
665         * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
666         LIO_DSYNC.
668         * rt/aio_misc.c: Add comment explaining why writer memory barriers
669         are missing.
671 2000-07-27  Greg McGary  <greg@mcgary.org>
673         * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
674         * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
675         in union init.  Pass zero for ignored semnum arg to semctl.
676         * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
678 2000-07-26  Greg McGary  <greg@mcgary.org>
680         * sysdeps/gnu/bits/msq.h: Qualify kernel's
681         data structure pointers as __unbounded.
682         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
683         * sysdeps/generic/bp-semctl.h: New file.
684         * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
685         pointers as __unbounded.  Check bounds of syscall args.
686         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
687         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
688         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
689         * sysdeps/unix/sysv/linux/semop.c: Likewise.
690         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
691         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
692         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
693         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
694         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
695         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
696         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
697         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
698         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
699         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
700         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
701         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
703 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
705         * libio/iofwide.c: Enable transliteration for conversion from wchar_t
706         by default.
707         * locale/C-ctype.c: Likewise.
708         * wcsmbs/wcsmbsload.c: Likewise.
710 2000-07-26  Greg McGary  <greg@mcgary.org>
712         * Makeconfig (+link-bounded, link-libc-bounded,
713         link-extra-libs-bounded): New variables.
714         (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
715         * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
716         * Rules (tests-bp.out): New variable.
717         (tests): Conditionally add BP tests.
718         (binaries-bounded): Add variable and associated rule.
719         * csu/Makefile [build-bounded] (extra-objs, install-lib):
720         Move conditional stuff after place where condition is defined.
722         * malloc/malloc.c (bp-checks.h): Add #include.
723         (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
724         (_bin_at): Add unbounded version of bin_at.
725         (IAV, chunk_alloc): Use unbounded _bin_at.
726         (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
727         chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
728         Wrap BOUNDED_N around return value.
729         (chunk_realloc): Adjust oldsize once.
731         * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
732         (__ubp_memchr): Add correct decl.
733         (_CHECK_STRING): Use __ubp_memchr.
734         * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
735         New alias for unbounded-pointer __memchr.
736         * sysdeps/i386/memchr.S: Likewise.
737         * sysdeps/ia64/memchr.S: Likewise.
738         * sysdeps/m68k/memchr.S: Likewise.
739         * sysdeps/sparc/sparc32/memchr.S: Likewise.
740         * sysdeps/sparc/sparc64/memchr.S: Likewise.
741         * sysdeps/vax/memchr.s: Likewise.
743         * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
744         (SAVE_PTR): New macro.  (save_ptr): Expand size as BP.
745         (strtok): Don't bother to write into SAVE_PTR when returning NULL.
746         * sysdeps/i386/i686/strtok.S: Likewise.
747         * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
748         RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
750         * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
751         * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
753         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
754         bounds of copy_result to mount_proc.
756 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
758         * wctype/wctype.h (__wctrans_l): New declaration.
759         * wctype/wctrans_l.c: New file.
760         * wctype/Makefile (routines): Add wctrans_l.
762 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
764         * posix/fnmatch_loop.c: Fixes for use outside glibc.
765         Patch by MacGyver <macgyver@tos.net>.
767 2000-07-26  Andreas Jaeger  <aj@suse.de>
769         * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
770         * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
771         * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
773         * rt/tst-aio.c (test_file): Fix typo.
774         * rt/tst-aio64.c (test_file): Likewise.
776         * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
777         * rt/Makefile: Add rules to build and run tst-aio3.
779         * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
780         it's not needed and confuses only.
782 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
784         * resolv/res_init.c: Add support for nameserver communication with
785         IPv6.
786         * resolv/res_send.c: Likewise.
787         * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
788         in nsaddrs field.
789         Patch by <venaas@nvg.ntnu.no>.
791 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
793         * locale/programs/ld-ctype.c (wctype_table_get): New function.
794         (wcwidth_table_get): New function.
795         (wcwidth_table_add): Call it.
796         (wctrans_table_get): New function.
797         (wctrans_table_add): Call it.
799 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
801         * rt/lio_listio.c (lio_listio): Always disable individual
802         notification.
803         * rt/Makefile: Add rules to build and run tst-aio2.
804         * rt/tst-aio2.c: New file.
806         * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
807         Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
809 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
811         * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
812         (_nss_netgroup_parseline): Use strip_whitespace to strip off any
813         leading and trailing spaces from host, user and domain name.
815 2000-07-25  Jes Sorensen  <jes@linuxcare.com>
817         * csu/defs.awk: Add support for need_endp.
819 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
821         * resolv/resolv.h: Remove __P from res_send_qhook and
822         res_send_rhook typedefs.
824 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
826         * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
828 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
830         * iconv/gconv_builtin.h: Add WCHAR_T alias.
832 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
834         * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
835         calling thread, set the cancellation flag and return success
836         instead of EINTR.
838 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
840         * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
841         * libio/tst-widetext.c: New file.
842         * libio/tst-widetext.input: New file.
844         * libio/iogetwline.c (_IO_getwline_info): Pretty print.
846         * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
847         empty external buffer correctly.
849 2000-07-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
851         * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
852         __STRING(entry) and not #entry.
853         (_RTLD_EPILOGUE): Likewise.
854         * sysdeps/mips/mips64/dl-machine.h: Likewise.
856 2000-07-25  Andreas Jaeger  <aj@suse.de>
858         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
859         according to changes in test program, run also with static only
860         builds.
861         ($(objpfx)tst-printf.out): Likewise.
863         * stdio-common/tst-unbputc.sh: Likewise.
864         * stdio-common/tst-printf.sh: Likewise.
866 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
868         * libio/wfileops.c (_IO_wdo_write): Correct return value.
870         * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
871         loop.
873         * libio/fileops.c: Pretty print.
875 2000-07-23  Bruno Haible  <haible@clisp.cons.org>
877         * wctype/wchar-lookup.h: New file.
878         * wctype/iswctype.c: Include "wchar-lookup.h".
879         (__iswctype): Support alternate locale format with 3-level tables.
880         * wctype/iswctype_l.c (__iswctype_l): Likewise.
881         * wctype/towctrans.c (__towctrans): Likewise.
882         * wctype/towctrans_l.c (__towctrans_l): Likewise.
883         * wctype/wcfuncs.c: Include "wchar-lookup.h".
884         (__ctype32_wctype, __ctype32_wctrans): Declare external.
885         (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
886         __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
887         __iswxdigit, towlower, towupper): Support alternate locale format
888         with 3-level tables.
889         * wctype/wcextra.c (iswblank): Likewise.
890         * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
891         (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
892         __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
893         __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
894         format with 3-level tables.
895         * wctype/wcextra_l.c (__iswblank_l): Likewise.
896         * wctype/wctype.c (__wctype): Likewise.  In the alternate locale
897         format, return a 3-level table pointer.
898         * wctype/wctype_l.c (__wctype_l): Likewise.
899         * wctype/wctrans.c (wctrans): Likewise.
900         * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
901         __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
902         __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
903         (iswctype): Remove macro definition.
904         * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
905         (internal_wcwidth): Support alternate locale format with 3-level
906         tables.
907         * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
908         New nl_items.
909         * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
910         Define them as being type "word".
911         * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
912         * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
913         __ctype32_width): New exported variables.
914         * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
915         alternate locale format. Don't initialize __ctype_names and
916         __ctype_width in the alternate locale format.
917         * locale/programs/localedef.h (oldstyle_tables): New declaration.
918         * locale/programs/localedef.c (oldstyle_tables): New variable.
919         (OPT_OLDSTYLE): New macro.
920         (options): Add --old-style option.
921         (parse_opt): Handle --old-style option.
922         * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
923         map_offset, class_3level, map_3level, width_3level members.
924         (ctype_output): Support for alternate locale format: Computation of
925         nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
926         _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
927         New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
928         _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
929         now contain both class and map tables.
930         (struct wctype_table): New type.
931         (wctype_table_init, wctype_table_add, wctype_table_finalize): New
932         functions.
933         (struct wcwidth_table): New type.
934         (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
935         functions.
936         (struct wctrans_table): New type.
937         (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
938         functions.
939         (allocate_arrays): Support for alternate locale format: Set
940         plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
941         256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
942         to the first 256 characters. Compute ctype->map_3level. Set
943         ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
944         instead of ctype->width.
946 2000-07-24  Ulrich Drepper  <drepper@redhat.com>
948         * libio/iogetwline.c (_IO_getwline_info): Use wide character
949         string functions.
951 2000-07-24  Jakub Jelinek  <jakub@redhat.com>
953         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
954         in wide characters, not bytes.
955         * libio/tst_putwc.c (do_test): Add test for writing lots of data
956         into file.
958 2000-07-22  Bruno Haible  <haible@clisp.cons.org>
960         * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
961         new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
962         LC_MEASUREMENT, LC_IDENTIFICATION.
964         * locale/xlocale.h (struct __locale_struct): Increase size of
965         __locales array.
966         * locale/duplocale.c (__duplocale): Copy newly added categories as
967         well.
968         * locale/freelocale.c (__freelocale): Free newly added categories.
969         * locale/newlocale.c (__newlocale): Fix typo in sanity check.
970         If a base is given, use it, don't simply return it.
972 2000-07-22  Bruno Haible  <haible@clisp.cons.org>
974         * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
975         variables, copied_key and copied_salt, instead of boolean variables.
977 2000-07-24  Andreas Jaeger  <aj@suse.de>
979         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
980         check for offset.
982         * grp/initgroups.c (initgroups_dyn_function): Renamed from
983         initgroups_function, adopted prototype for change from 2000-07-23.
984         (initgroups): Follow type change.
986         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
987         & PAGE_MASK case, reformat.
989         * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
990         from stdin and setup environment.
992 2000-07-24  Andreas Schwab  <schwab@suse.de>
994         * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
996 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
998         * string/endian.h: Explain the _*_ENDIAN constant values a bit
999         more.  Patch by scarlet@mit.edu [PR libc/1799].
1001         * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
1002         [PR libc/1792].
1004         * argp/argp-parse.c (parser_finalize): Reverse order in which
1005         parsers are run for ARGP_KEY_END.  [PR libc/1755].
1007         * grp/initgroups.c (initgroups): Don't limit the possible number
1008         of groups to NGROUPS_MAX.  Allow dynamic resizing.  Loop around
1009         the setgroups call while the call fails and descrease the number
1010         of groups each round.
1011         The name of the initgroups function in the NSS modules changed.
1012         (compat_call): Adapt for dynamic resizing.
1013         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1014         Implement dynamic resizing.
1015         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1016         Likewise.
1017         * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
1018         * hesiod/Versions: Change exported interface name.
1019         * nis/Versions: Change exported interface name.
1021 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
1023         * locale/iso-639.def: Some errors corrected.
1024         Patch by Keld Simonsen.
1026         * include/limits.h: Update non-gcc portion.
1027         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1029 2000-07-22  Mark Kettenis  <kettenis@gnu.org>
1031         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
1032         program's data space, reallocate only the space that was just
1033         deallocated to release its backing space.
1035 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
1037         * stdio-common/vfprintf.c (process_string_arg): For wide character
1038         version, handle precision also correctly.
1040         * nss/nss_files/files-hosts.c: Correct problem with three or more
1041         entries with the same name.
1043         * nss/nss_files/files-hosts.c: Implement multi handling.
1044         * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
1046 2000-07-22  Ulrich Drepper  <drepper@redhat.com>
1048         * nss/nss_files/files-parse.c: Don't pollute namespace by using
1049         strcasecmp.
1051         * grp/Makefile: Change Makefiles and tests to run only when necessary.
1052         * malloc/Makefile: Likewise.
1053         * malloc/tst-mtrace.sh: Likewise.
1054         * posix/Makefile: Likewise.
1055         * posix/globtest.sh: Likewise.
1056         * posix/wordexp-tst.sh: Likewise.
1057         * string/Makefile: Likewise.
1059 2000-07-22  Mark Kettenis  <kettenis@gnu.org>
1061         * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
1062         size instead of LC_ALL to take into account the new locale
1063         categories.
1065 2000-07-22  Ulrich Drepper  <drepper@redhat.com>
1067         * iconv/gconv_trans.c: Correct a few bugs in the search loop.  Remove
1068         remainders of hash table.
1069         * locale/categories.def: Remove remainders of transliteration
1070         hash table.
1071         * locale/langinfo.h: Likewise.
1072         * locale/programs/ld-ctype.c: Likewise.  Fix code to write out
1073         transliteration tables.
1075         * locale/gen-translit.pl: New file.
1076         * locale/C-translit.h.in: New file.
1077         * locale/C-ctype.c: Include C-translit.h.  Initialize transliteration
1078         data pointers with data from this file.
1079         * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
1080         and gen-translit.pl.
1081         Add rule to generate C-translit.h.
1082         * intl/tst-translit.c (main): Update for now performed
1083         transliteration.
1085         * stdio-common/vfscanf.c: Handle input -- with format %f correctly
1086         (it's no input error).
1087         * stdio-common/tstscanf.c: Add test case for format %f with input --.
1088         * stdio-common/scanf12.c: Correct expected result for first scanf.
1090         * stdio-common/vfprintf.c (process_string_arg): Correct handling
1091         of multibyte character strings in %s format with precision.
1093 2000-07-21  Ulrich Drepper  <drepper@redhat.com>
1095         * locale/programs/ld-collate.c (collate_read): Allow collating
1096         symbols and elements be named in reorder-after instructions.
1097         Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1099         * locale/programs/ld-collate.c (handle_ellipsis): Test for
1100         duplication with generated name, not the name of the first
1101         character.
1102         Patch by Yong Li <yong.li@asu.edu>.
1104         * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
1105         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1107 2000-07-21  Wolfram Gloger  <wg@malloc.de>
1109         * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
1110         allocations only if a non-main arena cannot be extended.
1112 2000-07-21  Ulrich Drepper  <drepper@redhat.com>
1114         * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
1115         in DF_1_NODEFLIB handling.
1117 2000-07-21  Andreas Jaeger  <aj@suse.de>
1119         * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
1120         own rule.
1122         * libio/fwide.c: Include <wchar.h> for prototype.
1124 2000-07-21  Greg McGary  <greg@mcgary.org>
1126         * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
1127         set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
1128         Define in terms of chunk_at_offset.
1129         (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
1130         (next_bin, prev_bin): offset by size of real array elements.
1131         (chunk_align): Make `m' a scalar, since that's how it's used.
1133 2000-07-21  Greg McGary  <greg@mcgary.org>
1135         * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
1136         UNCHECK_BOUNDS.
1137         * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
1138         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
1139         Wrap bounds around argv & envp and each of their string members.
1140         * sysdeps/powerpc/elf/start.S: Designate BP symbols.
1141         * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
1142         symbol in BP_SYM ().  Discard bounds of address arg.
1143         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
1144         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
1145         Discard bounds on address arg, add bounds to return value.
1147 2000-07-20  Ulrich Drepper  <drepper@redhat.com>
1149         * elf/Makefile (tests): Add filter.  Add rules to generate filter.
1150         * elf/filter.c: New file.
1151         * elf/filtmod1.c: New file.
1152         * elf/filtmod2.c: New file.
1154         * elf/rtld.c: Define _dl_bind_not variable.
1155         (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
1156         * elf/dl-support.c: Likewise.
1157         * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
1158         * elf/dl-runtime.c (fixup): Don't remember looked up value if
1159         _dl_bind_not.
1160         (profile_fixup): Likewise.
1162         * libio/Makefile (routines): Add fwide.
1163         * libio/iofwide.c (_IO_fwide): Remove locking.  This is done in
1164         fwide now.  Internal calls to _IO_fwide must do locking themselves
1165         or don't need locking.
1166         * libio/fwide.c: New file.
1168         * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
1170         * elf/Makefile: Add no modules for nodelete test.
1171         * elf/nodelmod3.c: New file.
1172         * elf/nodelmod4.c: New file.
1173         * elf/nodelete.c: Also test case where dependency of dlopen() object
1174         is marked nodelete.
1176         * elf/Makefile (tests): Add nodlopen.  Add rules to generate nodlopen.
1177         * elf/nodlopen.c: New file.
1178         * elf/nodlopenmod.c: New file.
1179         * include/dlfcn.h: Define __RTLD_DLOPEN.
1180         * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
1181         and this is a dlopen() call, do not load the binary.
1182         * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
1183         * dlfcn/dlopenold.c: Likewise.
1184         * configure.in: Add test for -z nodelete option.
1185         * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1187 2000-07-20  Mark Kettenis  <kettenis@gnu.org>
1189         Make Hesiod NSS module thread-safe.
1191         * hesiod/README.hesiod: Update.
1193         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
1194         _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
1195         _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
1196         * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
1197         hesiod-proto.
1198         * hesiod/nss_hesiod/hesiod-init.c: New file.
1199         * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
1200         * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
1201         * hesiod/nss_hesiod/nss_hesiod.h: New file.
1202         * hesiod/nss_hesiod/hesiod-service.c
1203         (_nss_hesiod_getservbyport_r): New function.  Provide support for
1204         looking up services by port number.
1205         * hesiod/nss_hesiod/hesiod-proto.c: New file.
1207         * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
1208         * hesiod/hesiod.h: Likewise.
1209         * hesiod/hesiod_p.h: Likewise.
1211 2000-07-20  Mark Kettenis  <kettenis@gnu.org>
1213         Fix problems with `struct __res_state' getting too big.
1214         * resolv/resolv.h (struct __sockaddr_in): New definition.
1215         (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
1216         the private parts of the structure to save some space.
1217         * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
1218         (struct sockaddr_in *) in call to sock_eq.
1219         Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
1221 2000-07-20  Ulrich Drepper  <drepper@redhat.com>
1223         * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
1224         * elf/dl-close.c (_dl_close): Don't close an object if it is marked
1225         with nodelete.
1226         * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
1227         to _dl_map_object.  Return immediately if no object loaded.
1228         Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
1229         * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
1230         if it exists into l_flags_1 word.
1231         * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
1232         it to determine whether loading is wanted or not.
1233         (_dl_map_object): Likewise.
1234         Call _dl_map_object_from_fd with new parameter.
1235         * sysdeps/generic/ldsodefs.h: Update prototype.
1236         * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
1237         * elf/rtld.c: Likewise.
1238         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1239         * elf/Makefile (tests): Add noload.  Add rules to generate noload.
1240         * elf/noload.c: New file.
1241         * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
1242         * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
1243         * sysdeps/mips/bits/dlfcn.h: Likewise.
1244         * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
1245         (tests-nodelete-yes): Define.
1246         (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
1247         Add rules to build nodelete and modules.
1248         * elf/nodelete.c: New file.
1249         * elf/nodelmod1.c: New file.
1250         * elf/nodelmod2.c: New file.
1251         * configure.in: Add test for -z nodelete option.
1252         * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1254         * libio/Makefile (tests): Add tst_wprintf2.
1255         (tst_wprintf2-ARGS): Define.
1256         * libio/tst_wprintf2.c: New file.
1257         Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
1259         * libio/wfiledoalloc.c: Only allocate external buffer if this
1260         hasn't happened yet.
1262         * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
1263         something in the buffer.  gconv call can write up to end of the
1264         buffer, not only _IO_write_end.
1265         (_IO_wfile_overflow): Allocate also external buffer.
1267 2000-07-19  Ulrich Drepper  <drepper@redhat.com>
1269         * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
1270         strings with precision in vfwprintf correctly.
1271         * stdio-common/vfprintf.c: Fix completely broken handling of
1272         unbuffered wide character streams.
1273         Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1275         * resolv/Makefile (distribute): Add README.
1277         * resolv/README: New file.  By Mark Kettenis <kettenis@gnu.org>.
1279 2000-07-18  Mark Kettenis  <kettenis@gnu.org>
1281         Update resolver code to BIND 8.2.3-T5B.
1283         * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
1284         __res_nclose.
1285         [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
1286         __res_mkquery, __res_nsend, __res_query, __res_querydomain and
1287         __res_search.
1288         * resolv/Banner: BIND-8.2.3-T5B.
1290         * resolv/base64.c: Update from BIND 8.2.3-T5B.
1291         * resolv/herror.c: Likewise.
1292         * resolv/inet_addr.c: Likewise.
1293         * resolv/inet_net_ntop.c: Likewise.
1294         * resolv/inet_net_pton.c: Likewise.
1295         * resolv/inet_neta.c: Likewise.
1296         * resolv/inet_ntop.c: Likewise.
1297         * resolv/nsap_addr.c: Likewise.
1298         * resolv/inet_pton.c: Likewise.  Reject a few more more invalid
1299         IPv6 addresses (ISC bug #520).
1301         * resolv/ns_name.c: Avoid emitting RCS ID in object file.
1302         * resolv/ns_parse.c: Likewise.
1303         * resolv/ns_netint.c: Likewise.
1304         * resolv/ns_samedomain.c: Likewise.
1305         * resolv/ns_ttl.c: Likewise.
1306         * resolv/ns_print.c: Update from BIND 8.2.3-T5B.  Avoid emitting
1307         RCS ID in object file.
1309         * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
1310         * resolv/res_mkquery.c: Likewise.
1311         * resolv/res_query.c: Likewise.
1312         * resolv/res_init.c: Likewise.
1313         (res_setoptions): Mark internal.
1314         * resolv/res_send.c: Likewise.
1315         [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
1316         by using poll instead.
1317         * resolv/res_comp.c: Likewise.
1318         [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
1319         weak alias for __dn_expand.
1320         * resolv/res_data.c: Likewise.
1321         (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
1322         in _res.options.  Avoids a potential security risk by avoiding a
1323         close (0).
1324         [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
1325         res_mkquery, res_query, res_querydomain adn res_search weak
1326         aliases for __res_mkquery, __res_query, __res_querydomain and
1327         __res_search.
1328         * resolv/res_libc.c: (_res): Don't initialize.  Fix res_close
1329         instead to avoid close(0).
1330         (res_init): Always use the static resolver context.
1331         [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
1332         alias for __res_init.
1334         * resolv/resolv.h: Update from BIND 8.2.3-T5B.  Move definition of
1335         RES_SET_H_ERRNO and accompanying comment to...
1336         * include/resolv.h: ... here.
1338         * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
1339         * resolv/arpa/nameser_compat.h: Likewise.
1341 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
1343         * nss/makedb.c (main): Compare result of load_db with
1344         NSS_STATUS_SUCCESS and not 0.
1345         Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
1347         * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
1349 2000-07-18  Greg McGary  <greg@mcgary.org>
1351         * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
1352         (EXTEND_BUFFER): Use it.
1354 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
1356         * include/libc-symbols.h: Define RETURN_ADDRESS macro.
1357         * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
1358         __builtin_return_address.
1359         * dlfcn/dlopenold.c: Likewise.
1360         * dlfcn/dlsym.c: Likewise.
1361         * dlfcn/dlvsym.c: Likewise.
1362         * elf/dl-profstub.c: Likewise.
1363         * malloc/malloc.c: Likewise.
1364         * sysdeps/generic/machine-gmon.h: Likewise.
1365         Based on a patch by schwidefsky@de.ibm.com.
1367 2000-07-18  Andreas Jaeger  <aj@suse.de>
1369         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
1370         NULL to elf_machine_fixup_plt t argument to silence GCC.
1372         * include/string.h: Add prototype for __memchr.
1374         * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
1376         * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
1377         instead of memrchr.
1379 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
1381         * intl/Makefile: Make sure tst-translit is run after tst-gettext.
1383         * locale/C-ctype.c: Add initializers for gap elements.
1384         * locale/programs/ld-ctype.c (ctype_output): Write out index entries
1385         for gap elements.
1387 2000-07-16  Ulrich Drepper  <drepper@redhat.com>
1389         * nscd/nscd.c (print_version): Update copyright year.
1391 2000-07-17  Greg McGary  <greg@mcgary.org>
1393         * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1394         keyletters F, I, S, W.  Remove unused keyletter V.  Surround
1395         signature argnames with angle-brackets for use as word delimiters,
1396         and to induce syntax errors for any args not handled.  Split
1397         multi-echo echoes and comment each stage.
1398         * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
1399         * sysdeps/unix/inet/syscalls.list: Likewise.
1400         * sysdeps/unix/mman/syscalls.list: Likewise.
1401         * sysdeps/unix/syscalls.list: Likewise.
1402         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1403         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1404         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1405         * sysdeps/unix/sysv/syscalls.list: Likewise.
1406         * sysdeps/unix/sysv/linux/powerpc/syscalls.list
1408         * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
1409         * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
1410         qualifiers.  Don't check NULL-terminator of argv & envp.
1411         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
1412         unbounded pointer type in word-size assertion.
1413         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
1414         cases to stifle warnings.
1416         * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
1417         _IO_file_attach.
1418         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1420         * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
1421         * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods.  Qualify
1422         ptr as __unbouned.
1424         * Makerules (o-objects): Supplement with $(o-objects$o).
1425         * string/Makefile (o-objects.ob): Add variable to pull
1426         unbounded versions of memcpy, memset and memchr into libc_b.
1428         * sysdeps/generic/bp-checks.h: Use unbounded __memchr
1429         rather than non-existent __ubp_memchr.
1430         (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
1431         (_CHECK_STRING, _CHECK_N): New macros.
1432         (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
1433         (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
1434         * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
1435         Add weak alias "memchr".
1436         * sysdeps/generic/memchr.c: Likewise.
1437         * sysdeps/i386/memchr.S: Likewise.
1438         * sysdeps/ia64/memchr.S: Likewise.
1439         * sysdeps/m68k/memchr.S: Likewise.
1440         * sysdeps/sparc/sparc32/memchr.S: Likewise.
1441         * sysdeps/sparc/sparc64/memchr.S: Likewise.
1442         * sysdeps/vax/memchr.s: Likewise.
1444         * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
1446         * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
1447         (profile_fixup): Don't define for __BOUNDED_POINTERS__.
1448         * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
1449         __BOUNDED_POINTERS__.
1450         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
1451         for __BOUNDED_POINTERS__.
1453 2000-07-17  Bruno Haible  <haible@clisp.cons.org>
1455         * iconv/gconv_open.c (__gconv_open): Initialize the __data
1456         field of struct __gconv_trans_data differently.  Don't pass NULL to
1457         trans_init_fct.  Simplify list append operation.
1459 2000-07-14  Bruno Haible  <haible@clisp.cons.org>
1461         * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
1462         not only those having tsearch.
1464 2000-07-17  Ulrich Drepper  <drepper@redhat.com>
1466         * locale/langinfo.h: Add placeholder values in enum for removed
1467         LC_CTYPE entries.
1469 2000-07-17  Jakub Jelinek  <jakub@redhat.com>
1471         * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
1472         chain if the PHDR check fails.
1474 2000-07-17  Mark Kettenis  <kettenis@gnu.org>
1476         * nss/getent.c (print_hosts): Make sure we always print a space
1477         between numeric addresses and hostnames.
1479 2000-07-17  Wolfram Gloger  <wg@malloc.de>
1481         * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
1482         i.e. if n_mmaps_max>0.
1484 2000-07-16  Mark Kettenis  <kettenis@gnu.org>
1486         * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
1487         values to remove possible clash with other AI_* constants.
1488         (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
1489         hexadecimal constants to stress the fact they're in fact
1490         bit flags.
1492 2000-07-15  Mark Kettenis  <kettenis@gnu.org>
1494         * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
1495         (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
1496         instead of res_init.
1498 2000-07-16  Ulrich Drepper  <drepper@redhat.com>
1500         * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
1501         parameters of memset calls to avoid warnings.
1503 2000-07-15  Ulrich Drepper  <drepper@redhat.com>
1505         * stdlib/Makefile: Rewrite rules to avoid running isomac unless
1506         necessary.
1508         * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
1509         Patch by Greg McGary <greg@mcgary.org>.
1511         * io/Makefile (tests): Add tst-getcwd.
1512         * io/tst-getcwd.c: New file.
1514         * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
1516 2000-07-15  Jakub Jelinek  <jakub@redhat.com>
1518         * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
1519         structure.
1521 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
1523         * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
1524         * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
1526 2000-07-12  H.J. Lu  <hjl@gnu.org>
1528         * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
1529         GLIBC_2.2.
1530         * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
1531         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
1532         (sysdep-routines): Add clone2.
1533         * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
1535 2000-07-13  Jes Sorensen  <jes@linuxcare.com>
1537         * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
1538         * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
1540 2000-06-05  David Mosberger  <davidm@hpl.hp.com>
1542         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
1543         based on sysdeps/unix/sysv/linux/bits/siginfo.h.
1544         Change type of si_band from "int" to "long".
1545         (si_imm) [USE_GNU]: Define
1546         (si_isr) [USE_GNU]: Ditto.
1547         (ILL_BREAK) [USE_GNU]: Ditto.
1548         (FPE_DECOVF) [USE_GNU]: Ditto.
1549         (FPE_DECDIV) [USE_GNU]: Ditto.
1550         (FPE_DECERR) [USE_GNU]: Ditto.
1551         (FPE_INVASC) [USE_GNU]: Ditto.
1552         (FPE_INVDEC) [USE_GNU]: Ditto.
1553         (TRAP_BRANCH) [USE_GNU]: Ditto.
1554         (TRAP_HWBKPT) [USE_GNU]: Ditto.
1556 2000-07-06  Jes Sorensen  <jes@linuxcare.com>
1558         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1559         bits/sigcontext as struct mcontext does not depend on it.
1561         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
1563 2000-07-04  Jes Sorensen  <jes@linuxcare.com>
1565         * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
1567 2000-07-04  David Mosberger-Tang  <davidm@hpl.hp.com>
1569         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
1571 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
1573         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
1575 2000-07-15  Ulrich Drepper  <drepper@redhat.com>
1577         * intl/Makefile (test-srcs): Add tst-translit.
1578         (tests): Likewise.
1579         Add rules to build and run tst-translit.
1580         * intl/tst-translit.c: New file.
1581         * intl/tst-translit.sh: New file.
1582         * intl/translit.po: New file.
1584 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
1586         * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
1587         transliteration function did its job, continue, don't stop.
1589         * iconvdata/iso646.c: Little optimizations in body for conversion
1590         from UCS4.
1592 2000-07-14  Mark Kettenis  <kettenis@gnu.org>
1594         * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
1596 2000-07-14  Mark Kettenis  <kettenis@gnu.org>
1598         * configure.in: Check for pwd binary.
1599         * config.make.in: Add PWD_P to be subsituted.
1600         * Makerules: Use $(PWD_P) instead of /bin/pwd.
1602 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
1604         * iconvdata/Makefile (modules): Add GB18030.
1605         (distribute): Add gb18030.c.
1606         * iconvdata/gconv-modules: Add entries for GB18030 module.
1607         * iconvdata/gb18030.c: New file.
1608         Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
1609         and Wu Jian.
1611 2000-07-13  Andreas Jaeger  <aj@suse.de>
1613         * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
1614         patch.
1616         * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
1617         * inet/getnetgrent.c (free_mem): Likewise.
1618         * misc/mntent.c (free_mem): Likewise.
1619         * nss/getXXbyYY.c (free_mem): Likewise.
1620         * nss/getXXent.c (free_mem): Likewise.
1621         * pwd/fgetpwent.c (free_mem): Likewise.
1622         * shadow/fgetspent.c (free_mem): Likewise.
1624 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
1626         * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
1627         64-bit architecture correctly [PR libc/1794].
1629 2000-07-13  Ulrich Drepper  <drepper@redhat.com>
1631         * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
1632         * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
1633         report that we are out of memory.
1634         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1635         * elf/dl-libc.c (dlerror_run): Likewise.
1636         * elf/dl-open.c (_dl_open): Likewise.
1637         * elf/rtld.c (dl_main): Likewise.
1638         * elf/dl-error.c: Define _dl_out_of_memory.
1639         (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
1640         the error string.
1641         * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
1642         [PR libc/1813].
1644         * dlfcn/dlerror.c (free_key_mem): Also free error string.
1646         * iconv/loop.c: Fix comment.
1648         * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
1650 2000-07-13  Andreas Jaeger  <aj@suse.de>
1652         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
1653         getcwd (NULL, size) with size > 0.
1654         Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
1656 2000-07-13  Andreas Jaeger  <aj@suse.de>
1658         * posix/Makefile: Remove build rules for libposix.
1660 2000-07-13  Andreas Schwab  <schwab@suse.de>
1662         * sysdeps/generic/glob.c (glob): Fix memory leak.
1663         [SHELL]: Remove reference to undefined variable `files'.
1664         Fixes PR libc/1782.
1666 2000-07-13  Andreas Jaeger  <aj@suse.de>
1668         * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
1669         functions.
1671         * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
1672         memory if it was allocated.
1674 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
1676         * iconv/gconv_db.c (gen_steps): Always initialize __data field of
1677         step.
1679         * iconv/gconv_open.c (__gconv_open): Reapply
1680         2000-07-12 Bruno Haible <haible@clisp.cons.org>
1682                 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1684         * iconv/gconv_open.c: Undo last two changes for now.  They break
1685         everything.
1687 2000-07-12  Andreas Jaeger  <aj@suse.de>
1689         * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
1690         compiler.
1691         (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
1692         (CFLAGS-dl-cache.c): Likewise.
1693         (CFLAGS-ldconfig.c): Added, passes directory locations.
1695         * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
1696         locate cache.
1697         * elf/ldconfig.c (LD_SO_CONF): Likewise.
1698         (main): Use configured LIBDIR and SLIBDIR.
1700 2000-07-11  Jakub Jelinek  <jakub@redhat.com>
1702         * math/bits/cmathcalls.h (cimag): Add __THROW.
1703         (creal, conj): Likewise.
1704         * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
1705         by negative value.
1707 2000-07-12  H.J. Lu  <hjl@gnu.org>
1709         * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
1710         for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
1712 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
1714         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
1715         it is wrong.
1717 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
1719         * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1721 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
1723         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1724         __modname.
1726 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
1728         * iconv/gconv_open.c (__gconv_open): Initialize
1729         result->__steps[cnt].__data.
1731 2000-07-12  Mark Kettenis  <kettenis@gnu.org>
1733         * nss/getent.c (services_keys): Pass port number in network byte
1734         order in call to getservbyport.
1736 2000-07-11  Andreas Jaeger  <aj@suse.de>
1738         * stdlib/Makefile (test-canon-ARGS): Fix for building in the
1739         source dir.
1740         * intl/Makefile (do-gettext-test): Likewise.
1741         * dirent/Makefile (opendir-tst1-ARGS): Likewise.
1743 2000-07-11  Andreas Schwab  <schwab@suse.de>
1745         * Makeconfig (run-program-prefix): New rule.
1746         (built-program-cmd): Use run-program-prefix.
1748 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
1750         * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
1751         and NOEXPR unconditionally available.
1753 2000-07-12  Greg McGary  <greg@mcgary.org>
1755         * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
1756         * sysdeps/posix/open64.c: Likewise.
1757         * sysdeps/generic/fegetenv.c: Likewise.
1758         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1759         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1760         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1761         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1762         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1763         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1765 2000-07-11  Greg McGary  <greg@mcgary.org>
1767         * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
1768         Add extra level of macro expansion.
1769         [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
1770         * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
1771         is available at the time `select' prototype is declared.
1772         * sysdeps/unix/make-syscalls.sh: Remove unused variables.
1773         Collect non-versioned weak aliases.  Consider only non-versioned
1774         aliases for the user-visible systemcall name.  Do checks inline with
1775         call to primitive system call.
1776         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
1777         stand-alone bounds checks to suppress unused value warnings.
1778         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1780 2000-07-10  Mark Kettenis  <kettenis@gnu.org>
1782         * sysdeps/mach/hurd/check_fds.c: New file.  Implements
1783         file descriptor checking in SUID programs for the Hurd.
1785         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
1786         res_hostalias instead of __hostalias for thread-safety.
1788 2000-07-09  Mark Kettenis  <kettenis@gnu.org>
1790         * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
1791         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
1793 2000-07-10  Ulrich Drepper  <drepper@redhat.com>
1795         * include/features.h: Include ISO C99 features if the compiler used
1796         is an ISO C99 compiler.
1797         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1799 2000-07-08  Mark Kettenis  <kettenis@gnu.org>
1801         * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
1803 2000-07-10  Andreas Jaeger  <aj@suse.de>
1805         * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
1806         it's overridden by libpthreads.
1807         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1808         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1809         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1810         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1811         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1813         * malloc/Makefile: Run tst-mtrace only with shared libs.
1815         * stdio-common/Makefile: Run unbputc and tst-printf tests only
1816         with shared libs.
1818 2000-07-10  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1820         * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
1821         that gpreg really points to the GOT section of the calling object.
1822         Scan all PT_LOAD segments of objects for stub_pc, instead of only
1823         checking a start address of first one.
1824         Fix typos.
1825         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
1826         Likewise.
1828         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
1830 2000-07-10  Andreas Jaeger  <aj@suse.de>
1832         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
1833         (string_alias->strong_alias).
1835 2000-07-08  Mark Kettenis  <kettenis@gnu.org>
1837         * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
1839 2000-07-07  Greg McGary  <greg@mcgary.org>
1841         * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
1842         have no names without leading underscores.
1844 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
1846         * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
1847         U007E.
1849         * stdio-common/Makefile (tests): Remove tst-printf here...
1850         (tests-srcs): ...and add it here.
1851         (distribute): Add tst-unbputc.sh and tst-printf.sh.
1852         Add rules to run tst-printf.sh.
1853         * stdio-common/tst-printf.c: Move code around so that there is really
1854         no further output where it's stated.
1855         * stdio-common/tst-printf.sh: New file.
1857 2000-07-07  Mark Kettenis  <kettenis@gnu.org>
1859         * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
1860         (do_write): Renamed from pwrite.
1861         (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
1862         `struct _IO_cookie_file'.
1864 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
1866         * malloc/mtrace.pl: Exit with exit code 1 if any leak was
1867         detected.
1868         * malloc/tst-mtrace.sh: Run mtrace script.
1870 2000-07-07  Greg McGary  <greg@mcgary.org>
1872         * posix/regex.c (EXTEND_BUFFER): Compute increment once.
1873         Move all three components of a bounded pointer.
1875 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
1877         * locale/programs/locale.c (write_locales): Don't simply add all
1878         directories found in the subdir, test whether at least the
1879         LC_CTYPE file is in there.
1881 2000-07-06  Ulrich Drepper  <drepper@redhat.com>
1883         * iconvdata/euc-jp.c: Map characters in C1 area to itself.
1884         * iconvdata/euc-kr.c: Likewise.
1886         * stdio-common/vfprintf.c (process_string_arg): Check result of
1887         wcrtomb call and bail out if it failed.
1889         * malloc/Makefile (test-srcs): Add tst-mtrace.
1890         (distribute): Add tst-mtrace.sh.
1891         Add rule to run tst-mtrace.sh.
1892         * malloc/tst-mtrace.c: New file.
1893         * malloc/tst-mtrace.sh: New file.
1895         * include/signal.h: Declare __libc_sigaction.
1896         * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
1897         * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
1898         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1899         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1900         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1901         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1902         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1904         * configure.in: Fix CFLAGS-memprofstat.c definition after
1905         2000-06-19 change.
1906         Patch by Bradford W. Johnson <bradford@math.umn.edu>.
1908 2000-07-06  Jakub Jelinek  <jakub@redhat.com>
1910         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
1911         instead of NULL to elf_machine_fixup_plt t argument.
1912         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1913         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
1914         cast.
1916 2000-07-06  Andreas Jaeger  <aj@suse.de>
1918         * crypt/Makefile (LDLIBS-cert): Removed.
1919         (LDLIBS-md5c-test): Removed.
1920         ($(objpfx)cert): Renamed from cert.out to fix dependencies.
1921         ($(objpfx)md5c-test): Likewise for md5c-test.out.
1923 2000-07-06  Andreas Jaeger  <aj@suse.de>
1925         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
1926         of the proc system is "proc".
1928         * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
1929         thread library for static programs.
1931 2000-07-06  Greg McGary  <greg@mcgary.org>
1933         * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
1934         New macros.
1935         * sysdeps/generic/strcpy.c: Add bounds checks.
1936         * sysdeps/unix/fxstat.c: Likewise.
1937         * sysdeps/unix/xstat.c: Likewise.
1938         * sysdeps/unix/common/lxstat.c: Likewise.
1939         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1940         * sysdeps/unix/sysv/linux/execve.c: Likewise.
1941         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1942         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1943         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1944         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1945         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1946         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1947         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1948         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1949         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1950         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1951         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1952         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1953         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1954         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1955         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1956         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1957         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1958         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1959         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1960         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1961         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1962         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1963         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1964         * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1965         * sysdeps/unix/sysv/linux/writev.c: Likewise.
1966         * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1967         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1968         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1969         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1970         * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1971         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1972         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1973         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1974         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1975         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1976         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1977         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1978         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1979         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1980         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1981         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1982         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1983         * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
1984         * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
1985         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1986         * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
1987         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1988         * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
1989         * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
1990         * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
1991         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1992         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1993         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1994         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1995         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1996         * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1997         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1998         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
1999         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2000         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
2001         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2002         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
2004         * string/endian.h (__LONG_LONG_PAIR): New macro.
2005         * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
2006         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2007         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2008         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2009         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2010         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2011         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
2012         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2013         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2014         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2015         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2016         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2018         * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
2020 2000-07-06  Andreas Jaeger  <aj@suse.de>
2022         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
2023         Initialize result.
2025         * math/test-fpucw.c: Include <stdio.h> for printf.
2027 2000-07-05  Greg McGary  <greg@mcgary.org>
2029         * sysdeps/generic/bp-checks.h: New file.
2030         * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
2031         with list of #include files.
2032         * sysdeps/unix/make-syscalls.sh: Handle new arg signature
2033         keyletters a, b, B, f, n, N, P, v, V.  Fixup some indentation.
2034         Don't generate BP thunk if `V' appears in signature.
2035         Generate thunks with complete bounds checks.
2036         * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
2037         * sysdeps/unix/inet/syscalls.list: Likewise.
2038         * sysdeps/unix/mman/syscalls.list: Likewise.
2039         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2040         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2041         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2042         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2044 2000-07-05  Ulrich Drepper  <drepper@redhat.com>
2046         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
2047         result.  Search first in /etc/mtab (proc/mounts would be stupid).
2048         If mount not in the file fall back on /proc.
2050         * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
2051         string got copied in.
2052         Patch by Solar Designer <solar@false.com>.
2054 2000-07-05  Andreas Jaeger  <aj@suse.de>
2056         * manual/install.texi (Installation): Update information about
2057         add-ons.
2058         (Configuring and compiling): Update for glibc 2.2.
2060 2000-07-04  Andreas Jaeger  <aj@suse.de>
2062         * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
2063         (_FPU_IEEE): Likewise.
2065         * math/Makefile (tests): Add test-fpucw.
2067         * math/test-fpucw.c (main): New file.
2069 2000-07-05  Ulrich Drepper  <drepper@redhat.com>
2071         * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
2073         * locale/programs/ld-collate.c (collate_output): Also write out the
2074         collation sequence values and the wide character string for the
2075         collation symbol table.
2077         * posix/fnmatch.c: Include "../locale/elem-hash.h".
2078         * posix/fnmatch_loop.c: Implement collating symbol handling.
2079         * posix/tst-fnmatch.input: Add more tests, especially for collating
2080         symbol handling.
2082         * posix/regex.c: Fix comment.
2084 2000-07-05  Andreas Jaeger  <aj@suse.de>
2086         * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
2087         (_FPU_GETCW): Remove extra colon.
2088         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2090         * posix/fnmatch_loop.c (FCT): Only declare len if
2091         !WIDE_CHAR_VERSION to silence GCC.
2093         * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
2094         prototype.
2095         * sysdeps/generic/strchrnul.c: Likewise.
2096         * sysdeps/generic/strlen.c: Likewise.
2097         * sysdeps/generic/strchr.c: Likewise.
2098         * sysdeps/generic/memchr.c: Likewise.
2100 2000-07-04  Ulrich Drepper  <drepper@redhat.com>
2102         * posix/fnmatch_loop.c: Implement equivalence class handling.
2103         * posix/tst-fnmatch.input: Add tests for equivalence class
2104         handling.
2106         * posix/fnmatch_loop.c: Improve performance for single-byte
2107         character sets by not using btowc.
2109         * posix/tst-fnmatch.input: Add tests for locale dependent
2110         behaviour.
2111         * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
2113         * posix/tst-fnmatch.input: Add more test cases.
2115         * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
2116         are not aligned to alignof(md5_uint32) do it before calling
2117         __md5_process_bytes.
2118         * crypt/md5.c: Make sure buffers are aligned.
2119         * crypt/md5.h: Likewise.
2120         Reported by Solar Designer <solar@false.com>.
2122         * crypt/Makefile: Add dependencies for test programs.
2124         * Rules: Define LC_ALL=C in environments of all programs we run.
2126         * intl/tst-gettext.sh (LC_ALL): Define to C and export.
2128 2000-07-03  H.J. Lu  <hjl@gnu.org>
2130         * locale/programs/ld-ctype.c (ctype_output): The size of iov
2131         is 2 + elem + offset, not 2 + elem + offset + 2.
2133 2000-07-04  Ulrich Drepper  <drepper@redhat.com>
2135         * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
2136         suite.
2137         * posix/Makefile (tests): Add tst-fnmatch.
2138         (tst-fnmatch-ENV): Define.
2139         * posix/tst-fnmatch.c: New file.
2140         * posix/tst-fnmatch.sh: New file.
2142 2000-07-04  NIIBE Yutaka  <gniibe@chroot.org>
2144         * locale/programs/charmap.c (charmap_read): Prepend
2145         the condition filename == NULL.
2147 2000-07-03  Greg McGary  <greg@mcgary.org>
2149         * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
2151         * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
2152         ($(objpfx)b$(start-installed-name)): Add non-elf rule.
2154         * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
2155         * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
2156         (FILEBUF_LITERAL): Add cast for CHAIN init.
2157         * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
2158         (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2159         Revert type of `fp' to _IO_FILE*.
2160         (_IO_iter_file): Remove cast.
2161         (_IO_iter_next): Elide intermediate member reference.
2163         * sysdeps/powerpc/strchr.S:  Check bounds.
2164         Wrap extern symbols in BP_SYM ().
2166 2000-07-03  Andreas Jaeger  <aj@suse.de>
2168         * dlfcn/Makefile (generated): New.
2170 2000-07-03  Ulrich Drepper  <drepper@redhat.com>
2172         * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
2173         (__uflow): Likewise.
2174         (__underflow): Likewise.
2175         * libio/wgenops.c (__wunderflow): Likewise.
2176         * stdio-common/tst-unbputc.c: New file.
2177         * stdio-common/tst-unbputc.sh: New file.
2178         * stdio-common/Makefile: Add rules to build and run tst-unbputc.
2180         * po/en_GB.po: New file.
2181         Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
2183 2000-07-01  Andreas Jaeger  <aj@suse.de>
2185         * intl/Makefile (generated-dirs): New.
2187         * elf/Makefile (generated): trusted-dirs.h is always generated,
2188         move out of build-shared condition.
2189         (generated): Merge the two entries for build-shared.
2191 2000-07-01  Ulrich Drepper  <drepper@redhat.com>
2193         * debug/Makefile (distribute): Add xtrace.sh.
2195 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
2197         * version.h (VERSION): Bump to 2.1.91.
2199         * configure.in: Update warning comment.  glibc should not be
2200         broken anymore.
2202         * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content.  Add
2203         ioperm.c, sys/procfs.h, and sys/io.h.
2205         * sysdeps/powerpc/Dist: Add bp-asm.h.
2207         * assert/Depend: Add localedata.
2208         * assert/Makefile (test-assert-ENV): New.  Define LANGUAGE=C.
2209         (test-assert-perr-ENV): New.  Define LANGUAGE=C.
2211         * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
2212         R_ALPHA_REFQUAD]: Use memcpy to load and store value from
2213         relocation address to prevent unaligned trap.
2214         Suggested by Richard Henderson <rth@cygnus.com>.
2216 2000-06-30  Jakub Jelinek  <jakub@redhat.com>
2218         * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
2219         if redirecting and either redirection is done using defines or
2220         not optimizing.
2222 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
2224         * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
2225         generated expressions.
2226         Patch by Darren McClelland <dmcclell@zetec.com>.
2228         * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
2229         since zic uses setlocale and gettext but we cannot make it use the
2230         new locale data since zic calls a shell which might not use the
2231         new libc.
2233         * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
2234         handling the internation currency symbol.  POSIX says that the
2235         fourth character is used to separate the currency symbol from the
2236         value.  Therefore it does not have to be printed.  But we cannot
2237         remove the space if the currency symbol is printed before the
2238         number since this is what many locales expect.
2240         * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
2241         whether this information is available.
2243         * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
2244         buffers in case the translation is too large.  Remember allocated
2245         memory blocks in a list.
2246         (free_mem): Free memory for translations.
2248         * intl/tst-gettext.c: Use correct locale.  Improve error messages.
2250         * locale/programs/ld-ctype.c (ctype_output): If no default_missing
2251         information is available set the string length to zero.
2253         * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
2255 2000-06-30  Greg McGary  <greg@mcgary.org>
2257         * sysdeps/powerpc/bp-asm.h: New file.
2258         * sysdeps/powerpc/__longjmp.S:  Check bounds.
2259         Wrap extern symbols in BP_SYM ().
2260         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
2261         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
2262         * sysdeps/powerpc/setjmp.S: Likewise.
2263         * sysdeps/powerpc/add_n.S: Likewise.
2264         * sysdeps/powerpc/addmul_1.S: Likewise.
2265         * sysdeps/powerpc/lshift.S: Likewise.
2266         * sysdeps/powerpc/rshift.S: Likewise.
2267         * sysdeps/powerpc/mul_1.S: Likewise.
2268         * sysdeps/powerpc/sub_n.S: Likewise.
2269         * sysdeps/powerpc/submul_1.S: Likewise.
2270         * sysdeps/powerpc/strlen.S: Likewise.
2271         * sysdeps/powerpc/memset.S: Likewise.
2272         * sysdeps/powerpc/stpcpy.S: Likewise.
2273         * sysdeps/powerpc/strcmp.S: Likewise.
2274         * sysdeps/powerpc/strcpy.S: Likewise.
2275         * sysdeps/powerpc/elf/bzero.S: Likewise.
2277         * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
2278         Line up operands column with tabs.
2280 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
2282         * elf/Makefile (LDFLAGS-origtest): Actually add it.
2284         * sysdeps/ia64/htonl.S: New file.
2285         * sysdeps/ia64/htons.S: New file.
2286         * sysdeps/ia64/memcpy.S: Replace with version which does not use
2287         floating point registers.
2288         Patches by Dan Pop <Dan.Pop@cern.ch>.
2290 2000-06-30  Andreas Jaeger  <aj@suse.de>
2292         * posix/Makefile (tests): tst-exec and tst-spawn only work with
2293         shared libraries.
2295         * io/Makefile (CFLAGS-test-lfs.c): New.
2296         (tests): Add test-lfs.
2298         * io/test-lfs.c: New file.
2300 2000-06-30  Jakub Jelinek  <jakub@redhat.com>
2302         * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
2303         instruction.
2305 2000-06-29  David Mosberger-Tang  <davidm@hpl.hp.com>
2307         * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
2309 2000-06-29  Jes Sorensen  <jes@linuxcare.com>
2311         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
2312         alias to the fstatfs call.
2314         * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
2315         * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
2317         * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
2318         * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
2320         * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
2321         * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
2322         * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
2323         * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
2325         * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
2326         * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
2328         * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
2329         * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
2331         * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
2332         * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
2334         * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
2336 2000-06-29  Andreas Jaeger  <aj@suse.de>
2338         * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
2339         with syslog.
2340         (print_err_message): Likewise.
2341         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
2343 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
2345         * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
2346         used as words is properly aligned.
2348         * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
2349         data files.
2351 2000-06-29  Greg McGary  <greg@mcgary.org>
2353         * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
2354         * sysdeps/unix/make-syscalls.sh: Handle signatures of
2355         length 7..9, just in case...
2356         * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
2358         * sysdeps/i386/bp-asm.h (PCOFF): New constant.
2359         (POP_ERRNO_LOCATION_RETURN): Fold insns.
2360         * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
2361         (PUSH_SIGNAL_MASK): New macro.
2362         * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
2363         LEAVE is unnecessary.  Check bounds of jmp_buf.
2364         * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK.  Wrap symbols
2365         in BP_SYM ().  Check bounds of jmp_buf.  Don't call LEAVE until
2366         immediately before tail-call.
2367         * sysdeps/i386/setjmp.S: Likewise.
2368         * sysdeps/i386/bsd-_setjmp.S: Likewise.
2369         * sysdeps/i386/bsd-setjmp.S: Likewise.
2371 2000-06-29  Jakub Jelinek  <jakub@redhat.com>
2373         * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
2374         versioned_symbol.
2375         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2376         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2377         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2378         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2379         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2380         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2381         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
2382         * shlib-versions: Make sparc64 GLIBC_2.2+ only.
2384 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
2386         * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
2387         we later need to calling free().
2388         Patch by Matt Wilson <msw@redhat.com>.
2390         * stdio-common/tst-printf.c: Add test for above problem.
2392 2000-06-27  David Mosberger-Tang  <davidm@hpl.hp.com>
2394         * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
2395         * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
2397 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
2399         * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
2400         prototype for abs().
2401         * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
2403 2000-06-23  Andreas Jaeger  <aj@suse.de>
2405         * config.h.in: Don't use regparm with bounded pointers.
2407 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
2409         * stdlib/grouping.h: Correctly handle multibyte thousands
2410         separator and decimal point.
2411         * stdlib/stdtod.c: Likewise.
2412         * sysdeps/generic/strtol.c: Likewise.
2414         * locale/categories.def: Add entries for wide character decimal point
2415         and thousands separator in numeric and monetary category.
2417 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
2419         * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
2420         second definition and initialization of decimal.
2422 2000-06-28  Greg McGary  <greg@mcgary.org>
2424         * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
2425         out.
2426         (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
2427         * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
2428         in.
2429         (_IO_JUMPS): Don't cast THIS--expect arg to be a
2430         (struct _IO_FILE_plus *).
2431         (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
2432         THIS, since _IO_JUMPS no longer does it implicitly.
2433         (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
2434         arg type as (struct _IO_FILE_plus *).
2435         (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
2436         arg as (_IO_strfile *).
2437         * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
2438         Declare 1st arg as (_IO_strfile *).
2439         * libio/fileops.c (_IO_new_file_init): Declare
2440         arg type as (struct _IO_FILE_plus *).
2441         * libio/oldfileops.c (_IO_old_file_init): Likewise.
2442         * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
2443         (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2444         Declare iteration pointer as (struct _IO_FILE_plus *).
2445         (_IO_iter_next, _IO_iter_file): _IO_ITER is now
2446                 (struct _IO_FILE_plus *).
2447         * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
2448         * libio/oldstdfiles.c (_IO_list_all): Likewise.
2449         (_IO_check_libio): Set user-visible handles to
2450         (struct _IO_FILE_plus *).
2451         * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
2452         to (struct _IO_FILE_plus *).
2454         * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
2455         whose high bound includes vtable to all functions that will use
2456         vtable.  For streambufs, pass pointer whose bounds include struct
2457         _IO_strfile.
2458         * libio/wgenops.c (_IO_wdefault_finish): Likewise.
2459         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2460         * libio/iofopen.c (_IO_new_fopen): Likewise.
2461         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2462         * libio/iofopen64.c (_IO_fopen64): Likewise.
2463         * libio/iopopen.c (_IO_new_popen): Likewise.
2464         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2465         * libio/memstream.c (open_memstream): Likewise.
2466         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2467         * libio/iovsprintf.c (_IO_vsprintf): Likewise.
2468         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2469         * libio/iofopncook.c (_IO_cookie_init): Likewise.
2470         * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
2471         * libio/vasprintf.c (_IO_vasprintf): Likewise.
2472         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2473         * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2474         * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2475         * stdlib/strfmon.c (__strfmon_l): Likewise.
2476         * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
2477         (vfprintf): Qualify computed-goto targets as unbounded.
2479 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
2481         * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
2482         thousands separator correctly.
2484         * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
2485         * stdio-common/vfwscanf.c: Likewise.
2487 2000-06-27  Jes Sorensen  <jes@linuxcare.com>
2489         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
2490         count into signatures for most calls.
2492 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
2494         * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed.  We can use
2495         the generic parser now.
2497 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
2499         * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted.  Hash
2500         table entries are 32 bit on the ia64 (as specified by the ABI),
2501         not 64 bit as on the Alpha.
2503         * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
2504         change of objects to use 32 bit hash table indices (see above).
2506 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
2508         * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
2509         prototype for abs().
2511 2000-06-28  Wolfram Gloger  <wg@malloc.de>
2513         * malloc/malloc.c (chunk_alloc): If extension of the linear heap
2514         fails, try mmap_chunk() as a last resort even though n_mmaps_max
2515         may have been reached.
2517 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
2519         * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
2520         symbols in multi-character weights correctly.
2522         * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
2523         depending on whether the input string is empty or not.
2525         * wcsmbs/mbrtowc.c: Calling function without input means clearing the
2526         given state and not avoiding this by modifying a local object.
2527         * wcsmbs/wcrtomb.c: Likewise.
2529         * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
2530         object since some incomplete characters might be in there.
2532         * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
2533         sequences with first byte 0x8e correctly.
2535         * iconvdata/jis0208.h: Remove redundant test.
2537 2000-06-27  Ulrich Drepper  <drepper@redhat.com>
2539         * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
2540         Add it where it is needed now.
2542         * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
2543         the input charset into account when generating the hash table.
2544         (allocate_arrays): Correct setting default width.  Not all empty slots
2545         in the table are filled, only those not covert explicitly by the
2546         locale description and in the charset.
2548         * wctype/towctrans.c (__towctrans): Be graceful and accept error
2549         return values from the wctrans function.
2551         * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
2552         wide character version.
2553         For %C handling, test correct pointer variable for NULL.
2555         * wcsmbs/wctob.c: Handle WEOF special.
2557         * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
2559         * wctype/wctype.h: Protect gcc-isms with __extension__.  Avoid
2560         always-true test to avoid warning.
2562 2000-06-27  Greg McGary  <greg@mcgary.org>
2564         * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
2565         * include/libc-symbols.h (weak_extern): Add extra level of expansion.
2566         (symbol_version, default_symbol_version): Factor redundant
2567         definitions out of conditional.
2569 2000-06-27  Jakub Jelinek  <jakub@redhat.com>
2571         * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
2572         not obstack_blank.
2574 2000-06-26  Ulrich Drepper  <drepper@redhat.com>
2576         * include/libc-symbols.h (symbol_version): Add extra level of
2577         macro expansion.
2578         (default_symbol_version): Likewise.
2580 2000-06-26  Greg McGary  <greg@mcgary.org>
2582         * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
2583         for BP return value & push implicit struct-return pointer to
2584         __errno_location.
2585         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2586         (SYSCALL_ERROR_HANDLER): Likewise.
2587         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
2588         (SYSCALL_ERROR_HANDLER): Likewise.
2590         * Makeconfig: Add missing comment.
2591         * csu/Makefile (extra-objs, omit-deps, install-lib): Add
2592         BP-flavored startup object.
2593         ($(objpfx)b$(start-installed-name)): New rule.
2594         * include/libc-symbols.h (symbol_set_declare): Change type
2595         of `__start_##set' and `__stop_##set' to pointer-to-function.
2596         (symbol_set_declare): Change type of `set' to array of
2597         pointer-to-function.
2598         * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
2599         pointer-to-function.
2601         * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
2603         * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
2604         Remove clock_* and timer_* entries.
2605         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
2606         arg-count with signatures.
2608         * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
2609         Check bounds of arguments.
2610         * sysdeps/i386/addmul_1.S: Likewise.
2611         * sysdeps/i386/lshift.S: Likewise.
2612         * sysdeps/i386/mul_1.S: Likewise.
2613         * sysdeps/i386/rshift.S: Likewise.
2614         * sysdeps/i386/sub_n.S: Likewise.
2615         * sysdeps/i386/submul_1.S: Likewise.
2616         * sysdeps/i386/i586/add_n.S: Likewise.
2617         * sysdeps/i386/i586/addmul_1.S: Likewise.
2618         * sysdeps/i386/i586/lshift.S: Likewise.
2619         * sysdeps/i386/i586/rshift.S: Likewise.
2620         * sysdeps/i386/i586/sub_n.S: Likewise.
2621         * sysdeps/i386/i686/add_n.S: Likewise.
2623         * sysdeps/i386/memchr.S: Likewise.
2624         * sysdeps/i386/memcmp.S: Likewise.
2625         * sysdeps/i386/rawmemchr.S: Likewise.
2626         * sysdeps/i386/i586/bzero.S: Likewise.
2627         * sysdeps/i386/i586/memcpy.S: Likewise.
2628         * sysdeps/i386/i586/mempcpy.S: Likewise.
2629         * sysdeps/i386/i586/memset.S: Likewise.
2630         * sysdeps/i386/i686/bzero.S: Likewise.
2631         * sysdeps/i386/i686/memcpy.S: Likewise.
2632         * sysdeps/i386/i686/mempcpy.S: Likewise.
2633         * sysdeps/i386/i686/memset.S: Likewise.
2635         * sysdeps/i386/stpcpy.S: Likewise.
2636         * sysdeps/i386/stpncpy.S: Likewise.
2637         * sysdeps/i386/strchr.S: Likewise.
2638         * sysdeps/i386/strchrnul.S: Likewise.
2639         * sysdeps/i386/strcspn.S: Likewise.
2640         * sysdeps/i386/strpbrk.S: Likewise.
2641         * sysdeps/i386/strrchr.S: Likewise.
2642         * sysdeps/i386/strspn.S: Likewise.
2643         * sysdeps/i386/strtok.S: Likewise.
2644         * sysdeps/i386/strtok_r.S: Likewise.
2645         * sysdeps/i386/i486/strcat.S: Likewise.
2646         * sysdeps/i386/i486/strlen.S: Likewise.
2647         * sysdeps/i386/i586/strchr.S: Likewise.
2648         * sysdeps/i386/i586/strcpy.S: Likewise.
2649         * sysdeps/i386/i586/strlen.S: Likewise.
2650         * sysdeps/i386/i686/strcmp.S: Likewise.
2651         * sysdeps/i386/i686/strtok.S: Likewise.
2652         * sysdeps/i386/i686/strtok_r.S: Likewise.
2654         * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
2655         * sysdeps/i386/fpu/fesetenv.c: Likewise.
2656         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2657         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2658         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2660         * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
2661         * sysdeps/i386/mul_1.S: Likewise.
2662         * sysdeps/i386/submul_1.S: Likewise.
2663         * sysdeps/i386/i586/add_n.S: Likewise.
2664         * sysdeps/i386/i586/addmul_1.S: Likewise.
2665         * sysdeps/i386/i586/lshift.S: Likewise.
2666         * sysdeps/i386/i586/mul_1.S: Likewise.
2667         * sysdeps/i386/i586/rshift.S: Likewise.
2668         * sysdeps/i386/i586/sub_n.S: Likewise.
2669         * sysdeps/i386/i586/submul_1.S: Likewise.
2671 2000-06-26  Ulrich Drepper  <drepper@redhat.com>
2673         * rt/Makefile (librt-routines): Add clock_nanosleep.
2674         * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
2675         * sysdeps/generic/clock_nanosleep.c: New file.
2676         * sysdeps/unix/clock_nanosleep.c: New file.
2677         * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
2678         * time/time.h: Declare clock_nanosleep.
2680 2000-06-26  Greg McGary  <greg@mcgary.org>
2682         * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
2683         INSN1, INSN2, TEXT, GLOBL): Remove macros.
2684         (ALIGN): Cleanup surrounding conditionals.
2686         * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
2687         Call ENTER/LEAVE macros.
2688         * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
2689         * sysdeps/i386/submul_1.S: Likewise.
2691         * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
2692         syntax.  Define & use symbolic argument stack offsets.  Call
2693         ENTER/LEAVE macros.
2694         * sysdeps/i386/i586/mul_1.S: Likewise.
2695         * sysdeps/i386/i586/submul_1.S: Likewise.
2697 2000-06-25  Greg McGary  <greg@mcgary.org>
2699         * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
2700         not as bcopy.
2702 2000-06-25  Ulrich Drepper  <drepper@redhat.com>
2704         * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
2705         * iconvdata/gen-8bit-gap.sh: Likewise.
2706         * iconvdata/gen-8bit.sh: Likewise.
2708         * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
2710         * locale/programs/ld-collate.c (collate_read): Don't actually read
2711         the copy locale if we are ignoring the content.
2713         * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
2714         unknown character.
2716         * locale/programs/ld-collate.c: Correct handling of different
2717         collation sections.
2718         * locale/programs/localedef.c (add_to_readlist): Take locale pointer
2719         as extra parameter from which to copy category information.
2720         Change all callers.
2721         (load_locale): Likewise.
2722         * locale/programs/localedef.h: Update prototypes of add_to_readlist
2723         and load_locale.
2724         * locale/programs/ld-ctype.c: Update call to add_to_readlist.
2725         * locale/programs/locfile.h: Likewise.
2726         * locale/programs/locfile-kw.gperf: Add entry for script.
2727         * locale/programs/locfile-token.h: Add tok_script.
2729         * locale/programs/locale.c: Update copyright year.
2730         * locale/programs/localedef.c: Likewise.
2732 2000-06-23  Thorsten Kukuk  <kukuk@suse.de>
2734         * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
2735         Jens Moeller <jens.moeller@waii.com>.
2737 2000-06-24  Ulrich Drepper  <drepper@redhat.com>
2739         * locale/programs/ld-name.c (name_finish): Add missing format
2740         specifier to test for name_fmt.
2742         * locale/programs/ld-address.c (iso639): Correct length of string
2743         elements.
2744         (iso3166): Likewise.
2746         * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
2748         * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
2749         Define.
2751         * elf/elf.h (NT_PRFPXREG): Define.
2753 2000-06-23  Ulrich Drepper  <drepper@redhat.com>
2755         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
2756         PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
2758 2000-06-23  Andreas Schwab  <schwab@suse.de>
2760         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
2761         with signatures.
2763 2000-06-23  Andreas Jaeger  <aj@suse.de>
2765         * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
2767         * io/test-stat.c: Add copyright header, mention Maciej.
2769         * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
2770         SYS_mincore, SYS_madvise): Added.
2772         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
2773         execve.
2775 2000-06-22  Ulrich Drepper  <drepper@redhat.com>
2777         * libio/Makefile (tests): Add tst-getwc and tst_putwc.
2778         (CFLAGS-tst_putwc.c): New definition.
2779         * libio/tst_getwc.c: New file.
2780         * libio/tst_getwc.input: New file.
2781         * libio/tst_putwc.c: New file.
2783         * include/string.h: Add prototype for __strdup.
2785 2000-06-22  Greg McGary  <greg@mcgary.org>
2787         * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
2788         * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
2789         Fix signatures.
2791 2000-06-23  Jes Sorensen  <jes@linuxcare.com>
2793         * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
2795 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
2797         * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
2799 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
2801         * shlib-versions: Bump so versions to 6.1 for libc and libm on the
2802         ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
2804 2000-06-22  Ulrich Drepper  <drepper@redhat.com>
2806         * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
2807         * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
2808         and __S_TYPEISSHM.
2809         * sysdeps/mach/hurd/bits/stat.h: Likewise.
2810         * sysdeps/unix/bsd/bits/stat.h: Likewise.
2811         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2812         * sysdeps/unix/sysv/bits/stat.h: Likewise.
2813         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2814         * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
2815         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2816         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2817         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2818         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2819         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2820         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2821         * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
2822         * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
2823         S_TYPEISSHM.
2825 2000-06-22  Andreas Jaeger  <aj@suse.de>
2827         * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
2828         with signatures.
2830         * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
2832         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
2834 2000-06-21  Ulrich Drepper  <drepper@redhat.com>
2836         * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
2837         ahead.
2839 2000-06-21  Greg McGary  <greg@mcgary.org>
2841         * Makerules (elide-routines.*, elide-bp-thunks):
2842         Define unconditionally.
2844 2000-06-21  Jes Sorensen  <jes@linuxcare.com>
2846         * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2848 2000-06-21  Andreas Jaeger  <aj@suse.de>
2850         * io/Makefile (tests): Add test-stat.
2851         (CFLAGS-test-stat.c): New.
2853         * io/test-stat.c: New file from Maciej W. Rozycki
2854         <macro@ds2.pg.gda.pl>.
2856 2000-06-21  Jes Sorensen  <jes@linuxcare.com>
2858         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
2859         in __rlimit_resource to make them match the kernel order.
2860         rlim_t is always 64 bit, use __rlim64_t to declare it
2861         unconditionally.
2863 2000-05-04  Jes Sorensen  <jes@linuxcare.com>
2865         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
2866         RLIM_INFINITY before defining it to avoid clash with kernel header
2868 2000-05-03  Jes Sorensen  <jes@linuxcare.com>
2870         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
2872 2000-06-21  Ulrich Drepper  <drepper@redhat.com>
2874         * sysdeps/unix/sysv/linux/ia64/Versions: New file.
2876 2000-06-21  Andreas Jaeger  <aj@suse.de>
2878         * stdio-common/temptest.c: Include <stdlib.h>.
2879         * stdio-common/tst-fileno.c: Likewise.
2880         * stdio-common/scanf4.c: Likewise.
2881         * stdio-common/scanf5.c: Likewise.
2882         * time/clocktest.c: Likewise.
2883         * posix/test-vfork.c: Likewise.
2884         * posix/globtest.c: Likewise.
2885         * io/test-utime.c: Likewise.
2886         * wctype/test_wcfuncs.c: Likewise.
2887         * crypt/cert.c: Likewise.
2889         * stdio-common/tst-printfsz.c: Include <string.h>.
2890         * libio/tst_swscanf.c: Likewise.
2891         * libio/tst_wscanf.c: Likewise.
2892         * posix/runtests.c: Likewise.
2893         * posix/tst-getaddrinfo.c: Likewise.
2894         * posix/wordexp-test.c: Likewise.
2895         * misc/tst-efgcvt.c: Likewise.
2897         * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
2898         * nss/test-netdb.c: Likewise.
2900         * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
2901         supported kernel for MIPS.
2903         * elf/vismod2.c: Include <stdlib.h> for abort prototype.
2904         * rt/aio_suspend.c: Likewise.
2906 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
2908         * math/libm-test.inc: Include <string.h>.
2910 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
2912         * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
2914 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
2916         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
2917         * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
2919 2000-06-20  David Mosberger-Tang  <davidm@hpl.hp.com>
2921         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
2923 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
2925         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
2927 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
2929         * locale/programs/ld-collate.c (insert_value): Now take string and
2930         length instead of struct token* parameter.  Adjust use of token.
2931         (handle_ellipsis): Likewise.
2932         (collate_read): Allow <Uxxxx> names and transform them into names
2933         to be passed to insert_value and handle_ellipsis.
2935         * locale/programs/ld-ctype.c (uninames): New array with names of
2936         digits in <Uxxxxxxxx> format.
2937         (ctype_finish): Correct search for space character value.  Likewise
2938         for default outdigits values.
2940 2000-06-20  Greg McGary  <greg@mcgary.org>
2942         * Makerules (objects): Add BP thunks.
2944 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
2946         * locale/programs/charmap.c (parse_charmap): Handle UCS names also
2947         in width definitions.
2949 2000-06-20  Andreas Jaeger  <aj@suse.de>
2951         * sysdeps/mips/fpu/libm-test-ulps: New file.
2953         * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2954         first.
2956         * sysdeps/mips/fpu/feholdexcpt.c: New file.
2958         * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2960 2000-06-19  Ulrich Drepper  <drepper@redhat.com>
2962         * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2963         change in gconv_builtin.h.
2965         * malloc/Makefile: Change all references to memprof into memusage.
2966         * malloc/memprof.c: Rename to...
2967         * malloc/memusage.c: ...this.  New file.
2968         * malloc/memprof.sh: Rename to...
2969         * malloc/memusage.sh: ...this.  New file.
2970         * malloc/memprofstat.c: Rename to...
2971         * malloc/memusagestat.c: ...this.  New file.
2972         * sysdeps/alpha/memprof.h: Rename to..
2973         * sysdeps/alpha/memusage.h: ...this.  New file.
2974         * sysdeps/arm/memprof.h: Rename to..
2975         * sysdeps/arm/memusage.h: ...this.  New file.
2976         * sysdeps/generic/memprof.h: Rename to..
2977         * sysdeps/generic/memusage.h: ...this.  New file.
2978         * sysdeps/i386/memprof.h: Rename to..
2979         * sysdeps/i386/memusage.h: ...this.  New file.
2980         * sysdeps/ia64/memprof.h: Rename to..
2981         * sysdeps/ia64/memusage.h: ...this.  New file.
2982         * sysdeps/m68k/memprof.h: Rename to..
2983         * sysdeps/m68k/memusage.h: ...this.  New file.
2984         * sysdeps/mips/memprof.h: Rename to..
2985         * sysdeps/mips/memusage.h: ...this.  New file.
2986         * sysdeps/powerpc/memprof.h: Rename to..
2987         * sysdeps/powerpc/memusage.h: ...this.  New file.
2988         * sysdeps/sparc/memprof.h: Rename to..
2989         * sysdeps/sparc/memusage.h: ...this.  New file.
2990         * sysdeps/sh/memprof.h: Rename to..
2991         * sysdeps/sh/memusage.h: ...this.  New file.
2993         * elf/sprof.c (print_version): Update year.
2995         * elf/sprof.c (load_shobj): Don't always add load address to dynamic
2996         table entry values.  Use D_PTR.
2997         * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
2998         binaries without PLT.  Patches by James Mathiesen <james@curl.com>.
3000 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
3002         * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
3003         * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
3004         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
3005         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
3007 2000-05-05  Jes Sorensen  <jes@linuxcare.com>
3009         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
3011 2000-06-16  Jes Sorensen  <jes@linuxcare.com>
3013         * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
3014         * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
3015         * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
3017         * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
3019         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
3020         kernel change.
3022         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
3023         __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
3024         structure.
3025         Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
3026         implementation.
3028 2000-06-15  Jes Sorensen  <jes@linuxcare.com>
3030         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
3032 2000-06-08  Jes Sorensen  <jes@linuxcare.com>
3034         * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
3036 2000-06-19  Ulrich Drepper  <drepper@redhat.com>
3038         * iconv/gconv_int.h (strict gconv_module): Remove all members
3039         associated with regular expressions.  Use a simple string as the
3040         from name.
3041         * iconv/gconv_db.c: Remove code handling regular expressions.
3042         * iconv/gconv_conf.c: Likewise.
3043         * iconv/iconv_prog.c: Likewise.
3044         * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
3046         * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
3047         General namespace cleanup.
3048         (struct __gconv_trans_data): Add next field.
3049         (struct __gconv_step_data): Make __trans a pointer.
3050         * iconv/gconv_conf.c: Split out code to find gconv directories from
3051         __gconv_read_conf in new functions.
3052         * iconv/gconv_int.h: Define new data structure and declare new
3053         functions for handling of gconv directory list.
3054         * iconv/gconv_open.c: Allow more than one error handling step being
3055         used.  Call function to load error handling module if it is none
3056         of the builtin transformations.
3057         * iconv/gconv_close.c: Add code to free transliteration data.
3058         * iconv/gconv_trans.c: Add functions to load and unload modules
3059         implementing transliteration etc.
3060         * iconv/skeleton.c: Call all context functions now that more than
3061         one module is allowed.
3062         * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
3063         * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
3064         where the full error handling using transliteration is needed.
3065         * iconvdata/8bit-gap.c: Likewise.
3066         * iconvdata/8bit-generic.c: Likewise.
3067         * iconvdata/ansi_x3.110.c: Likewise.
3068         * iconvdata/big5.c: Likewise.
3069         * iconvdata/big5hkscs.c: Likewise.
3070         * iconvdata/euc-cn.c: Likewise.
3071         * iconvdata/euc-jp.c: Likewise.
3072         * iconvdata/euc-kr.c: Likewise.
3073         * iconvdata/euc-tw.c: Likewise.
3074         * iconvdata/gbgbk.c: Likewise.
3075         * iconvdata/gbk.c: Likewise.
3076         * iconvdata/iso-2022-cn.c: Likewise.
3077         * iconvdata/iso-2022-jp.c: Likewise.
3078         * iconvdata/iso-2022-kr.c: Likewise.
3079         * iconvdata/iso646.c: Likewise.
3080         * iconvdata/iso8859-1.c: Likewise.
3081         * iconvdata/iso_6937-2.c: Likewise.
3082         * iconvdata/iso_6937.c: Likewise.
3083         * iconvdata/johab.c: Likewise.
3084         * iconvdata/sjis.c: Likewise.
3085         * iconvdata/t.61.c: Likewise.
3086         * iconvdata/uhc.c: Likewise.
3087         * iconvdata/unicode.c: Likewise.
3088         * iconvdata/utf-16.c: Likewise.
3089         * libio/iofwide.c: Reset __trans member of __gconv_trans_data
3090         structure correctly after last change.
3091         * wcsmbs/btowc.c: Likewise.
3092         * wcsmbs/mbrtowc.c: Likewise.
3093         * wcsmbs/mbsnrtowcs.c: Likewise.
3094         * wcsmbs/mbsrtowcs.c: Likewise.
3095         * wcsmbs/wcrtomb.c: Likewise.
3096         * wcsmbs/wcsnrtombs.c: Likewise.
3097         * wcsmbs/wcsrtombs.c: Likewise.
3098         * wcsmbs/wctob.c: Likewise.
3100         * localedata/Makefile: Set -Wno-format for some files since gcc does
3101         not know all the format specifiers.
3103 2000-06-18  Ulrich Drepper  <drepper@redhat.com>
3105         * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
3106         unneeded code.
3107         * locale/lc-time.c (_nl_init_era_entries): Likewise.
3109 2000-06-18  Andreas Jaeger  <aj@suse.de>
3111         * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
3112         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
3114 2000-06-17  Ulrich Drepper  <drepper@redhat.com>
3116         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
3117         LINUX_LINK_MAX.
3118         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
3120         * locale/programs/ld-ctype.c (ctype_output): Really write out
3121         mboutdigits information.
3122         * localedata/tst-trans.c: Add code to test printf's I flag with locale.
3123         * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
3124         * localedata/tests/trans.def: Add outdigit information.
3126         * localedata/tst-mbswcs3.c: Remove comment.
3128         * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
3129         * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
3130         * libio/tst_wprintf.c (main): Add test for I flag.
3132         * iconv/gconv_trans.c: Implement handling if translit_ignore.
3133         * locale/langinfo.h: Add entries for translit_ignore information.
3134         * locale/categories.def: Add entries for new LC_CTYPE elements.
3135         * locale/C-ctype.c: Add initializers for new fields.  Use NULL
3136         pointer instead of "" where possible.
3137         * locale/programs/ld-ctype.c: Write out translit_ignore information.
3138         * intl/Depend: Add localedata.
3139         * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
3140         * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
3142 2000-06-16  Ulrich Drepper  <drepper@redhat.com>
3144         * locale/langinfo.h: Add entries for default_missing information.
3145         * locale/C-ctype.c: Add initializers for new fields.
3146         * iconv/gconv_trans.c: If nothing matched, try to use default_missing
3147         information.
3148         * locale/categories.h: Add entries for all LC_CTYPE values.
3149         * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
3150         information.
3152         * localedata/tst-trans.c: Write out an error message if class is
3153         not found.
3155         * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
3156         * iconv/gconv_open.c: Remove error handling specification from `from'
3157         character set name.
3158         * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
3159         new parameter to always enable transliteration.
3160         * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
3161         change.
3162         (struct locale_data): Add new members use_translit and options.
3163         * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
3164         character set name contained modifier TRANSLIT.
3165         * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
3166         and options fields.
3167         (_nl_unload_locale): Free options string if necessary.
3168         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
3169         the locale names suggested this.
3170         * locale/C-address.c: Add two new initialilzers to adjust data
3171         structure for new format.
3172         * locale/C-collate.c: Likewise.
3173         * locale/C-ctype.c: Likewise.
3174         * locale/C-identification.c: Likewise.
3175         * locale/C-measurement.c: Likewise.
3176         * locale/C-messages.c: Likewise.
3177         * locale/C-monetary.c: Likewise.
3178         * locale/C-name.c: Likewise.
3179         * locale/C-numeric.c: Likewise.
3180         * locale/C-paper.c: Likewise.
3181         * locale/C-telephone.c: Likewise.
3182         * locale/C-time.c: Likewise.
3184         * locale/setlocale.c: Add some more __builtin_expect.
3186 2000-06-15  Ulrich Drepper  <drepper@redhat.com>
3188         * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
3189         unsigned char **.
3190         (__gconv_init_fct): Remove two parameters.
3191         * iconv/gconv_int.h (__gconv_transliterate): Renamed from
3192         gconv_transliterate.  Remove two parameters.
3193         Change prototypes of builtin functions according to __gconv_fct change.
3194         * iconv/skeleton.c: Change type of fifth parameter.  make sure it is
3195         != NULL only during error handling.  Stop in this case after the
3196         conversion.
3197         * iconv/gconv_trans.c: Replace with real implementation for
3198         __gconv_transliterate.
3199         * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
3200         * iconv/gconv.c: Change calls to downstream functions once again.
3201         Use NULL for the fifth parameter instead of pointer to output buffer.
3202         * libio/iofwide.c: Likewise.
3203         * wcsmbs/btowc.c: Likewise.
3204         * wcsmbs/mbrtowc.c: Likewise.
3205         * wcsmbs/mbsnrtowcs.c: Likewise.
3206         * wcsmbs/mbsrtowcs.c: Likewise.
3207         * wcsmbs/wcrtomb.c: Likewise.
3208         * wcsmbs/wcsnrtombs.c: Likewise.
3209         * wcsmbs/wcsrtombs.c: Likewise.
3210         * wcsmbs/wctob.c: Likewise.
3211         * iconv/gconv_simple.c: Remove two parameters from error handling
3212         function call.
3213         * iconvdata/8bit-gap.c: Likewise.
3214         * iconvdata/8bit-generic.c: Likewise.
3215         * iconvdata/ansi_x3.110.c: Likewise.
3216         * iconvdata/big5.c: Likewise.
3217         * iconvdata/big5hkscs.c: Likewise.
3218         * iconvdata/euc-cn.c: Likewise.
3219         * iconvdata/euc-jp.c: Likewise.
3220         * iconvdata/euc-kr.c: Likewise.
3221         * iconvdata/euc-tw.c: Likewise.
3222         * iconvdata/gbgbk.c: Likewise.
3223         * iconvdata/gbk.c: Likewise.
3224         * iconvdata/iso-2022-cn.c: Likewise.
3225         * iconvdata/iso-2022-jp.c: Likewise.
3226         * iconvdata/iso-2022-kr.c: Likewise.
3227         * iconvdata/iso646.c: Likewise.
3228         * iconvdata/iso8859-1.c: Likewise.
3229         * iconvdata/iso_6937-2.c: Likewise.
3230         * iconvdata/iso_6937.c: Likewise.
3231         * iconvdata/johab.c: Likewise.
3232         * iconvdata/sjis.c: Likewise.
3233         * iconvdata/t.61.c: Likewise.
3234         * iconvdata/uhc.c: Likewise.
3235         * iconvdata/unicode.c: Likewise.
3236         * iconvdata/utf-16.c: Likewise.
3238 2000-06-15  Greg McGary  <greg@mcgary.org>
3240         * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
3241         of callnum assignment.  Tolerate callnum expressions containing
3242         parens.
3244 2000-06-14  Ulrich Drepper  <drepper@redhat.com>
3246         * login/Makefile (utmpd): Remove rule to build utmpd.
3248         * csu/Versions: Move libgcc frame handling functions from here...
3249         * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
3250         * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
3251         * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
3252         * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
3253         * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
3254         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
3255         New file.
3256         * sysdeps/mach/hurd/i386/Versions: ...and here.  New file.
3258         * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
3260         * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
3262 2000-06-14  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
3264         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
3265         compatibility.
3266         * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
3267         * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
3268         * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
3269         * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
3271 2000-06-14  Jakub Jelinek  <jakub@redhat.com>
3273         * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
3274         defined, terminate quotes and read them after the comment char.
3275         * configure.in (HAVE_SECTION_QUOTES): Test whether
3276         __attribute__((section ("x"))) puts quotes around x or not.
3277         * config.h.in (HAVE_SECTION_QUOTES): Add.
3278         * configure: Rebuilt.
3280 2000-06-14  Andreas Jaeger  <aj@suse.de>
3282         * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
3283         depending on the configure option --sysconfdir.
3284         Closes PR libc/1762.
3285         Patch by Andreas Schwab <schwab@suse.de>.
3287         * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
3288         entry point.
3289         Reported by Jim Pick <jim@jimpick.com>.
3291 2000-06-14  Ulrich Drepper  <drepper@redhat.com>
3293         * misc/syslog.c (vsyslog): Allow open_memstream to fail without
3294         crashing the application.  Emit some simple error message.
3295         Reported by mju@panasas.com [PR libc/1769].
3297 2000-06-13  Ulrich Drepper  <drepper@redhat.com>
3299         * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
3301         * crypt/Makefile (distribute): Add md5.h.
3303         * Makefile (distribute): Add include/shlib-compat.h.
3305         * Make-dist: Search for tests also in sysdeps hierachy.
3307         * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
3308         ufc.c, speeds.c, README.ufc-crypt, and Banner.
3310         * sysdeps/sparc/Subdirs: New file.
3312         * locale/Makefile (distribute): Add weightwc.h and
3313         programs/localedef.h.
3315         * time/Makefile (distribute): Add datemsk.
3317         * sysdeps/ia64/Dist: Add softpipe.h.
3319         * sysdeps/unix/sysv/aix/Dist: New file.
3321         * posix/setpgrp.c: Moved to...
3322         * sysdeps/generic/setpgrp.c: ...here.  New file.
3323         * io/mknod.c: Moved to...
3324         * sysdeps/generic/mknod.c: ...here.  New file.
3326         * sysdeps/unix/sysv/linux/ia64/Dist: New file.
3328         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
3330         * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
3332         * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
3333         gprsave0.S, gprrest1.S, and gprrest0.S.
3335         * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
3337         * posix/Makefile (routines): Add spawnattr_getsigmask,
3338         spawnattr_getschedpolicy, spawnattr_getschedparam,
3339         spawnattr_setsigmask, spawnattr_setschedpolicy, and
3340         spawnattr_setschedparam.
3341         * posix/Versions: Add posix_spawnattr_getschedpolicy,
3342         posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
3343         posix_spawnattr_setschedparam.
3345         * posix/spawnattr_setschedparam.c: Fix typo.
3347         * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
3348         Correct typo.
3350         * login/programs/utmpd.c: Removed.
3351         * login/programs/utmpd.h: Removed.
3352         * login/programs/utmpd-private.h: Removed.
3354         * Makefile (distribute): Add include/db_185.h and include/db.h.
3356         * iconvdata/Makefile (distribute): Add iso-ir-165.c and
3357         iso-ir-165.h.
3359         * elf/Makefile (distribute): Add missing files.
3361         * dlfcn/Makefile: Add back rules to include eval in libdl.so.
3362         * elf/eval.c: Moved to...
3363         * dlfcn/eval.c: ...here.  New file.
3365         * Makefile (distribute): Also distribute ChangeLog.1?.
3367         * Make-dist (+tsrcs): Remove .args handling here as well.
3369         * rt/Makefile (tests): Add tst-timer.
3370         * sysdeps/generic/tst-timer.c: New file.
3372         * Makerules (sources): Don't add BP sources here.
3374         * login/Makefile (distribute): Remove xtmp.h.
3376         * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
3377         is true.  Reported by Bruno Haible <haible@ilog.fr>.
3379 2000-06-13  Andreas Jaeger  <aj@suse.de>
3381         * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
3382         Patch by Ralf Baechle <ralf@gnu.org>.
3384 2000-06-13  Ulrich Drepper  <drepper@redhat.com>
3386         * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
3387         for mincore syscall.
3389         * misc/sys/cdefs.h: Define __bounded and __unbounded if
3390         __BOUNDED_POINTERS__ is not defined.
3392 2000-06-07  Greg McGary  <greg@mcgary.org>
3394         * sysdeps/generic/bp-sym.h: New file.
3395         * sysdeps/generic/bp-start.h: New file.
3396         * sysdeps/i386/elf/start.S: Designate BP symbols.
3397         * sysdeps/generic/libc-start.c: Wrap bounds around
3398         argv & envp and each of their string members.
3400 2000-06-07  Greg McGary  <greg@mcgary.org>
3402         * sysdeps/unix/make-syscalls.sh: Add comments to
3403         output that aid debugging & comprehension.
3404         Map simple syscall signatures to number of args.
3405         Generate BP syscall thunk definitions.
3406         * sysdeps/generic/bp-thunks.h: New file.
3407         * sysdeps/unix/syscalls.list: Replace arg-count with
3408         simple return+arg signature.
3409         * sysdeps/unix/common/syscalls.list: Likewise.
3410         * sysdeps/unix/inet/syscalls.list: Likewise.
3411         * sysdeps/unix/mman/syscalls.list: Likewise.
3412         * sysdeps/unix/sysv/syscalls.list: Likewise.
3413         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3414         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3416 2000-06-07  Greg McGary  <greg@mcgary.org>
3418         * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
3419         for all files *.[cS].
3420         (CFLAGS-.ob): Don't optimize sibling calls.
3421         (bppfx): New variable.
3422         * Makerules (elide-bp-thunks): New variable.
3423         (elide-routines.*): Elide BP-* files for all but *.ob.
3424         (sources): Include bp-thunks.
3426 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
3428         * iconv/gconv_simple.c: Remove unnecessary prototype.
3430         * iconv/gconv_trans.c: Pretty print.
3432         * elf/elf.h (R_SH_NUM): Got accidently dropped.
3434         * sysdeps/unix/sysv/linux/configure.in: Improve handling of
3435         minimal kernel versions.  Add information about IA-64 kernel.
3437         * sysdeps/unix/sysv/linux/configure.in: Allow architecture
3438         specific minimal supported kernel versions to be specified.
3440         * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
3441         step data structure.
3442         * wcsmbs/btowc.c: Likewise.
3443         * wcsmbs/mbrtowc.c: Likewise.
3444         * wcsmbs/mbsnrtowcs.c: Likewise.
3445         * wcsmbs/mbsrtowcs.c: Likewise.
3446         * wcsmbs/wcrtomb.c: Likewise.
3447         * wcsmbs/wcsnrtombs.c: Likewise.
3448         * wcsmbs/wcsrtombs.c: Likewise.
3449         * wcsmbs/wctob.c: Likewise.
3451         * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
3452         * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
3454         * shlib-versions: Earliest backward compatible version for SH is 2.2.
3456         * misc/sys/cdefs.h: Remove one more __P.
3458         * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
3459         Reported by HJ Lu.
3461         * sysdeps/sh/sh3/bits/setjmp.h: Removed.
3462         * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
3463         * sysdeps/sh/bits/setjmp.h: ...here.  New file.
3465 2000-06-12  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
3466             Yutaka Niibe  <gniibe@chroot.org>
3468         * configure.in: Add machine sh3, sh4.
3469         * elf/elf.h: Add SH specific declarations of relocations.
3470         * shlib-versions: Add sh*-*-linux* cases.
3472 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
3474         * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
3475         * sysdeps/sh/bsd-_setjmp.S: ...here.  New file.
3476         * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
3477         * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
3478         * sysdeps/sh/bsd-setjmp.S: ...here.  New file.
3479         * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
3481         * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
3482         instead of KERNEL_MATH_EMULATION.
3483         * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
3484         KERNEL_MATH_EMULATION.
3486         * sysdeps/sh/Dist: Removed.  There is no ieee754.h file.
3487         * sysdeps/sh/sh3/dl-machine.h: Moved to...
3488         * sysdeps/sh/dl-machine.h: ...here.  New file.
3489         * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
3490         and include generic SH version.
3491         * sysdeps/sh/sh3/bits/endian.h: Move to...
3492         * sysdeps/sh/bits/endian.h: ...here.  New file.
3493         * sysdeps/sh/sh4/bits/endian.h: Removed.
3494         * sysdeps/sh/sh3/bits/huge_val.h: Move to...
3495         * sysdeps/sh/bits/huge_val.h: ...here.  New file.
3496         * sysdeps/sh/sh4/bits/huge_val.h: Removed.
3498         * include/libc-symbols.h (link_warning): Work around a change in
3499         GAS which warns about changing section attributes.
3500         Proposed by Nick Clifton <nickc@redhat.com>.
3502 2000-06-12  H.J. Lu  <hjl@gnu.org>
3504         * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
3506 2000-06-11  H.J. Lu  <hjl@gnu.org>
3508         * sysdeps/i386/fpu/Versions: New file.
3510 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
3512         * iconv/gconv.h (__gconv_trans_context_fct): Remove two
3513         parameters.
3514         * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
3515         exists.
3517 2000-06-12  Jes Sorensen  <jes@linuxcare.com>
3519         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
3520         * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
3521         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
3523         * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
3524         * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
3525         * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
3527 2000-06-12  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
3528             Yutaka Niibe  <gniibe@chroot.org>
3530         * sysdeps/sh/Dist: New file.
3531         * sysdeps/sh/Implies: New file.
3532         * sysdeps/sh/elf/initfini.c: New file.
3533         * sysdeps/sh/gmp-mparam.h: New file.
3534         * sysdeps/sh/init-first.c: New file.
3535         * sysdeps/sh/machine-gmon.h: New file.
3536         * sysdeps/sh/memcpy.S: New file.
3537         * sysdeps/sh/memprof.h: New file.
3538         * sysdeps/sh/memset.S: New file.
3539         * sysdeps/sh/sh3/__longjmp.S: New file.
3540         * sysdeps/sh/sh3/bits/endian.h: New file.
3541         * sysdeps/sh/sh3/bits/huge_val.h: New file.
3542         * sysdeps/sh/sh3/bits/setjmp.h: New file.
3543         * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
3544         * sysdeps/sh/sh3/bsd-setjmp.S: New file.
3545         * sysdeps/sh/sh3/dl-machine.h: New file.
3546         * sysdeps/sh/sh3/setjmp.S: New file.
3547         * sysdeps/sh/sh4/__longjmp.S: New file.
3548         * sysdeps/sh/sh4/bits/endian.h: New file.
3549         * sysdeps/sh/sh4/bits/huge_val.h: New file.
3550         * sysdeps/sh/sh4/bits/setjmp.h: New file.
3551         * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
3552         * sysdeps/sh/sh4/bsd-setjmp.S: New file.
3553         * sysdeps/sh/sh4/dl-machine.h: New file.
3554         * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
3555         * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
3556         * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
3557         * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
3558         * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
3559         * sysdeps/sh/sh4/fpu/fegetround.c: New file.
3560         * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
3561         * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
3562         * sysdeps/sh/sh4/fpu/fesetround.c: New file.
3563         * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
3564         * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
3565         * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
3566         * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
3567         * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
3568         * sysdeps/sh/sh4/setjmp.S: New file.
3569         * sysdeps/sh/elf/start.S: New file.
3570         * sysdeps/sh/sys/ucontext.h: New file.
3571         * sysdeps/sh/strlen.S: New file.
3572         * sysdeps/sh/sysdep.h: New file.
3573         * sysdeps/unix/sh/sysdep.S: New file.
3574         * sysdeps/unix/sh/sysdep.h: New file.
3575         * sysdeps/unix/sysv/linux/sh/Dist: New file.
3576         * sysdeps/unix/sysv/linux/sh/Makefile: New file.
3577         * sysdeps/unix/sysv/linux/sh/Versions: New file.
3578         * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
3579         * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
3580         * sysdeps/unix/sysv/linux/sh/brk.c: New file.
3581         * sysdeps/unix/sysv/linux/sh/chown.c: New file.
3582         * sysdeps/unix/sysv/linux/sh/clone.S: New file.
3583         * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
3584         * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
3585         * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
3586         * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
3587         * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
3588         * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
3589         * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
3590         * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
3591         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
3592         * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
3593         * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
3594         * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
3595         * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
3596         * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
3597         * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
3598         * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
3599         * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
3600         * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
3601         * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
3602         * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
3603         * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
3604         * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
3605         * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
3606         * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
3607         * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
3608         * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
3609         * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
3610         * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
3611         * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
3612         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
3613         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
3614         * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
3615         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
3616         * sysdeps/unix/sysv/linux/sh/socket.S: New file.
3617         * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
3618         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3619         * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
3620         * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
3621         * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
3622         * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
3623         * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
3624         * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
3626 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
3628         * Rules (%.out): Define GCONV_PATH in the environment.
3629         * assert/Depend: New file.
3630         * iconvdata/Depend: New file.
3631         * intl/Depend: New file.
3632         * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
3633         * intl/tst-gettext.sh: Likewise.
3634         * iconv/Makefile (routines): Add gconv_trans.
3635         * iconv/gconv_trans.c: New file.
3636         * iconv/gconv.h (struct __gconv_trans_data): New type.
3637         (__gconv_fct): New parameter with starting position in output buffer.
3638         (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
3639         __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
3640         (struct __gconv_step): Add new member __trans.
3641         * iconv/gconv_int.h: Pretty print prototypes.
3642         (gconv_transliterate): New prototype.
3643         (__BUILTIN_TRANS): Update for new conversion function interface.
3644         * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
3645         * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
3646         in names, find appropriate function, and install in the conversion
3647         steps it can be used.
3648         * iconv/skeleton.c: Add additional parameter for beginning of output
3649         buffer.  Change calls of downstream functions.
3650         * iconv/loop.c: Change loop function interface completely.  Pass in
3651         step and step_data structure.  Remove optimization for BODY with
3652         NEED_LENGTH_TEST == 0.
3653         * iconv/gconv_simple.c: Update interfaces of functions.  Insert
3654         appropriate error handling code to use transliteration steps.  Remove
3655         optimization for BODY with NEED_LENGTH_TEST == 0.
3656         * iconvdata/8bit-gap.c: Likewise.
3657         * iconvdata/8bit-generic.c: Likewise.
3658         * iconvdata/ansi_x3.110.c: Likewise.
3659         * iconvdata/big5.c: Likewise.
3660         * iconvdata/big5hkscs.c: Likewise.
3661         * iconvdata/euc-cn.c: Likewise.
3662         * iconvdata/euc-jp.c: Likewise.
3663         * iconvdata/euc-kr.c: Likewise.
3664         * iconvdata/euc-tw.c: Likewise.
3665         * iconvdata/gbgbk.c: Likewise.
3666         * iconvdata/gbk.c: Likewise.
3667         * iconvdata/iso-2022-cn.c: Likewise.
3668         * iconvdata/iso-2022-jp.c: Likewise.
3669         * iconvdata/iso-2022-kr.c: Likewise.
3670         * iconvdata/iso646.c: Likewise.
3671         * iconvdata/iso8859-1.c: Likewise.
3672         * iconvdata/iso_6937-2.c: Likewise.
3673         * iconvdata/iso_6937.c: Likewise.
3674         * iconvdata/johab.c: Likewise.
3675         * iconvdata/sjis.c: Likewise.
3676         * iconvdata/t.61.c: Likewise.
3677         * iconvdata/uhc.c: Likewise.
3678         * iconvdata/unicode.c: Likewise.
3679         * iconvdata/utf-16.c: Likewise.
3680         * libio/iofwide.c: Adjust to new interface of gconv functions.  Use
3681         DL_CALL_FCT.
3682         * wcsmbs/btowc.c: Likewise.
3683         * wcsmbs/mbrtowc.c: Likewise.
3684         * wcsmbs/mbsnrtowcs.c: Likewise.
3685         * wcsmbs/mbsrtowcs.c: Likewise.
3686         * wcsmbs/wcrtomb.c: Likewise.
3687         * wcsmbs/wcsnrtombs.c: Likewise.
3688         * wcsmbs/wcsrtombs.c: Likewise.
3689         * wcsmbs/wctob.c: Likewise.
3691 2000-04-11  Geoff Keating  <geoffk@cygnus.com>
3693         * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
3694         other header files.  Mention about 128-byte cache line sizes.
3695         (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
3696         * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
3697         for current calling sequence.
3698         * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
3700         * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
3701         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3703         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
3704         and setrlimit syscalls for backwards compatibility.
3706 2000-06-10  Ulrich Drepper  <drepper@redhat.com>
3708         * iconv/skeleton.c:  Rename converted written to correcter name
3709         irreversible.
3710         * iconv/gconv.c: Rename converted variable to correcter name
3711         irreversible.
3712         * iconv/gconv_int.h: Likewise.
3713         * iconv/gconv_simple.c: Likewise.
3714         * iconv/iconv.c: Likewise.
3715         * iconv/loop.c: Likewise.
3716         * iconvdata/8bit-gap.c: Likewise.
3717         * iconvdata/8bit-generic.c: Likewise.
3718         * iconvdata/ansi_x3.110.c: Likewise.
3719         * iconvdata/big5.c: Likewise.
3720         * iconvdata/big5hkscs.c: Likewise.
3721         * iconvdata/euc-cn.c: Likewise.
3722         * iconvdata/euc-jp.c: Likewise.
3723         * iconvdata/euc-kr.c: Likewise.
3724         * iconvdata/gbgbk.c: Likewise.
3725         * iconvdata/gbk.c: Likewise.
3726         * iconvdata/iso-2022-cn.c: Likewise.
3727         * iconvdata/iso-2022-jp.c: Likewise.
3728         * iconvdata/iso-2022-kr.c: Likewise.
3729         * iconvdata/iso646.c: Likewise.
3730         * iconvdata/iso8859-1.c: Likewise.
3731         * iconvdata/iso_6937-2.c: Likewise.
3732         * iconvdata/iso_6937.c: Likewise.
3733         * iconvdata/johab.c: Likewise.
3734         * iconvdata/sjis.c: Likewise.
3735         * iconvdata/t.61.c: Likewise.
3736         * iconvdata/uhc.c: Likewise.
3737         * iconvdata/unicode.c: Likewise.
3738         * iconvdata/utf-16.c: Likewise.
3740         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
3741         __cmsg_data field with __extension__.
3743 2000-06-10  David Mosberger  <davidm@hpl.hp.com>
3745         * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
3747 2000-06-10  Ulrich Drepper  <drepper@redhat.com>
3749         * iconv/gconv_simple.c: Fix various small bugs in several
3750         functions.
3752         * iconv/loop.c: Fix comment.
3754 2000-06-10  Jakub Jelinek  <jakub@redhat.com>
3756         * elf/link.h: Remove libc internal declarations.
3757         * include/link.h: Move them here.
3759 2000-06-09  Ulrich Drepper  <drepper@redhat.com>
3761         * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
3762         Patch by Dan Pop <Dan.Pop@cern.ch>.
3764         Rewrite error message handling.
3765         * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
3766         _dl_catch_error.
3767         * elf/dl-error (struct catch): Add objname member.
3768         (_dl_signal_error): Take new parameter with object name.  When
3769         passing message on simply store object name and duplicate error
3770         message.
3771         (_dl_catch_error): Take new parameter.  Store object name in the
3772         place pointed to.
3773         * include/dlfcn.h: Adjust _dl_catch_error prototype.
3774         * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
3775         * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
3776         (dlerror): Add objname to asprintf() parameters.
3777         (_dl_error_run): Pass new parameter to _dl_catch_error.
3778         * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
3779         * elf/dl-open.c (_dl_open): Likewise.
3780         * elf/rtld.c (dl_main): Likewise.
3781         * elf/dl-close.c: Mark error messages with N_().
3782         * elf/dl-deps.c: Likewise.
3783         * elf/dl-error.c: Likewise.
3784         * elf/dl-load.c: Likewise.
3785         * elf/dl-open.c: Likewise.
3786         * elf/dl-reloc.c: Likewise.
3787         * elf/dl-support.c: Likewise.
3788         * elf/dl-sym.c: Likewise.
3789         * elf/dl-version.c: Likewise.
3790         * elf/dl-lookup.c: Add comments about problems with error message
3791         translations.
3792         * elf/dl-reloc.c: Likewise.
3793         * elf/dl-version.c: Likewise.
3795 2000-06-09  H.J. Lu  <hjl@gnu.org>
3797         * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
3798         after freeing it.
3800         * dlfcn/Makefile (distribute): Add failtestmod.c.
3801         (tests): Add failtest.
3802         Add rules to build and run failtest.
3803         * dlfcn/failtest.c: New file.
3804         * dlfcn/failtestmod.c: New file.
3806 2000-06-09  David Mosberger-Tang  <davidm@hpl.hp.com>
3808         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
3809         * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
3810         * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
3811         * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
3812         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
3814 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
3816         * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
3817         * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
3819 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
3820             Ulrich Drepper  <drepper@redhat.com>
3822         * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
3823         * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
3824         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
3825         * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
3826         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
3827         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
3829 2000-06-09  Ulrich Drepper  <drepper@redhat.com>
3831         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
3832         to find correct mount point despite wrong information from the
3833         kernel.
3835 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
3837         * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
3838         the address of a symbol so function pointers are handled properly.
3840 2000-06-08  Ulrich Drepper  <drepper@redhat.com>
3842         * sysdeps/i386/Dist: Add bp-asm.h.
3844         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
3845         defaultdir variable instead of "/var/shm" everywhere.
3846         (defaultdir): Change to /dev/shm/.
3848 2000-06-08  Greg McGary  <greg@mcgary.org>
3850         * sysdeps/i386/bp-asm.h: New file.
3851         * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
3852         offsets.  Add ENTER/LEAVE macros for optionally maintaining
3853         frame-pointer chain when debugging.
3854         * sysdeps/i386/add_n.S: Likewise.
3855         * sysdeps/i386/addmul_1.S: Likewise.
3856         * sysdeps/i386/lshift.S: Likewise.
3857         * sysdeps/i386/memchr.S: Likewise.
3858         * sysdeps/i386/memcmp.S: Likewise.
3859         * sysdeps/i386/mul_1.S: Likewise.
3860         * sysdeps/i386/rawmemchr.S: Likewise.
3861         * sysdeps/i386/rshift.S: Likewise.
3862         * sysdeps/i386/stpcpy.S: Likewise.
3863         * sysdeps/i386/stpncpy.S: Likewise.
3864         * sysdeps/i386/strchr.S: Likewise.
3865         * sysdeps/i386/strchrnul.S: Likewise.
3866         * sysdeps/i386/strcspn.S: Likewise.
3867         * sysdeps/i386/strpbrk.S: Likewise.
3868         * sysdeps/i386/strrchr.S: Likewise.
3869         * sysdeps/i386/strspn.S: Likewise.
3870         * sysdeps/i386/strtok.S: Likewise.
3871         * sysdeps/i386/sub_n.S: Likewise.
3872         * sysdeps/i386/submul_1.S: Likewise.
3873         * sysdeps/i386/elf/setjmp.S: Likewise.
3874         * sysdeps/i386/i486/strcat.S: Likewise.
3875         * sysdeps/i386/i486/strlen.S: Likewise.
3876         * sysdeps/i386/i586/add_n.S: Likewise.
3877         * sysdeps/i386/i586/lshift.S: Likewise.
3878         * sysdeps/i386/i586/memcpy.S: Likewise.
3879         * sysdeps/i386/i586/memset.S: Likewise.
3880         * sysdeps/i386/i586/rshift.S: Likewise.
3881         * sysdeps/i386/i586/strchr.S: Likewise.
3882         * sysdeps/i386/i586/strcpy.S: Likewise.
3883         * sysdeps/i386/i586/strlen.S: Likewise.
3884         * sysdeps/i386/i586/sub_n.S: Likewise.
3885         * sysdeps/i386/i686/add_n.S: Likewise.
3886         * sysdeps/i386/i686/memcpy.S: Likewise.
3887         * sysdeps/i386/i686/mempcpy.S: Likewise.
3888         * sysdeps/i386/i686/memset.S: Likewise.
3889         * sysdeps/i386/i686/strcmp.S: Likewise.
3891 2000-06-08  Ulrich Drepper  <drepper@redhat.com>
3893         * sysdeps/unix/sysv/linux/getdtsz.c: New file.
3895         * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
3896         256 and don't use OPEN_MAX.
3898         * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
3899         use it instead of LINK_MAX.
3900         * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
3902 2000-06-08  Andreas Jaeger  <aj@suse.de>
3904         * libio/genops.c (_IO_list_lock): Only compile body if we're
3905         thread safe.
3906         (_IO_list_unlock): Likewise.
3907         (_IO_list_resetlock): Likewise.
3909 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
3911         * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
3912         unless user defined it.
3914         * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
3915         if not defined by the user.
3917         * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
3918         * libio/iofwrite.c (_IO_fwrite): Likewise.
3920         * time/time.h: Add missing __THROW for clock_getcpuclockid
3921         prototype.
3923         * elf/Makefile (distribute): Add dl-dtprocnum.h.
3924         * include/elf.h: Include also <dl-dtprocnum.h>.
3925         * elf/dl-deps.c: Likewise.
3926         * elf/dl-lookup.c: Likewise.
3927         * elf/dl-runtime.c: Likewise.
3928         * elf/dl-version.c: Likewise.
3929         * elf/do-rel.h: Likewise.
3930         * elf/dynamic-link.h: Likewise.
3931         * elf/link.h: Likewise.
3932         * elf/rtld.c: Likewise.
3933         * sysdeps/generic/dl-dtprocnum.h: New file.
3934         * sysdeps/ia64/dl-dtprocnum.h: New file.
3935         * sysdeps/mips/dl-dtprocnum.h: New file.
3936         * sysdeps/sparc/dl-dtprocnum.h: New file.
3938         * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
3940         * elf/do-lookup.h: Add some __builtin_expect.
3942         * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
3944         * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
3945         (_dl_dynamic_weak): New variable.
3946         * elf/dl-support.c: Likewise.
3947         * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
3948         * elf/do-lookup.h: If we find a weak definition treat it like a
3949         normal symbol unless _dl_dynamic_weak is nonzero.  In the latter
3950         case treat it like before.
3952         * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3953         is in main program.
3954         * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3956         * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3957         using l_map_start and l_map_end.
3959         * elf/dl-version.c: Add __builtin_expect in many places.
3961         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3962         Update.
3964 2000-06-04  Kaz Kylheku  <kaz@ashi.footprints.net>
3966         Lock for stdio stream list becomes global, for use in LinuxThreads.
3968         * libio/genops.c (_IO_iter_begin, _IO_iter_end,
3969         _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
3970         _IO_list_resetlock): New interface for iterating global list of
3971         streams without accessing the _IO_list_all global variable,
3972         and for manipulating the lock which protects this list.
3973         * libio/libioP.h: Likewise.
3974         * libio/Version: Add entries for the new functions.
3976         * libio/libioP.h (_IO_ITER): New typedef, just an alias for
3977         pointer to _IO_FILE.
3979 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
3981         * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
3982         BIT() must actually be BITw().
3984         * locale/programs/ld-ctype.c: Handle SP and space consistently.
3986         * locale/programs/charmap.c: Allow string arguments for
3987         code_set_name and repertoiremap.
3989 2000-06-07  Andreas Jaeger  <aj@suse.de>
3991         * elf/Makefile: Build ldconfig only when building shared libraries.
3993 2000-06-07  Jakub Jelinek  <jakub@redhat.com>
3995         * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
3996         __USE_ISOC99.
3997         (fdimf, __fdim, fdim): Likewise.
3999 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
4001         * locale/findlocale.c: Add __builtin_expect in many places.
4002         * locale/loadlocale.c: Likewise.
4004 2000-06-06  Greg McGary  <greg@mcgary.org>
4006         * sysdeps/mips/elf/start.S: Trim redundant code.
4008         * sysdeps/powerpc/memset.S: Define & use symbolic register names.
4009         Use C comments throughout.  Line up operands column with tabs.
4010         * sysdeps/powerpc/strchr.S: Likewise.
4011         * sysdeps/powerpc/strcmp.S: Likewise.
4012         * sysdeps/powerpc/strcpy.S: Likewise.
4013         * sysdeps/powerpc/strlen.S: Likewise.
4015         * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
4016         Get low part of &__curbrk with @l.
4018 2000-06-06  Ulrich Drepper  <drepper@redhat.com>
4020         * iconvdata/utf-16.c: Add __builtin_expect in many places.
4021         * iconvdata/unicode.c: Likewise.
4022         * iconvdata/uhc.c: Likewise.
4023         * iconvdata/t.61.c: Likewise.
4024         * iconvdata/sjis.c: Likewise.
4025         * iconvdata/johab.c: Likewise.
4026         * iconvdata/iso_6937.c: Likewise.
4027         * iconvdata/iso_6937-2.c: Likewise.
4028         * iconvdata/iso8859-1.c: Likewise.
4029         * iconvdata/iso646.c: Likewise.
4030         * iconvdata/iso-2022-kr.c: Likewise.
4031         * iconvdata/iso-2022-jp.c: Likewise.
4032         * iconvdata/iso-2022-cn.c: Likewise.
4033         * iconvdata/gbgbk.c: Likewise.
4034         * iconvdata/gbk.c: Likewise.
4035         * iconvdata/euc-kr.c: Likewise.
4036         * iconvdata/euc-jp.c: Likewise.
4037         * iconvdata/euc-cn.c: Likewise.
4039 2000-06-05  Ulrich Drepper  <drepper@redhat.com>
4041         * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
4042         * iconvdata/big5.c: Likewise.
4043         * iconvdata/ansi_x3.110.c: Likewise.
4044         * iconvdata/8bit-generic.c: Likewise.
4045         * iconvdata/8bit-gap.c: Likewise.
4046         * iconv/loop.c: Likewise.
4047         * iconv/gconv_db.c: Likewise.
4048         * iconv/gconv_dl.c: Likewise.
4049         * iconv/gconv_simple.c: Likewise.
4050         * iconv/skeleton.c: Likewise.
4052         * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
4053         (struct __gconv_step_data): Rename __is_last to __flags.
4054         * iconv/gconv_close.c: Change all uses of __is_last.
4055         * iconv/skeleton.c: Likewise.
4056         * iconvdata/iso-2022-cn.c: Likewise.
4057         * iconvdata/iso-2022-jp.c: Likewise.
4058         * iconvdata/iso-2022-kr.c: Likewise.
4059         * iconv/gconv_open.c: Likewise.  Avoid unneeded initializations.
4060         Recognize IGNORE error handling, set flag, and remove from name.
4061         * iconv/loop.c (ignore_errors_p): Define.
4062         Add flags parameter to both functions.
4063         * iconv/skeleton.c: Pass flags to all conversion functions.
4064         * iconv/gconv_simple.c: Add flags parameter to all functions.
4065         Don't return error for invald error if ignore flag is set.
4066         (ucs4_internal_loop_single): Add missing pointer increment.
4067         (internal_ucs4le_loop_single): Likewise.
4068         * iconv/iconv_prog.c: Implement handling of -c parameter.
4069         * iconvdata/8bit-gap.c: Don't return error for invald error if
4070         ignore flag is set.
4071         * iconvdata/8bit-generic.c: Likewise.
4072         * iconvdata/ansi_x3.110.c: Likewise.
4073         * iconvdata/big5.c: Likewise.
4074         * iconvdata/big5hkscs.c: Likewise.
4075         * iconvdata/euc-cn.c: Likewise.
4076         * iconvdata/euc-jp.c: Likewise.
4077         * iconvdata/euc-kr.c: Likewise.
4078         * iconvdata/gbgbk.c: Likewise.
4079         * iconvdata/gbk.c: Likewise.
4080         * iconvdata/iso-2022-cn.c: Likewise.
4081         * iconvdata/iso-2022-jp.c: Likewise.
4082         * iconvdata/iso-2022-kr.c: Likewise.
4083         * iconvdata/iso646.c: Likewise.
4084         * iconvdata/iso8859-1.c: Likewise.
4085         * iconvdata/iso_6937-2.c: Likewise.
4086         * iconvdata/iso_6937.c: Likewise.
4087         * iconvdata/johab.c: Likewise.
4088         * iconvdata/sjis.c: Likewise.
4089         * iconvdata/t.61.c: Likewise.
4090         * iconvdata/uhc.c: Likewise.
4091         * iconvdata/unicode.c: Likewise.
4092         * iconvdata/utf-16.c: Likewise.
4093         * libio/fileops.c: Likewise.
4094         * libio/iofwide.c: Likewise.
4095         * wcsmbs/btowc.c: Likewise.
4096         * wcsmbs/mbrtowc.c: Likewise.
4097         * wcsmbs/mbsnrtowcs.c: Likewise.
4098         * wcsmbs/mbsrtowcs.c: Likewise.
4099         * wcsmbs/wcrtomb.c: Likewise.
4100         * wcsmbs/wcsnrtombs.c: Likewise.
4101         * wcsmbs/wcsrtombs.c: Likewise.
4102         * wcsmbs/wctob.c: Likewise.
4104         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
4105         an error.
4107 2000-06-04  Ulrich Drepper  <drepper@redhat.com>
4109         * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
4110         counter for the object we are releasing, just decrement it.
4111         Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
4113 2000-06-04  Jakub Jelinek  <jakub@redhat.com>
4115         * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
4116         if -ffast-math.
4118 2000-06-04  Ulrich Drepper  <drepper@redhat.com>
4120         * iconvdata/big5hkscs.c: New file.
4121         Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
4123         * iconvdata/gconv-modules: Add entry for new module.
4124         * iconvdata/Makefile (modules): Add BIG5HKSCS.
4125         (distribute): Add big5hkscs.c.
4127 2000-06-01  Jakub Jelinek  <jakub@redhat.com>
4129         * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
4130         inlines to match prototypes in mathcalls.h.
4131         * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4132         * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4133         * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
4134         * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4136 2000-06-03  Ulrich Drepper  <drepper@redhat.com>
4138         * elf/elf.h (SHT_SUNW_move): Define.
4140         * elf/elf.h: Add more Solaris compatiblity definitions.
4142 2000-06-03  Andreas Jaeger  <aj@suse.de>
4144         * sysdeps/powerpc/dl-start.S: Close open comment.
4146 2000-06-03  Jakub Jelinek  <jakub@redhat.com>
4148         * inet/Versions: Fix typo in rresvport_af export.
4150 2000-06-02  Ulrich Drepper  <drepper@redhat.com>
4152         * math/tgmath.h: Pretty print.
4154 2000-06-02  Andreas Jaeger  <aj@suse.de>
4156         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
4157         Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4159 2000-06-02  Ulrich Drepper  <drepper@redhat.com>
4161         * elf/rtld.c (process_envvars): Test for = after variable name.
4163 2000-06-01  Ulrich Drepper  <drepper@redhat.com>
4165         * sysdeps/generic/initfini.c (_init): One less relocation.  Don't
4166         have extra call to __gmon_start__, use the pointer we already have.
4168         * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
4169         shifting.
4171         * sysdeps/i386/elf/setjmp.S: Work around change is recent
4172         binutils.  gas now emits a jump through the PLT instead of a
4173         relative jump if the jump target is an exported symbol.
4175 2000-05-31  Ulrich Drepper  <drepper@redhat.com>
4177         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
4179 2000-05-31  Andreas Jaeger  <aj@suse.de>
4181         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
4182         gregset_t.
4184         * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
4185         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4187         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
4188         syscall.
4189         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4191 2000-05-30  Ulrich Drepper  <drepper@redhat.com>
4193         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
4195         * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
4196         * locale/localeconv.c: Make function versioned (with same definition).
4198         * elf/Makefile (modules-names): Strip before using it.
4200 2000-05-30  Andreas Jaeger  <aj@suse.de>
4202         * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
4203         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
4204         * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
4205         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
4206         * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
4207         * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
4209 2000-05-29  Ulrich Drepper  <drepper@redhat.com>
4211         * Makefile: Add GNU make magic.
4213         * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
4214         Removed.
4215         * inet/rcmd.c: Remove __P.  Remove unused variables.
4216         (iruserfopen): Make first parameter const.
4217         (ruserok_sa): Return result of ruserok2_sa.
4218         (__checkhost_sa): Correctly iterate through results of getaddrinfo.
4219         * inet/rexec.c: Remove unused variables.  Other small cleanups.
4220         * inet/ruserpass.c: Remove __P.  Remove unused variables.
4221         (ruserpass): Check results of memory allocation.
4222         * include/netdb.h: Add prototype for ruserpass.
4224 2000-05-29  Andreas Jaeger  <aj@suse.de>
4226         * elf/readlib.c (interpreters): Use LD_SO since this is supported
4227         for all platforms.
4229 2000-05-29  Jakub Jelinek  <jakub@redhat.com>
4231         * inet/rcmd.c (rresvport_af): Use correct port number.
4233 2000-05-26  Andreas Schwab  <schwab@suse.de>
4235         * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
4236         entries in all-sonames.
4237         ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
4238         preserving the old name if different for compatibility.
4240 2000-05-29  Ulrich Drepper  <drepper@redhat.com>
4242         * posix/Makefile (tests): Add tst-spawn.
4243         (tst-spawn-ARGS): New variable.
4244         * posix/tst-spawn.c: New file.
4246         * posix/spawn_faction_addclose.c: Correctly account for new entry.
4247         * posix/spawn_faction_adddup2.c: Likewise.
4248         * posix/spawn_faction_addopen.c: Likewise.
4249         * posix/spawni.c: Correctly test for success of dup2 calls.
4251         * posix/tst-preadwrite.c: Check success of malloc call.
4253 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
4255         * posix/Makefile (tests): Add tst-exec.
4256         (tst-exec-ARGS): New variable.
4257         * posix/tst-exec.c: New file.
4259         * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
4261 2000-05-04  Andreas Jaeger  <aj@suse.de>
4263         * string/string.h: Remove __strdup prototype, it's not needed in
4264         this file anymore.
4266 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
4268         * posix/Makefile (tests): Add tst-fork.
4269         * posix/tst-fork.c: New file.
4271         * resolv/inet_pton.c: Loose __P.
4273 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
4275         * libio/libioP.h (_IO_CHECK_WIDE): Define.
4276         * libio/iosetbuffer.c (_IO_setbuffer): Use it.
4277         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4278         * libio/fileops.c (_IO_new_file_fopen): Return NULL if
4279         _IO_CHECK_WIDE fails.
4281 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
4283         * po/da.po: New file.
4285         * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
4286         Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
4288         * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
4289         (Other iconv Implementations): Fix typo.
4290         Patch by Martin Pool <mbp@wistful.humbug.org.au>.
4292 2000-05-27  Andreas Jaeger  <aj@suse.de>
4294         * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
4295         normal version now.
4296         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
4297         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
4298         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4299         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4300         * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
4301         * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
4303         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
4304         endianness to decide how to pass arguments.
4305         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4307         * elf/vismain.c: Use test-skeleton interface.
4308         (TEST_FUNCTION): New macro.
4309         (do_test): Renamed from main.
4311 2000-05-27  Ulrich Drepper  <drepper@redhat.com>
4313         * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
4314         AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
4316         * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify.  Correct
4317         handling of AI_V4MAPPED flag.
4319         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
4320         of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
4321         perform lookup for T_A type and tell getanswer_r to convert the
4322         result with new argument.
4323         (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
4324         Don't convert addresses from IPv4 to IPv6 here.
4325         (getanswer_r): Take new parameter indicating if mapping from IPv4 to
4326         IPv6 is wanted.  Allow qtype and type from reply to disagree if
4327         IPv4 mapping has to be done.  Perform mappings if required by the
4328         caller and not if RES_USE_INET6 bit in _res.options is set.
4329         Add several __builtin_expect.
4331 2000-05-26  Ulrich Drepper  <drepper@redhat.com>
4333         * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
4335         * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
4336         NULL.
4338         * posix/tst-preadwrite.c: Allow parallel execution of
4339         tst-preadwrite and tst-preadwrite64.
4341         * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
4342         * posix/tst-truncate.c: New file.
4343         * posix/tst-truncate64.c: New file.
4345         * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
4346         was switched.
4348         * posix/Makefile (tests): Add tst-preadwrite64.
4349         * posix/tst-preadwrite.c: Alloc file being used also for testing
4350         pread64 and pwrite64.
4351         * posix/tst-preadwrite64.c: New file.
4353 2000-05-26  Andreas Jaeger  <aj@suse.de>
4355         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
4356         of arguments dependend on endianness.
4357         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4359         * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
4360         normal version now.
4361         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4362         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4363         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4364         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4366         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
4367         endianness to check how to pass argument.
4368         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4370         * elf/ldconfig.h: Update parameter list for process_elf_file.
4372         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
4373         Add parameter file_length and pass it ot process_elf*file.
4375         * sysdeps/generic/readelflib.c (check_ptr): New.
4376         (process_elf_file): Use check_ptr to check all accesses to the
4377         mmapped file. Add parameter file_length.
4379         * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
4380         library names.
4382         * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
4383         Closes PR libc/1573, reported by Bradley White
4384         <bww@laurelnetworks.com>.
4386 2000-05-25  Ulrich Drepper  <drepper@redhat.com>
4388         * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
4389         __FAST_MATH__ is defined.
4391 2000-05-22  Andreas Jaeger  <aj@suse.de>
4393         * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
4394         CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
4396         * manual/math.texi (FP Function Optimizations): Document gcc
4397         -ffast-math behaviour with mathinlines.
4399         * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
4400         functions unless -ffast-math is given to gcc.
4402 2000-05-23  Jakub Jelinek  <jakub@redhat.com>
4404         * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
4405         __sincosl): Guard with __USE_GNU.
4407 2000-05-24  Ulrich Drepper  <drepper@redhat.com>
4409         * csu/Makefile (routines): Add check_fds.
4410         * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
4411         binaries.  Add various __builtin_expect.
4412         * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
4413         * sysdeps/generic/check_fds.c: ...here.  New file.
4415         * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
4416         binaries if file /etc/suid-debug is available.
4418         * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
4419         and wcseqorder members.
4420         (struct locale_collate_t): Likewise.
4421         (collate_finish): Assign collation sequence value to each character.
4422         Create tables for output.
4423         (collate_output): Write out tables with collation sequence information.
4424         * locale/C-collate.c: Provide C locale data for collation sequence
4425         table.
4426         * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
4427         _NL_COLLATE_COLLSEQWC.
4428         * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
4429         _NL_COLLATE_COLLSEQWC.
4430         * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
4431         include fnmatch_loop.c.
4432         * posix/fnmatch_loop.c: Don't use strcoll while determining whether
4433         character is matched by range expression.  Use collation sequence
4434         table.  Outside glibc fall back on simple character value comparison.
4436 2000-05-24  Andreas Jaeger  <aj@suse.de>
4438         * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
4439         words.
4441         * intl/Makefile: Run gettext-test only if msgfmt is available.
4443         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
4444         Define it for newer kernels.
4446 2000-05-23  Ulrich Drepper  <drepper@redhat.com>
4448         * elf/dl-sym.c: Minor cleanups.
4450         * configure.in: Add test for .protected.
4451         * config.make.in: Add have-protected variable.
4452         * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
4453         (tests-vis-yes): Add vismain.
4454         (modules-names): Add $(modules-vis-$(have-protected)).
4455         (modules-vis-yes): Add vismod1, vismod2, and vismod3.
4456         Add rules to generate and run vismain.
4457         * elf/vismain.c: New file.
4458         * elf/vismod1.c: New file.
4459         * elf/vismod2.c: New file.
4460         * elf/vismod3.c: New file.
4462 2000-05-23  Andreas Jaeger  <aj@suse.de>
4464         * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
4466         * manual/search.texi (Array Sort Function): Document that qsort is
4467         not necessarily in-place.
4469         * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4470         Closes PR libc/1731.
4472         * csu/munch-tmpl.c (__libc_init): Remove K&R support.
4473         * dirent/scandir64.c: Likewise.
4474         * pwd/getpw.c: Likewise.
4475         * stdlib/bsearch.c (bsearch): Likewise.
4476         * stdlib/tst-strtoll.c: Likewise.
4477         * localedata/collate-test.c: Likewise.
4478         * localedata/xfrm-test.c: Likewise.
4479         * posix/bsd-getpgrp.c: Likewise.
4480         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4481         * sysdeps/generic/bits/siginfo.h: Likewise.
4482         * sysdeps/generic/bits/sockaddr.h: Likewise.
4483         * sysdeps/generic/sys/swap.h: Likewise.
4484         * sysdeps/generic/sys/sysinfo.h: Likewise.
4485         * sysdeps/generic/vfork.c: Likewise.
4486         * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
4487         * sysdeps/mach/hurd/fdopen.c: Likewise.
4488         * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
4489         * sysdeps/unix/sysv/linux/poll.c: Likewise.
4490         * sysdeps/unix/sysv/linux/readv.c: Likewise.
4491         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4492         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4493         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4494         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4496         * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
4497         * shadow/lckpwdf.c: Likewise.
4498         * stdlib/tst-strtol.c: Likewise.
4499         * sysdeps/generic/tcsetattr.c: Likewise.
4500         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4501         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4503 2000-05-22  Jakub Jelinek  <jakub@redhat.com>
4505         * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
4506         free it and set to (void *) -1.
4508 2000-05-22  Jakub Jelinek <jakub@redhat.com>
4510         * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
4511         not the second character in the range.
4512         * stdio-common/tstscanf.c (main): Add testcase for the above.
4513         Reported by jik@kamens.brookline.ma.us.
4515 2000-05-21  H.J. Lu  <hjl@gnu.org>
4517         * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
4518         with noexec and noplt parameter.
4519         (do_lookup): Likewise.
4521         * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
4522         do_lookup.  Support STV_PROTECTED.
4523         (_dl_lookup_symbol_skip): Likewise.
4524         (_dl_lookup_versioned_symbol): Likewise.
4525         (_dl_lookup_versioned_symbol_skip): Likewise.
4527         * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
4529         * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
4531 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
4533         * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
4534         * sysdeps/i386/bits/huge_val.h: Likewise.
4535         * sysdeps/ieee754/bits/huge_val.h: Likewise.
4536         * sysdeps/m68k/bits/huge_val.h: Likewise.
4537         * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
4538         * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
4540 2000-05-22  Andreas Jaeger  <aj@suse.de>
4542         * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
4543         change in iconv.h.
4545 2000-05-19  Andreas Jaeger  <aj@suse.de>
4547         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4548         (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
4549         breaks compilation without linuxthreads.
4551 2000-05-21  Ulrich Drepper  <drepper@redhat.com>
4553         * sysdeps/ia64/memccpy.S: New file.
4554         * sysdeps/ia64/memchr.S: New file.
4555         * sysdeps/ia64/memcmp.S: New file.
4556         * sysdeps/ia64/memcpy.S: New file.
4557         * sysdeps/ia64/memmove.S: New file.
4558         * sysdeps/ia64/memset.S: New file.
4559         * sysdeps/ia64/strcat.S: New file.
4560         * sysdeps/ia64/strchr.S: New file.
4561         * sysdeps/ia64/strcmp.S: New file.
4562         * sysdeps/ia64/strcpy.S: New file.
4563         * sysdeps/ia64/strlen.S: New file.
4564         * sysdeps/ia64/strncmp.S: New file.
4565         * sysdeps/ia64/strncpy.S: New file.
4566         * sysdeps/ia64/softpipe.h: New file.
4567         Patches by Dan Pop <Dan.Pop@cern.ch>.
4569         * manual/memory.texi: Document memory handling functions (mlock,
4570         munlock, mlockall, munlockall, brk, and sbrk)
4571         * manual/time.texi: Document timespec and friends.
4572         * manual/conf.texi: Fix references.
4573         * manual/ctype.texi: Likewise.
4574         * manual/errno.texi: Likewise.
4575         * manual/intro.texi: Likewise.
4576         * manual/locale.texi: Likewise.
4577         * manual/sysinfo.texi: Likewise.
4578         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4580 2000-05-09  Jes Sorensen  <jes@linuxcare.com>
4582         * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
4583         * sysdeps/ia64/dl-lookupcfg.h: ...here.
4585 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
4587         * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
4588         dxfer_direction.
4590 2000-05-21  Ulrich Drepper  <drepper@redhat.com>
4592         * locale/locale.h (struct lconv): Add new elements from ISO C99.
4593         * locale/localeconv.c: Initialize new elements from ISO C99.
4594         * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
4595         new standard elements.
4596         * locale/categories.def: Adjust accordingly.
4598         * iconv/iconv.h (iconv): Remove const from inbuf parameter.
4599         * iconv/iconv.c: Likewise.
4600         * conform/data/iconv.h-data: Likewise.
4601         * iconv/iconv_prog.c (process_block): Remove const from second
4602         parameter.
4603         (main): Remove const from addr definition.
4604         * manual/charset.texi (Generic Conversion Interface): Remove from
4605         inbuf parameter of iconv.
4607         * intl/dcigettext.c: Fix typo in comment.
4609 2000-05-20 2000  H.J. Lu  <hjl@gnu.org>
4611         * resolv/res_libc.c (_res): Initialize _sock to -1.
4613 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
4615         * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
4616         (fopencookie@@GLIBC_2.2): New.
4617         (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
4618         (fopencookie@GLIBC_2.0): New.
4619         * libio/Versions: Add fopencookie to GLIBC_2.2.
4621 2000-05-18  Andreas Jaeger  <aj@suse.de>
4623         * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4624         Closes PR libc/1731.
4626         * manual/arith.texi (Parsing of Integers): Fix typo.
4627         Closes PR libc/1744, reported by blp@gnu.org.
4629 2000-05-17  Jakub Jelinek  <jakub@redhat.com>
4631         * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
4632         __extension__ to hexadecimal floating constant notation.
4633         * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4634         Likewise.
4635         * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
4636         * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4637         Likewise.
4638         * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4639         HUGE_VALL): Likewise.
4640         * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4641         HUGE_VALL): Likewise.
4642         (HUGE_VALL): Set to HUGE_VAL on sparc32.
4644 2000-05-17  Andreas Jaeger  <aj@suse.de>
4646         * string/envz.h: Add pure attributes if possible.
4648         * string/argz.h: argz_count is a pure function.
4650         * string/strings.h: Add pure and const attributes if possible.
4652         * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
4653         possibly searching through the whole memory.
4654         Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
4656 2000-05-17  Jakub Jelinek  <jakub@redhat.com>
4658         * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
4659         not yet defined.
4660         (_dl_cache_check_flags): Likewise.
4661         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
4662         dl-cache.h.
4664 2000-05-17  Andreas Jaeger  <aj@suse.de>
4666         * manual/creature.texi (Feature Test Macros): Remove paragraph
4667         since the description is wrong.
4668         Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
4670         * scripts/config.sub: New version.
4671         * scripts/config.guess: Likewise.
4672         * manual/texinfo.tex: Likewise.
4674         * time/test_time.args: Removed.
4675         * time/Makefile (test_time-ARGS): Added contents here instead.
4677         * posix/tstgetopt.args: Removed.
4678         * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
4680         * Rules: Allow arguments for test files to be specified in
4681         Makefile with testname-ARGS; remove rules with .args in it.
4683         * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
4684         remove old bogus rule for opendir-tst1.args.
4686         * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
4688         * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
4689         into objdir.  This allows a readonly sourcetree.
4690         Reported by lrgallardo@yahoo.com, closes PR libc/1421.
4692 2000-05-16  Andreas Jaeger  <aj@suse.de>,
4693             David Huggins-Daines <dhd@linuxcare.com>
4695         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
4696         cache_data in case of only new cache format correctly.
4698         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
4699         cache_file_new.
4701         * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
4702         struct cache_file_new.
4704         * elf/cache.c (save_cache): Fix str_offset if only new cache is
4705         present.
4707         * elf/cache.c (save_cache): Align struct new_file_cache.
4708         (print_cache): Likewise.
4710 2000-05-13  Jakub Jelinek  <jakub@redhat.com>
4712         * elf/soinit.c (__libc_global_ctors): Move
4713         __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
4714         * resolv/resolv.h (__res_state): Added __attribute__((const)).
4715         (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
4716         variable, don't define it to __res_state call.
4718 2000-05-13  Andreas Jaeger  <aj@suse.de>
4720         * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
4721         Linux 2.3.99pre7.
4722         (AF_PPPOX): Likewise.
4723         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
4724         (AF_PPPOX): Likewise.
4726 2000-05-12  Andreas Jaeger  <aj@suse.de>
4728         * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
4729         Reported by tmoestl@gmx.net, closes PR libc/1732.
4731 2000-05-11  Jan Hubicka  <jh@suse.cz>
4733         * misc/sys/cdefs.h: Add support for pure attribute.
4735         * include/string.h: Add __attribute_pure__ to various functions.
4736         * string/string.h: Likewise.
4738 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
4740         * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
4741         argument.
4742         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4743         R_SPARC_UA64.
4744         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
4746 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
4748         * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
4749         at proper place.  Compute the high nibble correctly.
4751 2000-05-09  Jakub Jelinek  <jakub@redhat.com>
4753         * elf/ldconfig.c: Include elf.h.
4755         * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
4756         (_dl_vsym): Likewise.
4757         Reported by Owen Taylor <otaylor@redhat.com>.
4759         * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
4760         always.
4762 2000-05-08  Andreas Jaeger  <aj@suse.de>
4764         * include/libintl.h: Add prototype for __bind_textdomain_codeset.
4766         * intl/bindtextdom.c (set_binding_values): Add prototype.
4768 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
4770         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
4771         call to elf_machine_fixup_plt.
4772         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4773         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4775 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
4777         * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
4778         they are not dlclose'd from underneath us.
4780 2000-05-08  Andreas Schwab  <schwab@suse.de>
4782         * posix/execle.c: Fix size parameter of memcpy.
4784 2000-05-08  Andreas Schwab  <schwab@suse.de>
4786         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file.  Use
4787         getpagesize syscall if available.
4789 2000-05-08  Andreas Jaeger  <aj@suse.de>
4791         * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
4792         set errno.
4794 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
4796         * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
4797         sizeof(struct link_map *) chunks, not in bytes.
4799 2000-05-07  Ulrich Drepper  <drepper@redhat.com>
4801         * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS.  It's
4802         only needed for locale.
4803         * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
4804         It's only needed for catgets.
4805         Patches by Greg McGary <gkm@eng.ascend.com>.
4807 2000-05-07  Mark Kettenis  <kettenis@gnu.org>
4809         * nss/nss_db/db-open.c: Cleanup and add comments.  Pretty print.
4810         Remove duplicate <errno.h> include.  Remove inclusion of
4811         <libintl.h> and "nsswitch.h".
4812         (set_cloexec_flag): New function, broken out of dbopen.
4813         (dbopen): Changed return type to `enum
4814         nss_status'.  Mostly rewritten to make sure that we do not report
4815         NSS_STATUS_SUCCESS if something went wrong.  Remove unnecessary casts.
4816         (internal_setent): Change return type to nss_status.
4817         Document, and make sure that the function
4818         behaves accordingly.  Make dynamically loading the database
4819         library really thread-safe and return NSS_STATUS_UNAVAIL if it
4820         failed.
4821         (db_cursor): Return ENOMEM is memory allocation failed.  Remove
4822         unecessary casts.
4823         * nss/nss_db/dummy-db.h: Add copyright notice.  Improve
4824         documentation.
4825         (struct dbc24, struct dbc27): Use DBT type in parameter lists for
4826         c_get function member.
4827         * nss/nss_db/nss_db.h: Add and tweak some comments.
4828         (DBT): Move typedef before NSS_DBC typedef.
4829         (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
4831 2000-05-07  H.J. Lu  <hjl@gnu.org>
4833         * csu/initfini.c: Moved to ....
4834         * sysdeps/generic/initfini.c: ...here.
4836         * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
4838 2000-05-07  Ulrich Drepper  <drepper@redhat.com>
4840         * manual/resource.texi: Document POSIX scheduling functions.
4841         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4843         * inet/rcmd.c (rcmd_af): errno is not set if read returns without
4844         reading anything.  Reported by Andries.Brouwer@cwi.nl.
4846         * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
4847         for x since promotion in comparison might leads to unexpected
4848         results.  Reported by Dan Pop <Dan.Pop@cern.ch>.
4850         * iconv/Makefile (tests): Add tst-iconv1.
4851         * iconv/tst-iconv1.c: New file.
4852         * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
4853         empty input buffer over full output buffer.
4854         (ucs4_internal_loop): Likewise.
4855         (ucs4_internal_loop_unaligned): Likewise.
4856         (internal_ucs4le_loop): Likewise.
4857         (internal_ucs4le_loop_unaligned): Likewise.
4858         (ucs4le_internal_loop): Likewise.
4859         (ucs4le_internal_loop_unaligned): Likewise.
4860         Reported by yaoz@nih.gov.
4862 2000-05-06  Bruno Haible  <haible@clisp.cons.org>
4864         * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
4865         returned != __GCONV_OK, there is nothing to clean up.
4867 2000-05-06  Bruno Haible  <haible@clisp.cons.org>
4869         * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
4870         OUTPUT_CHARSET environment variables.
4872 2000-05-06  Andreas Jaeger  <aj@suse.de>
4874         * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
4875         (struct cache_file_new): New.
4876         (struct file_entry): New (moved from cache.c).
4877         (struct cache_file): New (moved from cache.c).
4879         * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
4880         from _dl_load_cache_lookup.
4881         (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
4882         the different cache formats.
4883         New variable cache_new for new format.
4885         * elf/ldconfig.h: Change according to changes in cache.c and
4886         ldconfig.c; remove cache_libcmp; add opt_format.
4888         * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
4889         stuff that's defined in those headers.
4890         Add hwcap to struct lib_entry.
4891         (opt_format): New variable to select cache format.
4892         (options): Add format parameter.
4893         (is_hwcap): New function.
4894         (path_hwcap): New function.
4895         (parse_opt): Handle new format parameter.
4896         (search_dir): Handle hwcap, search also subdirectories with hwcap.
4898         * elf/cache.c (_GNU_SOURCE): Removed.  Not needed anymore since
4899         ldconfig is part of glibc.
4900         Include dl-cache.h and remove stuff that's defined there.
4901         (struct cache_entry): Add new member hwcap.
4902         (print_entry): Print hwcap, cleanup a bit.
4903         (print_cache): Print new and old formats.
4904         (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
4905         (save_cache): Save new and old formats.
4906         (add_to_cache): Handle hwcap.
4908         * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
4909         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
4910         * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
4911         * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
4912         * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
4913         * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
4915 2000-05-05  Bruno Haible  <haible@clisp.cons.org>
4917         * intl/dcigettext.c (alignof): New macro.
4918         (_nl_find_msg): Use it instead of __alignof__. Pass correct output
4919         buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4920         freemem_size to 0.
4922 2000-05-05  Bruno Haible  <haible@clisp.cons.org>
4924         * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
4925         return value.
4927 2000-05-06  Ulrich Drepper  <drepper@redhat.com>
4929         * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4930         (mempcpy): Correct typo is parameter list.
4932 2000-05-06  Andreas Jaeger  <aj@suse.de>
4934         * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
4935         functions unless -ffast-math is given to gcc.
4937 2000-05-06  Ulrich Drepper  <drepper@redhat.com>
4939         * po/ko.po: Update from translation team.
4941 2000-05-05  Ulrich Drepper  <drepper@redhat.com>
4943         * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
4944         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
4945         * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
4946         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
4947         * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
4948         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
4950         * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
4951         * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
4952         * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
4954         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
4955         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
4956         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
4957         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
4959         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4960         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4962 2000-05-05  Jes Sorensen  <jes@linuxcare.com>
4964         * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4965         * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4967         * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4968         * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
4970         * sysdeps/ia64/Implies: New file.
4971         * sysdeps/ia64/Versions: New file.  Declare _dl_symbol_address.
4972         * sysdeps/ia64/Makefile: New file.
4973         * sysdeps/ia64/gmp-mparam.h: New file,
4975         * sysdeps/ia64/elf/start.S: New file.
4977         * sysdeps/ia64/bits/fenv.h: New file.
4979 2000-05-05  David Mosberger-Tang  <davidm@hpl.hp.com>
4981         * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
4983 2000-04-26  Jes Sorensen  <Jes.Sorensen@cern.ch>
4985         * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file.  The
4986         ia64 has 64 bit .hash entries just as the Alpha.
4988 2000-04-25  Jes Sorensen  <Jes.Sorensen@cern.ch>
4990         * sysdeps/ia64/memprof.h: New file.  Provide GETSP() macro.
4992 2000-04-17  Jes Sorensen  <Jes.Sorensen@cern.ch>
4994         * sysdeps/ia64/fpu/fclrexcpt.c: New file.
4995         * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
4996         * sysdeps/ia64/fpu/feenablxcpt.c: New file.
4997         * sysdeps/ia64/fpu/fegetenv.c: New file.
4998         * sysdeps/ia64/fpu/fegetexcept.c: New file.
4999         * sysdeps/ia64/fpu/fegetround.c: New file.
5000         * sysdeps/ia64/fpu/feholdexcpt.c: New file.
5001         * sysdeps/ia64/fpu/fesetenv.c: New file.
5002         * sysdeps/ia64/fpu/fesetround.c: New file.
5003         * sysdeps/ia64/fpu/feupdateenv.c: New file.
5004         * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
5005         * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
5006         * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
5007         * sysdeps/ia64/fpu/ftestexcept.c: New file.
5009 2000-05-05  Andreas Jaeger  <aj@suse.de>
5011         * misc/tst-tsearch.c (main): Correct type for initstate argument.
5013         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5014         (_dl_string_hwcap): New, does nothing.
5016         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5017         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
5018         (_dl_string_hwcap): New function, converts from string to hwcap
5019         encoding.
5020         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
5021         (_DL_HWCAP_COUNT): New.
5022         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
5023         (_dl_string_hwcap): New function, converts from string to hwcap
5024         encoding.
5025         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
5026         (_DL_HWCAP_COUNT): New.
5027         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
5028         (_dl_string_hwcap): New function, converts from string to hwcap
5029         encoding.
5031 2000-05-05  Ulrich Drepper  <drepper@redhat.com>
5033         * elf/Makefile (distribute): Add dl-lookupcfg.h.
5034         * sysdeps/ia64/Dist: New file.
5036         * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
5037         parameter to mprotect and for variable assignments.
5039 2000-05-03  Jes Sorensen  <jes@linuxcare.com>
5041         * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
5042         validity of map before dereferencing it.
5044         * elf/dl-reloc.c (RESOLVE_MAP): Define.
5046 2000-05-02  Jes Sorensen  <jes@linuxcare.com>
5048         * elf/dl-runtime.c (fixup): Add the value returned in the symbol
5049         lookup to the arguments to elf_machine_fixup_plt().
5051         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
5052         of the symbol being resolved to input argument list and make the
5053         function return the pointer to the reloc.
5055         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
5056         return valuie to lookup_t and return the value.
5057         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
5058         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
5059         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
5060         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
5061         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
5062         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
5064         * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
5065         Make it an inline function returning value after calling
5066         __elf_machine_fixup_plt().
5068         * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
5069         symbol address.
5071         * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
5072         obtain the symbol address.
5074         * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
5075         depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
5077         * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
5078         _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
5079         inline on non ia64.
5081 2000-04-28  Jes Sorensen  <jes@linuxcare.com>
5083         * elf/dl-runtime.c (fixup): Use the portable macros to get the
5084         symbol address of an object.
5086         * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
5087         the symbol address of an object.
5089         * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
5090         * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
5091         (_dl_lookup_symbol_skip): Likewise.
5092         (_dl_lookup_versioned_symbol): Likewise.
5093         (_dl_lookup_versioned_symbol_skip): Likewise.
5095 2000-04-27  Jes Sorensen  <jes@linuxcare.com>
5097         * elf/rtld.c (_dl_start): Get the function pointer return address
5098         via _dl_start_address for architectures that need a function
5099         pointer descriptor rather than just a pointer (ia64).
5101         * sysdeps/generic/dl-lookupcfg.h: New file.
5102         * sysdeps/ia64/dl-lookupcfg.h: New file.
5103         * sysdeps/ia64/dl-machine.h: New file.
5104         * sysdeps/ia64/dl-symaddr.c: New file.
5105         * sysdeps/ia64/dl-fptr.c: New file.
5107         * elf/elf.h: Add IA-64 specific definitions.
5109 2000-05-04  Jakub Jelinek  <jakub@redhat.com>
5111         * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
5112         end of enum.
5114 2000-05-04  Jakub Jelinek  <jakub@redhat.com>
5116         * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
5117         happy.
5119 2000-04-11  Geoff Keating  <geoffk@cygnus.com>
5121         * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
5122         symbol.  Call _dl_init rather than the old way.
5124 2000-05-04  Ulrich Drepper  <drepper@redhat.com>
5126         * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
5127         test for pointer in range of DSO address space.
5129 2000-05-04  Andreas Jaeger  <aj@suse.de>
5131         * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
5133 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
5135         * locale/findlocale.c (_nl_find_locale): Add new parameter to
5136         calls of _nl_make_l10nflist.
5138         * libio/stdio.h: Make fseeko and ftello prototypes available is
5139         __USE_LARGEFILE.  Patch by Paul Eggert <eggert@twinsun.com>.
5141         * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
5142         real unsetenv implementation from 1999-07-29 [PR libc/1714].
5144 2000-05-03  Bruno Haible  <haible@clisp.cons.org>
5146         * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
5147         before calling tfind.
5149 2000-03-05  Jakub Jelinek  <jakub@redhat.com>
5151         * resolv/resolv.h (res_querydomain): Remove redefinition to
5152         __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
5154 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
5156         * po/gl.po: Update from translation team.
5158         * manual/intro.texi (Program Basics): Change section title.
5159         * manual/process.texi: Fix reference.
5160         (Executing a File): Add reference exec in other section.
5161         * manual/signal.texi: Fix reference.
5162         * manual/startup.texi: Document syscall function.
5163         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5165 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
5167         * intl/libintl.h (bind_textdomain_codeset): New declaration.
5168         * intl/bindtextdom.c (set_binding_values): New function.
5169         (bindtextdomain): Call it.
5170         (bind_textdomain_codeset): New function.
5171         * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
5172         (free_mem): Free each binding's codeset.
5173         * intl/gettextP.h (struct binding): Add codeset field.
5174         (_nl_find_domain): Add domainbinding argument.
5175         * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
5176         Pass it to _nl_make_l10nflist.
5177         * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
5178         (_nl_make_l10nflist): Add domainbinding argument.
5179         * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
5180         * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
5181         codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
5182         locale_charset().
5183         * manual/message.texi: New node "Charset conversion in gettext".
5185 2000-04-30  Bruno Haible  <haible@clisp.cons.org>
5187         * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
5188         appropriate.  Handle possible __read error.
5190 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
5192         * intl/gettextP.h (__builtin_expect): Define as empty if not a
5193         compiler builtin.
5194         * intl/loadinfo.h (__builtin_expect): Likewise.
5195         * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
5196         __builtin_expect where appropriate.
5197         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5198         * intl/localealias.c (extend_alias_table): Return an error indicator.
5199         (read_alias_file): Bail out if extend_alias_table fails.
5201 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
5203         * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
5204         * intl/localealias.c: Likewise.
5206 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
5208         * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
5209         Initialize domain->plural and domain->nplurals even if there is no
5210         nullentry.
5212 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
5214         * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
5215         value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
5216         In case of failure, goto converted.
5218 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
5220         * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
5221         * iconv/gconv_int.h (norm_add_slashes): Move to here.
5222         * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
5223         __gconv_open.
5225 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
5227         * intl/dcigettext.c (transcmp): Compare the domains as well.
5228         (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
5229         not before.
5230         * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
5231         <errno.h>.
5233 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
5235         * string/bits/string2.h: Declare __strdup and __strndup if necessary.
5236         Reported by Bruno Haible.
5238 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
5240         * manual/arith.texi: Remove @w from @itemize.
5242 2000-05-02  Andreas Jaeger  <aj@suse.de>
5244         * conform/data/tar.h-data: Add some checks for specific values.
5246         * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
5247         and RAND_MAX.
5249         * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
5250         FOPEN_MAX.
5252         * conform/data/netinet/in.h-data: Add exact checks for the values
5253         fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
5255         * conform/data/float.h-data: Add some minimal values.
5257         * conform/conformtest.pl: Test for macros with string constants,
5258         check for minimum and maximum values.
5259         Add limits.h to headers.
5261         * conform/data/cpio.h-data: Test for value of MAGIC.
5263         * conform/data/limits.h-data: New file.
5265 2000-04-30  Bruno Haible  <haible@clisp.cons.org>
5267         * math/Makefile (headers): Add bits/fenvinline.h.
5269 2000-05-01  Ulrich Drepper  <drepper@redhat.com>
5271         * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
5272         * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
5274         * posix/Versions: Change posix_spawnattr_getdefault and
5275         posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
5276         and posix_spawnattr_setsigdefault respectively.
5277         * posix/spawn.h: Likewise.
5278         * posix/spawnattr_getdefault.h: Likewise.
5279         * posix/spawnattr_setdefault.h: Likewise.
5280         * conform/data/spawn.h-data: Likewise.
5282 2000-05-01  Andreas Jaeger  <aj@suse.de>
5284         * nscd/nscd.c: Include <grp.h> for setgroups prototype.
5286 2000-04-30  Ulrich Drepper  <drepper@redhat.com>
5288         * manual/sysinfo.texi: Document getdomainname, setdomainname
5289         and sysctl.
5290         * manual/string.texi: Fix typo.
5291         * manual/terminal.texi: Document gtty and stty.
5292         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5294 2000-04-30  Andreas Jaeger  <aj@suse.de>
5296         * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
5297         accordance with Austin Draft.
5299 2000-04-30  Ulrich Drepper  <drepper@redhat.com>
5301         * catgets/gencat.c (read_input_file): Use isblank and not isspace
5302         to recognize second character in comment line.
5304         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
5305         ENOBUFS if we are out of memory.
5307         * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
5308         available if __USE_XOPEN2K.
5309         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5310         * sysdeps/unix/common/bits/fcntl.h: Likewise.
5311         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5312         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5313         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5314         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5315         * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
5316         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5318 2000-04-29  Ulrich Drepper  <drepper@redhat.com>
5320         * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
5321         Recognize option -s, -c, and -l.
5323 2000-04-20  Thorsten Kukuk  <kukuk@suse.de>
5325         * nscd/nscd.c: Start new session for nscd, drop privilegs
5326         to configured user if requested and no -S parameter are used.
5327         * nscd/nscd.conf: Add new option "server-user".
5328         * nscd/nscd_conf.c: Add support for new "server-user" option.
5329         * nscd/nscd.h: Add declaration for server_user variable.
5330         Based on patch by Chris Wing <wingc@engin.umich.edu>
5332 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
5334         * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
5335         that changing the __restore and __restore_rt signal return code
5336         will break GDB.
5338 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
5340         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
5341         <sys/user.h>.
5343 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
5345         * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
5347 2000-04-29  Ulrich Drepper  <drepper@redhat.com>
5349         * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
5350         sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
5351         arpa/inet.h.
5352         * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
5353         SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
5354         S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
5355         S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
5356         S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
5357         POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
5358         POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
5359         posix_fallocate, and posix_madvise.
5360         * conform/data/netdb.h-data: New file.
5361         * conform/data/pthread.h-data: Add pthread_barrier_t,
5362         pthread_barrierattr_t, pthread_barrier_destroy,
5363         pthread_barrier_init, pthread_barrier_wait,
5364         pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
5365         pthread_barrierattr_init, pthread_barrierattr_setpshared,
5366         pthread_condattr_getclock, pthread_condattr_setclock,
5367         pthread_getcpuclockid, pthread_mutex_timedlock,
5368         pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
5369         pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
5370         pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
5371         * conform/data/sched.h-data: Add sched_ss_low_priority,
5372         sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
5373         SCHED_SPORADIC.
5374         * conform/data/semaphore.h-data: Add sem_timedwait.
5375         * conform/data/signal.h-data: Add SIGIO.
5376         * conform/data/spawn.h-data: New file.
5377         * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
5378         * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
5379         CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
5380         Fix typo in gmtime_r definition.
5381         * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
5382         _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
5383         _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
5384         _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
5385         _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
5386         _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
5387         _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
5388         _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
5389         _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
5390         _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
5391         _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
5392         _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
5393         _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
5394         _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
5395         _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
5396         _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
5397         _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
5398         _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
5399         _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5400         _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid.  Fix
5401         typo in off_t definition.
5402         * conform/data/net/if.h-data: New file.
5403         * conform/data/netinet/in.h-data: New file.
5404         * conform/data/netinet/tcp.h-data: New file.
5405         * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
5406         POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
5407         POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
5408         POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
5409         posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
5410         and posix_typed_mem_open.
5411         * conform/data/sys/socket.h-data: New file.
5412         * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
5413         * conform/data/sys/types.h-data: Add pthread_barrier_t,
5414         pthread_barrierattr_t, and pthread_spinlock_t.
5415         * conform/data/sys/un.h-data: New file.
5416         * conform/data/sys/utsname.h-data: New file.
5418         * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
5419         parameter.
5420         * inet/gethstbyad.c (gethostbyname): Likewise.
5421         * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
5422         * inet/getipnodebyad.c (getipnodebyad): Likewise.
5423         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
5424         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
5425         Likewise.
5426         * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
5427         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
5428         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
5429         * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
5430         * resolv/gethnamaddr.c (gethostbyname): Likewise.
5431         * resolv/netdb.h (struct hostent): Fix type of h_length member.
5432         (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
5433         and second parameter.
5435         * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
5436         == NULL.
5438 2000-04-29  Andreas Jaeger  <aj@suse.de>
5440         * conform/data/arpa/inet.h-data: New file.
5442 2000-04-28  Geoff Clare <gwc@unisoft.com>
5444         * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
5445         path passed to ftw() or nftw() is an empty string.
5446         Closes PR libc/1710.
5448 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
5450         * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
5451         (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
5452         * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
5453         * localedata/tst-mbswcs4.c: New file.
5454         * localedata/tst-mbswcs5.c: New file.
5456         * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
5457         == NULL.  Little optimization.
5459         * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
5460         DT_PREINIT_ARRAYSZ).
5461         Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
5463         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
5464         overflows in conversion from ASCII.
5466 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
5468         * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
5469         * Makerules (full_config_sysdirs): Likewise.
5470         * MakeTAGS (full_config_sysdirs): Likewise.
5472 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
5474         * .cvsignore: Remove linuxthreads.
5475         * po/.cvsignore: Remove *.pot.
5476         * posix/glob/.cvsignore: Removed.
5477         * sysdeps/unix/bsd/osf/.cvsignore: Removed.
5479 2000-04-25  Andreas Jaeger  <aj@suse.de>
5481         * conform/Makefile (distribute): Also distribute contents of
5482         subdirectories.
5484         * Makerules (no_deps): Remove abi-versions.h.
5486         * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
5488 2000-04-25  Jakub Jelinek  <jakub@redhat.com>
5490         * sysdeps/sparc/sparc64/elf/Dist: Remove.
5491         * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
5492         * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
5493         * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
5494         * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
5495         * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
5496         objects.
5498 2000-04-25  Thorsten Kukuk  <kukuk@suse.de>
5500         * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
5502 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
5504         * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
5505         * intl/l10nflist.c: Likewise.
5507 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
5509         * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
5510         __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
5511         * intl/textdomain.c [!_LIBC]: Likewise.
5512         * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
5513         __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
5514         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
5515         syntax error.
5517 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
5519         * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
5520         character set conversion also in the case the translation was found
5521         after a hash collision or through binary search.  Store the maximum
5522         index together with the converted message.  Use iconv() when available.
5523         In case of out of memory during conversion, return the unconverted
5524         translated string, not NULL.
5526 2000-04-25  Jes Sorensen  <Jes.Sorensen@cern.ch>
5528         * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
5529         to avoid name clashes with the ia32 linker.
5531 2000-04-25  Jakub Jelinek  <jakub@redhat.com>
5533         * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
5534         handling.
5536 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
5538         * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
5539         strtoumax, strfry, and memfrob.
5540         * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
5541         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5543         * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
5544         if this function is available.
5546         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
5547         all values.
5549 2000-04-27  Jakub Jelinek  <jakub@redhat.com>
5551         * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
5553 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
5555         * localedata/Makefile (test-srcs); Add tst-mbswcs3.
5556         Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
5557         * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
5558         * localedata/tst-mbswcs3.c: New file.
5560 2000-04-26  Ulrich Drepper  <drepper@redhat.com>
5562         * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
5563         characters.  Don't handle incomplete characters as errors.
5564         * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
5565         * localedata/Makefile (test-srcs): Add tst-mbswcs2.
5566         Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
5567         * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
5568         * localedata/tst-mbswcs2.c: New file.
5570         * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
5571         stored character in state in UNPACK_BYTES macro.
5572         * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work.  Correct
5573         test for available characters, handle result of BODY code correctly.
5574         * localedata/Makefile (test-srcs): Add tst-mbswcs1.
5575         (distribute): Add tst-mbswcs.sh.
5576         Add rule to run tst-mbswcs.sh.
5577         * localedata/tst-mbswcs.sh: New file.
5578         * localedata/tst-mbswcs1.c: New file.
5580 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
5582         * nis/nis_callback.c (__nis_create_callback): Do failed memory
5583         allocation fixups centrally, fix __builtin_expect call, return NULL
5584         on failure, not NIS_NOMEMORY.
5586 2000-04-27  Bruno Haible  <haible@clisp.cons.org>
5588         * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
5590         * intl/loadinfo.h (internal_function): Define if not already defined.
5592 2000-04-27  Andreas Jaeger  <aj@suse.de>
5594         * intl/libintl.h: Fix typo, reported by Bruno Haible
5595         <haible@clisp.cons.org>.
5597 2000-04-25  Ulrich Drepper  <drepper@redhat.com>
5599         * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
5600         setting the state to GMON_PROF_BUSY.
5602 2000-04-24  Ulrich Drepper  <drepper@redhat.com>
5604         * elf/dl-profile.c (_dl_start_profile): define all variables which
5605         do not have to be global as local variables.
5607         * nis/nis_callback.c (__nis_create_callback): Partially undo last
5608         patch.  Keep needed tests for failed memory allocation.
5610         * elf/dl-reloc.c (_dl_relocate_object): Add one more
5611         __builtin_expect saying that we don't normally expect to profile.
5613         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
5614         __builtin_expect where desirable.
5616 2000-04-23  Ulrich Drepper  <drepper@redhat.com>
5618         * manual/Makefile (chapters): Add syslog.
5619         * manual/syslog.texi: New file.
5620         * manual/math.texi: Fix references.
5621         * manual/terminal.texi: Likewise.
5622         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5624 2000-04-18  Jakub Jelinek  <jakub@redhat.com>
5626         * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
5627         stdlib.h was not included or __USE_XOPEN not defined.
5629 2000-04-23  Ulrich Drepper  <drepper@redhat.com>
5631         * nss/Makefile (libnss_db-dbs): Remove stray backslash.
5632         Patch by Zack Weinberg <zack@wolery.cumb.org>.
5634 2000-04-22  Ulrich Drepper  <drepper@redhat.com>
5636         * manual/examples/subopt.c (mount_opts): Add missing terminating
5637         entry.
5638         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5640         * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
5641         * libio/ftello.c: Likewise.
5642         * libio/ftello64.c: Likewise.
5643         * libio/ioftell.c: Likewise.
5644         * sysdeps/generic/memrchr.c: Likewise.
5645         * sysdeps/posix/libc_fatal.c: Likewise.
5646         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5647         * misc/fstab.c: Include <string.h> for strcmp prototype.
5648         * sysdeps/generic/ldsodefs.h: Likewise.
5649         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5650         Patch by Kurt Roeckx <Q@ping.be>.
5652         * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
5653         Remove db-open.  Change all uses.
5654         (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
5656 2000-04-21  Jakub Jelinek  <jakub@redhat.com>
5658         * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
5659         * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
5660         * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
5661         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
5662         with .set noat/at to shut up warnings.
5663         * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
5664         * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
5665         compilation if __NR_pciconfig_iobase is not defined.
5666         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
5667         Add alias.
5669 2000-04-21  Ulrich Drepper  <drepper@redhat.com>
5671         * manual/sysinfo.texi: Fix typo.
5672         * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
5673         Replace "high precision time" with "high accuracy clock".
5674         Fix language.
5675         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5677         * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
5678         * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
5679         instead of malloc.
5680         * nis/nis_subr.c: Use __builtin_expect.
5681         * nis/ypclnt.c: Likewise.
5682         * nis/nis_getservlist.c: Likewise.
5683         * nis/nis_creategroup.c: Likewise.
5685         * nis/nis_callback.c (__nis_create_callback): Check result of
5686         memory allocation.  Fix memory leaks.  Use __builtin_expect.
5687         (__nis_destroy_callback): Fix memory leaks.
5689 2000-04-21  Andreas Jaeger  <aj@suse.de>
5691         * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
5692         * sysdeps/mips/mips64/add_n.S: Likewise.
5693         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
5694         * sysdeps/mips/mips64/lshift.S: Likewise.
5695         * sysdeps/mips/mips64/mul_1.S: Likewise.
5696         * sysdeps/mips/mips64/rshift.S: Likewise.
5697         * sysdeps/mips/mips64/setjmp.S: Likewise.
5698         * sysdeps/mips/mips64/sub_n.S: Likewise.
5699         * sysdeps/mips/mips64/submul_1.S: Likewise
5700         * sysdeps/unix/mips/sysdep.S: Likewise.
5702         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
5703         and update comment.  The strtab from _dl_relocate_object can be
5704         used.
5706 2000-04-21  Ulrich Drepper  <drepper@redhat.com>
5708         * iconv/iconv.c (iconv): Add __builtin_expect where useful.
5709         * iconv/iconv_close.c (iconv_close): Likewise.
5710         * iconv/iconv_open.c (iconv_open): Likewise.
5712         * grp/putgrent.c (putgrent): Unlock steam if fprintf failed.  Add
5713         __builtin_expect where useful.
5715         * grp/initgroups.c (initgroups): Test for result of memory
5716         allocation and punt if it fails.
5718         * dirent/scandir.c (scandir): Add __builtin_expect where useful.
5719         * grp/fgetgrent.c (fgetfrent): Likewise.
5720         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5722 2000-04-21  Jakub Jelinek  <jakub@redhat.com>
5724         * libio/vasprintf.c: Include string.h to get memcpy prototype.
5726 2000-04-20  Ulrich Drepper  <drepper@redhat.com>
5728         * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
5729         don't search for NUL byte to decrement counter.
5730         Reported by Ulrich.Brink@sap.com.
5732         * iconv/gconv_simple.c: Define separate functions to convert from
5733         UCS4/UCS4-LE to the internal encoding.
5734         * iconv/gconv_builtin.h: Use separate functions to convert from
5735         UCS4/UCS4-LE to the internal encoding.
5736         * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
5737         __gconv_transform_ucs4le_internal.
5739         * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
5740         output buffer overflow.  Reported by Ulrich.Brink@sap.com.
5742         * iconv/skeleton.c: Add some more __builtin_expect.
5743         * iconv/loop.c: Likewise.
5745 2000-03-08  H.J. Lu  <hjl@gnu.org>
5747         * posix/regex.c (regex_compile): Correctly handle "\{" when
5748         the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
5750 2000-04-20  Ulrich Drepper  <drepper@redhat.com>
5752         * manual/stdio.texi: Give advise about handling error when using
5753         stream functions.
5754         Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
5756 2000-04-19  Jakub Jelinek  <jakub@redhat.com>
5758         * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
5759         field to nelems * sizeof (uint32_t).
5760         * locale/programs/ld-address.c (address_output): Align word fields
5761         properly.
5762         * locale/programs/ld-monetary.c (monetary_output): Likewise.
5763         Don't restart idx pointers to idx end at the duo_int_curr_symbol
5764         field.
5765         Avoid giving arbitrary garbage in the crncystr field.
5766         Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
5767         uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
5768         fields.
5769         * locale/programs/ld-numeric.c (numeric_output): Likewise.
5770         Don't restart idx pointers to idx end at the decimal_point_wc field.
5771         * locale/programs/ld-time.c (time_output): week_1stday should be
5772         word, not byte.  Align it properly.
5774 2000-04-19  H.J. Lu  <hjl@gnu.org>
5776         * csu/gmon-start.c (_start): Declared as "extern void".
5777         (etext): Likewise.
5779 2000-04-18  Andreas Jaeger  <aj@suse.de>
5781         * manual/install.texi (Running make install): Don't mention utmpd
5782         anymore.
5784 2000-04-18  Andreas Jaeger  <aj@suse.de>
5786         * linuxthreads/Versions: Use ld instead of ld.so.
5788         * elf/Makefile (ld-map): Use ld.map.
5790         * Versions.def: Use ld instead of ld.so.
5791         * elf/Versions: Likewise.
5792         * sysdeps/mach/hurd/Versions: Likewise.
5794 2000-04-20  Andreas Jaeger  <aj@suse.de>
5796         * elf/rtld.c (print_statistics): Move ifndef further up.
5797         (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
5798         (dl_main): Likewise.
5800 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
5802         * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
5803         * gmon/Versions: Move moncontrol to GLIBC_2.2.
5805         * po/cs.po: Update from translation team.
5807         * sysdeps/generic/updwtmp.c: Remove daemon support.
5809         * login/Makefile (routines): Remove utmp_daemon.
5811         * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
5812         * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
5813         * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
5814         * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
5816         * elf/rtld.c: Display statitics option also if hp timing is not
5817         available.
5819         * login/programs/connection.c: Removed.
5820         * login/programs/database.c Removed.
5821         * login/programs/error.c: Removed.
5822         * login/programs/request.c: Removed.
5823         * login/programs/xtmp.c: Removed.
5824         * login/programs/xtmp.h: Removed.
5825         * login/Makefile: Remove rules for utmpd.
5826         * login/README.utmpd: Removed.
5827         * login/utmp_daemon.c: Removed.
5828         * login/getutent_r.c: Remove references to daemon functions.
5829         * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
5830         declaration.
5832 2000-04-18  Andreas Jaeger  <aj@suse.de>
5834         * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5835         2.2 for libnsl, libresolv, librt, libnss_*.
5837         * elf/rtld.c (process_dl_debug): Remove obsolete comment.
5839         * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
5841 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
5843         * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
5844         * sysdeps/unix/sysv/aix/getegid.c: Likewise.
5845         * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
5846         * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
5847         * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
5848         * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
5849         * sysdeps/unix/sysv/aix/setregid.c: Likewise.
5850         * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
5851         * sysdeps/unix/sysv/aix/setgid.c: Likewise.
5852         * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
5853         * sysdeps/unix/sysv/aix/setegid.c: Likewise.
5854         * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
5855         * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
5856         it here.
5857         * sysdeps/unix/sysv/aix/msync.c: New file.
5858         * sysdeps/unix/sysv/aix/msgsnd.c: New file.
5859         * sysdeps/unix/sysv/aix/net/if.h: New file.
5860         * sysdeps/unix/sysv/aix/pipe.c: New file.
5861         * sysdeps/unix/sysv/aix/poll.c: New file.
5862         * sysdeps/unix/sysv/aix/rename.c: New file.
5863         * sysdeps/unix/sysv/aix/rmdir.c: New file.
5864         * sysdeps/unix/sysv/aix/select.c: New file.
5865         * sysdeps/unix/sysv/aix/semctl.c: New file.
5866         * sysdeps/unix/sysv/aix/semget.c: New file.
5867         * sysdeps/unix/sysv/aix/semop.c: New file.
5868         * sysdeps/unix/sysv/aix/sendto.c: New file.
5869         * sysdeps/unix/sysv/aix/setgroups.c: New file.
5870         * sysdeps/unix/sysv/aix/setpgid.c: New file.
5871         * sysdeps/unix/sysv/aix/setpgrp.c: New file.
5872         * sysdeps/unix/sysv/aix/setpriority.c: New file.
5873         * sysdeps/unix/sysv/aix/setrlimit.c: New file.
5874         * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
5875         * sysdeps/unix/sysv/aix/setsid.c: New file.
5876         * sysdeps/unix/sysv/aix/setsockopt.c: New file.
5877         * sysdeps/unix/sysv/aix/shmat.c: New file.
5878         * sysdeps/unix/sysv/aix/shmctl.c: New file.
5879         * sysdeps/unix/sysv/aix/shmdt.c: New file.
5880         * sysdeps/unix/sysv/aix/shmget.c: New file.
5881         * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
5882         * sysdeps/unix/sysv/aix/sigstack.c: New file.
5883         * sysdeps/unix/sysv/aix/socket.c: New file.
5884         * sysdeps/unix/sysv/aix/socketpair.c: New file.
5885         * sysdeps/unix/sysv/aix/speed.c: New file.
5886         * sysdeps/unix/sysv/aix/symlink.c: New file.
5887         * sysdeps/unix/sysv/aix/sync.c: New file.
5888         * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
5889         * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
5890         * sysdeps/unix/sysv/aix/times.c: New file.
5891         * sysdeps/unix/sysv/aix/ulimit.c: New file.
5892         * sysdeps/unix/sysv/aix/umask.c: New file.
5893         * sysdeps/unix/sysv/aix/unlink.c: New file.
5894         * sysdeps/unix/sysv/aix/ustat.c: New file.
5895         * sysdeps/unix/sysv/aix/utimes.c: New file.
5897 2000-04-18  Andreas Jaeger  <aj@suse.de>
5899         * manual/startup.texi (Environment Access): Fix putenv prototype
5900         according to recent changes.
5901         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
5902         PR libc/1692.
5904         * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
5905         needed.
5907 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
5909         * posix/Makefile (tests): Add tst-getaddrinfo.
5910         * posix/tst-getaddrinfo.c: New file.
5912 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
5914         * manual/sysinfo.texi: Document that umount2 is not widely available.
5916         * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
5917         signal timing is not really implemented.
5919 2000-04-17  Andreas Jaeger  <aj@suse.de>
5921         * elf/rtld.c (process_dl_debug): Mention statistics in help message.
5923 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
5925         * Makefile (install): Use slibdir and libdir instead of inst_slibdir
5926         and inst_libdir.
5928 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
5930         * manual/intro.texi: Change reference from System Information to
5931         System Management.
5932         * manual/users.texi: Likewise.
5933         * manual/conf.texi: Likewise.
5934         * manual/sysinfo.texi: Document mount, umount, and umount2.
5935         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5937 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
5939         * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
5940         Create wnumstr as well as numstr to support wide character output
5941         correctly.
5943 2000-04-15  Jakub Jelinek  <jakub@redhat.com>
5945         * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
5946         modification and move it...
5947         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
5948         Add -melf64_sparc switch to $(LD) on sparc64-linux.
5949         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
5950         switch to $(LD) on sparc-linux.
5952 2000-04-17  Thorsten Kukuk  <kukuk@suse.de>
5954         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5955         and setresuid from sysdep_routines.
5957 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
5959         * manual/Makefile (chapters): Add resource.
5961         * manual/time.texi: Move section on resources to...
5962         * manual/resource.texi: ...here.  New file.  Document ulimit, vlimit,
5963         and vtimes.
5964         * manual/setjmp.texi: Adjust back reference.
5965         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5967         * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
5968         definition.
5969         * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
5970         * sysdeps/unix/sysv/aix/kill.c: Add copyright.
5971         * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
5972         * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
5973         * sysdeps/unix/sysv/aix/execve.c: Add copyright.
5974         * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
5975         * sysdeps/unix/sysv/aix/close.c: Add copyright.
5976         * sysdeps/unix/sysv/aix/brk.c: Add copyright.
5977         * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
5978         * sysdeps/unix/sysv/aix/access.c: Add copyright.
5979         * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
5980         * sysdeps/unix/sysv/aix/Implies: New file.
5981         * sysdeps/unix/sysv/aix/Versions: New file.
5982         * sysdeps/unix/sysv/aix/bind.c: New file.
5983         * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
5984         * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
5985         * sysdeps/unix/sysv/aix/bits/poll.h: New file.
5986         * sysdeps/unix/sysv/aix/bits/termios.h: New file.
5987         * sysdeps/unix/sysv/aix/chdir.c: New file.
5988         * sysdeps/unix/sysv/aix/chmod.c: New file.
5989         * sysdeps/unix/sysv/aix/chroot.c: New file.
5990         * sysdeps/unix/sysv/aix/creat.c: New file.
5991         * sysdeps/unix/sysv/aix/dl-close.c: New file.
5992         * sysdeps/unix/sysv/aix/dl-open.c: New file.
5993         * sysdeps/unix/sysv/aix/dl-sym.c: New file.
5994         * sysdeps/unix/sysv/aix/fchdir.c: New file.
5995         * sysdeps/unix/sysv/aix/fchmod.c: New file.
5996         * sysdeps/unix/sysv/aix/getgroups.c: New file.
5997         * sysdeps/unix/sysv/aix/gethostname.c: New file.
5998         * sysdeps/unix/sysv/aix/getpriority.c: New file.
5999         * sysdeps/unix/sysv/aix/getrlimit.c: New file.
6000         * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
6001         * sysdeps/unix/sysv/aix/getrusage.c: New file.
6002         * sysdeps/unix/sysv/aix/link.c: New file.
6003         * sysdeps/unix/sysv/aix/madvise.c: New file.
6004         * sysdeps/unix/sysv/aix/mkdir.c: New file.
6005         * sysdeps/unix/sysv/aix/mknod.c: New file.
6006         * sysdeps/unix/sysv/aix/mprotect.c: New file.
6007         * sysdeps/unix/sysv/aix/msgctl.c: New file.
6008         * sysdeps/unix/sysv/aix/msgget.c: New file.
6009         * sysdeps/unix/sysv/aix/msgrcv.c: New file.
6011 2000-04-17  Andreas Jaeger  <aj@suse.de>
6013         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
6014         as suggested by Ulrich Drepper.
6015         (__dl_runtime_resolve): Remove unused variable, initialize sym
6016         directly.
6017         (RTLD_START): Document OFFSET_GP_GOT.
6018         (OFFSET_GP_GOT): New magic value.
6019         (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
6020         (elf_machine_got_rel): Only declare strtab if needed.
6021         (elf_machine_relplt): Removed, it's not needed.
6022         (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
6024         * sysdeps/mips/add_n.S: Add newline at EOF.
6025         * sysdeps/mips/rshift.S: Likewise.
6026         * sysdeps/mips/mul_1.S: Likewise.
6027         * sysdeps/mips/lshift.S: Likewise.
6028         * sysdeps/mips/addmul_1.S: Likewise.
6030 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
6032         * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
6034         * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
6035         * elf/dl-lookup.c: Likewise.
6036         * elf/dl-init.c (_dl_init): Likewise.
6037         * elf/dl-fini.c (_dl_fini): Likewise.
6038         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6039         * elf/dl-close.c (_dl_close): Likewise.
6040         * elf/rtld.c (_dl_start_final): Likewise.
6042         * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
6044 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
6046         * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
6047         only fall back on using Linux.
6049         * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
6050         Before testing versions check that we actually loaded the object
6051         and whether we are in trace mode.  If not loaded during tracing don't
6052         test versions in this object.
6053         (_dl_check_all_versions): Take new parameter and pass to
6054         _dl_check_map_versions.
6055         * sysdeps/generic/ldsodefs.h: Update prototypes for
6056         _dl_check_all_versions and _dl_check_map_versions.
6057         * elf/rtld.c (struct version_check_args): Add dotrace.
6058         (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
6059         (dl_main): Pass info about trace mode to version_check_doit.
6060         * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
6061         _dl_check_all_versions.
6063         * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
6064         and getutmpx.
6065         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6067         * manual/argp.texi: Document index parameter of argp_parse.
6068         Fix typo.
6069         Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
6071 2000-04-14  Andreas Jaeger  <aj@suse.de>
6073         * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
6074         SHMFS_SUPER_MAGIC.  Remove definition of SHMFS_SUPER_MAGIC.
6076         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
6078 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
6080         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
6081         compat_symbol call for old adjtime.
6083         * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
6084         function interface.  Patch by Richard Henderson <rth@cygnus.com>.
6086         * posix/Makefile (headers): Add spawn.h.
6087         (distribute): Add spawn_int.h.
6088         (routines): Add spawn_faction_init, spawn_faction_destroy,
6089         spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
6090         spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
6091         spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
6092         spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
6093         * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
6094         posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
6095         posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
6096         posix_spawnattr_init, posix_spawnattr_destroy,
6097         posix_spawnattr_getdefault, posix_spawnattr_setdefault,
6098         posix_spawnattr_getflags, posix_spawnattr_setflags,
6099         posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
6100         and posix_spawnp.
6101         * posix/spawn.c: New file.
6102         * posix/spawn.h: New file.
6103         * posix/spawn_faction_addclose.c: New file.
6104         * posix/spawn_faction_adddup2.c: New file.
6105         * posix/spawn_faction_addopen.c: New file.
6106         * posix/spawn_faction_destroy.c: New file.
6107         * posix/spawn_faction_init.c: New file.
6108         * posix/spawn_int.h: New file.
6109         * posix/spawnattr_destroy.c: New file.
6110         * posix/spawnattr_getdefault.c: New file.
6111         * posix/spawnattr_getflags.c: New file.
6112         * posix/spawnattr_getpgroup.c: New file.
6113         * posix/spawnattr_getschedparam.c: New file.
6114         * posix/spawnattr_getschedpolicy.c: New file.
6115         * posix/spawnattr_getsigmask.c: New file.
6116         * posix/spawnattr_init.c: New file.
6117         * posix/spawnattr_setdefault.c: New file.
6118         * posix/spawnattr_setflags.c: New file.
6119         * posix/spawnattr_setpgroup.c: New file.
6120         * posix/spawnattr_setschedparam.c: New file.
6121         * posix/spawnattr_setschedpolicy.c: New file.
6122         * posix/spawnattr_setsigmask.c: New file.
6123         * posix/spawni.c: New file.
6124         * posix/spawnp.c: New file.
6126         * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
6127         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6129 2000-04-14  Ulrich Drepper  <drepper@redhat.com>
6131         * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
6132         * malloc/malloc.c: Implement posix_memalign for glibc.
6133         * include/stdlib.h: Add prototype for __posix_memalign.
6134         * stdlib/stdlib.h: Add prototype for posix_memalign.
6136 2000-04-14  Andreas Jaeger  <aj@suse.de>
6138         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
6139         symidx correctly.
6140         (elf_machine_got_rel): Cast sym correctly.
6142         * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
6143         * sysdeps/mips/addmul_1.S: Likewise.
6144         * sysdeps/mips/lshift.S: Likewise.
6145         * sysdeps/mips/mul_1.S: Likewise.
6146         * sysdeps/mips/rshift.S: Likewise.
6147         * sysdeps/mips/sub_n.S: Likewise.
6148         * sysdeps/mips/submul_1.S: Likewise.
6150         * stdlib/stdlib.h: Fix typo in comment.
6152         * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
6153         2.2 for libdl, ld and libm.
6155         * sysdeps/generic/madvise.c: Fix typos.
6157         * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
6159         * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
6161         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
6162         warnings.
6164 2000-04-14  Ulrich Drepper  <drepper@redhat.com>
6166         * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
6167         * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
6168         Make old name weak alias.
6169         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6170         * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
6171         Make old name weak alias.
6172         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6174         * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
6175         posix_fallocate, and posix_fallocate64.
6176         * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
6177         posix_fallocate, and posix_fallocate64.
6178         * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
6179         posix_fallocate, and posix_fallocate64.
6180         * sysdeps/generic/fadvise.c: New file.
6181         * sysdeps/generic/fadvise64.c: New file.
6182         * sysdeps/generic/fallocate.c: New file.
6183         * sysdeps/generic/fallocate64.c: New file.
6184         * sysdeps/posix/fallocate.c: New file.
6185         * sysdeps/posix/fallocate64.c: New file.
6186         * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
6187         POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
6188         POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
6189         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
6190         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
6191         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6192         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6193         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6194         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6196         * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
6197         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6199 2000-04-13  Ulrich Drepper  <drepper@redhat.com>
6201         * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
6202         * misc/sys/mman.h (posix_madvise): Add prototype.
6203         * sysdeps/generic/madvise.c (madvise): Renamed to __madvise.  Make
6204         old name and posix_madvise weak aliases.
6205         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6206         * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
6207         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
6208         * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6209         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
6210         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6211         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6213 2000-04-13  Andreas Jaeger  <aj@suse.de>
6215         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
6216         versioning.
6217         (elf_machine_got_rel): Only add runtime display if needed.
6218         (elf_machine_got_rel): Handle symbol versioning.
6220 2000-04-13  Andreas Jaeger  <aj@suse.de>
6222         * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
6224         * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
6225         default.
6227         * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
6228         with some applications.
6229         Patches by Ralf Baechle <ralf@uni-koblenz.de>.
6231         * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
6232         * sysdeps/mips/bsd-_setjmp.S: Likewise.
6233         * sysdeps/mips/setjmp.S: Likewise.
6235         * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
6237 2000-04-13  Ulrich Drepper  <drepper@redhat.com>
6239         * posix/globtest.sh: Work around inconsistency with expanding ~/
6240         in shell (PR libc/1690).  Reported by patsmith@pobox.com.
6242 2000-04-12  Ulrich Drepper  <drepper@redhat.com>
6244         * posix/getconf.c: Add support for many more POSIX options.
6245         * sysdeps/posix/sysconf.c: Likewise.
6246         * sysdeps/generic/bits/confname.h: Add many more POSIX options.
6247         * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
6248         _POSIX_SHELL.
6249         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6250         * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
6251         CLOCK_PROCESS_CPUTIME_ID.  Add define CLOCK_MONOTONIC and
6252         CLOCK_THREAD_CPUTIME_ID.
6253         * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
6254         CLOCK_PROCESS_CPUTIME_ID.
6255         * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
6256         __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID.  Handle
6257         CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
6258         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6260         * malloc/Makefile (tests): Add tst-calloc.
6261         * malloc/tst-calloc.c: New file.
6263         * sysdeps/arm/libm-test-ulps: New file.
6265         * malloc/malloc.c: Undo all of today's changes.
6267         * locale/programs/locale.c (show_info): Don't try to look into
6268         data for LC_ALL (there is none).
6270         * malloc/malloc.c (cALLOc): Clear only what the user asked for and
6271         avoid writing over boundary.
6272         Patch by Greg McGary <gkm@eng.ascend.com>.
6274         * sysdeps/arm/memprof.h: New file.
6276 2000-04-12  Andreas Jaeger  <aj@suse.de>
6278         * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
6280         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
6281         for memmem declaration.
6283 2000-04-12  Ulrich Drepper  <drepper@redhat.com>
6285         * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
6286         to -1.
6287         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6289         * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
6290         mode is invalid.
6291         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6292         Patch by Bart Veer <bartv@redhat.com>.
6294         * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
6295         function interface.
6297 2000-04-11  Andreas Jaeger  <aj@suse.de>
6299         * sysdeps/mips/dl-machine.h: Update some comments.
6300         (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
6302 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
6304         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
6305         _POSIX_SHARED_MEMORY_OBJECTS.
6307         * rt/Makefile (tests): Add tst-shm.
6308         Add rules to generate tst-shm.
6309         * rt/tst-shm.c: New file.
6311         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
6312         for descriptor.
6314         * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
6315         * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
6316         * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
6317         * sysdeps/generic/shm_open.c: New file.
6318         * sysdeps/generic/shm_unlink.c: New file.
6319         * sysdeps/unix/sysv/linux/shm_open.c: New file.
6320         * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
6321         * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
6322          __endmntent, __getmntent_r, __setmntent, and __statfs.
6324         * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
6325         fragmentation by allocating new memory at the end instead of
6326         reallocating.
6328         * posix/globtest.sh: Fix last change.
6330 2000-04-10  Philip Blundell  <philb@gnu.org>
6332         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
6333         IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
6334         IPV6_DROP_MEMBERSHIP.
6335         * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
6336         Likewise.
6338 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
6340         * elf/readlib (process_file): Close streams in case of an error.
6342 2000-04-09  Andreas Jaeger  <aj@suse.de>
6344         * elf/readlib.c (process_file): Check if file is big enough to
6345         contain aout and ELF headers.
6346         Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
6348 2000-04-10  Jes Sorensen  <Jes.Sorensen@cern.ch>
6350         * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
6352 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
6354         * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
6355         stream unbuffered.
6356         * rt/Makefile (tests): Add tst-clock.
6357         Add rules to build tst-clock.
6358         * rt/tst-clock.c: New file.
6359         * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
6360         about initialization of nsec.
6361         * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
6362         about initialization of freq.  Set retval to zero if successful.
6363         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
6365 2000-04-10  Ulrich Drepper  <drepper@redhat.com>
6367         * Versions.def (librt): Add GLIBC_2.2.
6368         * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
6369         clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
6370         timer_getoverr, timer_gettime, and timer_settime.
6371         * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
6372         clock_settime, timer_create, timer_delete, timer_getoverrun,
6373         timer_gettime, and timer_settime.
6374         * sysdeps/generic/clock_getcpuclockid.c: New file.
6375         * sysdeps/generic/get_clockfreq.c: New file.
6376         * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
6377         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
6378         * sysdeps/mach/hurd/i386/bits/time.h: New file.
6379         * sysdeps/unix/i386/i586/clock_getres.c: New file.
6380         * sysdeps/unix/i386/i586/clock_gettime.c: New file.
6381         * sysdeps/unix/i386/i686/Implies: New file.
6382         * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
6383         * time/Makefile (routines): Move clock_getres, clock_gettime,
6384         clock_settime, timer_create, timer_delete, timer_getoverr,
6385         timer_gettime, and timer_settime to rt/Makefile.
6386         * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
6387         clock_settime, timer_create, timer_delete, timer_getoverrun,
6388         timer_gettime, and timer_settime.
6389         * time/time.h: Define pid_t.  Add prototype for clock_getcpuclockid.
6391         * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility.  Use __const__
6392         and not const as attribute name.
6394 2000-04-10  Thorsten Kukuk  <kukuk@suse.de>
6396         * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
6398 2000-04-10  Andreas Schwab  <schwab@suse.de>
6400         * posix/globtest.sh: Skip tests that depend on unreadable
6401         directories if run as root.
6403 2000-04-10  Ulrich Drepper  <drepper@redhat.com>
6405         * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
6406         for correct range.  From code by Kaz Kylheku <kaz@ashi.footprints.net>.
6408 2000-04-09  Ulrich Drepper  <drepper@redhat.com>
6410         * sysdeps/unix/clock_gettime.c: New file.
6411         * sysdeps/unix/clock_settime.c: New file.
6412         * sysdeps/posix/clock_getres.c: New file.
6414         * conform/data/ftw.h-data: Add allow-header sys/stat.h.
6416         * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
6417         lseek call be passing in a buffer which never allow a successful
6418         first getdents syscall if not at leas the initial entry can be
6419         stored in the user buffer.
6421         * localedata/Makefile: Add rules to clean up directories created by
6422         new strfmon tests.
6424 2000-04-09  Geoff Clare  <gwc@unisoft.com>
6426         * localedata/tst-fmon.data: Added new tests for strfmon()
6427         using test locales with all combinations of cs_precedes,
6428         sign_posn and sep_by_space.
6429         * localedata/tst-fmon.sh: Updated to support the new tests.
6430         * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
6431         the localedef source for the new strfmon() test locale.
6432         * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
6433         * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
6434         * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
6435         * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
6436         * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
6437         * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
6438         * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
6439         * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
6440         * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
6441         * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
6442         * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
6443         * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
6444         * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
6445         * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
6447         * stdlib/strfmon.c: Correct problems with missing or extra
6448         spaces for unusual combinations of sign_posn and sep_by_space.
6449         Improved left-precision alignment code.
6451 2000-04-07  Andreas Jaeger  <aj@suse.de>
6453         * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
6455 2000-04-10  Andreas Jaeger  <aj@suse.de>
6457         * intl/Makefile: Don't run do-gettext-test when cross-compiling.
6459 2000-04-09  Ulrich Drepper  <drepper@redhat.com>
6461         Implement handling of restartable conversion functions according to
6462         ISO C.
6463         * iconv/gconv.h (__gconv_fct): Add additional parameter.
6464         * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
6465         * iconv/gconv.c: Pass additional parameter to conversion function.
6466         * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
6467         (internal_ucs4le_loop_single): New function.
6468         (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
6469         (__gconv_transform_internal_ascii): Likewise.
6470         (__gconv_transform_internal_utf8): Likewise.
6471         (__gconv_transform_utf8_internal): Likewise.
6472         (__gconv_transform_ucs2_internal): Likewise.
6473         (__gconv_transform_internal_ucs2): Likewise.
6474         (__gconv_transform_ucs2reverse_internal): Likewise.
6475         (__gconv_transform_internal_ucs2reverse): Likewise.
6476         (internal_ucs4le_loop_unaligned): Before return
6477         __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
6478         a valid character.  Otherwise return __GCONV_ILLEGAL_INPUT.
6479         (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
6480         * iconv/loop.c: Fit in definition of function to convert one character
6481         for processing of left-over bytes from the state object.
6482         * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
6483         inend to match names in loop functions.
6484         (RESET_INPUT_BUFFER): Change apprpriately.
6485         (gconv): If needed, call function to process bytes from the state
6486         object.  Similar at the end: store left over bytes if input is
6487         incomplete.
6488         Take extra argument and add new argument to all calls of the
6489         conversion function.
6490         * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
6491         information in the state object to not conflict with length count.
6492         * iconvdata/iso-2022-jp.c: Likewise.
6493         * iconvdata/iso-2022-kr.c: Likewise.
6494         * iconvdata/unicode.c: Adjust for change change in parameters of
6495         skeleton function.
6496         * iconvdata/utf-16.c: Likewise.
6497         * libio/iofwide.c: Add new parameter to all calls of conversion
6498         function.
6499         * wcsmbs/btowc.c: Likewise.
6500         * wcsmbs/mbrtowc.c: Likewise.
6501         * wcsmbs/mbsnrtowcs.c: Likewise.
6502         * wcsmbs/mbsrtowcs.c: Likewise.
6503         * wcsmbs/wcrtomb.c: Likewise.
6504         * wcsmbs/wcsnrtombs.c: Likewise.
6505         * wcsmbs/wcsrtombs.c: Likewise.
6506         * wcsmbs/wctob.c: Likewise.
6508         * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
6509         MAX_NEEDED_INPUT.
6511 2000-04-07  Andreas Jaeger  <aj@suse.de>
6513         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
6514         newer kernels.
6516 2000-04-07  Ulrich Drepper  <drepper@redhat.com>
6518         * wcsmbs/wchar.h (__mbstate_t): Rename elements.  Make __value
6519         element a union to allow byte access.
6520         * iconvdata/iso-2022-cn.c: Adjust for change of element name in
6521         mbstate_t.
6522         * iconvdata/iso-2022-jp.c: Likewise.
6523         * iconvdata/iso-2022-kr.c: Likewise.
6524         * wcsmbs/mbsinit.c: Likewise.
6525         * stdlib/mblen.c: Likewise.
6526         * stdio-common/printf-parse.h: Likewise.
6528 2000-04-06  Ulrich Drepper  <drepper@redhat.com>
6530         * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
6531         kernel does not allow relative seeks on descriptors associated
6532         with directories.  Go back to get the position in the directory
6533         every time we enter the function.  Return -1 and set errno if one
6534         entry could be read from the kernel but does not fit into the
6535         buffer passed in by the user.
6537         * locale/programs/charmap.c (charmap_new_char): Add parameter step.
6538         Support ..(2).. ellipsis.
6539         (parse_charmap): Recognize ..(2).. etc and pass step down.
6540         Correctly generate names for UCS4 characters.
6542         * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
6543         (ctype_finish): We know the wide character value for <SP>,
6544         don't search.
6545         (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
6546         (charclass_ucs4_ellipsis): Likewise.
6547         (read_translit_ignore_entry): Store ellipsis step.
6548         (ctype_read): Recognize ..(2).. etc and pass step down.
6550         * locale/programs/linereader.c (lr_token): When seeing comment
6551         character ignore only rest of line in sources but stop at escaped
6552         newline.
6553         Recognize ..(2).. and ....(2).....
6555         * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
6556         and tok_ellipsis4_2.
6558 2000-04-06  Andreas Jaeger  <aj@suse.de>
6560         * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
6561         removed, remove it here also.
6562         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
6563         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
6564         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
6565         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
6567 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
6569         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
6570         include bits/sigcontext.h.
6571         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6573 2000-04-06  Ulrich Drepper  <drepper@redhat.com>
6575         * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
6576         collation symbol definition.  Value in quivalence definition must
6577         be defined, don't check that it is not.
6579         * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
6580         values as character names.
6582         * locale/programs/ld-ctype.c (get_character): Handle missing
6583         repertoire map correctly.
6585 2000-04-05  Cristian Gafton  <gafton@redhat.com>
6587         * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
6588         because it is used in generic code.
6589         * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
6590         * wcsmbs/wcwidth.h: Declare __ctype32_b.
6591         * intl/gettext.c: Include <locale.h>.
6592         * intl/ngettext.c: Likewise.
6594 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
6596         * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
6597         socklen_t type for size.
6598         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
6599         init function interface.
6600         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6601         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
6602         sys/ucontext.h.
6603         (__jmp_buf): Declare the whole type structure here, don't use
6604         ucontext.
6606 2000-04-05  Ulrich Drepper  <drepper@redhat.com>
6608         * iconv/skeleton.c (put16u): Fix typo.
6609         Reported by Bruno Haible <haible@ilog.fr>.
6611         * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
6612         * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
6613         * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
6614         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
6615         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
6616         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
6618         * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
6619         * Makefile (distribute): Add abi-versions.awk and
6620         firstversions.awk.
6621         Patches by Torsten Duwe <duwe@caldera.de>.
6623 2000-04-05  Andreas Schwab  <schwab@suse.de>
6625         * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
6627 2000-04-05  Andreas Schwab  <schwab@suse.de>
6629         * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
6630         entry point, used on Hurd.
6632 2000-04-04  Andreas Jaeger  <aj@suse.de>
6634         * intl/Makefile: Only run the gettext test with shared libraries.
6636 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
6638         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6639         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6641 2000-04-05  Roland McGrath  <roland@baalperazim.frob.com>
6643         * Makeconfig: Undo last change.
6644         * configure.in: If --disable-shared was given, don't set VERSIONING,
6645         don't define DO_VERSIONING, and don't give scare warning for no
6646         versioning.
6647         * configure: Regenerated.
6649 2000-04-04  Roland McGrath  <roland@baalperazim.frob.com>
6651         * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
6653 2000-04-04  Andreas Jaeger  <aj@suse.de>
6655         * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
6657 2000-04-04  Ulrich Drepper  <drepper@redhat.com>
6659         * elf/dl-runtime.c (fixup): Correct handling of symbols marked
6660         STV_HIDDEN and STV_INTERNAL during lookup.
6661         (profile_fixup): Likewise.
6662         * elf/dl-reloc.c (RESOLVE): Likewise.
6664         * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
6665         unaligned so that it compiles for system which need unaligned
6666         access handling.
6668 2000-04-04  Andreas Schwab  <schwab@suse.de>
6670         * elf/cache.c (print_entry): Only look at the type field when
6671         printing the type.
6673 2000-04-04  Andreas Schwab  <schwab@suse.de>
6675         * iconvdata/big5.c (BODY): Fix typo.
6677 2000-04-04  Andreas Schwab  <schwab@suse.de>
6679         * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
6680         function interface.  Remove unused _dl_start_user entry point.
6682 2000-04-03  Andreas Jaeger  <aj@suse.de>
6684         * include/arpa/inet.h (__inet_aton): Add protoype.
6686 2000-04-01  Andreas Jaeger  <aj@suse.de>
6688         * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
6690         * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
6691         * sysdeps/mach/mips/thread_state.h: Likewise.
6693         * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
6694         * sysdeps/generic/fegetenv.c: Likewise.
6695         * sysdeps/generic/fesetenv.c: Likewise.
6696         * sysdeps/generic/feupdateenv.c: Likewise.
6697         * sysdeps/generic/fraiseexcpt.c: Likewise.
6698         * sysdeps/generic/fsetexcptflg.c: Likewise.
6699         * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
6700         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6701         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6702         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6704 2000-04-02  H.J. Lu  <hjl@gnu.org>
6706         * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
6708 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
6710         * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
6711         (add_name_to_object): Add cast in malloc call.
6712         (fillin_rpath): Optimize loop to initialize ->status a bit.
6714         * sysdeps/i386/dl-machine.h: Undo last change.
6715         * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
6716         Restore %edx register after call here.
6718         * sysdeps/arm/atomicity.h: New file.
6719         Contributed by Jesper Skov <jskov@redhat.com>.
6721 2000-04-03  Roland McGrath  <roland@baalperazim.frob.com>
6723         * Makeconfig (preprocess-versions): Undo last change.
6724         Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
6726         * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
6727         here, before we might move the stack.
6728         (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
6729         (init1): And not here.
6731         * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
6732         change, to restore argc value in call-clobbered register after
6733         RTLD_START_SPECIAL_INIT, which will contain a call.
6735         * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
6736         allocating and initializing L->l_initfini.
6738         * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
6740 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
6742         * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
6743         RUNPATH, RPATH, and LD_LIBRARY_PATH.
6744         (open_path): Change type of fourth parameter.  Make pointer to array
6745         of pointers.  Create variable dirs with original type.
6746         Track whether any directory for the object exists and if not,
6747         change *DIRSP to (void*) -1 to signal there is no such search path.
6748         (_dl_map_object): Change all calls of open_path.
6749         Rewrite decompose_rpath calls.
6751 2000-03-31  Andreas Schwab  <schwab@suse.de>
6753         * string/strfry.c: Declare STATE as array of char instead of int
6754         and do not initialize it (done by initstate_r).  Pass correct
6755         size.
6757 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
6759         * sysdeps/generic/ldsodefs.h: Fix typo in comment.
6761         * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
6762         instruction out of the code.
6764 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
6766         * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
6767         element at this position.
6769         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
6770         * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
6771         l_reldeps elements.
6772         * elf/dl-lookup.c (add_dependency): New function.
6773         (_dl_lookup_symbol): Use it whenever symbol was found in a global,
6774         dynamically loaded object.
6775         (_dl_lookup_symbol_skip): Likewise.
6776         (_dl_lookup_versioned_symbol): Likewise.
6777         (_dl_lookup_versioned_symbol_skip): Likewise.
6778         * elf/dl-open.c: Don't define _dl_load_lock here...
6779         * elf/rtld.c: ...but here...
6780         * elf/dl-support.c: ...and here.
6781         * elf/dl-close.c (_dl_close): Close also dependent objects introduce
6782         through relocation.
6783         * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
6784         relocations.
6785         * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
6786         anymore.
6787         * dlfcn/glrefmain.c: Add one more debug message.
6789         * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
6790         command line.
6791         * Makerules (sysd-versions): Use ( ) instead of { }.
6793         * elf/dl-load.c: Use __builtin_expect to signal that compiler should
6794         optimize for the non-debugging case.
6795         * elf/dl-lookup.c: Likewise.
6796         * sysdeps/generic/libc-start.c: Likewise.
6798 2000-04-02  Roland McGrath  <roland@baalperazim.frob.com>
6800         * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
6801         (init1): Don't initialize __environ here, since init already does it.
6802         (first_init): New function, broken out of _init.
6803         (_hurd_stack_setup): Use it.
6804         [SHARED] (_dl_init_first): New function, renamed from old _init.
6805         (init1) [SHARED]: Don't call posixland_init here.
6806         (posixland_init): Take ENVP arg, so signature is usual for initializer.
6807         [SHARED] (_init): Define as alias for posixland_init.
6808         [! SHARED] (__libc_first_init): Define as alias for posixland_init.
6809         * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
6810         RTLD_START_SPECIAL_INIT before calling initializers.
6811         (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
6812         * sysdeps/mach/hurd/i386/dl-machine.h: New file.
6813         * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
6814         * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
6816         * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
6817         since we define the function with the name `tmpfile'.
6819         * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
6820         * hurd/Versions: Likewise.
6822 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
6824         * elf/dl-runtime.c (fixup): Fix typo in comment.
6826         * resolv/netdb.h (getnameinfo): All length parameters are of type
6827         socklen_t.
6828         * inet/getnameinfo.c: Likewise.
6830 2000-04-01  Ulrich Drepper  <drepper@redhat.com>
6832         * posix/unistd.h (socklen_t): Define if it has not yet happened.
6833         (gethostname): Change type of second parameter to socklen_t.
6834         * include/unistd.h (__gethostname): Change type of second
6835         parameter to socklen_t.
6836         * sysdeps/generic/gethostname.c (__gethostname): Likewise.
6837         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6838         * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
6839         * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
6840         Likewise.
6841         * sysdeps/unix/sysv/linux/gethostname.c: Removed.
6842         * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
6843         Allow definition elsewhere.
6844         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6845         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6846         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6847         * sysdeps/generic/bits/types.h: Define __socklen_t.
6848         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6849         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6850         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6851         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6852         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6853         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6854         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6856         * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
6857         (inet_lnaof): Likewise.
6858         (inet_netof): Likewise.
6859         (inet_network): Likewise.
6860         (inet_aton): Likewise.
6861         (inet_makeaddr): Change parameter types to in_addr_t.
6862         (inet_neta): Likewise.
6863         (inet_ntop): Change type of last parameter to socklen_t.
6864         (inet_aton): Only make available if __USE_MISC.
6865         (inet_neta): Likewise.
6866         (inet_net_ntop): Likewise.
6867         (inet_net_pton): Likewise.
6868         (inet_nsap_ntoa): Likewise.
6870         * inet/in.h: Define in_port_t type.
6871         Define in_addr_t type.
6872         (struct in_addr): Use in_addr_t in definition.
6873         (IN_CLASSA): Use cast to in_addr_t.
6874         (IN_CLASSB): Likewise.
6875         (IN_CLASSC): Likewise.
6876         (IN_CLASSD): Likewise.
6877         (IN_EXPERIMENTAL): Likewise.
6878         (IN_BADCLASS): Likewise.
6879         (INADDR_ANY): Likewise.
6880         (INADDR_BROADCAST): Likewise.
6881         (INADDR_NONE): Likewise.
6882         (INADDR_LOOPBACK): Likewise.
6883         (INADDR_UNSPEC_GROUP): Likewise.
6884         (INADDR_ALLHOSTS_GROUP): Likewise.
6885         (INADDR_ALLRTRS_GROUP): Likewise.
6886         (INADDR_MAX_LOCAL_GROUP): Likewise.
6887         (struct sockaddr_in): Use in_port_t for sin_port element.
6888         (struct sockaddr_in6): Use in_port_t for sin6_port element.
6889         Use uint8_t instead of u_int8_t.
6891         * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
6892         Call __inet_aton instead of inet_aton.
6893         (__inet_aton): Renamed from inet_aton.  Add weak alias under old name.
6895         * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
6896         (innetgr): Likewise.
6897         (struct addrinfo): Use socklen_t for ai_addrlen element.
6899         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
6900         IPV6_RECVERR): New defines.
6902         * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
6903         * inet/getnetbyad.c: Likewise.
6904         * inet/getnetbyad_r.c: Likewise.
6905         * nis/nss_nis/nis-network.c: Likewise.
6906         * nis/nssplus_nis/nisplus-network.c: Likewise.
6907         * nss/nss_files/files-network.c: Likewise.
6908         * resolv/netdb.h: Define uint32_t if not already happened.
6909         Include bits/netdb.h.  Remove definition of struct netent.
6910         Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
6911         * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
6912         * sysdeps/generic/bits/netdb.h: New file.
6913         * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
6915         * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
6916         (tests): Add glrefmain.
6917         Add rules to build modules and run tests.  Ignore result of glrefmain
6918         for now since it fails.
6919         * dlfcn/glrefmain.c: New file.
6920         * dlfcn/glreflib1.c: New file.
6921         * dlfcn/glreflib2.c: New file.
6923         * test-skeleton.c: Include <string.h> for strsignal prototype.
6925         * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
6926         to be missing.
6928         * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
6929         former init-first.h.  Initialize __libc_multiple_libcs.
6931 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
6933         * iconv/skeleton.c: Define access macros with u suffix.  Adjust
6934         #if expression for use of unaligned function to the one used in
6935         the definition of these functions.
6936         * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
6937         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
6938         (internal_ucs4le_loop_unaligned): New function.
6940         * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
6941         (tests): Add order.
6942         (module-names): Add dep1, dep2, dep3, and dep4.
6943         Add dependencies for dep* modules and order.
6944         Define rule for order.out which checks the result.
6945         * elf/dep1.c: New file.
6946         * elf/dep2.c: New file.
6947         * elf/dep3.c: New file.
6948         * elf/dep4.c: New file.
6949         * elf/order.c: New file.
6951         * elf/dl-init.c: Fix typo in comment.
6953 2000-03-31  Andreas Jaeger  <aj@suse.de>
6955         * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
6956         init function interface.
6957         * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
6959 2000-03-31  Andreas Jaeger  <aj@suse.de>
6961         * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
6962         * sysdeps/mips/fpu/fegetenv.c: Likewise.
6963         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6964         * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
6965         * sysdeps/mips/fpu/fesetenv.c: Likewise.
6967         * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6968         anymore, update comment.
6970         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6972         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6973         SHLIB_COMPAT - the struct is always needed.
6975 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
6977         * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
6978         * elf/dl-support.c: Define _dl_starting_up.
6980 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
6982         * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
6983         * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
6985         * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
6987         * elf/Makefile (dl-routines): Remove preinit.
6988         * elf/Versions: Remove _dl_preinit.
6989         * elf/dl-preinit.c: Removed.  Move content into...
6990         * elf/dl-init.c: ...here.
6991         * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
6993         * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
6994         elements.
6996 2000-03-29  Geoff Clare  <gwc@unisoft.com>
6998         * stdlib/strfmon.c: Corrected problems with the code that
6999         sets default values for [np]_sep_by_space and
7000         [np]_sign_posn; also the new positive/negative alignment
7001         code from the previous patch was not quite right for
7002         [np]_sign_posn = 0.
7004         * localedata/tst-fmon.data: Changes corresponding to the
7005         two sets of fixes made to stdlib/strfmon.c.
7007 2000-03-29  Jes Sorensen  <jes@pcatls01.cern.ch>
7009         * malloc/malloc.c: Declare bit flags UL so that they will not
7010         default to int size when being inverted.
7012 2000-03-29  Andreas Jaeger  <aj@suse.de>
7014         * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
7015         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
7017 2000-03-29  Andreas Jaeger  <aj@suse.de>,
7018             Ralf Baechle <ralf@uni-koblenz.de>
7020         * Makeconfig: Introduce new variable SHARED to mark code used in
7021         the shared library.
7022         * elf/dl-close.c: Use it instead of PIC.
7023         * elf/dl-load.c: Likewise.
7024         * elf/dl-open.c: Likewise.
7025         * hurd/geteuids.c: Likewise.
7026         * include/libc-symbols.h: Likewise.
7027         * include/shlib-compat.h: Likewise.
7028         * libio/freopen.c: Likewise.
7029         * linuxthreads/cancel.c: Likewise.
7030         * linuxthreads/pthread.c: Likewise.
7031         * linuxthreads/wrapsyscall.c: Likewise.
7032         * nss/nsswitch.c: Likewise.
7033         * stdio-common/vfprintf.c: Likewise.
7034         * sysdeps/arm/init-first.c: Likewise.
7035         * sysdeps/i386/init-first.c: Likewise
7036         * sysdeps/generic/init-first.c: Likewise.
7037         * sysdeps/generic/libc-start.c: Likewise.
7038         * sysdeps/mips/init-first.c: Likewise.
7039         * sysdeps/powerpc/elf/libc-start.c: Likewise.
7040         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7041         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
7042         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
7043         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7045         * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
7047 2000-03-29  Andreas Jaeger  <aj@suse.de>
7049         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
7050         Use D_PTR to access relocated entries in l_info.
7051         (elf_machine_rela): Likewise.
7053         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
7054         Likewise.
7055         (elf_machine_rela): Likewise.
7057         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
7058         Likewise.
7059         (__elf_machine_fixup_plt): Likewise.
7060         (__process_machine_rela): Likewise.
7062         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
7063         (elf_machine_rela): Likewise.
7065         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
7066         (elf_machine_rel): Likewise.
7068         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
7069         (elf_machine_fixup_plt): Likewise.
7070         (elf_machine_rela): Likewise.
7072 2000-03-29  Andreas Jaeger  <aj@suse.de>
7074         * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
7075         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7076         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7077         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
7078         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7079         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
7080         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7081         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
7082         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7083         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
7084         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
7085         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
7086         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
7087         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7088         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7090         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
7091         macros, remove K&R prototypes.
7093 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
7095         * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
7096         Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
7097         (PR libc/1677).
7099 2000-03-30  Andreas Jaeger  <aj@suse.de>
7101         * misc/sys/cdefs.h: Remove K&R support.
7103 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
7105         * iconv/skeleton.c: Avoid compiling unaligned versions in some
7106         more cases.
7107         * iconv/loop.c: Likewise.
7109 2000-03-29  Bruno Haible  <haible@clisp.cons.org>
7111         * iconv/loop.c (put16): Remove __const. Fix access index.
7112         (put32): Remove __const. Use uint32_t instead of uint16_t.
7113         * iconv/skeleton.c: Likewise.
7115 2000-03-30  Roland McGrath  <roland@baalperazim.frob.com>
7117         * mach/Versions (libc: GLIBC_2.0)
7118         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
7119         __vm_allocate on this.
7120         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
7121         mutex- and spinlock-related symbols on this.
7122         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
7123         New version set.  Lock-related symbols go here instead in this case.
7124         * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
7125         _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
7126         cthread_getspecific, cthread_setspecific, __libc_getspecific.
7127         * hurd/Versions
7128         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
7129         Put them here instead.
7130         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
7131         New version set.  Those cthreads symbols go here instead in this case.
7132         * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
7134 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
7136         * elf/dl-init.c (_dl_init): We don't need to call constructors
7137         recursively.  Fold _dl_init_rec in _dl_init and optimize a bit more.
7139         Implement dynamic determination of constructor/destructor order in
7140         the dynamic linker.
7141         * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
7142         (GLIBC_2.2): Add _dl_init.
7143         * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
7144         r_duplist is not anymore allocated separately.  l_initfini is and
7145         therefore free it if necessary.
7146         * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
7147         malloc block.  Otherwise allocate l_initfini list only.
7148         Put dependencies for the object in l_initfini list.
7149         Sort dependencies for the object to be loaded topologically.
7150         * elf/dl-fini.c: Before running the destructors sort the topologically.
7151         * elf/dl-init.c (_dl_init): Renamed from _dl_init_next.  Rewrite to
7152         call constructors instead of iterating over the pointers.  Get list of
7153         objects for which to run constructors from l_initfini element. Accept
7154         argc, argv, and env as parameters and pass them to the constructors.
7155         * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
7156         with size of dynamic section.
7157         * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
7158         _dl_init_next and calling constructors ourself.
7159         * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
7160         Take argc, argv, and env as parameters and pass them to the
7161         constructors.  Rewrite to call all constructors and not iterate over
7162         the pointers.
7163         * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry.  Don't
7164         precompute l_initcount and l_preinitcount.
7165         * elf/link.h (struct link_map): Add l_ldnum member.
7166         Make l_phdr_allocated part of the bitfield.  Remove l_runcount,
7167         l_initcount, and l_preinitcount.  Add l_initfini.
7168         * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
7169         one for _dl_init.
7170         * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
7171         function interface.
7172         * sysdeps/unix/sysv/linux/init-first.h: Removed.
7173         * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
7174         * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
7175         SYSDEP_CALL_INIT.  Make _init a strong alias of init.  The calling
7176         conventions now match.
7178         * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
7179         effect for shared objects.  Don't emit message and call only for
7180         static library.
7182 2000-03-29  Ulrich Drepper  <drepper@redhat.com>
7184         * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
7185         CSA_Z243.4-1985-1..UCS2.
7186         * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
7187         ISO-8859-10..UCS2.
7189 2000-03-29  Andreas Jaeger  <aj@suse.de>
7191         * include/unistd.h: Remove duplicate entry for __rmdir.
7192         Remove declaration of __mkdir since __mkdir is declared in
7193         sys/stat.h.
7195         * manual/creature.texi (Feature Test Macros): Fix typo, reported
7196         by Michael Deutschmann <michael@talamasca.ocis.net>.
7198         * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
7199         * sysdeps/mips/fpu/fegetenv.c: Likewise.
7200         * sysdeps/mips/fpu/fesetenv.c: Likewise.
7201         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
7202         * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
7204 2000-03-28  Andreas Jaeger  <aj@suse.de>
7206         * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
7207         declaration, the prototype is defined via bits/mathcalls.h.
7208         (__sincosf): Likewise.
7209         (__sincosl): Likewise.
7210         (ldexp): Likewise.
7211         (ldexpf): Likewise.
7212         (ldexpl): Likewise.
7213         (__finite): Likewise.
7214         (__inline_mathcodeNP): New macro without prototype
7215         declarations.
7216         (__inline_mathcodeNP2): Likewise.
7217         (__inline_mathcodeNP3): Likewise.
7218         (__inline_mathcodeNP_): Likewise.
7219         (__inline_mathcodeNP2_): Likewise.
7220         (__inline_mathcodeNP3_): Likewise.
7221         (__inline_mathopNP): Likewise.
7222         (__inline_mathop_declNP): Likewise.
7223         (__inline_mathop_declNP_): Likewise.
7224         (__inline_mathcode_): Use __inline_mathcodeNP_.
7225         (__inline_mathcode2_): Use __inline_mathcodeNP2_.
7226         (__inline_mathcode3_): Use __inline_mathcodeNP3_.
7227         (__inline_mathop_decl_): Use __inline_mathop_declNP__.
7228         (__expm1l): Don't define prototype, the prototype is defined via
7229         bits/mathcalls.h.
7230         (exp): Likewise.
7231         (__expl): Likewise.
7232         (tan): Likewise.
7233         (atan2): Likewise.
7234         (__atan2l): Likewise.
7235         (fmod): Likewise.
7236         (pow): Likewise.
7237         (fabsf): Likewise.
7238         (fabsl): Likewise.
7239         (__fabsl): Likewise.
7240         (asin): Likewise.
7241         (acos): Likewise.
7242         (sinh): Likewise.
7243         (cosh): Likewise.
7244         (tanh): Likewise.
7245         (floor): Likewise.
7246         (ceil): Likewise.
7247         (expm1): Likewise.
7248         (log1p): Likewise.
7249         (asinh): Likewise.
7250         (acosh): Likewise.
7251         (atanh): Likewise.
7252         (hypot): Likewise.
7253         (logb): Likewise.
7254         (fma): Likewise.
7255         (drem): Likewise.
7256         (sqrt): Likewise.
7257         (__sqrtl): Likewise.
7258         (sin): Likewise.
7259         (cos): Likewise.
7260         (atan): Likewise.
7261         (log): Likewise.
7262         (log10): Likewise.
7263         (asinh): Likewise.
7264         (log2): Likewise.
7265         (rint): Likewise.
7267 2000-03-28  Ulrich Drepper  <drepper@redhat.com>
7269         * Makerules: If make variable md5 is defined to yes after
7270         generating dependencies generate MD5 sum for the object.
7272         * iconv/gconv_builtin.h: Fix length in transformation definition
7273         for UNICODEBIG.
7275         * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
7277         * iconv/loop.c: Define get16, get32, put16, and put32 macros to
7278         allow as well reading from/writing to unaligned addresses on machines
7279         which don't support this in hardware.  Use FCTNAME macro to define
7280         function name.  Include the file a second time for platforms which
7281         need special unaligned handling.
7282         * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
7283         to access potentially unaligned addresses.  These macros are intended
7284         to be used only outside the loops.
7285         (unaligned): New definition.  In case the machine can handle unaligned
7286         access define as zero.  Otherwise as a variable which is initialized
7287         as nonzero in case the buffer passed in at runtime is unaligned with
7288         respect to the character set encoding involved.
7289         Call aligned or unaligned looop functions according to unaligned
7290         variable.
7291         * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
7292         of direct casting pointer to potentially handle unaligned memory
7293         accesses.
7294         * iconvdata/8bit-generic.c: Likewise.
7295         * iconvdata/ansi_x3.110.c: Likewise.
7296         * iconvdata/big5.c: Likewise.
7297         * iconvdata/euc-cn.c: Likewise.
7298         * iconvdata/euc-jp.c: Likewise.
7299         * iconvdata/euc-kr.c: Likewise.
7300         * iconvdata/euc-tw.c: Likewise.
7301         * iconvdata/gbk.c: Likewise.
7302         * iconvdata/iso-2022-cn.c: Likewise.
7303         * iconvdata/iso-2022-jp.c: Likewise.
7304         * iconvdata/iso-2022-kr.c: Likewise.
7305         * iconvdata/iso646.c: Likewise.
7306         * iconvdata/iso_6937-2.c: Likewise.
7307         * iconvdata/iso_6937.c: Likewise.
7308         * iconvdata/johab.c: Likewise.
7309         * iconvdata/sjis.c: Likewise.
7310         * iconvdata/t.61.c: Likewise.
7311         * iconvdata/uhc.c: Likewise.
7312         * iconvdata/unicode.c: Likewise.
7313         * iconvdata/utf-16.c: Likewise.
7315         * locale/programs/simple-hash.c: Little optimizations.  Remove K&R
7316         prototypes.
7318         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
7319         * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
7320         public.
7321         * malloc/mcheck.h (mcheck_check_all): Declare.
7323         * stdio-common/Makefile (tests): Add tst-obprintf.
7325 2000-03-28  Roland McGrath  <roland@baalperazim.frob.com>
7327         * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
7328         Declare pthread_sigmask.
7330         * csu/version.c: Add 2000 to copyright years.
7331         Remove Emacs local variables section.
7333 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
7335         * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
7336         __gconv_transform_internal_ucs2little): Remove declarations.
7337         * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
7338         __gconv_transform_internal_ucs2): Never need to bswap_16.
7339         (__gconv_transform_ucs2reverse_internal,
7340         __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
7342 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
7344         * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
7345         obsoleting version not being defined at all, in which case the
7346         result is always true.
7348         * Makeconfig (preprocess-versions): New canned sequence for running
7349         cpp on shlib-versions and the like.
7350         (soversions.i): Use it.
7351         * Makerules (Versions.all, sysd-versions): Use it to preprocess the
7352         Versions.def and Versions files.
7354 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
7356         * stdio-common/tst-obprintf.c (main): Add another check to see
7357         obstack_printf handling all possible beginnings of the block
7358         inside an obstack chunk.
7360         * locale/programs/localedef.c: Use __malloc_initialize_hook to
7361         install mcheck handler.
7363         * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
7364         handling problem.
7366 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
7368         * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
7370         * include/shlib-compat.h: Conditionalize <abi-versions.h> include
7371         on [HAVE_ELF && DO_VERSIONING].
7373 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
7375         * stdio-common/tst-obprintf.c: New file.
7377 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
7379         * libio/genops.c (_IO_default_xsputn): Little optimization.  Call
7380         _IO_OVERFLOW directly instead through __overflow.
7382         * locale/programs/localedef.c (construct_output_path): If path
7383         contains a / compute the end of the directory name correctly.
7385         * include/features.h: Undef and document __USE_XOPEN2K.
7387         * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
7388         whenever a function is called.  Initiated by calling mcheck_pedantic
7389         instead of mcheck.
7390         * malloc/mcheck.h: Declare mcheck_pedantic.
7391         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
7392         * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
7393         for now.
7395 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
7397         * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
7398         * dlfcn/dlopenold.c: Likewise.
7399         * nss/getXXbyYY_r.c: Likewise.
7400         * nss/getXXent_r.c: Likewise.
7401         * hurd/hurdinit.c: Likewise.
7402         * hurd/compat-20.c: Likewise.
7403         * libio/oldiofopen.c: Likewise.
7404         * libio/oldiofclose.c: Likewise.
7405         * libio/oldiofdopen.c: Likewise.
7406         * libio/oldfileops.c: Likewise.
7407         * libio/oldstdfiles.c: Likewise.
7408         * libio/oldiofsetpos.c: Likewise.
7409         * libio/oldiofgetpos.c: Likewise.
7410         * libio/oldiofgetpos64.c: Likewise.
7411         * libio/oldiofsetpos64.c: Likewise.
7412         * libio/oldiopopen.c: Likewise.
7413         * libio/oldpclose.c: Likewise.
7414         * libio/oldtmpfile.c: Likewise.
7415         * libio/freopen.c (freopen): Likewise.
7416         * libio/iofclose.c (_IO_new_fclose): Likewise.
7418         * sysdeps/mach/sys/reboot.h: Include <features.h>.
7419         (reboot): Declare it.
7421         * libio/Makefile (headers): Add bits/stdio-lock.h here.
7423         * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
7425         * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
7427         * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
7428         __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
7429         We need this for the sbrk decl, which can be included without Unix98.
7431 2000-03-20  Richard Henderson  <rth@cygnus.com>
7433         * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
7434         argument to yperr2nss is an int, not size_t.
7435         * posix/regex.c (print_partial_compiled_pattern): Cast all
7436         ptrdiff_t to long for printing.
7437         (print_compiled_pattern): Use Z for printing size_t.
7438         * posix/testfnm.c (tests): Avoid trigraphs.
7439         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7440         Use a C comment, not an assembly comment.
7442         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
7443         of __ASSUME_32BITUIDS.
7445 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
7447         * libio/iofopncook.c: Remove K&R prototypes.
7449 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
7451         * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
7452         an initial value of 1024 instead of RLIM_INFINITY.
7454         * Versions.def (libmachuser, libhurduser): Remove these sections,
7455         since these libraries do not presently use symbol versions.
7457         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
7458         is RLIM_INFINITY, return -1 instead.
7460 2000-03-24  Andreas Jaeger  <aj@suse.de>
7462         * Makefile (postclean): Added soversions.i.
7464 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
7466         * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
7467         _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
7468         and _FPU_IEEE.  Change _FPU_RESERVED.
7470 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
7472         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
7474 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
7476         * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
7477         (gaih_inet): Remove unused duplicate variable.
7479         * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
7480         Don't use __libc_sa_len, which only exists for Linux.  Just handle
7481         AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
7482         only flavors supported by this function anyway.
7484 2000-03-24  Geoff Clare  <gwc@unisoft.com>
7486         * stdlib/strfmon.c: Corrected problems with missing signs and
7487         missing or extra spaces; allow for sign strings longer than
7488         one character; add padding to ensure positive and negative
7489         formats are aligned when a left precision is used.
7491 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
7493         * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
7494         Patch by John Mizel <John.Mizel@msdw.com>.
7496 2000-03-25  Ulrich Drepper  <drepper@redhat.com>
7498         * manual/install.texi: Remove references to crypt add-on.
7500 2000-03-25  Roland McGrath  <roland@baalperazim.frob.com>
7502         * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
7503         section while taking the _hurd_rlimit_lock.
7504         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7506 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
7508         * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
7509         using $(LN_S).
7511         * sysdeps/mach/hurd/if_index.c: New file.
7513         * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
7514         * sysdeps/gnu/net/if.h: here.
7515         (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
7516         * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
7517         * sysdeps/generic/net/if.h: New file.  Declares just the standard
7518         functions and `struct if_nameindex' type.
7519         * socket/Makefile (headers): Add net/if.h here.
7520         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
7521         * sysdeps/mach/hurd/Dist: Remove it here.
7522         * sysdeps/unix/sysv/linux/Dist: And here.
7523         * sysdeps/generic/if_index.c: Include <net/if.h>.
7525 2000-03-24  Andreas Jaeger  <aj@suse.de>
7527         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
7528         access relocated entries in l_info.
7529         (elf_machine_got_rel): Likewise.
7530         (elf_machine_runtime_setup): Likewise.
7531         * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
7532         (elf_machine_runtime_setup): Likewise.
7533         (__dl_runtime_resolve): Likewise.
7535 2000-03-23  Ulrich Drepper  <drepper@redhat.com>
7537         * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
7538         * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
7539         according to RFC 2553.
7540         * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
7541         * inet/getnameinfo.c: Likewise.
7542         Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7544 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
7546         * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
7547         Remove no-op pointer increment.
7549 2000-03-23  Andreas Jaeger  <aj@suse.de>
7551         * stdio-common/tst-cookie.c (cookieseek): Change prototype to
7552         follow change for libio.h from 2000-03-10.
7554 2000-03-23  Andreas Jaeger  <aj@suse.de>
7556         * elf/dl-addr.c: Adjust include paths for ldsodefs location
7557         change.
7558         * elf/dl-debug.c: Likewise.
7559         * elf/dl-deps.c: Likewise.
7560         * elf/dl-error.c: Likewise.
7561         * elf/dl-fini.c: Likewise.
7562         * elf/dl-init.c: Likewise.
7563         * elf/dl-load.c: Likewise.
7564         * elf/dl-lookup.c: Likewise.
7565         * elf/dl-minimal.c: Likewise.
7566         * elf/dl-object.c: Likewise.
7567         * elf/dl-open.c: Likewise.
7568         * elf/dl-preinit.c: Likewise.
7569         * elf/dl-profile.c: Likewise.
7570         * elf/dl-profstub.c: Likewise.
7571         * elf/dl-reloc.c: Likewise.
7572         * elf/dl-runtime.c: Likewise.
7573         * elf/dl-support.c: Likewise.
7574         * elf/dl-symbol.c: Likewise.
7575         * elf/dl-version.c: Likewise.
7576         * elf/rtld.c: Likewise.
7577         * elf/sprof.c: Likewise.
7578         * sysdeps/generic/dl-cache.c: Likewise.
7579         * sysdeps/generic/dl-origin.c: Likewise.
7580         * sysdeps/generic/dl-sysdep.c: Likewise.
7581         * sysdeps/generic/elf/backtracesyms.c: Likewise.
7582         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7583         * sysdeps/generic/libc-start.c: Likewise.
7584         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7585         * sysdeps/powerpc/dl-machine.c: Likewise.
7586         * sysdeps/powerpc/elf/libc-start.c: Likewise.
7587         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7588         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7589         * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
7591         * elf/ldsodefs.h: Move file to ...
7592         * sysdeps/generic/ldsodefs.h: ... here.
7594         * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7596         * sysdeps/mips/elf/ldsodefs.h: New file.
7598         * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
7599         entries in l_info.
7600         (_dl_check_map_versions): Likewise.
7601         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7602         * elf/dl-load.c (_dl_init_paths): Likewise.
7603         (_dl_map_object): Likewise.
7604         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
7605         (elf_get_dynamic_info): Likewise.
7606         * elf/do-lookup.h (FCT): Likewise.
7607         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
7608         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7609         * elf/dl-addr.c (_dl_addr): Likewise.
7610         * elf/dl-runtime.c (profile_fixup): Likewise.
7611         (fixup): Likewise.
7612         * elf/dl-init.c (_dl_init_next): Likewise.
7613         * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
7614         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7615         (DISTINGUISH_LIB_VERSIONS): Likewise.
7616         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
7617         (elf_machine_rel): Likewise.
7619         * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
7620         for writable dynamic section.
7622 2000-03-22  Ulrich Drepper  <drepper@redhat.com>
7624         * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
7625         large enough.  Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7627 2000-03-22  Andreas Jaeger  <aj@suse.de>
7629         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
7630         from latest Linux kernel.
7632 2000-03-21  Andreas Jaeger  <aj@suse.de>
7634         * Versions.def: Add version 2.1.4.
7636 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
7638         * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
7639         * libio/oldiofopen.c: Likewise.
7640         * libio/oldiofclose.c: Likewise.
7641         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7643 2000-03-22  Roland McGrath  <roland@baalperazim.frob.com>
7645         * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
7646         indicating the first version set to obsolete the conditionalized code.
7647         (compat_symbol): New macro.
7648         * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
7649         rhs be the ABI_* macro for the subsuming version.  Assign increasing
7650         integer values to the ABI_* macros for supported versions.
7651         * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
7652         compat_symbol macro.
7654 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
7656         * nscd/connections.c (nscd_run): Pretty print.
7657         * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
7659         * manual/charset.texi: Fix typos.  Rephrase.
7660         * manual/process.texi: Likewise.
7661         * manual/signal.texi: Likewise.
7662         Patches by Mike Coleman <mkc@kc.net>.
7664         * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
7665         versions.
7666         * libio/iofdopen.c: Likewise.
7667         * libio/iofgetpos.c: Likewise.
7668         * libio/iofgetpos64.c: Likewise.
7669         * libio/iofopen.c: Likewise.
7670         * libio/iofsetpos.c: Likewise.
7671         * libio/iofsetpos64.c: Likewise.
7672         * libio/iopopen.c: Likewise.
7673         * libio/oldiofopen.c: Likewise.
7674         * libio/pclose.c: Likewise.
7675         * sysdeps/gnu/siglist.c: Likewise.
7676         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7678         * include/shlib-compat.h (versioned_symbol): Give preprocessor the
7679         chance to expand VERSION_##lib##_##version.
7681         * libio/fileops.c: Use new macros from shlib-compat.h to define
7682         versions.
7683         * libio/iofclose.c: Likewise.
7684         * libio/oldiofclose.c: Likewise.
7685         Patch by Roland McGrath <roland@frob.com>.
7687 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
7689         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
7690         Lay out struct sigcontext according to what really gets passed on
7691         the stack.
7692         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
7693         (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
7694         (prgregset_t, prfpregset_t): Define to elf_* types.
7695         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
7696         Define to correct value.
7697         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
7698         sigcontext.
7699         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
7701 2000-03-21  Roland McGrath  <roland@baalperazim.frob.com>
7703         * scripts/firstversions.awk: Allow multiple version sets in the
7704         "earliest version" specification, meaning that version sets in the
7705         gaps between listed versions should be folded into the earliest later
7706         version that is explicitly listed.
7707         * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
7708         we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
7710 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
7712         * iconv/gconv_builtin.c: Include <endian.h>.
7713         * iconv/gconv_builtin.h: Add UCS-BE aliases.
7714         Add UCS-4LE transformation.  Define UNICODEBIG and UNICODELITTLE
7715         according to current platform.
7716         * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
7717         __gconv_transform_internal_ucs2reverse, and
7718         __gconv_transform_internal_ucs4le.
7719         * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
7720         __gconv_transform_ucs2reverse_internal and
7721         __gconv_transform_internal_ucs2reverse.
7722         * iconvdata/Makefile (modules): Add UNICODE.
7723         (distribute): Add unicode.c.
7724         * iconvdata/gconv-modules: Add definitions for UNICODE module.
7725         * iconvdata/unicode.c: New file.
7727         * iconvdata/utf-16.c: Rewrite code to emit BOM.  Correct code to
7728         determine byte order of input and convert accordingly.
7730         * iconvdata/utf-16.c (gconv_init): Fix typo.
7732 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
7734         * iconvdata/gconv-modules: Fix typo.
7736         * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
7737         more messages.
7739         * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
7741 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
7743         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
7745 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
7747         * misc/Makefile (routines): Add mincore.
7749 2000-03-20  Andreas Jaeger  <aj@suse.de>
7751         * sysdeps/generic/mincore.c: New stub file.
7753         * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
7754         from latest Linux kernel.
7756 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
7758         * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
7759         _SC_GETPW_R_SIZE_MAX.
7761 2000-03-20  Richard Henderson  <rth@cygnus.com>
7763         * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
7764         in GLIBC_2.1.4.
7766 2000-03-20  Richard Henderson  <rth@cygnus.com>
7768         * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
7769         of arithmetic instructions.
7771         * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
7772         with the fpcr.  Protect from INV exception.
7773         * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
7774         * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
7775         * sysdeps/alpha/fpu/s_floorf.c: Likewise.
7777         * sysdeps/alpha/fpu/s_copysign.c: New.
7778         * sysdeps/alpha/fpu/s_copysignf.c: New.
7779         * sysdeps/alpha/fpu/s_fabs.c: New.
7780         * sysdeps/alpha/fpu/s_fabsf.c: New.
7781         * sysdeps/alpha/fpu/s_rint.c: New.
7782         * sysdeps/alpha/fpu/s_rintf.c: New.
7784         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
7786         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7787         Kill sethae.
7788         * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
7789         * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
7790         Use physical addresses not KSEG addresses.
7791         (io_system): Add PYXIS.
7792         (io): Remove hae.reg, sys, hae_shift.
7793         (stb_mb, stw_mb, stl_mb, __sethae): New.
7794         (inline_outb, inline_outw, inline_outl): Don't set hae.
7795         (inline_inb, inline_inw, inline_inl): Likewise.
7796         (dense_sethae): New null function.
7797         (struct cpuinfo_data): New.
7798         (process_cpuinfo): Use local and stack variables, not static.
7799         Move readlink check here from init_iosys.
7800         (init_iosys): Use __pciconfig_iobase first.  Know SX and LX as PYXIS.
7801         (_iopl): Simplify.
7802         (_hae_shift): Calculate it here.
7803         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
7804         add pciconfig_iobase.
7806 2000-03-20  Roland McGrath  <roland@baalperazim.frob.com>
7808         * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
7809         * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
7811         * scripts/versions.awk: Fixed version renaming code to distinguish
7812         libraries properly.
7814 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
7816         * include/stdlib.h: Add prototype for __cxa_atexit.
7818         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
7819         _SLOWDOWN flags.  Patch by Jim Blandy <jimb@cygnus.com>.
7821 2000-03-17  Cristian Gafton  <gafton@redhat.com>
7823         * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
7824         existing rtld-installed-name.
7825         ($(rtld-installed-name)): Request libc-$(version) be installed too.
7826         replace existing rtld-installed-name using $(symbolic-link-prog).
7828 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
7830         * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
7831         (insert_value, handle_ellipsis, collate_read): Replace %zu in format
7832         strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
7833         but not the former.
7835 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
7837         * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
7838         glob64.  Since there is no glob64 in the LFS proposal applications
7839         can assume that glob handles LFS situations.  glob64 is only needed
7840         if alternative filesystem functions are used.
7842 2000-03-19  Geoff Clare  <gwc@unisoft.com>
7844         * sysdeps/generic/glob.c: Correct gl_pathc value returned
7845         when GLOB_DOOFFS is set; correct handling of patterns
7846         containing escaped wildcards (and no unescaped ones);
7847         GLOB_ERR flag was being ignored in some situations.
7849         * posix/globtest.c, posix/globtest.sh: Updated to include
7850         tests for the problems fixed by the above changes to glob.c.
7852         * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
7854 2000-03-19  Roland McGrath  <roland@baalperazim.frob.com>
7856         * Makeconfig (soversion.i): Use only first match for each lib.
7858         * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
7860         * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
7861         rather than $(sysd-dirs-done) to protect these rules.
7863         * Makerules (version-renames.def): Target removed.
7864         (Versions.all): Depend on soversions.i directly and parse it.
7866         * Makeconfig (soversions.i): New target, input-reading parts of
7867         soversions.mk generation moved here; result is a canonicalized
7868         list "LIB VERSION [SET]" for this configuration.
7869         (soversions.mk): Use that as input.  Don't emit map-firstversions.
7870         * Makerules (version-renames.def): New target, generated from
7871         soversions.i with contents that was in $(map-firstversions).
7872         (Versions.all): Don't depend on soversions.mk, depend on
7873         version-renames.def instead; just cat it into the input.
7875         * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
7876         for $(map-firstversions), which better handles it being empty.
7878         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
7879         supported version for libc 0.2.90.libio to GLIBC_2.2.
7881         * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
7882         and use it to emit new variable `map-firstversions'.
7883         * scripts/firstversions.awk: New file.
7884         * Makerules (Versions.all): Use scripts/firstversions.awk and
7885         the $(map-firstversions) value to generate a modified versions list
7886         that includes renames in "A = B" syntax for each version set earlier
7887         than the "earliest symbol version" named in shlib-versions.
7888         * scripts/versions.awk: Recognize "A = B" lines in the input to mean
7889         rename version set A to B in the output to the intermediate file.
7890         * scripts/abi-versions.awk: New file.
7891         * Makerules (abi-versions.h): New target, generated by that script.
7892         [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
7893         * include/shlib-compat.h: New file, uses that generated header.
7895 2000-03-18  Roland McGrath  <roland@baalperazim.frob.com>
7897         * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
7898         after stripping # comments, and then run it through cpp.
7899         This allows things like "%ifdef FOO" based on config.h settings.
7900         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
7902         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
7903         and other errors that indicate a pseudo-receive happened, grok through
7904         the message buffer for port rights that need references fixed up.
7906 2000-03-16  Andreas Jaeger  <aj@suse.de>
7908         * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
7910         * sysdeps/unix/sysv/linux/madvise.c: Remove.
7912         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
7913         from latest Linux kernel.
7914         * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
7916         * misc/sys/mman.h: Add prototype for mincore.
7918 2000-03-17  Ulrich Drepper  <drepper@redhat.com>
7920         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
7921         entry for GLIBC_2.0 version of setrlimit.
7922         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7924 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
7926         * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
7927         * nis/nss_compat/compat-initgroups.c: Likewise.
7928         * nis/nss_nis/nis-initgroups.c: Likewise.
7929         * nis/nss_nis/nis-netgrp.c: Likewise.
7930         * nis/nss_nis/nis-proto.c: Likewise.
7931         * nis/nss_nis/nis-rpc.c: Likewise.
7932         * nis/nss_nis/nis-service.c: Likewise.
7933         * nis/ypclnt.c: Likewise.
7935 2000-03-16  Andreas Jaeger  <aj@suse.de>
7937         * manual/Makefile: MAKEINFO is set to `:' from configure if it
7938         doesn't exist, correct checks.  Fixes PR libc/1649.
7940 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
7942         * nscd/hstcache.c: Restore correct UID.
7943         * nscd/pwdcache.c: Likewise.
7944         Patch from Gabor Gombas <gombasg@inf.elte.hu>.
7946 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
7948         * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
7949         macros for register names, in line with 2000-03-14 linux change.
7951         * sysdeps/mach/sched_yield.c: New file.
7953 2000-03-13  Roland McGrath  <roland@baalperazim.frob.com>
7955         * sysdeps/generic/lockfile.c: Include <stdio.h>
7956         (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
7957         case <libio.h> defined them.
7958         (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
7959         from __internal_*.
7960         (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7961         ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7963         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7964         for more pleasing parse error.
7966 2000-03-16  Ulrich Drepper  <drepper@redhat.com>
7968         * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7969         memory for eras.
7970         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7972         * elf/Makefile: Add rules to compile and run constload1 test.
7973         * elf/constload1.c: New file.
7974         * elf/constload2.c: New file.
7975         * elf/constload3.c: New file.
7977 2000-03-15  Ulrich Drepper  <drepper@redhat.com>
7979         * sysdeps/posix/open64.c: Make __open64 weak alias.
7980         * sysdeps/posix/pread64.c: Make __pread64 weak alias.
7981         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7982         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
7983         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7984         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
7985         * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
7986         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7987         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7988         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7989         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
7991 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
7993         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7994         Nautilus.  Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
7996 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
7998         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7999         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
8001 2000-03-08  Andreas Jaeger  <aj@suse.de>
8003         * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
8005 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
8007         * timezone/africa: Update from tzdata2000d.
8008         * timezone/asia: Likewise.
8009         * timezone/australasia: Likewise.
8010         * timezone/europe: Likewise.
8011         * timezone/northamerica: Likewise.
8012         * timezone/southamerica: Likewise.
8014         * po/fr.po: Update from translation team.
8015         * po/de.po: Likewise.
8017         * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
8018         last parameter.  Move code to add map to global scope from here...
8019         * elf/dl-open.c (dl_open_worker): ...here.
8020         * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
8021         * elf/rtld.c: Adjust call to _dl_map_object_deps.
8023         * locale/programs/ld-collate.c (collate_read): Fix warning.
8025         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
8026         values and macros for register names.
8028         * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
8029         returned by seek cookie function is -1.
8031 2000-03-14  Andreas Jaeger  <aj@suse.de>
8033         * locale/localeconv.c (localeconv): Fix typo.
8034         Reported by Andre Charbonneau <andrec@corel.com>.
8036 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
8038         * iconv/skeleton.c: Increment __invocation_counter in inner loop
8039         since modules depend on it counting the number of times the conversion
8040         function got called.
8042         * iconv/gconv_open.c: Optimize loop to setup step data structure.
8044         * iconv/gconv.h: Pretty print.
8046 2000-03-04  Ulrich Drepper  <drepper@redhat.com>
8048         * posix/wordexp-test.c: Correct one of the tests added in the last
8049         change.  Really get the root passwd entry to check again ~root.
8051 2000-03-10  Andreas Jaeger  <aj@suse.de>
8053         * manual/filesys.texi (Working Directory): Fix last patch.
8054         Patch by Martin Buchholz  <martin@xemacs.org>.
8056 2000-03-10  Andreas Jaeger  <aj@suse.de>
8058         * manual/creature.texi (Feature Test Macros): Fix language.
8060 2000-03-10  Roland McGrath  <roland@baalperazim.frob.com>
8062         * mach/devstream.c (devstream_write, devstream_read): New functions.
8063         (input, output): Functions removed.
8064         (mach_open_devstream): Use devstream_{read,write} as cookie functions,
8065         using only the vanilla fopencookie interface.
8067         * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
8068         as macro for __io_functions.
8069         (funcsio): Use cookie_io_functions_t type name.
8070         (fopenport): Renamed from __fopenport.  Rewrite to call fopencookie.
8072         * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
8073         fopencookie.
8074         (fopencookie): Use it.
8075         * libio/libio.h: Declare _IO_cookie_init.
8076         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
8077         _IO_cookie_init.
8079         * libio/libio.h (__io_seek_fn): Fix second argument type
8080         to be a pointer, in line with the manual and the old stdio.
8081         * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
8083         * sysdeps/generic/bits/stdio-lock.h: New file.
8084         This is a stub with #error, but that's better than no file at all.
8086 2000-03-09  Martin Buchholz  <martin@xemacs.org>
8088         * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
8089         * manual/message.texi (Using gettextized software): Doc Fixes.
8090         * manual/message.texi (Message Translation): Doc Fixes.
8091         * manual/filesys.texi (File Size): Doc Fixes.
8092         * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
8093         * locale/programs/ld-collate.c (collate_output): Doc Fixes.
8094         * iconv/gconv_db.c (find_derivation): Doc Fixes.
8095         * manual/install.texi: Doc Fixes.
8096         * manual/search.texi (Hash Search Function): Doc Fixes.
8097         * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
8098         * FAQ.in: Doc Fixes.
8099         * config.h.in: Doc Fixes.
8100         * sysdeps/generic/dl-sysdep.c: Doc Fixes.
8101         Doc Fixes.  `allows to' is not correct English.
8103         * elf/rtld.c: Doc fixes.
8104         * manual/creature.texi (Feature Test Macros): Doc fixes.
8105         * manual/memory.texi (Hooks for Malloc): Doc Fixes.
8107         * manual/filesys.texi (Working Directory): Check for ERANGE to
8108         avoid infloop.
8110 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
8112         * string/argz-stringify.c (__argz_stringify): Fix loop termination
8113         conditions so as not to clobber the final '\0' when there is only one
8114         element in the vector.
8116 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
8118         * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
8119         broken by 2000-02-27 change.
8121         * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
8123 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
8125         * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
8126         argument type, for 2000-02-22 change in signal/signal.h declaration.
8128 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
8130         * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
8131         to getdirentries64 (no __), since the Linux implementation
8132         has no __ name, and there is no declaration for the __ name.
8134         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
8136         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
8137         sed regexp so as not to break directory names including /../ within.
8139         * sysdeps/unix/bsd/bits/waitflags.h: File removed.
8140         The sysdeps/generic file is right for BSD.  This file was in fact the
8141         Hurd file, but the only difference was the WNOREAP flag that was never
8142         actually implemented or used anywhere.
8144         * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
8145         since AC_PATH_PROG already does it for us.
8146         (PERL): Rewrite check added in 2000-02-29 change for syntactic
8147         correctness and sh portability.  I replaced the broken check
8148         with a more sensible implementation of the apparently intended
8149         semantics, which might still be questionable.  Using expr causes
8150         a non-numeric value for `perl -V:apiversion` to be accepted,
8151         refusing to use only a perl that reports a number less than 5;
8152         on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
8153         * configure: Regenerated.
8155 2000-03-08  Andreas Jaeger  <aj@suse.de>
8157         * manual/crypt.texi: Fix paths.
8159 2000-03-07  Andreas Jaeger  <aj@suse.de>
8161         * resolv/netdb.h: The descriptions of rresvport and rresvport_af
8162         were swapped.
8163         Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
8164         libc/1636.
8166 2000-03-06  Andreas Jaeger  <aj@suse.de>
8168         * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
8169         in __sgn1l, otherwise g++ fails to parse this.
8170         Reported by Sean Chen <sean.chen@turbolinux.com>.
8172 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
8174         * configure.in: Compute sizeof-long-double.
8175         * configure: Regenerated.
8176         * config.make.in: Make sizeof-long-double available to sub-makes.
8178 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
8180         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8181         call.
8183 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
8185         * Makeconfig (rpath-dirs): Add crypt.
8186         (all-subdirs): Remove md5crypt.
8187         * crypt/sysdeps/unix/crypt.c: Move to crypt/.
8188         * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
8189         * sysdeps/generic/crypt-entry.c: Delete.
8190         * crypt/sysdeps/unix/crypt.h: Move to crypt/.
8191         * sysdeps/generic/crypt.h: Delete.
8192         * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
8193         * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
8194         * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
8195         * sysdeps/generic/des_impl.c: Delete.
8196         * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
8197         * crypt/sysdeps: Delete.
8198         * crypt/crypt_util.c: Don't use `patchlevel.h'.
8199         * md5-crypt/Versions: Move to crypt/.
8200         * md5-crypt/md5-crypt.c: Move to crypt/.
8201         * md5-crypt/md5.c: Move to crypt/.
8202         * md5-crypt/md5c-test.c: Move to crypt/.
8203         * md5-crypt/md5test.c: Move to crypt/.
8204         * md5-crypt: Delete.
8205         * crypt/Makefile: Adjust for new structure.
8207 2000-03-03  Paul Eggert  <eggert@twinsun.com>
8209         * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
8210         define to 1 if not defined.
8212 2000-03-03  Andreas Jaeger  <aj@suse.de>
8214         * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
8216 2000-03-03  Andreas Jaeger  <aj@suse.de>
8218         * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
8219         cases.
8220         (xdr_int64_t): Correctly handle lower half.
8221         Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
8223 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
8225         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8226         call.
8228 2000-03-02  Andreas Jaeger  <aj@suse.de>
8230         * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
8231         2.3.43.
8233 2000-03-02  Andreas Jaeger  <aj@suse.de>
8235         * resolv/Makefile (headers): Add arpa/nameser_compat.h.
8237 2000-03-01  Andreas Jaeger  <aj@suse.de>
8239         * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
8240         (tests): Added tst-getdate.
8242         * time/tst-getdate.c: New file.
8244         * time/datemsk: New file, needed for tst-getdate.
8246 2000-02-29  Cristian Gafton  <gafton@redhat.com>
8248         * configure.in (CCVERSION): Require at least veersion 5 of perl API.
8250 2000-02-17  H.J. Lu  <hjl@gnu.org>
8252         * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
8254         * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
8255         available.
8256         (svcudp_recv): Set up message with the new "xp_pad" field for
8257         IP_PKTINFO.
8258         (svcudp_reply): Support IP_PKTINFO if available.
8260 2000-03-01  Andreas Jaeger  <aj@suse.de>
8262         * time/getdate.c (check_mday): Fix check for february.
8263         Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
8264         <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
8266 2000-03-02  Andreas Jaeger  <aj@suse.de>
8268         * posix/unistd.h: __THROW has to precede __attribute__, otherwise
8269         g++ fails to parse this.
8270         Reported by Sean Chen <sean.chen@turbolinux.com>.
8272 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
8274         * io/creat.c: Moved to...
8275         * sysdeps/generic/creat.c: ...here.
8276         * io/creat64.c: Moved to...
8277         * sysdeps/generic/creat64.c: ...here.
8278         * io/lockf.c: Moved to...
8279         * sysdeps/generic/lockf.c: ...here.
8281         * crypt/crypt.texi: Moved to...
8282         * manual/crypt.texi: ...here.
8283         * crypt/examples/genpass.c: Moved to...
8284         * manual/examples/genpass.c: ...here.
8285         * crypt/examples/mygenpass.c: Moved to...
8286         * manual/examples/mygenpass.c: ...here.
8287         * crypt/examples/testpass.c: Moved to...
8288         * manual/examples/testpass.c: ...here.
8290         * manual/Makefile (chapters): Add crypt.
8291         * manual/conf.texi: Add usual header for not-last chapter.
8292         * manual/crypt.texi: Add special header for last chapter.
8294 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
8296         * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
8297         * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
8298         complain if there is no crypt add-on.
8299         * crypt/configure: Removed.
8301         * crypt/crypt.texi: Update documentation of US export restrictions
8302         to match the 14 Jan 2000 regulations.
8304 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
8306         * crypt: New subdirectory, merged in from the crypt add-on.
8308 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
8310         * include/unistd.h: Add __rmdir and __mkdir prototypes.
8313 See ChangeLog.10 for earlier changes.