1 2000-08-30 Ulrich Drepper <drepper@redhat.com>
3 * iconvdata/Makefile (tests): Add tst-loading.
4 * iconvdata/tst-loading.c: New file.
6 2000-08-29 Bruno Haible <haible@clisp.cons.org>
8 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
9 When comparing a char with an int, always cast the char to
10 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
11 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
13 2000-08-30 Ulrich Drepper <drepper@redhat.com>
15 * time/strftime.c (my_strftime): Add compatibility code for use
16 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
18 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
19 return 0 for success but always < 0 on failure.
21 * nss/getXXbyYY_r.c: Define result to *result before including
24 2000-08-30 Andreas Jaeger <aj@suse.de>
26 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
28 2000-08-29 Ulrich Drepper <drepper@redhat.com>
30 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
32 * iconvdata/TESTS: Add BIG5HKSCS entry.
33 * iconvdata/testdata/BIG5HKSCS: New file.
34 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
36 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
39 * libio/iogetline.c: Set mode before the loop in case n==0.
40 * libio/iogetwline.c: Likewise.
42 2000-08-29 H.J. Lu <hjl@gnu.org>
44 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
46 (_IO_new_file_overflow): Likewise.
47 * libio/genops.c (_IO_flush_all): Likewise.
48 * libio/ioftell.c (_IO_ftell): Likewise.
50 2000-08-29 Akira Higuchi <a@kondara.org>
52 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
53 and __end_fct fields of struct __gconv_step.
54 * iconv/Makefile (tests): Add iconv-bug2.
55 * iconv/iconv-bug2.c: New file.
57 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
58 instead of 'inptr - inend' to ksc5601_to_ucs4.
60 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
62 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
63 character or shift sequence is found at the end of the input
64 string, return__GCONV_INCOMPLETE_INPUT instead of
66 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
67 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
69 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
70 __GCONV_ILLEGAL_INPUT for 8bit characters.
72 2000-08-29 Ulrich Drepper <drepper@redhat.com>
74 * signal/signal.h (sigpause): Move __THROW before __asm__.
76 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
77 names don't match don't return.
78 Patch by Olaf Kirch <okir@flash.lst.de>.
80 2000-08-28 Ulrich Drepper <drepper@redhat.com>
82 * time/strftime.c (my_strftime): Handle # flag for %b as well.
84 2000-08-27 H.J. Lu <hjl@gnu.org>
86 * posix/Makefile (otherlibs): Add for building with static-nss
89 2000-08-28 Ulrich Drepper <drepper@redhat.com>
91 * libio/stdio.h: Add fmemopen prototype.
93 2000-08-25 Andreas Jaeger <aj@suse.de>
95 * libio/Makefile (routines): Add fmemopen.
96 (tests): Add test-fmemopen.
97 * libio/Versions: Add fmemopen with version GLIBC_2.2.
98 * libio/test-fmemopen.c: New file.
99 * libio/fmemopen.c: New file.
100 Patches by Hanno Mueller <kontakt@hanno.de>.
102 2000-08-28 Ulrich Drepper <drepper@redhat.com>
104 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
105 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
107 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
108 to avoid crashing statically linked applications.
110 2000-08-27 Bruno Haible <haible@clisp.cons.org>
112 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
113 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
115 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
116 If the result is fits in the buffer, copy only as many bytes as needed.
118 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
119 buffer after copying numbuf into it.
120 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
122 2000-08-27 Bruno Haible <haible@clisp.cons.org>
124 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
125 the result. When string_len < len, don't clear the rest of the buffer.
127 2000-08-27 Bruno Haible <haible@clisp.cons.org>
129 Support for new LC_COLLATE format.
130 * locale/coll-lookup.h: New file.
131 * locale/weightwc.h (findidx): When size == 0, call
132 collidx_table_lookup.
133 * wcsmbs/wcscoll.c: Include coll-lookup.h.
134 * wcsmbs/wcsxfrm.c: Likewise.
135 * posix/fnmatch.c: Likewise.
136 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
137 collseq_table_lookup.
138 * locale/programs/3level.h: New file.
139 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
140 by including "3level.h".
141 * locale/programs/ld-collate.c (wchead_table, collidx_table,
142 collseq_table): New types, defined by including "3level.h".
143 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
144 (encoding_mask, encoding_byte): Remove.
145 (utf8_encode): Use simple shifts instead.
146 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
147 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
148 (collate_output): New local variable tablewc_3level. When
149 !oldstyle_tables, set table_size to 0 and names to NULL and fill
150 tablewc_3level instead of tablewc. Change format of TABLEWC and
151 COLLSEQWC entries written to the file.
152 * locale/C-collate.c (collseqwc): Change format.
153 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
155 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
157 2000-08-27 Bruno Haible <haible@clisp.cons.org>
159 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
160 (locale_ctype_t): New charnames_idx field.
161 (ctype_startup): Initialize charnames_idx field.
162 (find_idx): Speed up dramatically by using charnames_idx inverse table.
164 2000-08-27 Bruno Haible <haible@clisp.cons.org>
166 * locale/C-ctype.c: Switch to new locale format.
167 (_nl_C_LC_CTYPE_names): Remove array.
168 (STRUCT_CTYPE_CLASS): New macro.
169 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
170 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
171 New three-level tables.
172 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
173 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
174 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
175 12 class tables and 2 map tables at the end.
176 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
177 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
178 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
180 (b): Remove trailing semicolon.
181 (__ctype_names, __ctype_width): Don't initialize.
182 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
184 2000-08-27 Bruno Haible <haible@clisp.cons.org>
186 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
187 is guaranteed to be allocated with the same malloc() and may be
189 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
190 been set to empty by an earlier open_path call, don't pass it again.
192 2000-08-28 Ulrich Drepper <drepper@redhat.com>
194 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
195 we are not optimizing.
197 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
200 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
202 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
204 2000-08-28 Andreas Jaeger <aj@suse.de>
206 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
208 2000-08-28 Mark Kettenis <kettenis@gnu.org>
210 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
211 getpeername. Use ISO C style function definition.
212 (getpeername): Provide weak alias.
213 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
214 setrlimit. Use ISO C style function definition.
215 (setrlimit): Provide weak alias.
217 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
219 * shlib-versions: Add a rule for S/390 to the libm version list.
220 * sysdeps/s390/Versions: New file.
221 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
222 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
223 * sysdeps/unix/sysv/linux/s390/Versions: New file.
224 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
225 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
226 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
227 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
228 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
229 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
230 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
231 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
232 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
233 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
234 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
235 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
236 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
237 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
238 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
240 2000-08-28 Ulrich Drepper <drepper@redhat.com>
242 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
243 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
245 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
246 * elf/dl-close.c (_dl_close): Print debug message if object is not
248 * elf/dl-open.c (dl_open_worked): Print message about opencount before
251 * po/zh.po: Renamed to...
252 * po/zh_TW.po: ...this.
254 2000-08-27 Geoff Keating <geoffk@cygnus.com>
256 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
258 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
259 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
260 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
261 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
263 2000-08-27 Ulrich Drepper <drepper@redhat.com>
265 * locale/programs/ld-collate.c (insert_weights): Also update
266 backpointer of next element.
267 (collate_read): Allow definition of new collation symbols in stage 2.
268 Symbol after reorder-after can be UCS4 value.
269 Allow reordering of collation symbols and elements.
270 Do not only move reorder entry in new position. Instead call
271 insert_weight to do this and read the weights.
273 * locale/findlocale.c (free_mem): Add cast to avoid warning.
275 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
276 to determine invalid locale name.
277 * locale/findlocale.c (_nl_find_locale): Likewise.
279 * posix/annexc.c: Correct test for unavailable feature.
281 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
284 2000-08-26 Ulrich Drepper <drepper@redhat.com>
286 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
289 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
290 (sysdep_routines): Add oldgetrlimit64.
292 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
293 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
294 (tests): Add unload, reldep, reldep2, and reldep3.
295 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
297 Add rules to build and run unload, reldep, reldep2, and reldep3.
298 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
299 Don't create relocation dependency if it is nonzero.
300 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
301 can never happen here.
302 (_dl_lookup_versioned_symbol): Add new parameter explicit.
303 Don't create relocation dependency if it is nonzero.
304 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
305 stuff. This can never happen here.
306 * sysdeps/generic/ldsodefs.h: Change prototypes.
307 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
308 _dl_lookup_up and _dl_lookup_versioned_symbol.
310 * elf/dl-runtime.c (fixup): Likewise.
311 (profile_fixup): Likewise.
312 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
314 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
315 * elf/rtld.c (dl_main): Likewise.
316 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
317 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
318 and pass down the caller map.
319 (_dl_vsym): Likewise.
320 * elf/reldep.c: New file.
321 * elf/reldep2.c: New file.
322 * elf/reldep3.c: New file.
323 * elf/reldepmod1.c: New file.
324 * elf/reldepmod2.c: New file.
325 * elf/reldepmod3.c: New file.
326 * elf/reldepmod4.c: New file.
327 * elf/unload.c: New file.
328 * elf/unloadmod.c: New file.
330 * elf/do-lookup.h: Remove unused undef_name parameter.
331 * elf/dl-lookup.c: Adjust callers.
333 2000-08-25 Ulrich Drepper <drepper@redhat.com>
335 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
336 irreversible in recursive call of conversion function to signal that
337 no error handling is wanted.
338 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
339 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
340 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
341 recursive error handling call, otherwise to &lirreversible. Use it
342 for calls to conversion functions.
343 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
345 (ucs4_internal_loop_unaligned): Likewise.
346 (ucs4le_internal_loop): Likewise.
347 (ucs4le_internal_loop_unaligned): Likewise.
349 2000-08-25 Greg McGary <greg@mcgary.org>
351 * sysdeps/i386/memchr.S: Check high bound against chars
353 * sysdeps/i386/memcmp.S: Likewise.
354 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
355 account for pointers that lie one beyond end-of-buffer.
357 2000-08-25 Ulrich Drepper <drepper@redhat.com>
359 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
360 * elf/nodelete.c (fini_ran): New global variable.
361 (do_test): Before every dlclose call clear fini_ran and test
362 afterwards that it is not set by the destructors.
363 * elf/nodelmod1.c: Add destructor which sets fini_ran.
364 * elf/nodelmod2.c: Likewise.
365 * elf/nodelmod4.c: Likewise.
367 2000-08-21 Jes Sorensen <jes@linuxcare.com>
369 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
370 getrlimit to the list.
372 2000-08-18 Jes Sorensen <jes@linuxcare.com>
374 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
375 long double format so use ldbl-96 instead of ldbl-128.
377 2000-08-25 Ulrich Drepper <drepper@redhat.com>
379 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
380 even if bits 10 a 11 are non-zero.
381 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
383 * Makeconfig: Ensures the soversions.mk part of Makefile gets
384 included before building gnu/lib-names.h
385 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
387 * elf/dl-close.c (_dl_close): Don't run destructors of objects
388 marked DF_1_NODELETE.
390 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
391 since we call sigaction in the child.
393 2000-08-25 Andreas Jaeger <aj@suse.de>
395 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
398 2000-08-25 Andreas Jaeger <aj@suse.de>
400 * manual/arith.texi (Control Functions): Clarify possible
401 arguments. Closes PR libc/1856.
403 2000-08-24 H.J. Lu <hjl@gnu.org>
405 * stdio-common/Makefile (tests): Don't do it for cross compiling.
406 * malloc/Makefile (tests): Likewise.
408 2000-08-24 Ulrich Drepper <drepper@redhat.com>
410 * iconvdata/unicode.c (gconv_init): Correct test for direction.
412 2000-08-24 Andreas Jaeger <aj@suse.de>
414 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
415 only if LIBGD is available.
417 2000-08-24 Ulrich Drepper <drepper@redhat.com>
419 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
420 problems with now restrict parameter types.
421 (convaddr4to6): Likewise.
423 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
425 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
426 * sysdeps/s390/fpu/feenablxcpt.c: New file.
427 * sysdeps/s390/fpu/fegetexcept.c: New file.
428 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
431 2000-08-24 Andreas Jaeger <aj@suse.de>
433 * malloc/Makefile (extra-objs): Add memusagestat.o.
434 (generated): Added memusage and memusagestat for make clean.
436 * libio/tst_putwc.c (do_test): Delete temporary file.
437 Move inclusion of test-skeleton to front to have prototype for
440 * posix/Makefile (generated): Add wordexp-tst.out.
442 2000-08-24 Ulrich Drepper <drepper@redhat.com>
444 * resolv/res_hconf.c (free_mem): Remove not needed if.
446 * time/tzset.c (free_mem): New function.
447 * string/strsignal.c (free_mem): New function.
448 * inet/inet_ntoa.c (free_mem): New function.
449 * sunrpc/clnt_perr.c (free_mem): New function.
451 2000-08-24 Andreas Jaeger <aj@suse.de>
453 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
454 * sysdeps/unix/sysv/syscalls.list: Likewise.
456 * posix/unistd.h: Move internal prototypes from here ...
457 * include/unistd.h: ... to here.
459 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
461 2000-08-24 Ulrich Drepper <drepper@redhat.com>
463 * grp/initgroups.c (initgroups): Deallocate groups array.
464 Reported by jani.raiha@sonera.com [PR libc/1868].
466 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
467 * sysdeps/alpha/Dist: Likewise.
469 2000-08-23 Ulrich Drepper <drepper@redhat.com>
471 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
472 destructor). Reported by Solar Designer <solar@false.com>.
474 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
475 avoid adding double slashes.
477 2000-08-23 Jakub Jelinek <jakub@redhat.com>
479 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
480 out of the __REDIRECT macro.
482 2000-08-23 Ulrich Drepper <drepper@redhat.com>
484 * stdio-common/vfscanf.c: Add %F format support.
486 * locale/programs/ld-ctype.c (ctype_output): Make sure
487 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
488 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
489 (ctype_read): Enable returning of wide character strings for reading
490 transliteration information.
492 2000-08-23 Andreas Jaeger <aj@suse.de>
494 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
495 Use static __inline instead of _EXTERN_INLINE.
497 * misc/sys/select.h: Move prototypes of __select from here ...
498 * include/sys/select.h: ... to here.
500 * socket/sys/socket.h: Move prototypes of __send and __connect
502 * include/sys/socket.h: ... to here.
504 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
507 2000-08-23 Jakub Jelinek <jakub@redhat.com>
509 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
510 __setrlimit as strong name. Takes only 2 arguments.
512 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
513 takes only 2 arguments.
515 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
517 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
519 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
521 2000-08-23 Ulrich Drepper <drepper@redhat.com>
523 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
524 default_missing character being specified, pick the first
527 2000-08-23 Andreas Jaeger <aj@suse.de>
529 * include/wchar.h: Add some pure attributes.
531 * time/time.h: Add const attribute for dysize.
533 * include/stdlib.h: Add malloc attribute to __posix memalign.
535 * stdlib/stdlib.h: Add some pure and malloc attributes.
536 * wcsmbs/wchar.h: Likewise.
538 * dirent/dirent.h: Add some pure attributes.
539 * include/dirent.h: Likewise.
541 2000-08-23 Jakub Jelinek <jakub@redhat.com>
543 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
546 2000-08-22 Ulrich Drepper <drepper@redhat.com>
548 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
549 missing buffer size checks.
551 2000-08-23 Andreas Jaeger <aj@suse.de>
553 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
555 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
557 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
558 otherwise __LINUX_KERNEL_VERSION might not be defined.
559 (MIN): Define if not already defined.
561 2000-08-22 Ulrich Drepper <drepper@redhat.com>
563 * stdio-common/vfprintf.c: Handle %F format.
564 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
565 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
567 * stdio-common/tstdiomisc.c: Add test for %F printf format.
569 * po/zh.po: New file.
571 * iconvdata/sjis.c: In conversion from UCS4, correct test for
572 enough room in target buffer.
573 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
574 * iconvdata/bug-iconv1.c: New file.
575 * iconvdata/Makefile (tests): Add bug-iconv1.
577 * locale/iso-4217.def: Update entry for Nicaragua.
579 2000-08-22 Mark Kettenis <kettenis@gnu.org>
581 * hurd/hurdsig.c: Rearrange headers a bit.
582 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
583 when cthreads is being used.
585 2000-08-22 Ulrich Drepper <drepper@redhat.com>
587 * elf/Makefile (distribute): Add dl-osinfo.h.
588 * sysdeps/generic/dl-osinfo.h: New file.
589 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
590 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
592 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
593 only for !SHARED case. Get the code from dl-osinfo.h.
595 * stdlib/random_r.c: Cleanups.
596 * stdlib/tst-random.c: New file.
597 * stdlib/Makefile (tests): Add tst-random.
598 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
600 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
602 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
603 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
604 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
605 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
607 2000-08-22 Jakub Jelinek <jakub@redhat.com>
609 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
610 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
611 (__syscall__sysctl): Add.
613 2000-08-21 Andreas Jaeger <aj@suse.de>
615 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
617 * stdlib/tst-strtoll.c: Likewise.
619 2000-08-21 Ulrich Drepper <drepper@redhat.com>
621 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
623 (__initstate_r): Set errno on error.
624 (__random_r): Likewise.
625 (__setstate_r): Correct offset when computing
626 new rptr and fptr. Test for arg_state being NULL.
627 Reported by Michael Fischer <fischer@cs.yale.edu>.
629 * posix/regex.h: Add macro definitions to allow compiling outside
632 * sysdeps/i370/Implies: Removed.
633 * sysdeps/mvs/Implies: Removed.
635 * catgets/catgets.c (catopen): Filter out env_var values with / if
638 * locale/findlocale.c (_nl_find_locale): Move test for unusable
639 locale name after all getenvs.
641 * configure.in: Allow sed versions like 3.02.8.
642 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
644 2000-08-21 Marko Myllynen <myllynen@lut.fi>
646 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
648 2000-08-21 Ulrich Drepper <drepper@redhat.com>
650 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
651 of gethostbyname2_r call.
653 * intl/locale.alias: Add aliases for Korean.
655 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
657 * sysdeps/s390/__longjmp.c: Remove unused variable result.
658 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
659 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
660 * sysdeps/s390/fpu/fegetenv.c: New file.
661 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
662 * sysdeps/s390/fpu/feholdexcpt.c: New file.
663 * sysdeps/s390/fpu/fenv_libc.h: New file.
664 * sysdeps/s390/fpu/fesetenv.c: New file.
665 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
666 * sysdeps/s390/fpu/feupdateenv.c: New file.
667 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
668 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
669 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
670 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
671 * sysdeps/s390/fpu/ftestexcept.c: New file.
672 * sysdeps/s390/fpu/libm-test-ulps: New file.
673 * sysdeps/s390/gmp-mparam.h: Add end of comment.
674 * sysdeps/s390/initfini.c: New file.
675 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
676 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
677 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
678 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
679 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
680 sys/procfs.h as proposed by Mark Kettenis.
681 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
683 2000-08-21 Andreas Jaeger <aj@suse.de>
685 * include/poll.h: Include include/sys/poll.h to get __poll
688 * io/sys/poll.h: Move __poll declaration from here...
689 * include/sys/poll.h: ...to here.
691 * include/sys/socket.h (__getpeername): Add declaration.
693 * include/wchar.h (__vswprintf): Add declaration.
695 * include/stdio.h (__flockfile): Add declaration.
696 (__funlockfile): Likewise.
698 2000-08-20 Ulrich Drepper <drepper@redhat.com>
700 * misc/sys/cdefs.h: Define __restrict_arr.
701 * include/sys/time.h: Add restrict where required by AGd4.
702 * inet/arpa/inet.h: Likewise.
703 * io/sys/stat.h: Likewise.
704 * io/sys/statvfs.h: Likewise.
705 * misc/search.h: Likewise.
706 * misc/sys/select.h: Likewise.
707 * posix/glob.h: Likewise.
708 * posix/regex.h: Likewise.
709 * posix/spawn.h: Likewise.
710 * posix/unistd.h: Likewise.
711 * rt/aio.h: Likewise.
712 * signal/signal.h: Likewise.
713 * socket/sys/socket.h: Likewise.
714 * stdlib/ucontext.h: Likewise.
715 * streams/stropts.h: Likewise.
716 * string/string.h: Likewise.
717 * time/time.h: Likewise.
718 * time/sys/time.h: Likewise.
720 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
721 and posix_spawnattr_setscheparam.
723 * libio/stdio.h: Make cuserid prototype again available for all
726 * argp/argp-help.c: Unify use of function aliases to make more compact
728 * include/libintl.h: Likewise.
729 * inet/rcmd.c: Likewise.
730 * intl/dcigettext.c: Likewise.
731 * libio/iofputws.c: Likewise.
732 * libio/iofputws_u.c: Likewise.
733 * libio/iogetwline.c: Likewise.
734 * libio/swprintf.c: Likewise.
735 * malloc/malloc.c: Likewise.
736 * nss/digits_dots.c: Likewise.
737 * posix/fnmatch.c: Likewise.
738 * posix/spawn_faction_addclose.c: Likewise.
739 * posix/spawn_faction_adddup2.c: Likewise.
740 * posix/spawn_faction_addopen.c: Likewise.
741 * posix/spawni.c: Likewise.
742 * posix/wordexp.c: Likewise.
743 * posix/spawni.c: Likewise.
744 * resolv/res_hconf.c: Likewise.
745 * resolv/res_init.c: Likewise.
746 * shadow/lckpwdf.c: Likewise.
747 * signal/sighold.c: Likewise.
748 * signal/sigrelse.c: Likewise.
749 * stdio-common/printf-parse.h: Likewise.
750 * stdio-common/printf-prs.c: Likewise.
751 * stdio-common/printf_fp.c: Likewise.
752 * stdio-common/vfprintf.c: Likewise.
753 * stdio-common/vfscanf.c: Likewise.
754 * stdlib/rpmatch.c: Likewise.
755 * sunrpc/create_xid.c: Likewise.
756 * sunrpc/key_call.c: Likewise.
757 * sysdeps/generic/setrlimit64.c: Likewise.
758 * sysdeps/generic/utmp_file.c: Likewise.
759 * sysdeps/generic/vlimit.c: Likewise.
760 * sysdeps/posix/posix_fallocate.c: Likewise.
761 * sysdeps/posix/posix_fallocate64.c: Likewise.
762 * sysdeps/posix/sigpause.c: Likewise.
763 * sysdeps/posix/sigset.c: Likewise.
764 * sysdeps/unix/grantpt.c: Likewise.
765 * sysdeps/unix/bsd/ualarm.c: Likewise.
766 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
767 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
768 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
769 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
770 * time/strftime.c: Likewise.
771 * wcsmbs/wcscoll.c: Likewise.
772 * wcsmbs/wcsxfrm.c: Likewise.
774 * time/tst-getdate.c (main): Make error messages more human readable.
776 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
777 postinc/predec instruction.
778 (_FPU_SETCW): Likewise.
779 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
781 2000-08-20 Andreas Jaeger <aj@suse.de>
783 * time/tst-getdate.c (main): Increase error in case of wrong
785 Fix typo in test case.
787 2000-08-20 Ulrich Drepper <drepper@redhat.com>
789 * ctype/ctype.h (isblank): Make available if ISO C99.
790 * wctype/wctype.h (iswblank): Make available if ISO C99.
791 * math/math.h (signgam): Don't make available if ISO C99.
792 * math/tgmath.h (tgamma): Renamed from gamma.
793 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
795 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
797 * intl/plural.y (new_exp): Take number of optional parameters in
798 second parameter. Test for correct number of parameters and free
799 correctly in case of failure. Adjust all callers.
800 (yylex): Allow ';' as terminator character.
802 2000-08-19 Ulrich Drepper <drepper@redhat.com>
804 * locale/lc-time.c (free_mem): New function. Free alt_digits and
807 * locale/findlocale.c (free_mem): Also free here->filename.
809 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
811 * math/test-fenv.c (feenv_tests): Clear all exceptions before
813 (feexcp_nomask_test): Correct printf args.
814 (feexcp_mask_test): Likewise.
816 2000-08-19 Andreas Jaeger <aj@suse.de>
818 * inet/tst-gethnm.c: Include string.h to provide prototype for
821 * malloc/mtrace.pl (usage): Inform about --help.
823 2000-08-19 Wolfram Gloger <wg@malloc.de>
825 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
828 2000-08-19 Andreas Jaeger <aj@suse.de>
830 * shlib-versions: Remove libnss_db, libdb and libdb1.
832 2000-08-19 Jakub Jelinek <jakub@redhat.com>
834 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
835 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
836 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
837 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
838 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
839 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
840 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
841 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
842 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
843 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
845 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
846 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
848 2000-08-18 Jakub Jelinek <jakub@redhat.com>
850 * include/glob.h (__glob64): Add prototype.
851 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
852 define glob and glob_in_dir.
853 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
854 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
855 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
856 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
857 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
858 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
859 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
860 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
862 2000-08-18 Jakub Jelinek <jakub@redhat.com>
864 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
866 2000-08-17 Andreas Jaeger <aj@suse.de>
868 * math/test-fenv.c (fe_single_test): New function.
869 (fe_env_tests): Use fe_single_test.
870 (feenable_test): New tests for feenable/fedisable and
872 (feexcp_mask_test): New function.
873 (feexcp_nomask_test): New function.
875 2000-08-19 Richard Henderson <rth@cygnus.com>
877 * sysdeps/alpha/fpu/fenv_libc.h: New file.
878 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
879 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
880 * sysdeps/alpha/fpu/fesetround.c: Likewise.
881 * sysdeps/alpha/fpu/fegetround.c: Likewise.
882 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
883 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
884 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
885 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
886 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
887 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
888 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
889 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
890 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
891 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
892 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
893 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
895 2000-08-19 Andreas Jaeger <aj@suse.de>
897 * elf/constload1.c: Include <stdio.h> for puts prototype.
899 2000-08-19 Ulrich Drepper <drepper@redhat.com>
901 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
902 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
903 a dynamically loaded object remove old l_initfini list.
904 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
905 remove some dynamically allocated memory blocks in the dynamic
906 loading data structures.
907 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
908 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
909 Instead call _dl_check_map_versions only for the dependencies.
910 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
911 information of initial objects as not free-able.
912 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
915 * elf/filter.c: Call mtrace.
916 * elf/restest1.c: Likewise. Close the objects.
917 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
920 * elf/constload1.c: Add comment explaining not freed memory.
922 2000-08-18 Andreas Jaeger <aj@suse.de>
924 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
925 alignment for structs stat and stat64.
926 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
928 2000-08-17 Ulrich Drepper <drepper@redhat.com>
930 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
931 handling. Patch by Richard Henderson <rth@twiddle.net>.
933 * nss/Versions: Remove libnss_db information.
935 2000-08-16 Jakub Jelinek <jakub@redhat.com>
937 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
938 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
939 * sysdeps/sparc/fpu/fegetexcept.c: New file.
940 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
942 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
945 2000-08-17 Ulrich Drepper <drepper@redhat.com>
947 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
948 (_FPU_SETCW): Likewise.
949 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
951 * stdio-common/printf_fp.c: Fix chars_needed computation.
952 Patch by Greg McGary <greg@mcgary.org>.
954 2000-08-17 Jakub Jelinek <jakub@redhat.com>
956 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
959 2000-08-17 Jakub Jelinek <jakub@redhat.com>
961 * manual/arith.texi (feholdexcept): Returns 0 on success.
963 2000-08-17 Andreas Jaeger <aj@suse.de>
965 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
967 Reported by Andi Kleen <ak@suse.de>.
969 2000-08-17 Jakub Jelinek <jakub@redhat.com>
971 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
972 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
973 * sysdeps/alpha/fpu/fegetexcept.c: New file.
975 2000-08-16 Jakub Jelinek <jakub@redhat.com>
977 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
978 of buf->st_ino and kbuf->st_ino, not __st_ino.
979 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
980 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
981 directive so that only linux/getdents.c is used, not some
982 architecture specific one.
984 2000-08-16 Jakub Jelinek <jakub@redhat.com>
986 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
987 enabled, not disabled exceptions.
988 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
989 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
991 2000-08-17 Greg McGary <greg@mcgary.org>
993 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
994 from test program name when constructing suffix for $(LDLIBS-*).
995 (bounded-thread-library): New variable.
997 [build-shared, build-static] (libcrypt-dep): Remove variable.
998 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
999 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1000 * linuxthreads/Makefile (libpthread, librt): Remove variables.
1001 (librt-tests): Add variable. (tests): Use it.
1002 [build-shared, build-static]
1003 ($(addprefix $(objpfx),$(tests)),
1004 $(addprefix $(objpfx),$(librt-tests))):
1005 Consolidate individual dependencies.
1007 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
1009 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
1010 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1012 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
1014 [build-shared, build-static]
1015 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
1016 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
1018 2000-08-17 Greg McGary <greg@mcgary.org>
1020 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
1021 * sysdeps/unix/make-syscalls.sh: Likewise.
1022 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1023 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1024 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1025 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1026 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1028 2000-08-17 Greg McGary <greg@mcgary.org>
1030 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
1031 Wrap extern symbols in BP_SYM ().
1032 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1033 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1034 * sysdeps/i386/fpu/s_remquo.S: Likewise.
1035 * sysdeps/i386/fpu/s_remquof.S: Likewise.
1036 * sysdeps/i386/fpu/s_remquol.S: Likewise.
1037 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1038 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1039 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1040 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1041 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1043 2000-08-16 Andreas Schwab <schwab@suse.de>
1045 * sysdeps/m68k/fpu/fegetexcept.c: New file.
1046 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
1047 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
1049 2000-08-15 Ulrich Drepper <drepper@redhat.com>
1051 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
1052 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
1053 * elf/dl-support.c: Define _nl_nloaded.
1054 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
1055 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
1056 object to global list.
1057 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
1058 from _dl_loaded list.
1059 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1060 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
1063 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
1065 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
1067 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
1069 2000-08-16 Andreas Jaeger <aj@suse.de>
1071 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
1073 2000-08-15 Marko Myllynen <myllynen@lut.fi>
1075 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
1077 2000-08-15 Ulrich Drepper <drepper@redhat.com>
1079 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
1080 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
1081 (sysdep_routines): Add oldgetrlimit64.
1082 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
1083 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1085 * include/link.h: Undo last patches. Hurd now has stat64.
1086 * elf/Makefile: Likewise.
1087 * elf/dl-load.c: Likewise.
1088 * elf/dl-misc.c: Likewise.
1089 * elf/dl-profile.c: Likewise.
1090 * sysdeps/generic/sysd-link.h: Removed.
1091 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
1093 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
1094 thread event callback function.
1095 (__aio_notify_only): Use function above.
1096 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
1098 2000-08-16 Mark Kettenis <kettenis@gnu.org>
1100 * sysdeps/mach/hurd/lseek64.c: New file.
1102 2000-08-15 Mark Kettenis <kettenis@gnu.org>
1104 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
1106 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
1108 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
1110 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
1112 2000-08-15 Mark Kettenis <kettenis@gnu.org>
1114 * sysdeps/mach/hurd/xstatconv.c: New file.
1115 * sysdeps/mach/hurd/fxstat64.c: New file.
1116 * sysdeps/mach/hurd/lxstat64.c: New file.
1117 * sysdeps/mach/hurd/xstat64.c: New file.
1118 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
1120 2000-08-15 Mark Kettenis <kettenis@gnu.org>
1122 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
1123 Initialize, needed for change in common symbol handling in newer
1124 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
1126 2000-08-15 Ulrich Drepper <drepper@redhat.com>
1128 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
1129 * elf/constload2.c: Add destructor to unload constload3.
1131 * include/link.h: Include sysd-link.h.
1132 * sysdeps/generic/sysd-link.h: New file.
1133 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
1134 * elf/Makefile (distribute): Add sysd-link.h.
1135 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
1136 types and functions directly.
1137 * elf/dl-misc.c: Likewise.
1138 * elf/dl-profile.c: Likewise.
1140 * elf/loadfail.c (main): Close all successfully loaded objects.
1142 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
1144 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
1145 there is already one.
1147 * elf/dl-close.c: Pretty print.
1149 2000-08-14 Ulrich Drepper <drepper@redhat.com>
1151 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
1152 global (with file scope). Add __libc_subfreeres function to free the
1154 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
1155 in ttyname function.
1157 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
1159 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
1161 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
1162 mapping them to /x5c and /x7e respectively.
1164 * locale/programs/ld-ctype.c: Add support for more definitions after
1167 2000-08-14 Jakub Jelinek <jakub@redhat.com>
1169 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
1170 * sysdeps/unix/sysv/linux/kernel-features.h
1171 (__ASSUME_GETDENTS64_SYSCALL): Define.
1172 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
1173 syscall if available to get d_type fields.
1174 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
1175 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
1176 __lxstat64): Export at GLIBC_2.2.
1177 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
1179 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
1180 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
1181 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
1182 getdirentries64, versionsort64): Remove.
1183 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
1184 getdirentries64, versionsort64): Remove.
1186 2000-08-13 Ulrich Drepper <drepper@redhat.com>
1188 * posix/Makefile: Remove rules to generate glob package.
1190 * posix/Makefile (tests): Add tst-regexloc.
1191 (tst-regexloc-ENV): Add LOCPATH.
1192 * posix/tst-regexloc.c: New file.
1194 2000-08-12 Andreas Jaeger <aj@suse.de>
1196 * include/features.h (__STDC_ISO_10646__): Define.
1197 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
1199 2000-08-13 Ulrich Drepper <drepper@redhat.com>
1201 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
1203 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
1204 for revision 6 and up).
1206 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
1208 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
1209 to get definitions of just these types.
1211 * signal/signal.h: Define thread signal handling functions also for
1214 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
1216 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1217 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
1218 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1219 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
1221 * sysvipc/sys/shm.h: Define pid_t for XPG.
1223 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
1224 they are not anymore required here.
1226 * wcsmbs/wchar.h: Make the various wide char string and stream
1227 functions available for the respective XPG versions.
1229 * nss/Makefile: Remove rules to build and distribute nss_db.
1231 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
1232 * sysdeps/generic/scandir64.c: Likewise.
1233 * sysdeps/generic/versionsort64.c: Likewise.
1235 2000-08-13 Ulrich Drepper <drepper@redhat.com>
1236 Benjamin Koznik <bkoz@redhat.com>
1238 * libio/fileops.c: Merge with libstdc++-v3.
1239 * libio/genops.c: Likewise.
1240 * libio/iofclose.c: Likewise.
1241 * libio/iofopen.c: Likewise.
1242 * libio/iofwide.c: Likewise.
1243 * libio/libio.h: Likewise.
1244 * libio/libioP.h: Likewise.
1245 * libio/stdfiles.c: Likewise.
1246 * libio/stdio.c: Likewise.
1247 * libio/wfileops.c: Likewise.
1248 * libio/wgenops.c: Likewise.
1250 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
1252 2000-08-12 Ulrich Drepper <drepper@redhat.com>
1254 * locale/programs/localedef.c: Implement --prefix option to allow
1255 writing in standard places of alternative install directories.
1257 * posix/regex.c (compile_range): Implement collation sequence
1258 handling for glibc. Use simple character ordering otherwise and
1261 2000-08-12 Mark Kettenis <kettenis@gnu.org>
1263 * sysdeps/generic/scandir64.c: Include <dirent.h>.
1265 2000-08-12 Andreas Jaeger <aj@suse.de>
1267 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
1268 __USE_FILE_OFFSET64 correctly for locking.
1269 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1271 2000-08-12 Jakub Jelinek <jakub@redhat.com>
1273 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1274 Define for 2.4.1 on sparc as well.
1275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
1276 for F_GETLK64, F_SETLK64, and F_SETLKW64.
1277 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
1278 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
1280 2000-08-12 Ulrich Drepper <drepper@redhat.com>
1282 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
1285 2000-08-12 Andreas Jaeger <aj@suse.de>
1287 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
1288 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
1290 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
1291 mips2 for assembler.
1293 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
1294 if fnctl64 is not available for F_*LK*64.
1296 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
1298 2000-08-12 Ulrich Drepper <drepper@redhat.com>
1300 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1301 Define for 2.4.1 on x86.
1302 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
1303 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
1304 for F_GETLK64, F_SETLK64, and F_SETLKW64.
1306 * dirent/dirent.h: Define DT_WHT.
1308 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
1309 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
1310 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
1311 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
1312 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
1313 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
1315 2000-08-11 Ulrich Drepper <drepper@redhat.com>
1317 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
1318 lookup, pass pointer to array with NULL pointer [PR libc/1858].
1319 * inet/Makefile (tests): Add tst-gethnm.
1320 * inet/tst-gethnm.c: New file.
1322 * rt/aio_cancel.c: If canceling a specific request which is running
1323 *really* do nothing.
1324 * rt/aio_misc.h: Add `done' to states of a request.
1325 * rt/aio_misc.c: Add several tests for the correct state.
1326 Simplify request table memory handling.
1328 2000-08-10 Jakub Jelinek <jakub@redhat.com>
1330 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
1331 * dirent/scandir64.c: Move...
1332 * sysdeps/generic/scandir64.c: ...here.
1333 * dirent/alphasort64.c: Move...
1334 * sysdeps/generic/alphasort64.c: ...here.
1335 * dirent/versionsort64.c: Move...
1336 * sysdeps/generic/versionsort64.c: ...here.
1337 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
1338 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
1339 Export symbols at GLIBC_2.2.
1340 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
1341 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
1342 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
1343 __versionsort64): Add prototypes.
1344 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
1345 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
1347 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
1349 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
1350 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
1351 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
1352 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
1354 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
1355 Adjust for kernel-2.4.0-test6 layout.
1356 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
1357 GLIBC_2.1 and GLIBC_2.2.
1358 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
1359 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
1360 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
1361 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
1362 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
1363 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
1364 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
1365 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
1366 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
1367 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
1368 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
1369 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
1370 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
1371 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
1373 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
1374 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
1375 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
1376 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
1377 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
1378 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
1379 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
1381 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
1382 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
1384 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
1385 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
1386 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
1387 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
1388 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
1390 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
1392 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
1394 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
1395 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
1396 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
1397 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
1398 st_ino from __st_ino.
1399 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
1400 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
1401 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
1402 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
1403 set __st_ino in addition to st_ino.
1404 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
1405 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
1406 __old_getdents64 as well.
1407 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
1408 getdirentries64 and old_getdirentries64 as well.
1409 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
1410 __GETDENTS): Define.
1411 (GETDENTS64): Remove.
1412 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
1414 (GETDENTS64): Remove.
1415 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
1416 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
1417 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
1419 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
1420 __old_readdir64_r as well.
1421 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1422 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
1424 2000-08-08 Jes Sorensen <jes@linuxcare.com>
1426 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
1427 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
1428 define of the kernel.
1429 Add missing __SEG_PSTKOVF definition.
1430 Adjust the padding of struct siginfo and struct sigevent to
1431 match the fact that sigval_t is 64 bit.
1433 2000-08-10 Ulrich Drepper <drepper@redhat.com>
1435 * timezone/zic.c: Update from tzcode2000f.
1436 * timezone/australasia: Update from tzdata2000f.
1437 * timezone/europe: Likewise.
1438 * timezone/southamerica: Likewise.
1439 * timezone/yearistype: Likewise.
1441 2000-08-10 Andreas Jaeger <aj@suse.de>
1443 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
1444 stat with current MIPS kernel.
1446 2000-08-01 Mark Kettenis <kettenis@gnu.org>
1448 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
1449 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
1450 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
1451 Remove the junk that's only relevant in the Linux kernel itself.
1452 Add a warning saying that this file is now obsolete, and include
1454 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
1455 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
1456 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
1457 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
1458 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
1459 and add the notice that the file is primarily there for GDB.
1460 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
1462 2000-08-09 Jakub Jelinek <jakub@redhat.com>
1464 * time/tzfile.c (__tzfile_compute): __tzstring zones
1467 2000-08-09 Jakub Jelinek <jakub@redhat.com>
1469 * resolv/resolv.h (__res_state): Surround prototype with
1470 __BEGIN_DECLS/__END_DECLS.
1471 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
1473 2000-08-04 Jes Sorensen <jes@linuxcare.com>
1475 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
1476 Make independant of asm/resource.h from the Linux kernel.
1478 2000-08-06 Bruno Haible <haible@clisp.cons.org>
1480 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
1482 2000-08-06 Bruno Haible <haible@clisp.cons.org>
1484 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
1485 * locale/Makefile (locale-CPPFLAGS): Likewise.
1487 2000-08-09 Ulrich Drepper <drepper@redhat.com>
1489 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
1492 2000-08-03 Jakub Jelinek <jakub@redhat.com>
1494 * misc/Versions (mincore): Export at GLIBC_2.2.
1496 2000-08-03 Bruno Haible <haible@clisp.cons.org>
1498 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
1500 2000-08-02 Mark Kettenis <kettenis@gnu.org>
1502 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
1503 socketpair. Made socketpair a weak alias.
1504 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
1505 __socketpair. Use S_IFIFO protocol to make pipes POSIX
1506 conforming, but fall back on the old protocol if the socket server
1508 * include/sys/socket.h: Add prototype for __socketpair.
1510 2000-08-09 Andreas Schwab <schwab@suse.de>
1512 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
1513 long long modifier is seen.
1515 * elf/nodelete.c (do_test): Remove reference to undefined member
1517 * rt/tst-aio4.c (do_test): Likewise.
1519 * configure.in: Add `-lm' when checking for libgd.
1520 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
1523 2000-08-09 Andreas Jaeger <aj@suse.de>
1525 * configure.in: Change required make versions.
1527 * manual/install.texi (Tools for Compilation): Document required
1529 (Supported Configurations): Update list of supported
1532 2000-08-08 Ulrich Drepper <drepper@redhat.com>
1534 * locale/linereader.c (get_string): Don't print an error is a string
1535 contains an unknown character.
1537 2000-08-06 Ulrich Drepper <drepper@redhat.com>
1539 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
1540 (new_symbol): Take new parameters with name of the symbol.
1542 (handle_ellipsis): Don't only allow character symbols.
1543 (collate_read): Allow string of collating elements contain invalid
1544 characters; ignore entry in this case.
1545 Handle ellipsis of collating symbols before first order_start.
1546 Allow ellipsis in state 0.
1548 2000-08-04 Ulrich Drepper <drepper@redhat.com>
1550 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
1552 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
1554 2000-08-04 Greg McGary <greg@mcgary.org>
1556 * posix/regex.c (SET_HIGH_BOUND): New macro.
1557 (MOVE_BUFFER_POINTER): Use it.
1558 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
1559 (EXTEND_BUFFER): Use it.
1561 2000-08-03 Ulrich Drepper <drepper@redhat.com>
1563 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
1564 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
1565 _wide_data but from _IO_FILE directly.
1566 * libio/iofclose.c: Likewise.
1567 * libio/wfileops.c: Likewise.
1569 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
1570 * libio/libioP.h: Change prototypes.
1572 2000-08-03 Greg McGary <greg@mcgary.org>
1574 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
1575 frame pointer early so that we save caller's frame pointer.
1576 * sysdeps/i386/elf/setjmp.S: Likewise.
1578 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
1579 * io/test-utime.c: Test passing NULL as utimbuf* arg.
1581 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
1582 (MOVE_BUFFER_POINTER): Handle high_bound properly.
1583 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
1585 2000-08-03 Ulrich Drepper <drepper@redhat.com>
1587 * iconvdata/big5.c: Updated.
1588 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
1590 2000-08-02 Ulrich Drepper <drepper@redhat.com>
1592 * Makeconfig (all-subdirs): Add conform.
1593 * conform/Makefile: Include ../Rules.
1595 * Makefile (README): Add rules to generate here as well.
1597 2000-08-02 Ulrich Drepper <drepper@redhat.com>
1599 * version.h (VERSION): Bump to 2.1.92.
1601 * sysdeps/ia64/Dist: Add _mcount.S.
1603 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
1605 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
1607 * elf/Makefile (distribute): Add missing modules.
1609 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
1611 * posix/regex.c (compile_range): Translate range start and end
1612 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
1614 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
1617 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
1619 2000-08-02 Andreas Jaeger <aj@suse.de>
1621 * elf/elf.h (EM_S390): Added.
1622 (R_390_*): New relocs for S390.
1624 * sysdeps/unix/sysv/linux/s390/Dist: New file.
1625 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
1626 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
1627 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
1628 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
1629 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
1631 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
1632 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
1633 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
1634 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
1635 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
1636 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
1637 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
1638 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
1639 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
1640 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
1641 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
1642 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
1643 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
1644 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
1645 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
1646 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
1647 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
1648 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
1649 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
1650 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
1651 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
1652 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
1653 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
1654 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
1655 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
1656 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
1657 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
1658 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
1659 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
1660 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
1661 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
1662 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
1663 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
1664 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
1665 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
1666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
1667 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
1668 * sysdeps/s390/sysdep.h: New file.
1669 * sysdeps/s390/sys/ucontext.h: New file.
1670 * sysdeps/s390/sub_n.S: New file.
1671 * sysdeps/s390/strncpy.S: New file.
1672 * sysdeps/s390/strcpy.S: New file.
1673 * sysdeps/s390/stackinfo.h: New file.
1674 * sysdeps/s390/setjmp.S: New file.
1675 * sysdeps/s390/s390-mcount.S: New file.
1676 * sysdeps/s390/mul_1.S: New file.
1677 * sysdeps/s390/memusage.h: New file.
1678 * sysdeps/s390/memset.S: New file.
1679 * sysdeps/s390/memcpy.S: New file.
1680 * sysdeps/s390/memchr.S: New file.
1681 * sysdeps/s390/machine-gmon.h: New file.
1682 * sysdeps/s390/ldbl2mpn.c: New file.
1683 * sysdeps/s390/gmp-mparam.h: New file.
1684 * sysdeps/s390/fpu/fpu_control.h: New file.
1685 * sysdeps/s390/fpu/fesetround.c: New file.
1686 * sysdeps/s390/fpu/fegetround.c: New file.
1687 * sysdeps/s390/fpu/fclrexcpt.c: New file.
1688 * sysdeps/s390/fpu/bits/fenv.h: New file.
1689 * sysdeps/s390/ffs.c: New file.
1690 * sysdeps/s390/elf/start.S: New file.
1691 * sysdeps/s390/elf/setjmp.S: New file.
1692 * sysdeps/s390/elf/bsd-setjmp.S: New file.
1693 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
1694 * sysdeps/s390/dl-machine.h: New file.
1695 * sysdeps/s390/bzero.S: New file.
1696 * sysdeps/s390/bsd-setjmp.S: New file.
1697 * sysdeps/s390/bsd-_setjmp.S: New file.
1698 * sysdeps/s390/bits/string.h: New file.
1699 * sysdeps/s390/bits/setjmp.h: New file.
1700 * sysdeps/s390/bits/huge_val.h: New file.
1701 * sysdeps/s390/bits/endian.h: New file.
1702 * sysdeps/s390/bits/byteswap.h: New file.
1703 * sysdeps/s390/bcopy.S: New file.
1704 * sysdeps/s390/backtrace.c: New file.
1705 * sysdeps/s390/atomicity.h: New file.
1706 * sysdeps/s390/asm-syntax.h: New file.
1707 * sysdeps/s390/addmul_1.S: New file.
1708 * sysdeps/s390/add_n.S: New file.
1709 * sysdeps/s390/abort-instr.h: New file.
1710 * sysdeps/s390/__longjmp.c: New file.
1711 * sysdeps/s390/Makefile: New file.
1712 * sysdeps/s390/Implies: New file.
1713 * sysdeps/s390/Dist: New file.
1714 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
1716 2000-08-01 Ulrich Drepper <drepper@redhat.com>
1718 Remove incompatible IPv6 extension of RPC.
1719 * sunrpc/Makefile: Undo changes.
1720 * sunrpc/rpc_main.c: Likewise.
1721 * sunrpc/rpc/clnt.h: Likewise.
1722 * sunrpc/rpc/svc.h: Likewise.
1723 * sunrpc/bindrsvprt6.c: Removed.
1724 * sunrpc/clnt_tcp6.c: Removed.
1725 * sunrpc/clnt_udp6.c: Removed.
1726 * sunrpc/svc_tcp6.c: Removed.
1727 * sunrpc/svc_udp6.c: Removed.
1729 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
1730 dgettext, and dcgettetxt.
1732 * intl/locale.alias: Update japanese aliases.
1734 * sysdeps/ia64/bits/byteswap.h: New file.
1735 Patch by Dan Pop <Dan.Pop@cern.ch>.
1737 * misc/sys/cdefs.h: Define __attribute_format_arg__.
1738 * intl/libintl.h: Use it here instead of using __attribute__ directly.
1740 2000-07-13 H.J. Lu <hjl@gnu.org>
1742 * posix/regex.c (re_max_failures): Set to 4000.
1744 2000-08-01 Ulrich Drepper <drepper@redhat.com>
1746 * gnulib/Makefile (tests): Add tst-gcc.
1747 * gnulib/tst-gcc.c: New file.
1749 * assert/Makefile (routines): Add __assert.
1750 * assert/Versions: Export __assert for glibc 2.2.
1751 * assert/__assert.c: New file.
1752 * assert/assert.h: Declare __assert.
1754 2000-07-27 Bruno Haible <haible@clisp.cons.org>
1756 * locale/localeinfo.h (_ISCTYPE): New macro.
1757 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
1758 LC_CTYPE locale format.
1759 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
1760 (ctype_output): Output class_b[nr] right before class_3level[nr].
1761 (allocate_arrays): Fill class_b, similarly to class_3level.
1763 2000-08-01 Ulrich Drepper <drepper@redhat.com>
1764 Joseph S. Myers <jsm28@cam.ac.uk>
1766 * math/tgmath.h: Make standard compliant. Don't ask how.
1768 2000-07-04 H.J. Lu <hjl@gnu.org>
1770 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
1771 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
1772 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
1774 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1776 * include/features.h (_XOPEN_SOURCE): Update the explanation.
1777 (__USE_LARGEFILE): Add an explanation.
1778 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
1779 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
1781 2000-08-01 Ulrich Drepper <drepper@redhat.com>
1783 * libio/Makefile: Enable exception handling for genops, wgenops,
1784 fileops, and wfileops.
1786 2000-07-29 Mark Kettenis <kettenis@gnu.org>
1788 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
1789 acount that elf/rtld's main program might remove some varibales
1790 from the environment if we're trying to be secure. Move the Hurd
1791 startup data if necessary, or, if we there is no startup data,
1792 make sure the magical convention that ARGV[0] is stored just after
1793 the environment list.
1795 2000-08-01 Philip Blundell <philb@gnu.org>
1797 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
1798 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
1799 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
1800 oldsetrlimit for GLIBC_2.0.
1802 2000-08-01 Andreas Jaeger <aj@suse.de>
1804 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
1805 (LINE_PARSER): Allow any number of spaces between ip address and
1806 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
1808 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
1810 * include/netdb.h: Remove getipnodebyaddr and friends, leave
1813 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
1814 _nss_nisplus_getipnodebyname_r.
1816 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
1817 now, getipnodebyname is deprecated.
1818 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
1821 * inet/Makefile (routines): Don't build getipnodebyaddr and
1824 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
1826 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
1828 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
1830 * wctype/Makefile (distribute): Add wchar-lookup.h.
1832 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
1834 * iconvdata/Makefile (distribute): Add isiri-3342.h.
1836 2000-08-01 Andreas Schwab <schwab@suse.de>
1838 * Make-dist (dist): Resolve `..' in file names.
1840 2000-08-01 Andreas Jaeger <aj@suse.de>
1842 * stdio-common/Makefile (distribute): Remove removed files, add
1845 * Makefile (distribute): Remove include/db_185.h and db.h.
1847 * include/db_185.h: Remove, it's not needed anymore.
1848 * include/db.h: Likewise.
1850 2000-07-31 Ulrich Drepper <drepper@redhat.com>
1852 * inet/Makefile (tests): Remove tst-ipnode.
1853 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
1856 2000-07-31 Jes Sorensen <jes@linuxcare.com>
1858 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
1859 endp statements have already been added.
1861 2000-04-18 David Mosberger <davidm@hpl.hp.com>
1863 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
1864 <sysdeps/ia64/sysdep.h>.
1866 * sysdeps/ia64/_mcount.S: New file.
1868 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
1869 __gmon_start__. Fix up extraneous whitespace.
1871 2000-01-12 H.J. Lu <hjl@gnu.org>
1873 * sysdeps/ia64/elf/initfini.c: New file.
1875 2000-07-31 Jes Sorensen <jes@linuxcare.com>
1877 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
1878 dependency between branch and ar.pfs write.
1880 2000-07-31 H.J. Lu <hjl@gnu.org>
1882 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
1883 handle the wchar_t array.
1885 2000-07-31 Ulrich Drepper <drepper@redhat.com>
1887 * iconvdata/gb18030.c: Don't map to and from positions in ISO
1888 10646 which are not yet assigned.
1889 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
1891 2000-07-31 Andreas Jaeger <aj@suse.de>
1893 * inet/Versions: Remove getipnodebyaddr and friends from
1896 * resolv/netdb.h: Remove getipnodebyaddr and friends.
1898 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1900 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
1901 ch >= 0x81 && ch2 < 0x40 as invalid.
1903 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1905 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
1906 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
1908 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1910 * iconvdata/johab.c (BODY for TO_LOOP): After calling
1911 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
1913 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1915 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
1917 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
1919 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1921 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
1923 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1925 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
1926 (from_ucs4): Change values of U+00A4 and U+00ED.
1927 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
1929 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1931 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
1932 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
1934 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1936 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
1937 * iconvdata/isiri-3342.h: New file.
1938 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
1939 treat 0x80 as a gap.
1941 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1943 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
1944 (utf8_encode): Use simple shifts instead. Fix return value.
1946 2000-07-31 Ulrich Drepper <drepper@redhat.com>
1948 * timezone/private.h: Update from tzcode2000e.
1949 * timezone/asia: Update from tzdata2000e.
1950 * timezone/australasia: Likewise.
1951 * timezone/europe: Likewise.
1952 * timezone/northamerica: Likewise.
1953 * timezone/zone-tab: Likewise.
1955 2000-07-30 Ralf Baechle <ralf@gnu.org>
1957 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
1958 the order of struct sigaltstack members is different.
1960 2000-07-26 Philip Blundell <philb@gnu.org>
1962 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
1964 2000-07-29 Ulrich Drepper <drepper@redhat.com>
1966 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
1967 * locale/programs/ld-ctype.c: Adjust for this.
1969 * locale/programs/ld-collate.c: Add more alignment checks.
1970 * locale/string/strcoll.c: Likewise.
1972 2000-07-30 Mark Kettenis <kettenis@gnu.org>
1974 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
1975 outside USE_IN_LIBIO block.
1977 2000-07-26 Philip Blundell <philb@gnu.org>
1979 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
1980 (elf_machine_rel): Use it for out-of-range PC24 relocs.
1982 2000-07-28 Philip Blundell <philb@gnu.org>
1984 * math/test-fpucw.c: Ignore reserved bits in control word.
1986 2000-07-28 Philip Blundell <philb@gnu.org>
1988 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
1989 (ret): Redefine to PSEUDO_RET.
1990 (PSEUDO): Remove jump to syscall_error.
1992 2000-07-29 Mark Kettenis <kettenis@gnu.org>
1994 * resolv/README: Add some information about using the resolver in
1995 multi-threaded code and with C++. Spelling fixes.
1997 2000-07-29 Mark Kettenis <kettenis@gnu.org>
1999 * resolv/resolv.h (struct __sockaddr_in): Remove.
2000 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
2002 2000-07-29 Greg McGary <greg@mcgary.org>
2004 * Rules (test-bp-inputs, make-test-out): New variables.
2005 ($(objpfx)%-bp.out): New rule.
2006 ($(objpfx)%.out): Rewrite in terms of new variables.
2008 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
2009 internal function that uses vtable.
2010 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2011 * libio/vswprintf.c (_IO_vswprintf): Likewise.
2013 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
2014 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
2015 (chunk_align): Likewise.
2017 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
2018 in a way that conforms to decl, and avoids spurious bounds violation.
2020 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
2021 * sysdeps/generic/frame.h: Likewise.
2022 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
2023 around return value.
2024 (__backtrace): Qualify frame-pointer chain and return address
2025 pointers as __unbounded. Wrap bounds around variable `current'.
2026 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
2027 around return value.
2028 (catch_segfault): Qualify frame-pointer chain and return address
2029 pointers as __unbounded. Wrap bounds around variable `current'.
2030 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
2031 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
2032 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
2034 (__backtrace): Qualify frame-pointer chain and return address
2035 pointers as __unbounded. Wrap bounds around variable `current'.
2037 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
2038 * sysdeps/i386/mul_1.S: Likewise.
2039 * sysdeps/i386/submul_1.S: Likewise.
2040 * sysdeps/i386/i586/addmul_1.S: Likewise.
2041 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
2042 * sysdeps/i386/i586/submul_1.S: Likewise.
2044 2000-07-27 Andreas Jaeger <aj@suse.de>
2046 * libio/Depend: New file, libio needs localedata for tests.
2047 * posix/Depend: Likewise.
2049 2000-07-28 Ulrich Drepper <drepper@redhat.com>
2051 * stdio-common/_i18n_itoa.c: Removed.
2052 * stdio-common/_i18n_itoa.h: Removed.
2053 * stdio-common/_i18n_itowa.c: Removed.
2054 * stdio-common/_i18n_itowa.h: Removed.
2055 * stdio-common/_i18n_number.h: New file.
2056 * stdio-common/Depend: New file.
2057 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
2058 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
2059 printing. Change printing of numbers with locale specific digits to
2060 use new code in _i18n_number.h.
2061 * stdio-common/Makefile (routines): Remove _i18n_itoa and
2064 * stdio-common/bug13.c: Improve messages.
2066 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
2067 (set_class_defaults): Always search also for Uxxxx names.
2068 Detect insufficient number of outdigits.
2070 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
2072 2000-07-27 Bruno Haible <haible@clisp.cons.org>
2074 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
2075 _NL_CTYPE_MAP_NAMES.
2076 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
2077 * wctype/wcfuncs.c (towlower, towupper): Use them.
2078 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
2079 * wctype/wctrans.c (wctrans): Likewise.
2080 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2082 2000-07-27 Bruno Haible <haible@clisp.cons.org>
2084 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
2085 Use the optimized version of this function outside glibc as well.
2087 2000-07-27 Jakub Jelinek <jakub@redhat.com>
2089 * locale/indigits.h (indigit_value): Correct.
2090 * locale/indigitswc.h (indigitwc_value): Correct.
2091 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
2092 conversion, add GROUP checking for it, fix GROUP number
2093 conversion with strlen(thousands) > 1.
2094 Honour width correctly in the presence of floating
2095 decimal points and thousands separators.
2096 * stdio-common/tst-sscanf.c: New test.
2097 * stdio-common/Makefile: Add it to tests.
2098 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
2099 thousands separators and group argument is non-zero.
2101 2000-07-25 Bruno Haible <haible@clisp.cons.org>
2103 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
2104 starts at GLIBC_2.2.
2106 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2108 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
2109 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
2111 (headers): Add sys/tas.h.
2112 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
2113 GLIBC_2.2 from libc.
2114 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
2115 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
2118 2000-07-28 Andreas Jaeger <aj@suse.de>
2120 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
2122 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
2123 ($(objpfx)tst-dladdr.out): new.
2124 (tests): Add tst-dladdr.
2125 ($(objpfx)glrefmain): Use libdl.
2127 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
2130 2000-07-27 Jes Sorensen <jes@linuxcare.com>
2132 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
2133 ftruncate(64) calls.
2135 2000-07-27 Jes Sorensen <jes@linuxcare.com>
2137 * intl/tst-translit.c: Include string.h to get prototype for
2140 2000-07-27 Jes Sorensen <jes@linuxcare.com>
2142 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
2143 name and add weak alias for __fork.
2145 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
2146 & pwrite to use __libc_<name> as strong names instead of
2149 * include/sched.h: Add clone2 prototype.
2151 2000-07-26 Jes Sorensen <jes@linuxcare.com>
2153 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
2154 procedure name twice.
2156 2000-07-27 Philip Blundell <philb@gnu.org>
2158 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
2160 2000-07-27 Andreas Jaeger <aj@suse.de>
2162 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
2163 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
2164 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2165 Reported by Andi Kleen <ak@suse.de>.
2167 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
2168 (do_wait): Test requests with aio_return64.
2169 (do_test): Change callers of do_wait.
2171 2000-07-26 Andreas Jaeger <aj@suse.de>
2173 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
2174 (do_wait): Test requests with aio_return.
2175 (do_test): Change callers of do_wait.
2177 2000-07-27 Ulrich Drepper <drepper@redhat.com>
2179 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
2180 from request list. Don't do the list handling here, call
2181 __aio_remove_request.
2182 * rt/aio_misc.h: Add prototype for __aio_remove_request.
2183 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
2184 request might already be processed. Don't do the list handling
2185 here, call __aio_remove_request.
2187 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
2190 * rt/aio_misc.c: Add comment explaining why writer memory barriers
2193 2000-07-27 Greg McGary <greg@mcgary.org>
2195 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
2196 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
2197 in union init. Pass zero for ignored semnum arg to semctl.
2198 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
2200 2000-07-26 Greg McGary <greg@mcgary.org>
2202 * sysdeps/gnu/bits/msq.h: Qualify kernel's
2203 data structure pointers as __unbounded.
2204 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2205 * sysdeps/generic/bp-semctl.h: New file.
2206 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
2207 pointers as __unbounded. Check bounds of syscall args.
2208 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2209 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
2210 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2211 * sysdeps/unix/sysv/linux/semop.c: Likewise.
2212 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
2213 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2214 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
2215 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
2216 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
2217 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
2218 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
2219 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
2220 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
2221 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
2222 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
2223 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
2225 2000-07-26 Ulrich Drepper <drepper@redhat.com>
2227 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
2229 * locale/C-ctype.c: Likewise.
2230 * wcsmbs/wcsmbsload.c: Likewise.
2232 2000-07-26 Greg McGary <greg@mcgary.org>
2234 * Makeconfig (+link-bounded, link-libc-bounded,
2235 link-extra-libs-bounded): New variables.
2236 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
2237 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
2238 * Rules (tests-bp.out): New variable.
2239 (tests): Conditionally add BP tests.
2240 (binaries-bounded): Add variable and associated rule.
2241 * csu/Makefile [build-bounded] (extra-objs, install-lib):
2242 Move conditional stuff after place where condition is defined.
2244 * malloc/malloc.c (bp-checks.h): Add #include.
2245 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
2246 (_bin_at): Add unbounded version of bin_at.
2247 (IAV, chunk_alloc): Use unbounded _bin_at.
2248 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
2249 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
2250 Wrap BOUNDED_N around return value.
2251 (chunk_realloc): Adjust oldsize once.
2253 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
2254 (__ubp_memchr): Add correct decl.
2255 (_CHECK_STRING): Use __ubp_memchr.
2256 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2257 New alias for unbounded-pointer __memchr.
2258 * sysdeps/i386/memchr.S: Likewise.
2259 * sysdeps/ia64/memchr.S: Likewise.
2260 * sysdeps/m68k/memchr.S: Likewise.
2261 * sysdeps/sparc/sparc32/memchr.S: Likewise.
2262 * sysdeps/sparc/sparc64/memchr.S: Likewise.
2263 * sysdeps/vax/memchr.s: Likewise.
2265 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
2266 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
2267 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
2268 * sysdeps/i386/i686/strtok.S: Likewise.
2269 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
2270 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
2272 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
2273 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
2275 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
2276 bounds of copy_result to mount_proc.
2278 2000-07-25 Bruno Haible <haible@clisp.cons.org>
2280 * wctype/wctype.h (__wctrans_l): New declaration.
2281 * wctype/wctrans_l.c: New file.
2282 * wctype/Makefile (routines): Add wctrans_l.
2284 2000-07-26 Ulrich Drepper <drepper@redhat.com>
2286 * posix/fnmatch_loop.c: Fixes for use outside glibc.
2287 Patch by MacGyver <macgyver@tos.net>.
2289 2000-07-26 Andreas Jaeger <aj@suse.de>
2291 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
2292 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
2293 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
2295 * rt/tst-aio.c (test_file): Fix typo.
2296 * rt/tst-aio64.c (test_file): Likewise.
2298 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
2299 * rt/Makefile: Add rules to build and run tst-aio3.
2301 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
2302 it's not needed and confuses only.
2304 2000-07-26 Ulrich Drepper <drepper@redhat.com>
2306 * resolv/res_init.c: Add support for nameserver communication with
2308 * resolv/res_send.c: Likewise.
2309 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
2311 Patch by <venaas@nvg.ntnu.no>.
2313 2000-07-25 Bruno Haible <haible@clisp.cons.org>
2315 * locale/programs/ld-ctype.c (wctype_table_get): New function.
2316 (wcwidth_table_get): New function.
2317 (wcwidth_table_add): Call it.
2318 (wctrans_table_get): New function.
2319 (wctrans_table_add): Call it.
2321 2000-07-25 Ulrich Drepper <drepper@redhat.com>
2323 * rt/lio_listio.c (lio_listio): Always disable individual
2325 * rt/Makefile: Add rules to build and run tst-aio2.
2326 * rt/tst-aio2.c: New file.
2328 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
2329 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
2331 2000-07-25 Mark Kettenis <kettenis@gnu.org>
2333 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
2334 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
2335 leading and trailing spaces from host, user and domain name.
2337 2000-07-25 Jes Sorensen <jes@linuxcare.com>
2339 * csu/defs.awk: Add support for need_endp.
2341 2000-07-25 Mark Kettenis <kettenis@gnu.org>
2343 * resolv/resolv.h: Remove __P from res_send_qhook and
2344 res_send_rhook typedefs.
2346 2000-07-25 Bruno Haible <haible@clisp.cons.org>
2348 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
2350 2000-07-25 Ulrich Drepper <drepper@redhat.com>
2352 * iconv/gconv_builtin.h: Add WCHAR_T alias.
2354 2000-07-25 Mark Kettenis <kettenis@gnu.org>
2356 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
2357 calling thread, set the cancellation flag and return success
2360 2000-07-25 Ulrich Drepper <drepper@redhat.com>
2362 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
2363 * libio/tst-widetext.c: New file.
2364 * libio/tst-widetext.input: New file.
2366 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
2368 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
2369 empty external buffer correctly.
2371 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2373 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
2374 __STRING(entry) and not #entry.
2375 (_RTLD_EPILOGUE): Likewise.
2376 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2378 2000-07-25 Andreas Jaeger <aj@suse.de>
2380 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
2381 according to changes in test program, run also with static only
2383 ($(objpfx)tst-printf.out): Likewise.
2385 * stdio-common/tst-unbputc.sh: Likewise.
2386 * stdio-common/tst-printf.sh: Likewise.
2388 2000-07-25 Ulrich Drepper <drepper@redhat.com>
2390 * libio/wfileops.c (_IO_wdo_write): Correct return value.
2392 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
2395 * libio/fileops.c: Pretty print.
2397 2000-07-23 Bruno Haible <haible@clisp.cons.org>
2399 * wctype/wchar-lookup.h: New file.
2400 * wctype/iswctype.c: Include "wchar-lookup.h".
2401 (__iswctype): Support alternate locale format with 3-level tables.
2402 * wctype/iswctype_l.c (__iswctype_l): Likewise.
2403 * wctype/towctrans.c (__towctrans): Likewise.
2404 * wctype/towctrans_l.c (__towctrans_l): Likewise.
2405 * wctype/wcfuncs.c: Include "wchar-lookup.h".
2406 (__ctype32_wctype, __ctype32_wctrans): Declare external.
2407 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
2408 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
2409 __iswxdigit, towlower, towupper): Support alternate locale format
2410 with 3-level tables.
2411 * wctype/wcextra.c (iswblank): Likewise.
2412 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
2413 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2414 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2415 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
2416 format with 3-level tables.
2417 * wctype/wcextra_l.c (__iswblank_l): Likewise.
2418 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
2419 format, return a 3-level table pointer.
2420 * wctype/wctype_l.c (__wctype_l): Likewise.
2421 * wctype/wctrans.c (wctrans): Likewise.
2422 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
2423 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
2424 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
2425 (iswctype): Remove macro definition.
2426 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
2427 (internal_wcwidth): Support alternate locale format with 3-level
2429 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
2431 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
2432 Define them as being type "word".
2433 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
2434 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
2435 __ctype32_width): New exported variables.
2436 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
2437 alternate locale format. Don't initialize __ctype_names and
2438 __ctype_width in the alternate locale format.
2439 * locale/programs/localedef.h (oldstyle_tables): New declaration.
2440 * locale/programs/localedef.c (oldstyle_tables): New variable.
2441 (OPT_OLDSTYLE): New macro.
2442 (options): Add --old-style option.
2443 (parse_opt): Handle --old-style option.
2444 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
2445 map_offset, class_3level, map_3level, width_3level members.
2446 (ctype_output): Support for alternate locale format: Computation of
2447 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
2448 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
2449 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
2450 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
2451 now contain both class and map tables.
2452 (struct wctype_table): New type.
2453 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
2455 (struct wcwidth_table): New type.
2456 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
2458 (struct wctrans_table): New type.
2459 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
2461 (allocate_arrays): Support for alternate locale format: Set
2462 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
2463 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
2464 to the first 256 characters. Compute ctype->map_3level. Set
2465 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
2466 instead of ctype->width.
2468 2000-07-24 Ulrich Drepper <drepper@redhat.com>
2470 * libio/iogetwline.c (_IO_getwline_info): Use wide character
2473 2000-07-24 Jakub Jelinek <jakub@redhat.com>
2475 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
2476 in wide characters, not bytes.
2477 * libio/tst_putwc.c (do_test): Add test for writing lots of data
2480 2000-07-22 Bruno Haible <haible@clisp.cons.org>
2482 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
2483 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
2484 LC_MEASUREMENT, LC_IDENTIFICATION.
2486 * locale/xlocale.h (struct __locale_struct): Increase size of
2488 * locale/duplocale.c (__duplocale): Copy newly added categories as
2490 * locale/freelocale.c (__freelocale): Free newly added categories.
2491 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
2492 If a base is given, use it, don't simply return it.
2494 2000-07-22 Bruno Haible <haible@clisp.cons.org>
2496 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
2497 variables, copied_key and copied_salt, instead of boolean variables.
2499 2000-07-24 Andreas Jaeger <aj@suse.de>
2501 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
2504 * grp/initgroups.c (initgroups_dyn_function): Renamed from
2505 initgroups_function, adopted prototype for change from 2000-07-23.
2506 (initgroups): Follow type change.
2508 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
2509 & PAGE_MASK case, reformat.
2511 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
2512 from stdin and setup environment.
2514 2000-07-24 Andreas Schwab <schwab@suse.de>
2516 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
2518 2000-07-23 Ulrich Drepper <drepper@redhat.com>
2520 * string/endian.h: Explain the _*_ENDIAN constant values a bit
2521 more. Patch by scarlet@mit.edu [PR libc/1799].
2523 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
2526 * argp/argp-parse.c (parser_finalize): Reverse order in which
2527 parsers are run for ARGP_KEY_END. [PR libc/1755].
2529 * grp/initgroups.c (initgroups): Don't limit the possible number
2530 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
2531 the setgroups call while the call fails and descrease the number
2532 of groups each round.
2533 The name of the initgroups function in the NSS modules changed.
2534 (compat_call): Adapt for dynamic resizing.
2535 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2536 Implement dynamic resizing.
2537 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2539 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
2540 * hesiod/Versions: Change exported interface name.
2541 * nis/Versions: Change exported interface name.
2543 2000-07-23 Ulrich Drepper <drepper@redhat.com>
2545 * locale/iso-639.def: Some errors corrected.
2546 Patch by Keld Simonsen.
2548 * include/limits.h: Update non-gcc portion.
2549 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2551 2000-07-22 Mark Kettenis <kettenis@gnu.org>
2553 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
2554 program's data space, reallocate only the space that was just
2555 deallocated to release its backing space.
2557 2000-07-23 Ulrich Drepper <drepper@redhat.com>
2559 * stdio-common/vfprintf.c (process_string_arg): For wide character
2560 version, handle precision also correctly.
2562 * nss/nss_files/files-hosts.c: Correct problem with three or more
2563 entries with the same name.
2565 * nss/nss_files/files-hosts.c: Implement multi handling.
2566 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
2568 2000-07-22 Ulrich Drepper <drepper@redhat.com>
2570 * nss/nss_files/files-parse.c: Don't pollute namespace by using
2573 * grp/Makefile: Change Makefiles and tests to run only when necessary.
2574 * malloc/Makefile: Likewise.
2575 * malloc/tst-mtrace.sh: Likewise.
2576 * posix/Makefile: Likewise.
2577 * posix/globtest.sh: Likewise.
2578 * posix/wordexp-tst.sh: Likewise.
2579 * string/Makefile: Likewise.
2581 2000-07-22 Mark Kettenis <kettenis@gnu.org>
2583 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
2584 size instead of LC_ALL to take into account the new locale
2587 2000-07-22 Ulrich Drepper <drepper@redhat.com>
2589 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
2590 remainders of hash table.
2591 * locale/categories.def: Remove remainders of transliteration
2593 * locale/langinfo.h: Likewise.
2594 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
2595 transliteration tables.
2597 * locale/gen-translit.pl: New file.
2598 * locale/C-translit.h.in: New file.
2599 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
2600 data pointers with data from this file.
2601 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
2602 and gen-translit.pl.
2603 Add rule to generate C-translit.h.
2604 * intl/tst-translit.c (main): Update for now performed
2607 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
2608 (it's no input error).
2609 * stdio-common/tstscanf.c: Add test case for format %f with input --.
2610 * stdio-common/scanf12.c: Correct expected result for first scanf.
2612 * stdio-common/vfprintf.c (process_string_arg): Correct handling
2613 of multibyte character strings in %s format with precision.
2615 2000-07-21 Ulrich Drepper <drepper@redhat.com>
2617 * locale/programs/ld-collate.c (collate_read): Allow collating
2618 symbols and elements be named in reorder-after instructions.
2619 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
2621 * locale/programs/ld-collate.c (handle_ellipsis): Test for
2622 duplication with generated name, not the name of the first
2624 Patch by Yong Li <yong.li@asu.edu>.
2626 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
2627 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2629 2000-07-21 Wolfram Gloger <wg@malloc.de>
2631 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
2632 allocations only if a non-main arena cannot be extended.
2634 2000-07-21 Ulrich Drepper <drepper@redhat.com>
2636 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
2637 in DF_1_NODEFLIB handling.
2639 2000-07-21 Andreas Jaeger <aj@suse.de>
2641 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
2644 * libio/fwide.c: Include <wchar.h> for prototype.
2646 2000-07-21 Greg McGary <greg@mcgary.org>
2648 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
2649 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
2650 Define in terms of chunk_at_offset.
2651 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
2652 (next_bin, prev_bin): offset by size of real array elements.
2653 (chunk_align): Make `m' a scalar, since that's how it's used.
2655 2000-07-21 Greg McGary <greg@mcgary.org>
2657 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
2659 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
2660 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
2661 Wrap bounds around argv & envp and each of their string members.
2662 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
2663 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
2664 symbol in BP_SYM (). Discard bounds of address arg.
2665 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
2666 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
2667 Discard bounds on address arg, add bounds to return value.
2669 2000-07-20 Ulrich Drepper <drepper@redhat.com>
2671 * elf/Makefile (tests): Add filter. Add rules to generate filter.
2672 * elf/filter.c: New file.
2673 * elf/filtmod1.c: New file.
2674 * elf/filtmod2.c: New file.
2676 * elf/rtld.c: Define _dl_bind_not variable.
2677 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
2678 * elf/dl-support.c: Likewise.
2679 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
2680 * elf/dl-runtime.c (fixup): Don't remember looked up value if
2682 (profile_fixup): Likewise.
2684 * libio/Makefile (routines): Add fwide.
2685 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
2686 fwide now. Internal calls to _IO_fwide must do locking themselves
2687 or don't need locking.
2688 * libio/fwide.c: New file.
2690 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
2692 * elf/Makefile: Add no modules for nodelete test.
2693 * elf/nodelmod3.c: New file.
2694 * elf/nodelmod4.c: New file.
2695 * elf/nodelete.c: Also test case where dependency of dlopen() object
2698 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
2699 * elf/nodlopen.c: New file.
2700 * elf/nodlopenmod.c: New file.
2701 * include/dlfcn.h: Define __RTLD_DLOPEN.
2702 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
2703 and this is a dlopen() call, do not load the binary.
2704 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
2705 * dlfcn/dlopenold.c: Likewise.
2706 * configure.in: Add test for -z nodelete option.
2707 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
2709 2000-07-20 Mark Kettenis <kettenis@gnu.org>
2711 Make Hesiod NSS module thread-safe.
2713 * hesiod/README.hesiod: Update.
2715 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
2716 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
2717 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
2718 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
2720 * hesiod/nss_hesiod/hesiod-init.c: New file.
2721 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
2722 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
2723 * hesiod/nss_hesiod/nss_hesiod.h: New file.
2724 * hesiod/nss_hesiod/hesiod-service.c
2725 (_nss_hesiod_getservbyport_r): New function. Provide support for
2726 looking up services by port number.
2727 * hesiod/nss_hesiod/hesiod-proto.c: New file.
2729 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
2730 * hesiod/hesiod.h: Likewise.
2731 * hesiod/hesiod_p.h: Likewise.
2733 2000-07-20 Mark Kettenis <kettenis@gnu.org>
2735 Fix problems with `struct __res_state' getting too big.
2736 * resolv/resolv.h (struct __sockaddr_in): New definition.
2737 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
2738 the private parts of the structure to save some space.
2739 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
2740 (struct sockaddr_in *) in call to sock_eq.
2741 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
2743 2000-07-20 Ulrich Drepper <drepper@redhat.com>
2745 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
2746 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
2748 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
2749 to _dl_map_object. Return immediately if no object loaded.
2750 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
2751 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
2752 if it exists into l_flags_1 word.
2753 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
2754 it to determine whether loading is wanted or not.
2755 (_dl_map_object): Likewise.
2756 Call _dl_map_object_from_fd with new parameter.
2757 * sysdeps/generic/ldsodefs.h: Update prototype.
2758 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
2759 * elf/rtld.c: Likewise.
2760 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2761 * elf/Makefile (tests): Add noload. Add rules to generate noload.
2762 * elf/noload.c: New file.
2763 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
2764 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
2765 * sysdeps/mips/bits/dlfcn.h: Likewise.
2766 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
2767 (tests-nodelete-yes): Define.
2768 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
2769 Add rules to build nodelete and modules.
2770 * elf/nodelete.c: New file.
2771 * elf/nodelmod1.c: New file.
2772 * elf/nodelmod2.c: New file.
2773 * configure.in: Add test for -z nodelete option.
2774 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
2776 * libio/Makefile (tests): Add tst_wprintf2.
2777 (tst_wprintf2-ARGS): Define.
2778 * libio/tst_wprintf2.c: New file.
2779 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
2781 * libio/wfiledoalloc.c: Only allocate external buffer if this
2782 hasn't happened yet.
2784 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
2785 something in the buffer. gconv call can write up to end of the
2786 buffer, not only _IO_write_end.
2787 (_IO_wfile_overflow): Allocate also external buffer.
2789 2000-07-19 Ulrich Drepper <drepper@redhat.com>
2791 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
2792 strings with precision in vfwprintf correctly.
2793 * stdio-common/vfprintf.c: Fix completely broken handling of
2794 unbuffered wide character streams.
2795 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
2797 * resolv/Makefile (distribute): Add README.
2799 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
2801 2000-07-18 Mark Kettenis <kettenis@gnu.org>
2803 Update resolver code to BIND 8.2.3-T5B.
2805 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
2807 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
2808 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
2810 * resolv/Banner: BIND-8.2.3-T5B.
2812 * resolv/base64.c: Update from BIND 8.2.3-T5B.
2813 * resolv/herror.c: Likewise.
2814 * resolv/inet_addr.c: Likewise.
2815 * resolv/inet_net_ntop.c: Likewise.
2816 * resolv/inet_net_pton.c: Likewise.
2817 * resolv/inet_neta.c: Likewise.
2818 * resolv/inet_ntop.c: Likewise.
2819 * resolv/nsap_addr.c: Likewise.
2820 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
2821 IPv6 addresses (ISC bug #520).
2823 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
2824 * resolv/ns_parse.c: Likewise.
2825 * resolv/ns_netint.c: Likewise.
2826 * resolv/ns_samedomain.c: Likewise.
2827 * resolv/ns_ttl.c: Likewise.
2828 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
2829 RCS ID in object file.
2831 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
2832 * resolv/res_mkquery.c: Likewise.
2833 * resolv/res_query.c: Likewise.
2834 * resolv/res_init.c: Likewise.
2835 (res_setoptions): Mark internal.
2836 * resolv/res_send.c: Likewise.
2837 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
2838 by using poll instead.
2839 * resolv/res_comp.c: Likewise.
2840 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
2841 weak alias for __dn_expand.
2842 * resolv/res_data.c: Likewise.
2843 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
2844 in _res.options. Avoids a potential security risk by avoiding a
2846 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
2847 res_mkquery, res_query, res_querydomain adn res_search weak
2848 aliases for __res_mkquery, __res_query, __res_querydomain and
2850 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
2851 instead to avoid close(0).
2852 (res_init): Always use the static resolver context.
2853 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
2854 alias for __res_init.
2856 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
2857 RES_SET_H_ERRNO and accompanying comment to...
2858 * include/resolv.h: ... here.
2860 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
2861 * resolv/arpa/nameser_compat.h: Likewise.
2863 2000-07-18 Ulrich Drepper <drepper@redhat.com>
2865 * nss/makedb.c (main): Compare result of load_db with
2866 NSS_STATUS_SUCCESS and not 0.
2867 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
2869 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
2871 2000-07-18 Greg McGary <greg@mcgary.org>
2873 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
2874 (EXTEND_BUFFER): Use it.
2876 2000-07-18 Ulrich Drepper <drepper@redhat.com>
2878 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
2879 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
2880 __builtin_return_address.
2881 * dlfcn/dlopenold.c: Likewise.
2882 * dlfcn/dlsym.c: Likewise.
2883 * dlfcn/dlvsym.c: Likewise.
2884 * elf/dl-profstub.c: Likewise.
2885 * malloc/malloc.c: Likewise.
2886 * sysdeps/generic/machine-gmon.h: Likewise.
2887 Based on a patch by schwidefsky@de.ibm.com.
2889 2000-07-18 Andreas Jaeger <aj@suse.de>
2891 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
2892 NULL to elf_machine_fixup_plt t argument to silence GCC.
2894 * include/string.h: Add prototype for __memchr.
2896 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
2898 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
2901 2000-07-18 Ulrich Drepper <drepper@redhat.com>
2903 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
2905 * locale/C-ctype.c: Add initializers for gap elements.
2906 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
2909 2000-07-16 Ulrich Drepper <drepper@redhat.com>
2911 * nscd/nscd.c (print_version): Update copyright year.
2913 2000-07-17 Greg McGary <greg@mcgary.org>
2915 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
2916 keyletters F, I, S, W. Remove unused keyletter V. Surround
2917 signature argnames with angle-brackets for use as word delimiters,
2918 and to induce syntax errors for any args not handled. Split
2919 multi-echo echoes and comment each stage.
2920 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
2921 * sysdeps/unix/inet/syscalls.list: Likewise.
2922 * sysdeps/unix/mman/syscalls.list: Likewise.
2923 * sysdeps/unix/syscalls.list: Likewise.
2924 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2925 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2926 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2927 * sysdeps/unix/sysv/syscalls.list: Likewise.
2928 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
2930 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
2931 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
2932 qualifiers. Don't check NULL-terminator of argv & envp.
2933 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
2934 unbounded pointer type in word-size assertion.
2935 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
2936 cases to stifle warnings.
2938 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
2940 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2942 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
2943 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
2946 * Makerules (o-objects): Supplement with $(o-objects$o).
2947 * string/Makefile (o-objects.ob): Add variable to pull
2948 unbounded versions of memcpy, memset and memchr into libc_b.
2950 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
2951 rather than non-existent __ubp_memchr.
2952 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
2953 (_CHECK_STRING, _CHECK_N): New macros.
2954 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
2955 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
2956 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
2957 Add weak alias "memchr".
2958 * sysdeps/generic/memchr.c: Likewise.
2959 * sysdeps/i386/memchr.S: Likewise.
2960 * sysdeps/ia64/memchr.S: Likewise.
2961 * sysdeps/m68k/memchr.S: Likewise.
2962 * sysdeps/sparc/sparc32/memchr.S: Likewise.
2963 * sysdeps/sparc/sparc64/memchr.S: Likewise.
2964 * sysdeps/vax/memchr.s: Likewise.
2966 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
2968 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
2969 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
2970 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
2971 __BOUNDED_POINTERS__.
2972 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
2973 for __BOUNDED_POINTERS__.
2975 2000-07-17 Bruno Haible <haible@clisp.cons.org>
2977 * iconv/gconv_open.c (__gconv_open): Initialize the __data
2978 field of struct __gconv_trans_data differently. Don't pass NULL to
2979 trans_init_fct. Simplify list append operation.
2981 2000-07-14 Bruno Haible <haible@clisp.cons.org>
2983 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
2984 not only those having tsearch.
2986 2000-07-17 Ulrich Drepper <drepper@redhat.com>
2988 * locale/langinfo.h: Add placeholder values in enum for removed
2991 2000-07-17 Jakub Jelinek <jakub@redhat.com>
2993 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
2994 chain if the PHDR check fails.
2996 2000-07-17 Mark Kettenis <kettenis@gnu.org>
2998 * nss/getent.c (print_hosts): Make sure we always print a space
2999 between numeric addresses and hostnames.
3001 2000-07-17 Wolfram Gloger <wg@malloc.de>
3003 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
3004 i.e. if n_mmaps_max>0.
3006 2000-07-16 Mark Kettenis <kettenis@gnu.org>
3008 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
3009 values to remove possible clash with other AI_* constants.
3010 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
3011 hexadecimal constants to stress the fact they're in fact
3014 2000-07-15 Mark Kettenis <kettenis@gnu.org>
3016 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
3017 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
3018 instead of res_init.
3020 2000-07-16 Ulrich Drepper <drepper@redhat.com>
3022 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
3023 parameters of memset calls to avoid warnings.
3025 2000-07-15 Ulrich Drepper <drepper@redhat.com>
3027 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
3030 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
3031 Patch by Greg McGary <greg@mcgary.org>.
3033 * io/Makefile (tests): Add tst-getcwd.
3034 * io/tst-getcwd.c: New file.
3036 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
3038 2000-07-15 Jakub Jelinek <jakub@redhat.com>
3040 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
3043 2000-07-13 Jakub Jelinek <jakub@redhat.com>
3045 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
3046 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
3048 2000-07-12 H.J. Lu <hjl@gnu.org>
3050 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
3052 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
3053 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
3054 (sysdep-routines): Add clone2.
3055 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
3057 2000-07-13 Jes Sorensen <jes@linuxcare.com>
3059 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
3060 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
3062 2000-06-05 David Mosberger <davidm@hpl.hp.com>
3064 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
3065 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
3066 Change type of si_band from "int" to "long".
3067 (si_imm) [USE_GNU]: Define
3068 (si_isr) [USE_GNU]: Ditto.
3069 (ILL_BREAK) [USE_GNU]: Ditto.
3070 (FPE_DECOVF) [USE_GNU]: Ditto.
3071 (FPE_DECDIV) [USE_GNU]: Ditto.
3072 (FPE_DECERR) [USE_GNU]: Ditto.
3073 (FPE_INVASC) [USE_GNU]: Ditto.
3074 (FPE_INVDEC) [USE_GNU]: Ditto.
3075 (TRAP_BRANCH) [USE_GNU]: Ditto.
3076 (TRAP_HWBKPT) [USE_GNU]: Ditto.
3078 2000-07-06 Jes Sorensen <jes@linuxcare.com>
3080 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
3081 bits/sigcontext as struct mcontext does not depend on it.
3083 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
3085 2000-07-04 Jes Sorensen <jes@linuxcare.com>
3087 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
3089 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
3091 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
3093 2000-06-22 Jes Sorensen <jes@linuxcare.com>
3095 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
3097 2000-07-15 Ulrich Drepper <drepper@redhat.com>
3099 * intl/Makefile (test-srcs): Add tst-translit.
3101 Add rules to build and run tst-translit.
3102 * intl/tst-translit.c: New file.
3103 * intl/tst-translit.sh: New file.
3104 * intl/translit.po: New file.
3106 2000-07-14 Ulrich Drepper <drepper@redhat.com>
3108 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
3109 transliteration function did its job, continue, don't stop.
3111 * iconvdata/iso646.c: Little optimizations in body for conversion
3114 2000-07-14 Mark Kettenis <kettenis@gnu.org>
3116 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
3118 2000-07-14 Mark Kettenis <kettenis@gnu.org>
3120 * configure.in: Check for pwd binary.
3121 * config.make.in: Add PWD_P to be subsituted.
3122 * Makerules: Use $(PWD_P) instead of /bin/pwd.
3124 2000-07-14 Ulrich Drepper <drepper@redhat.com>
3126 * iconvdata/Makefile (modules): Add GB18030.
3127 (distribute): Add gb18030.c.
3128 * iconvdata/gconv-modules: Add entries for GB18030 module.
3129 * iconvdata/gb18030.c: New file.
3130 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
3133 2000-07-13 Andreas Jaeger <aj@suse.de>
3135 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
3138 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
3139 * inet/getnetgrent.c (free_mem): Likewise.
3140 * misc/mntent.c (free_mem): Likewise.
3141 * nss/getXXbyYY.c (free_mem): Likewise.
3142 * nss/getXXent.c (free_mem): Likewise.
3143 * pwd/fgetpwent.c (free_mem): Likewise.
3144 * shadow/fgetspent.c (free_mem): Likewise.
3146 2000-07-14 Ulrich Drepper <drepper@redhat.com>
3148 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
3149 64-bit architecture correctly [PR libc/1794].
3151 2000-07-13 Ulrich Drepper <drepper@redhat.com>
3153 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
3154 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
3155 report that we are out of memory.
3156 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3157 * elf/dl-libc.c (dlerror_run): Likewise.
3158 * elf/dl-open.c (_dl_open): Likewise.
3159 * elf/rtld.c (dl_main): Likewise.
3160 * elf/dl-error.c: Define _dl_out_of_memory.
3161 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
3163 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
3166 * dlfcn/dlerror.c (free_key_mem): Also free error string.
3168 * iconv/loop.c: Fix comment.
3170 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
3172 2000-07-13 Andreas Jaeger <aj@suse.de>
3174 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
3175 getcwd (NULL, size) with size > 0.
3176 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
3178 2000-07-13 Andreas Jaeger <aj@suse.de>
3180 * posix/Makefile: Remove build rules for libposix.
3182 2000-07-13 Andreas Schwab <schwab@suse.de>
3184 * sysdeps/generic/glob.c (glob): Fix memory leak.
3185 [SHELL]: Remove reference to undefined variable `files'.
3188 2000-07-13 Andreas Jaeger <aj@suse.de>
3190 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
3193 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
3194 memory if it was allocated.
3196 2000-07-12 Ulrich Drepper <drepper@redhat.com>
3198 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
3201 * iconv/gconv_open.c (__gconv_open): Reapply
3202 2000-07-12 Bruno Haible <haible@clisp.cons.org>
3204 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
3206 * iconv/gconv_open.c: Undo last two changes for now. They break
3209 2000-07-12 Andreas Jaeger <aj@suse.de>
3211 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
3213 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
3214 (CFLAGS-dl-cache.c): Likewise.
3215 (CFLAGS-ldconfig.c): Added, passes directory locations.
3217 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
3219 * elf/ldconfig.c (LD_SO_CONF): Likewise.
3220 (main): Use configured LIBDIR and SLIBDIR.
3222 2000-07-11 Jakub Jelinek <jakub@redhat.com>
3224 * math/bits/cmathcalls.h (cimag): Add __THROW.
3225 (creal, conj): Likewise.
3226 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
3229 2000-07-12 H.J. Lu <hjl@gnu.org>
3231 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
3232 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
3234 2000-07-12 Ulrich Drepper <drepper@redhat.com>
3236 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
3239 2000-07-12 Bruno Haible <haible@clisp.cons.org>
3241 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
3243 2000-07-12 Bruno Haible <haible@clisp.cons.org>
3245 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
3248 2000-07-12 Bruno Haible <haible@clisp.cons.org>
3250 * iconv/gconv_open.c (__gconv_open): Initialize
3251 result->__steps[cnt].__data.
3253 2000-07-12 Mark Kettenis <kettenis@gnu.org>
3255 * nss/getent.c (services_keys): Pass port number in network byte
3256 order in call to getservbyport.
3258 2000-07-11 Andreas Jaeger <aj@suse.de>
3260 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
3262 * intl/Makefile (do-gettext-test): Likewise.
3263 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
3265 2000-07-11 Andreas Schwab <schwab@suse.de>
3267 * Makeconfig (run-program-prefix): New rule.
3268 (built-program-cmd): Use run-program-prefix.
3270 2000-07-12 Ulrich Drepper <drepper@redhat.com>
3272 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
3273 and NOEXPR unconditionally available.
3275 2000-07-12 Greg McGary <greg@mcgary.org>
3277 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
3278 * sysdeps/posix/open64.c: Likewise.
3279 * sysdeps/generic/fegetenv.c: Likewise.
3280 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
3281 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3282 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3283 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
3284 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
3285 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
3287 2000-07-11 Greg McGary <greg@mcgary.org>
3289 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
3290 Add extra level of macro expansion.
3291 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
3292 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
3293 is available at the time `select' prototype is declared.
3294 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
3295 Collect non-versioned weak aliases. Consider only non-versioned
3296 aliases for the user-visible systemcall name. Do checks inline with
3297 call to primitive system call.
3298 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
3299 stand-alone bounds checks to suppress unused value warnings.
3300 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3302 2000-07-10 Mark Kettenis <kettenis@gnu.org>
3304 * sysdeps/mach/hurd/check_fds.c: New file. Implements
3305 file descriptor checking in SUID programs for the Hurd.
3307 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
3308 res_hostalias instead of __hostalias for thread-safety.
3310 2000-07-09 Mark Kettenis <kettenis@gnu.org>
3312 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
3313 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
3315 2000-07-10 Ulrich Drepper <drepper@redhat.com>
3317 * include/features.h: Include ISO C99 features if the compiler used
3318 is an ISO C99 compiler.
3319 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3321 2000-07-08 Mark Kettenis <kettenis@gnu.org>
3323 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
3325 2000-07-10 Andreas Jaeger <aj@suse.de>
3327 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
3328 it's overridden by libpthreads.
3329 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3330 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3331 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3332 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3333 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3335 * malloc/Makefile: Run tst-mtrace only with shared libs.
3337 * stdio-common/Makefile: Run unbputc and tst-printf tests only
3340 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3342 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
3343 that gpreg really points to the GOT section of the calling object.
3344 Scan all PT_LOAD segments of objects for stub_pc, instead of only
3345 checking a start address of first one.
3347 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
3350 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
3352 2000-07-10 Andreas Jaeger <aj@suse.de>
3354 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
3355 (string_alias->strong_alias).
3357 2000-07-08 Mark Kettenis <kettenis@gnu.org>
3359 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
3361 2000-07-07 Greg McGary <greg@mcgary.org>
3363 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
3364 have no names without leading underscores.
3366 2000-07-07 Ulrich Drepper <drepper@redhat.com>
3368 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
3371 * stdio-common/Makefile (tests): Remove tst-printf here...
3372 (tests-srcs): ...and add it here.
3373 (distribute): Add tst-unbputc.sh and tst-printf.sh.
3374 Add rules to run tst-printf.sh.
3375 * stdio-common/tst-printf.c: Move code around so that there is really
3376 no further output where it's stated.
3377 * stdio-common/tst-printf.sh: New file.
3379 2000-07-07 Mark Kettenis <kettenis@gnu.org>
3381 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
3382 (do_write): Renamed from pwrite.
3383 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
3384 `struct _IO_cookie_file'.
3386 2000-07-07 Ulrich Drepper <drepper@redhat.com>
3388 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
3390 * malloc/tst-mtrace.sh: Run mtrace script.
3392 2000-07-07 Greg McGary <greg@mcgary.org>
3394 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
3395 Move all three components of a bounded pointer.
3397 2000-07-07 Ulrich Drepper <drepper@redhat.com>
3399 * locale/programs/locale.c (write_locales): Don't simply add all
3400 directories found in the subdir, test whether at least the
3401 LC_CTYPE file is in there.
3403 2000-07-06 Ulrich Drepper <drepper@redhat.com>
3405 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
3406 * iconvdata/euc-kr.c: Likewise.
3408 * stdio-common/vfprintf.c (process_string_arg): Check result of
3409 wcrtomb call and bail out if it failed.
3411 * malloc/Makefile (test-srcs): Add tst-mtrace.
3412 (distribute): Add tst-mtrace.sh.
3413 Add rule to run tst-mtrace.sh.
3414 * malloc/tst-mtrace.c: New file.
3415 * malloc/tst-mtrace.sh: New file.
3417 * include/signal.h: Declare __libc_sigaction.
3418 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
3419 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
3420 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3421 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3422 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3423 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3424 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3426 * configure.in: Fix CFLAGS-memprofstat.c definition after
3428 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
3430 2000-07-06 Jakub Jelinek <jakub@redhat.com>
3432 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
3433 instead of NULL to elf_machine_fixup_plt t argument.
3434 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3435 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
3438 2000-07-06 Andreas Jaeger <aj@suse.de>
3440 * crypt/Makefile (LDLIBS-cert): Removed.
3441 (LDLIBS-md5c-test): Removed.
3442 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
3443 ($(objpfx)md5c-test): Likewise for md5c-test.out.
3445 2000-07-06 Andreas Jaeger <aj@suse.de>
3447 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
3448 of the proc system is "proc".
3450 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
3451 thread library for static programs.
3453 2000-07-06 Greg McGary <greg@mcgary.org>
3455 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
3457 * sysdeps/generic/strcpy.c: Add bounds checks.
3458 * sysdeps/unix/fxstat.c: Likewise.
3459 * sysdeps/unix/xstat.c: Likewise.
3460 * sysdeps/unix/common/lxstat.c: Likewise.
3461 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3462 * sysdeps/unix/sysv/linux/execve.c: Likewise.
3463 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
3464 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
3465 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3466 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3467 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
3468 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
3469 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3470 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3471 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3472 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3473 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
3474 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3475 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3476 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3477 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3478 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3479 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3480 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
3481 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3482 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3483 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3484 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
3485 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3486 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
3487 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3488 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
3489 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
3490 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3491 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3492 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
3493 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3494 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3495 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3496 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3497 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3498 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
3499 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3500 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3501 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3502 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3503 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3504 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3505 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
3506 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
3507 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3508 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
3509 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3510 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
3511 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
3512 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
3513 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3514 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3515 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3516 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3517 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3518 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
3519 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
3520 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
3521 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3522 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
3523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3524 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
3526 * string/endian.h (__LONG_LONG_PAIR): New macro.
3527 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
3528 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3529 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3530 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3531 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3532 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3533 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3534 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3535 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3536 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3537 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3538 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3540 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
3542 2000-07-06 Andreas Jaeger <aj@suse.de>
3544 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
3547 * math/test-fpucw.c: Include <stdio.h> for printf.
3549 2000-07-05 Greg McGary <greg@mcgary.org>
3551 * sysdeps/generic/bp-checks.h: New file.
3552 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
3553 with list of #include files.
3554 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
3555 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
3556 Don't generate BP thunk if `V' appears in signature.
3557 Generate thunks with complete bounds checks.
3558 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
3559 * sysdeps/unix/inet/syscalls.list: Likewise.
3560 * sysdeps/unix/mman/syscalls.list: Likewise.
3561 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3562 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
3563 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
3564 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3566 2000-07-05 Ulrich Drepper <drepper@redhat.com>
3568 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
3569 result. Search first in /etc/mtab (proc/mounts would be stupid).
3570 If mount not in the file fall back on /proc.
3572 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
3573 string got copied in.
3574 Patch by Solar Designer <solar@false.com>.
3576 2000-07-05 Andreas Jaeger <aj@suse.de>
3578 * manual/install.texi (Installation): Update information about
3580 (Configuring and compiling): Update for glibc 2.2.
3582 2000-07-04 Andreas Jaeger <aj@suse.de>
3584 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
3585 (_FPU_IEEE): Likewise.
3587 * math/Makefile (tests): Add test-fpucw.
3589 * math/test-fpucw.c (main): New file.
3591 2000-07-05 Ulrich Drepper <drepper@redhat.com>
3593 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
3595 * locale/programs/ld-collate.c (collate_output): Also write out the
3596 collation sequence values and the wide character string for the
3597 collation symbol table.
3599 * posix/fnmatch.c: Include "../locale/elem-hash.h".
3600 * posix/fnmatch_loop.c: Implement collating symbol handling.
3601 * posix/tst-fnmatch.input: Add more tests, especially for collating
3604 * posix/regex.c: Fix comment.
3606 2000-07-05 Andreas Jaeger <aj@suse.de>
3608 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
3609 (_FPU_GETCW): Remove extra colon.
3610 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
3612 * posix/fnmatch_loop.c (FCT): Only declare len if
3613 !WIDE_CHAR_VERSION to silence GCC.
3615 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
3617 * sysdeps/generic/strchrnul.c: Likewise.
3618 * sysdeps/generic/strlen.c: Likewise.
3619 * sysdeps/generic/strchr.c: Likewise.
3620 * sysdeps/generic/memchr.c: Likewise.
3622 2000-07-04 Ulrich Drepper <drepper@redhat.com>
3624 * posix/fnmatch_loop.c: Implement equivalence class handling.
3625 * posix/tst-fnmatch.input: Add tests for equivalence class
3628 * posix/fnmatch_loop.c: Improve performance for single-byte
3629 character sets by not using btowc.
3631 * posix/tst-fnmatch.input: Add tests for locale dependent
3633 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
3635 * posix/tst-fnmatch.input: Add more test cases.
3637 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
3638 are not aligned to alignof(md5_uint32) do it before calling
3639 __md5_process_bytes.
3640 * crypt/md5.c: Make sure buffers are aligned.
3641 * crypt/md5.h: Likewise.
3642 Reported by Solar Designer <solar@false.com>.
3644 * crypt/Makefile: Add dependencies for test programs.
3646 * Rules: Define LC_ALL=C in environments of all programs we run.
3648 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
3650 2000-07-03 H.J. Lu <hjl@gnu.org>
3652 * locale/programs/ld-ctype.c (ctype_output): The size of iov
3653 is 2 + elem + offset, not 2 + elem + offset + 2.
3655 2000-07-04 Ulrich Drepper <drepper@redhat.com>
3657 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
3659 * posix/Makefile (tests): Add tst-fnmatch.
3660 (tst-fnmatch-ENV): Define.
3661 * posix/tst-fnmatch.c: New file.
3662 * posix/tst-fnmatch.sh: New file.
3664 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
3666 * locale/programs/charmap.c (charmap_read): Prepend
3667 the condition filename == NULL.
3669 2000-07-03 Greg McGary <greg@mcgary.org>
3671 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
3673 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
3674 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
3676 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
3677 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
3678 (FILEBUF_LITERAL): Add cast for CHAIN init.
3679 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
3680 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
3681 Revert type of `fp' to _IO_FILE*.
3682 (_IO_iter_file): Remove cast.
3683 (_IO_iter_next): Elide intermediate member reference.
3685 * sysdeps/powerpc/strchr.S: Check bounds.
3686 Wrap extern symbols in BP_SYM ().
3688 2000-07-03 Andreas Jaeger <aj@suse.de>
3690 * dlfcn/Makefile (generated): New.
3692 2000-07-03 Ulrich Drepper <drepper@redhat.com>
3694 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
3695 (__uflow): Likewise.
3696 (__underflow): Likewise.
3697 * libio/wgenops.c (__wunderflow): Likewise.
3698 * stdio-common/tst-unbputc.c: New file.
3699 * stdio-common/tst-unbputc.sh: New file.
3700 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
3702 * po/en_GB.po: New file.
3703 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
3705 2000-07-01 Andreas Jaeger <aj@suse.de>
3707 * intl/Makefile (generated-dirs): New.
3709 * elf/Makefile (generated): trusted-dirs.h is always generated,
3710 move out of build-shared condition.
3711 (generated): Merge the two entries for build-shared.
3713 2000-07-01 Ulrich Drepper <drepper@redhat.com>
3715 * debug/Makefile (distribute): Add xtrace.sh.
3717 2000-06-30 Ulrich Drepper <drepper@redhat.com>
3719 * version.h (VERSION): Bump to 2.1.91.
3721 * configure.in: Update warning comment. glibc should not be
3724 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
3725 ioperm.c, sys/procfs.h, and sys/io.h.
3727 * sysdeps/powerpc/Dist: Add bp-asm.h.
3729 * assert/Depend: Add localedata.
3730 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
3731 (test-assert-perr-ENV): New. Define LANGUAGE=C.
3733 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
3734 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
3735 relocation address to prevent unaligned trap.
3736 Suggested by Richard Henderson <rth@cygnus.com>.
3738 2000-06-30 Jakub Jelinek <jakub@redhat.com>
3740 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
3741 if redirecting and either redirection is done using defines or
3744 2000-06-30 Ulrich Drepper <drepper@redhat.com>
3746 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
3747 generated expressions.
3748 Patch by Darren McClelland <dmcclell@zetec.com>.
3750 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
3751 since zic uses setlocale and gettext but we cannot make it use the
3752 new locale data since zic calls a shell which might not use the
3755 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
3756 handling the internation currency symbol. POSIX says that the
3757 fourth character is used to separate the currency symbol from the
3758 value. Therefore it does not have to be printed. But we cannot
3759 remove the space if the currency symbol is printed before the
3760 number since this is what many locales expect.
3762 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
3763 whether this information is available.
3765 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
3766 buffers in case the translation is too large. Remember allocated
3767 memory blocks in a list.
3768 (free_mem): Free memory for translations.
3770 * intl/tst-gettext.c: Use correct locale. Improve error messages.
3772 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
3773 information is available set the string length to zero.
3775 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
3777 2000-06-30 Greg McGary <greg@mcgary.org>
3779 * sysdeps/powerpc/bp-asm.h: New file.
3780 * sysdeps/powerpc/__longjmp.S: Check bounds.
3781 Wrap extern symbols in BP_SYM ().
3782 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
3783 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
3784 * sysdeps/powerpc/setjmp.S: Likewise.
3785 * sysdeps/powerpc/add_n.S: Likewise.
3786 * sysdeps/powerpc/addmul_1.S: Likewise.
3787 * sysdeps/powerpc/lshift.S: Likewise.
3788 * sysdeps/powerpc/rshift.S: Likewise.
3789 * sysdeps/powerpc/mul_1.S: Likewise.
3790 * sysdeps/powerpc/sub_n.S: Likewise.
3791 * sysdeps/powerpc/submul_1.S: Likewise.
3792 * sysdeps/powerpc/strlen.S: Likewise.
3793 * sysdeps/powerpc/memset.S: Likewise.
3794 * sysdeps/powerpc/stpcpy.S: Likewise.
3795 * sysdeps/powerpc/strcmp.S: Likewise.
3796 * sysdeps/powerpc/strcpy.S: Likewise.
3797 * sysdeps/powerpc/elf/bzero.S: Likewise.
3799 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
3800 Line up operands column with tabs.
3802 2000-06-30 Ulrich Drepper <drepper@redhat.com>
3804 * elf/Makefile (LDFLAGS-origtest): Actually add it.
3806 * sysdeps/ia64/htonl.S: New file.
3807 * sysdeps/ia64/htons.S: New file.
3808 * sysdeps/ia64/memcpy.S: Replace with version which does not use
3809 floating point registers.
3810 Patches by Dan Pop <Dan.Pop@cern.ch>.
3812 2000-06-30 Andreas Jaeger <aj@suse.de>
3814 * posix/Makefile (tests): tst-exec and tst-spawn only work with
3817 * io/Makefile (CFLAGS-test-lfs.c): New.
3818 (tests): Add test-lfs.
3820 * io/test-lfs.c: New file.
3822 2000-06-30 Jakub Jelinek <jakub@redhat.com>
3824 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
3827 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
3829 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
3831 2000-06-29 Jes Sorensen <jes@linuxcare.com>
3833 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
3834 alias to the fstatfs call.
3836 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
3837 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
3839 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
3840 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
3842 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
3843 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
3844 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
3845 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
3847 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
3848 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
3850 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
3851 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
3853 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
3854 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
3856 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
3858 2000-06-29 Andreas Jaeger <aj@suse.de>
3860 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
3862 (print_err_message): Likewise.
3863 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
3865 2000-06-29 Ulrich Drepper <drepper@redhat.com>
3867 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
3868 used as words is properly aligned.
3870 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
3873 2000-06-29 Greg McGary <greg@mcgary.org>
3875 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
3876 * sysdeps/unix/make-syscalls.sh: Handle signatures of
3877 length 7..9, just in case...
3878 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
3880 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
3881 (POP_ERRNO_LOCATION_RETURN): Fold insns.
3882 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
3883 (PUSH_SIGNAL_MASK): New macro.
3884 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
3885 LEAVE is unnecessary. Check bounds of jmp_buf.
3886 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
3887 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
3888 immediately before tail-call.
3889 * sysdeps/i386/setjmp.S: Likewise.
3890 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3891 * sysdeps/i386/bsd-setjmp.S: Likewise.
3893 2000-06-29 Jakub Jelinek <jakub@redhat.com>
3895 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
3897 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3898 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3899 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3900 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3901 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3902 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3903 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
3904 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
3906 2000-06-29 Ulrich Drepper <drepper@redhat.com>
3908 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
3909 we later need to calling free().
3910 Patch by Matt Wilson <msw@redhat.com>.
3912 * stdio-common/tst-printf.c: Add test for above problem.
3914 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
3916 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
3917 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
3919 2000-06-28 Jes Sorensen <jes@linuxcare.com>
3921 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
3922 prototype for abs().
3923 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
3925 2000-06-23 Andreas Jaeger <aj@suse.de>
3927 * config.h.in: Don't use regparm with bounded pointers.
3929 2000-06-29 Ulrich Drepper <drepper@redhat.com>
3931 * stdlib/grouping.h: Correctly handle multibyte thousands
3932 separator and decimal point.
3933 * stdlib/stdtod.c: Likewise.
3934 * sysdeps/generic/strtol.c: Likewise.
3936 * locale/categories.def: Add entries for wide character decimal point
3937 and thousands separator in numeric and monetary category.
3939 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3941 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
3942 second definition and initialization of decimal.
3944 2000-06-28 Greg McGary <greg@mcgary.org>
3946 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
3948 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
3949 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
3951 (_IO_JUMPS): Don't cast THIS--expect arg to be a
3952 (struct _IO_FILE_plus *).
3953 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
3954 THIS, since _IO_JUMPS no longer does it implicitly.
3955 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
3956 arg type as (struct _IO_FILE_plus *).
3957 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
3958 arg as (_IO_strfile *).
3959 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
3960 Declare 1st arg as (_IO_strfile *).
3961 * libio/fileops.c (_IO_new_file_init): Declare
3962 arg type as (struct _IO_FILE_plus *).
3963 * libio/oldfileops.c (_IO_old_file_init): Likewise.
3964 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
3965 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
3966 Declare iteration pointer as (struct _IO_FILE_plus *).
3967 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
3968 (struct _IO_FILE_plus *).
3969 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
3970 * libio/oldstdfiles.c (_IO_list_all): Likewise.
3971 (_IO_check_libio): Set user-visible handles to
3972 (struct _IO_FILE_plus *).
3973 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
3974 to (struct _IO_FILE_plus *).
3976 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
3977 whose high bound includes vtable to all functions that will use
3978 vtable. For streambufs, pass pointer whose bounds include struct
3980 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
3981 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3982 * libio/iofopen.c (_IO_new_fopen): Likewise.
3983 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3984 * libio/iofopen64.c (_IO_fopen64): Likewise.
3985 * libio/iopopen.c (_IO_new_popen): Likewise.
3986 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3987 * libio/memstream.c (open_memstream): Likewise.
3988 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3989 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
3990 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3991 * libio/iofopncook.c (_IO_cookie_init): Likewise.
3992 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
3993 * libio/vasprintf.c (_IO_vasprintf): Likewise.
3994 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3995 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3996 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3997 * stdlib/strfmon.c (__strfmon_l): Likewise.
3998 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
3999 (vfprintf): Qualify computed-goto targets as unbounded.
4001 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4003 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
4004 thousands separator correctly.
4006 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
4007 * stdio-common/vfwscanf.c: Likewise.
4009 2000-06-27 Jes Sorensen <jes@linuxcare.com>
4011 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
4012 count into signatures for most calls.
4014 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4016 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
4017 the generic parser now.
4019 2000-06-28 Jes Sorensen <jes@linuxcare.com>
4021 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
4022 table entries are 32 bit on the ia64 (as specified by the ABI),
4023 not 64 bit as on the Alpha.
4025 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
4026 change of objects to use 32 bit hash table indices (see above).
4028 2000-06-28 Jes Sorensen <jes@linuxcare.com>
4030 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
4031 prototype for abs().
4033 2000-06-28 Wolfram Gloger <wg@malloc.de>
4035 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
4036 fails, try mmap_chunk() as a last resort even though n_mmaps_max
4037 may have been reached.
4039 2000-06-28 Ulrich Drepper <drepper@redhat.com>
4041 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
4042 symbols in multi-character weights correctly.
4044 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
4045 depending on whether the input string is empty or not.
4047 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
4048 given state and not avoiding this by modifying a local object.
4049 * wcsmbs/wcrtomb.c: Likewise.
4051 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
4052 object since some incomplete characters might be in there.
4054 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
4055 sequences with first byte 0x8e correctly.
4057 * iconvdata/jis0208.h: Remove redundant test.
4059 2000-06-27 Ulrich Drepper <drepper@redhat.com>
4061 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
4062 Add it where it is needed now.
4064 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
4065 the input charset into account when generating the hash table.
4066 (allocate_arrays): Correct setting default width. Not all empty slots
4067 in the table are filled, only those not covert explicitly by the
4068 locale description and in the charset.
4070 * wctype/towctrans.c (__towctrans): Be graceful and accept error
4071 return values from the wctrans function.
4073 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
4074 wide character version.
4075 For %C handling, test correct pointer variable for NULL.
4077 * wcsmbs/wctob.c: Handle WEOF special.
4079 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
4081 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
4082 always-true test to avoid warning.
4084 2000-06-27 Greg McGary <greg@mcgary.org>
4086 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
4087 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
4088 (symbol_version, default_symbol_version): Factor redundant
4089 definitions out of conditional.
4091 2000-06-27 Jakub Jelinek <jakub@redhat.com>
4093 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
4096 2000-06-26 Ulrich Drepper <drepper@redhat.com>
4098 * include/libc-symbols.h (symbol_version): Add extra level of
4100 (default_symbol_version): Likewise.
4102 2000-06-26 Greg McGary <greg@mcgary.org>
4104 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
4105 for BP return value & push implicit struct-return pointer to
4107 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4108 (SYSCALL_ERROR_HANDLER): Likewise.
4109 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4110 (SYSCALL_ERROR_HANDLER): Likewise.
4112 * Makeconfig: Add missing comment.
4113 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
4114 BP-flavored startup object.
4115 ($(objpfx)b$(start-installed-name)): New rule.
4116 * include/libc-symbols.h (symbol_set_declare): Change type
4117 of `__start_##set' and `__stop_##set' to pointer-to-function.
4118 (symbol_set_declare): Change type of `set' to array of
4119 pointer-to-function.
4120 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
4121 pointer-to-function.
4123 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
4125 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
4126 Remove clock_* and timer_* entries.
4127 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
4128 arg-count with signatures.
4130 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
4131 Check bounds of arguments.
4132 * sysdeps/i386/addmul_1.S: Likewise.
4133 * sysdeps/i386/lshift.S: Likewise.
4134 * sysdeps/i386/mul_1.S: Likewise.
4135 * sysdeps/i386/rshift.S: Likewise.
4136 * sysdeps/i386/sub_n.S: Likewise.
4137 * sysdeps/i386/submul_1.S: Likewise.
4138 * sysdeps/i386/i586/add_n.S: Likewise.
4139 * sysdeps/i386/i586/addmul_1.S: Likewise.
4140 * sysdeps/i386/i586/lshift.S: Likewise.
4141 * sysdeps/i386/i586/rshift.S: Likewise.
4142 * sysdeps/i386/i586/sub_n.S: Likewise.
4143 * sysdeps/i386/i686/add_n.S: Likewise.
4145 * sysdeps/i386/memchr.S: Likewise.
4146 * sysdeps/i386/memcmp.S: Likewise.
4147 * sysdeps/i386/rawmemchr.S: Likewise.
4148 * sysdeps/i386/i586/bzero.S: Likewise.
4149 * sysdeps/i386/i586/memcpy.S: Likewise.
4150 * sysdeps/i386/i586/mempcpy.S: Likewise.
4151 * sysdeps/i386/i586/memset.S: Likewise.
4152 * sysdeps/i386/i686/bzero.S: Likewise.
4153 * sysdeps/i386/i686/memcpy.S: Likewise.
4154 * sysdeps/i386/i686/mempcpy.S: Likewise.
4155 * sysdeps/i386/i686/memset.S: Likewise.
4157 * sysdeps/i386/stpcpy.S: Likewise.
4158 * sysdeps/i386/stpncpy.S: Likewise.
4159 * sysdeps/i386/strchr.S: Likewise.
4160 * sysdeps/i386/strchrnul.S: Likewise.
4161 * sysdeps/i386/strcspn.S: Likewise.
4162 * sysdeps/i386/strpbrk.S: Likewise.
4163 * sysdeps/i386/strrchr.S: Likewise.
4164 * sysdeps/i386/strspn.S: Likewise.
4165 * sysdeps/i386/strtok.S: Likewise.
4166 * sysdeps/i386/strtok_r.S: Likewise.
4167 * sysdeps/i386/i486/strcat.S: Likewise.
4168 * sysdeps/i386/i486/strlen.S: Likewise.
4169 * sysdeps/i386/i586/strchr.S: Likewise.
4170 * sysdeps/i386/i586/strcpy.S: Likewise.
4171 * sysdeps/i386/i586/strlen.S: Likewise.
4172 * sysdeps/i386/i686/strcmp.S: Likewise.
4173 * sysdeps/i386/i686/strtok.S: Likewise.
4174 * sysdeps/i386/i686/strtok_r.S: Likewise.
4176 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
4177 * sysdeps/i386/fpu/fesetenv.c: Likewise.
4178 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
4179 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
4180 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
4182 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
4183 * sysdeps/i386/mul_1.S: Likewise.
4184 * sysdeps/i386/submul_1.S: Likewise.
4185 * sysdeps/i386/i586/add_n.S: Likewise.
4186 * sysdeps/i386/i586/addmul_1.S: Likewise.
4187 * sysdeps/i386/i586/lshift.S: Likewise.
4188 * sysdeps/i386/i586/mul_1.S: Likewise.
4189 * sysdeps/i386/i586/rshift.S: Likewise.
4190 * sysdeps/i386/i586/sub_n.S: Likewise.
4191 * sysdeps/i386/i586/submul_1.S: Likewise.
4193 2000-06-26 Ulrich Drepper <drepper@redhat.com>
4195 * rt/Makefile (librt-routines): Add clock_nanosleep.
4196 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
4197 * sysdeps/generic/clock_nanosleep.c: New file.
4198 * sysdeps/unix/clock_nanosleep.c: New file.
4199 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
4200 * time/time.h: Declare clock_nanosleep.
4202 2000-06-26 Greg McGary <greg@mcgary.org>
4204 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
4205 INSN1, INSN2, TEXT, GLOBL): Remove macros.
4206 (ALIGN): Cleanup surrounding conditionals.
4208 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
4209 Call ENTER/LEAVE macros.
4210 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
4211 * sysdeps/i386/submul_1.S: Likewise.
4213 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
4214 syntax. Define & use symbolic argument stack offsets. Call
4216 * sysdeps/i386/i586/mul_1.S: Likewise.
4217 * sysdeps/i386/i586/submul_1.S: Likewise.
4219 2000-06-25 Greg McGary <greg@mcgary.org>
4221 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
4224 2000-06-25 Ulrich Drepper <drepper@redhat.com>
4226 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
4227 * iconvdata/gen-8bit-gap.sh: Likewise.
4228 * iconvdata/gen-8bit.sh: Likewise.
4230 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
4232 * locale/programs/ld-collate.c (collate_read): Don't actually read
4233 the copy locale if we are ignoring the content.
4235 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
4238 * locale/programs/ld-collate.c: Correct handling of different
4240 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
4241 as extra parameter from which to copy category information.
4243 (load_locale): Likewise.
4244 * locale/programs/localedef.h: Update prototypes of add_to_readlist
4246 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
4247 * locale/programs/locfile.h: Likewise.
4248 * locale/programs/locfile-kw.gperf: Add entry for script.
4249 * locale/programs/locfile-token.h: Add tok_script.
4251 * locale/programs/locale.c: Update copyright year.
4252 * locale/programs/localedef.c: Likewise.
4254 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
4256 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
4257 Jens Moeller <jens.moeller@waii.com>.
4259 2000-06-24 Ulrich Drepper <drepper@redhat.com>
4261 * locale/programs/ld-name.c (name_finish): Add missing format
4262 specifier to test for name_fmt.
4264 * locale/programs/ld-address.c (iso639): Correct length of string
4266 (iso3166): Likewise.
4268 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
4270 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
4273 * elf/elf.h (NT_PRFPXREG): Define.
4275 2000-06-23 Ulrich Drepper <drepper@redhat.com>
4277 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
4278 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
4280 2000-06-23 Andreas Schwab <schwab@suse.de>
4282 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
4285 2000-06-23 Andreas Jaeger <aj@suse.de>
4287 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
4289 * io/test-stat.c: Add copyright header, mention Maciej.
4291 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
4292 SYS_mincore, SYS_madvise): Added.
4294 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
4297 2000-06-22 Ulrich Drepper <drepper@redhat.com>
4299 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
4300 (CFLAGS-tst_putwc.c): New definition.
4301 * libio/tst_getwc.c: New file.
4302 * libio/tst_getwc.input: New file.
4303 * libio/tst_putwc.c: New file.
4305 * include/string.h: Add prototype for __strdup.
4307 2000-06-22 Greg McGary <greg@mcgary.org>
4309 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
4310 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
4313 2000-06-23 Jes Sorensen <jes@linuxcare.com>
4315 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
4317 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4319 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
4321 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4323 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
4324 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
4326 2000-06-22 Ulrich Drepper <drepper@redhat.com>
4328 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
4329 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
4331 * sysdeps/mach/hurd/bits/stat.h: Likewise.
4332 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4333 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
4334 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4335 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
4336 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
4337 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4338 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4339 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4340 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4341 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
4342 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
4343 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
4344 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
4347 2000-06-22 Andreas Jaeger <aj@suse.de>
4349 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
4352 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
4354 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
4356 2000-06-21 Ulrich Drepper <drepper@redhat.com>
4358 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
4361 2000-06-21 Greg McGary <greg@mcgary.org>
4363 * Makerules (elide-routines.*, elide-bp-thunks):
4364 Define unconditionally.
4366 2000-06-21 Jes Sorensen <jes@linuxcare.com>
4368 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
4370 2000-06-21 Andreas Jaeger <aj@suse.de>
4372 * io/Makefile (tests): Add test-stat.
4373 (CFLAGS-test-stat.c): New.
4375 * io/test-stat.c: New file from Maciej W. Rozycki
4376 <macro@ds2.pg.gda.pl>.
4378 2000-06-21 Jes Sorensen <jes@linuxcare.com>
4380 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
4381 in __rlimit_resource to make them match the kernel order.
4382 rlim_t is always 64 bit, use __rlim64_t to declare it
4385 2000-05-04 Jes Sorensen <jes@linuxcare.com>
4387 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
4388 RLIM_INFINITY before defining it to avoid clash with kernel header
4390 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4392 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
4394 2000-06-21 Ulrich Drepper <drepper@redhat.com>
4396 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
4398 2000-06-21 Andreas Jaeger <aj@suse.de>
4400 * stdio-common/temptest.c: Include <stdlib.h>.
4401 * stdio-common/tst-fileno.c: Likewise.
4402 * stdio-common/scanf4.c: Likewise.
4403 * stdio-common/scanf5.c: Likewise.
4404 * time/clocktest.c: Likewise.
4405 * posix/test-vfork.c: Likewise.
4406 * posix/globtest.c: Likewise.
4407 * io/test-utime.c: Likewise.
4408 * wctype/test_wcfuncs.c: Likewise.
4409 * crypt/cert.c: Likewise.
4411 * stdio-common/tst-printfsz.c: Include <string.h>.
4412 * libio/tst_swscanf.c: Likewise.
4413 * libio/tst_wscanf.c: Likewise.
4414 * posix/runtests.c: Likewise.
4415 * posix/tst-getaddrinfo.c: Likewise.
4416 * posix/wordexp-test.c: Likewise.
4417 * misc/tst-efgcvt.c: Likewise.
4419 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
4420 * nss/test-netdb.c: Likewise.
4422 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
4423 supported kernel for MIPS.
4425 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
4426 * rt/aio_suspend.c: Likewise.
4428 2000-06-20 Ulrich Drepper <drepper@redhat.com>
4430 * math/libm-test.inc: Include <string.h>.
4432 2000-06-20 Jes Sorensen <jes@linuxcare.com>
4434 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
4436 2000-06-20 Jes Sorensen <jes@linuxcare.com>
4438 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
4439 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
4441 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
4443 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
4445 2000-06-20 Jes Sorensen <jes@linuxcare.com>
4447 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
4449 2000-06-20 Ulrich Drepper <drepper@redhat.com>
4451 * locale/programs/ld-collate.c (insert_value): Now take string and
4452 length instead of struct token* parameter. Adjust use of token.
4453 (handle_ellipsis): Likewise.
4454 (collate_read): Allow <Uxxxx> names and transform them into names
4455 to be passed to insert_value and handle_ellipsis.
4457 * locale/programs/ld-ctype.c (uninames): New array with names of
4458 digits in <Uxxxxxxxx> format.
4459 (ctype_finish): Correct search for space character value. Likewise
4460 for default outdigits values.
4462 2000-06-20 Greg McGary <greg@mcgary.org>
4464 * Makerules (objects): Add BP thunks.
4466 2000-06-20 Ulrich Drepper <drepper@redhat.com>
4468 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
4469 in width definitions.
4471 2000-06-20 Andreas Jaeger <aj@suse.de>
4473 * sysdeps/mips/fpu/libm-test-ulps: New file.
4475 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
4478 * sysdeps/mips/fpu/feholdexcpt.c: New file.
4480 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
4482 2000-06-19 Ulrich Drepper <drepper@redhat.com>
4484 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
4485 change in gconv_builtin.h.
4487 * malloc/Makefile: Change all references to memprof into memusage.
4488 * malloc/memprof.c: Rename to...
4489 * malloc/memusage.c: ...this. New file.
4490 * malloc/memprof.sh: Rename to...
4491 * malloc/memusage.sh: ...this. New file.
4492 * malloc/memprofstat.c: Rename to...
4493 * malloc/memusagestat.c: ...this. New file.
4494 * sysdeps/alpha/memprof.h: Rename to..
4495 * sysdeps/alpha/memusage.h: ...this. New file.
4496 * sysdeps/arm/memprof.h: Rename to..
4497 * sysdeps/arm/memusage.h: ...this. New file.
4498 * sysdeps/generic/memprof.h: Rename to..
4499 * sysdeps/generic/memusage.h: ...this. New file.
4500 * sysdeps/i386/memprof.h: Rename to..
4501 * sysdeps/i386/memusage.h: ...this. New file.
4502 * sysdeps/ia64/memprof.h: Rename to..
4503 * sysdeps/ia64/memusage.h: ...this. New file.
4504 * sysdeps/m68k/memprof.h: Rename to..
4505 * sysdeps/m68k/memusage.h: ...this. New file.
4506 * sysdeps/mips/memprof.h: Rename to..
4507 * sysdeps/mips/memusage.h: ...this. New file.
4508 * sysdeps/powerpc/memprof.h: Rename to..
4509 * sysdeps/powerpc/memusage.h: ...this. New file.
4510 * sysdeps/sparc/memprof.h: Rename to..
4511 * sysdeps/sparc/memusage.h: ...this. New file.
4512 * sysdeps/sh/memprof.h: Rename to..
4513 * sysdeps/sh/memusage.h: ...this. New file.
4515 * elf/sprof.c (print_version): Update year.
4517 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
4518 table entry values. Use D_PTR.
4519 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
4520 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
4522 2000-06-20 Jes Sorensen <jes@linuxcare.com>
4524 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
4525 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
4526 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
4527 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
4529 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4531 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
4533 2000-06-16 Jes Sorensen <jes@linuxcare.com>
4535 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
4536 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
4537 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
4539 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
4541 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
4544 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
4545 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
4547 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
4550 2000-06-15 Jes Sorensen <jes@linuxcare.com>
4552 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
4554 2000-06-08 Jes Sorensen <jes@linuxcare.com>
4556 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
4558 2000-06-19 Ulrich Drepper <drepper@redhat.com>
4560 * iconv/gconv_int.h (strict gconv_module): Remove all members
4561 associated with regular expressions. Use a simple string as the
4563 * iconv/gconv_db.c: Remove code handling regular expressions.
4564 * iconv/gconv_conf.c: Likewise.
4565 * iconv/iconv_prog.c: Likewise.
4566 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
4568 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
4569 General namespace cleanup.
4570 (struct __gconv_trans_data): Add next field.
4571 (struct __gconv_step_data): Make __trans a pointer.
4572 * iconv/gconv_conf.c: Split out code to find gconv directories from
4573 __gconv_read_conf in new functions.
4574 * iconv/gconv_int.h: Define new data structure and declare new
4575 functions for handling of gconv directory list.
4576 * iconv/gconv_open.c: Allow more than one error handling step being
4577 used. Call function to load error handling module if it is none
4578 of the builtin transformations.
4579 * iconv/gconv_close.c: Add code to free transliteration data.
4580 * iconv/gconv_trans.c: Add functions to load and unload modules
4581 implementing transliteration etc.
4582 * iconv/skeleton.c: Call all context functions now that more than
4583 one module is allowed.
4584 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
4585 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
4586 where the full error handling using transliteration is needed.
4587 * iconvdata/8bit-gap.c: Likewise.
4588 * iconvdata/8bit-generic.c: Likewise.
4589 * iconvdata/ansi_x3.110.c: Likewise.
4590 * iconvdata/big5.c: Likewise.
4591 * iconvdata/big5hkscs.c: Likewise.
4592 * iconvdata/euc-cn.c: Likewise.
4593 * iconvdata/euc-jp.c: Likewise.
4594 * iconvdata/euc-kr.c: Likewise.
4595 * iconvdata/euc-tw.c: Likewise.
4596 * iconvdata/gbgbk.c: Likewise.
4597 * iconvdata/gbk.c: Likewise.
4598 * iconvdata/iso-2022-cn.c: Likewise.
4599 * iconvdata/iso-2022-jp.c: Likewise.
4600 * iconvdata/iso-2022-kr.c: Likewise.
4601 * iconvdata/iso646.c: Likewise.
4602 * iconvdata/iso8859-1.c: Likewise.
4603 * iconvdata/iso_6937-2.c: Likewise.
4604 * iconvdata/iso_6937.c: Likewise.
4605 * iconvdata/johab.c: Likewise.
4606 * iconvdata/sjis.c: Likewise.
4607 * iconvdata/t.61.c: Likewise.
4608 * iconvdata/uhc.c: Likewise.
4609 * iconvdata/unicode.c: Likewise.
4610 * iconvdata/utf-16.c: Likewise.
4611 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
4612 structure correctly after last change.
4613 * wcsmbs/btowc.c: Likewise.
4614 * wcsmbs/mbrtowc.c: Likewise.
4615 * wcsmbs/mbsnrtowcs.c: Likewise.
4616 * wcsmbs/mbsrtowcs.c: Likewise.
4617 * wcsmbs/wcrtomb.c: Likewise.
4618 * wcsmbs/wcsnrtombs.c: Likewise.
4619 * wcsmbs/wcsrtombs.c: Likewise.
4620 * wcsmbs/wctob.c: Likewise.
4622 * localedata/Makefile: Set -Wno-format for some files since gcc does
4623 not know all the format specifiers.
4625 2000-06-18 Ulrich Drepper <drepper@redhat.com>
4627 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
4629 * locale/lc-time.c (_nl_init_era_entries): Likewise.
4631 2000-06-18 Andreas Jaeger <aj@suse.de>
4633 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
4634 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4636 2000-06-17 Ulrich Drepper <drepper@redhat.com>
4638 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
4640 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
4642 * locale/programs/ld-ctype.c (ctype_output): Really write out
4643 mboutdigits information.
4644 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
4645 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
4646 * localedata/tests/trans.def: Add outdigit information.
4648 * localedata/tst-mbswcs3.c: Remove comment.
4650 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
4651 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
4652 * libio/tst_wprintf.c (main): Add test for I flag.
4654 * iconv/gconv_trans.c: Implement handling if translit_ignore.
4655 * locale/langinfo.h: Add entries for translit_ignore information.
4656 * locale/categories.def: Add entries for new LC_CTYPE elements.
4657 * locale/C-ctype.c: Add initializers for new fields. Use NULL
4658 pointer instead of "" where possible.
4659 * locale/programs/ld-ctype.c: Write out translit_ignore information.
4660 * intl/Depend: Add localedata.
4661 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
4662 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
4664 2000-06-16 Ulrich Drepper <drepper@redhat.com>
4666 * locale/langinfo.h: Add entries for default_missing information.
4667 * locale/C-ctype.c: Add initializers for new fields.
4668 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
4670 * locale/categories.h: Add entries for all LC_CTYPE values.
4671 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
4674 * localedata/tst-trans.c: Write out an error message if class is
4677 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
4678 * iconv/gconv_open.c: Remove error handling specification from `from'
4680 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
4681 new parameter to always enable transliteration.
4682 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
4684 (struct locale_data): Add new members use_translit and options.
4685 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
4686 character set name contained modifier TRANSLIT.
4687 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
4689 (_nl_unload_locale): Free options string if necessary.
4690 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
4691 the locale names suggested this.
4692 * locale/C-address.c: Add two new initialilzers to adjust data
4693 structure for new format.
4694 * locale/C-collate.c: Likewise.
4695 * locale/C-ctype.c: Likewise.
4696 * locale/C-identification.c: Likewise.
4697 * locale/C-measurement.c: Likewise.
4698 * locale/C-messages.c: Likewise.
4699 * locale/C-monetary.c: Likewise.
4700 * locale/C-name.c: Likewise.
4701 * locale/C-numeric.c: Likewise.
4702 * locale/C-paper.c: Likewise.
4703 * locale/C-telephone.c: Likewise.
4704 * locale/C-time.c: Likewise.
4706 * locale/setlocale.c: Add some more __builtin_expect.
4708 2000-06-15 Ulrich Drepper <drepper@redhat.com>
4710 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
4712 (__gconv_init_fct): Remove two parameters.
4713 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
4714 gconv_transliterate. Remove two parameters.
4715 Change prototypes of builtin functions according to __gconv_fct change.
4716 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
4717 != NULL only during error handling. Stop in this case after the
4719 * iconv/gconv_trans.c: Replace with real implementation for
4720 __gconv_transliterate.
4721 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
4722 * iconv/gconv.c: Change calls to downstream functions once again.
4723 Use NULL for the fifth parameter instead of pointer to output buffer.
4724 * libio/iofwide.c: Likewise.
4725 * wcsmbs/btowc.c: Likewise.
4726 * wcsmbs/mbrtowc.c: Likewise.
4727 * wcsmbs/mbsnrtowcs.c: Likewise.
4728 * wcsmbs/mbsrtowcs.c: Likewise.
4729 * wcsmbs/wcrtomb.c: Likewise.
4730 * wcsmbs/wcsnrtombs.c: Likewise.
4731 * wcsmbs/wcsrtombs.c: Likewise.
4732 * wcsmbs/wctob.c: Likewise.
4733 * iconv/gconv_simple.c: Remove two parameters from error handling
4735 * iconvdata/8bit-gap.c: Likewise.
4736 * iconvdata/8bit-generic.c: Likewise.
4737 * iconvdata/ansi_x3.110.c: Likewise.
4738 * iconvdata/big5.c: Likewise.
4739 * iconvdata/big5hkscs.c: Likewise.
4740 * iconvdata/euc-cn.c: Likewise.
4741 * iconvdata/euc-jp.c: Likewise.
4742 * iconvdata/euc-kr.c: Likewise.
4743 * iconvdata/euc-tw.c: Likewise.
4744 * iconvdata/gbgbk.c: Likewise.
4745 * iconvdata/gbk.c: Likewise.
4746 * iconvdata/iso-2022-cn.c: Likewise.
4747 * iconvdata/iso-2022-jp.c: Likewise.
4748 * iconvdata/iso-2022-kr.c: Likewise.
4749 * iconvdata/iso646.c: Likewise.
4750 * iconvdata/iso8859-1.c: Likewise.
4751 * iconvdata/iso_6937-2.c: Likewise.
4752 * iconvdata/iso_6937.c: Likewise.
4753 * iconvdata/johab.c: Likewise.
4754 * iconvdata/sjis.c: Likewise.
4755 * iconvdata/t.61.c: Likewise.
4756 * iconvdata/uhc.c: Likewise.
4757 * iconvdata/unicode.c: Likewise.
4758 * iconvdata/utf-16.c: Likewise.
4760 2000-06-15 Greg McGary <greg@mcgary.org>
4762 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
4763 of callnum assignment. Tolerate callnum expressions containing
4766 2000-06-14 Ulrich Drepper <drepper@redhat.com>
4768 * login/Makefile (utmpd): Remove rule to build utmpd.
4770 * csu/Versions: Move libgcc frame handling functions from here...
4771 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
4772 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
4773 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
4774 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
4775 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
4776 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
4778 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
4780 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
4782 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
4784 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4786 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
4788 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
4789 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
4790 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
4791 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
4793 2000-06-14 Jakub Jelinek <jakub@redhat.com>
4795 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
4796 defined, terminate quotes and read them after the comment char.
4797 * configure.in (HAVE_SECTION_QUOTES): Test whether
4798 __attribute__((section ("x"))) puts quotes around x or not.
4799 * config.h.in (HAVE_SECTION_QUOTES): Add.
4800 * configure: Rebuilt.
4802 2000-06-14 Andreas Jaeger <aj@suse.de>
4804 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
4805 depending on the configure option --sysconfdir.
4806 Closes PR libc/1762.
4807 Patch by Andreas Schwab <schwab@suse.de>.
4809 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
4811 Reported by Jim Pick <jim@jimpick.com>.
4813 2000-06-14 Ulrich Drepper <drepper@redhat.com>
4815 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
4816 crashing the application. Emit some simple error message.
4817 Reported by mju@panasas.com [PR libc/1769].
4819 2000-06-13 Ulrich Drepper <drepper@redhat.com>
4821 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
4823 * crypt/Makefile (distribute): Add md5.h.
4825 * Makefile (distribute): Add include/shlib-compat.h.
4827 * Make-dist: Search for tests also in sysdeps hierachy.
4829 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
4830 ufc.c, speeds.c, README.ufc-crypt, and Banner.
4832 * sysdeps/sparc/Subdirs: New file.
4834 * locale/Makefile (distribute): Add weightwc.h and
4835 programs/localedef.h.
4837 * time/Makefile (distribute): Add datemsk.
4839 * sysdeps/ia64/Dist: Add softpipe.h.
4841 * sysdeps/unix/sysv/aix/Dist: New file.
4843 * posix/setpgrp.c: Moved to...
4844 * sysdeps/generic/setpgrp.c: ...here. New file.
4845 * io/mknod.c: Moved to...
4846 * sysdeps/generic/mknod.c: ...here. New file.
4848 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
4850 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
4852 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
4854 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
4855 gprsave0.S, gprrest1.S, and gprrest0.S.
4857 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
4859 * posix/Makefile (routines): Add spawnattr_getsigmask,
4860 spawnattr_getschedpolicy, spawnattr_getschedparam,
4861 spawnattr_setsigmask, spawnattr_setschedpolicy, and
4862 spawnattr_setschedparam.
4863 * posix/Versions: Add posix_spawnattr_getschedpolicy,
4864 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
4865 posix_spawnattr_setschedparam.
4867 * posix/spawnattr_setschedparam.c: Fix typo.
4869 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
4872 * login/programs/utmpd.c: Removed.
4873 * login/programs/utmpd.h: Removed.
4874 * login/programs/utmpd-private.h: Removed.
4876 * Makefile (distribute): Add include/db_185.h and include/db.h.
4878 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
4881 * elf/Makefile (distribute): Add missing files.
4883 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
4884 * elf/eval.c: Moved to...
4885 * dlfcn/eval.c: ...here. New file.
4887 * Makefile (distribute): Also distribute ChangeLog.1?.
4889 * Make-dist (+tsrcs): Remove .args handling here as well.
4891 * rt/Makefile (tests): Add tst-timer.
4892 * sysdeps/generic/tst-timer.c: New file.
4894 * Makerules (sources): Don't add BP sources here.
4896 * login/Makefile (distribute): Remove xtmp.h.
4898 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
4899 is true. Reported by Bruno Haible <haible@ilog.fr>.
4901 2000-06-13 Andreas Jaeger <aj@suse.de>
4903 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
4904 Patch by Ralf Baechle <ralf@gnu.org>.
4906 2000-06-13 Ulrich Drepper <drepper@redhat.com>
4908 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
4909 for mincore syscall.
4911 * misc/sys/cdefs.h: Define __bounded and __unbounded if
4912 __BOUNDED_POINTERS__ is not defined.
4914 2000-06-07 Greg McGary <greg@mcgary.org>
4916 * sysdeps/generic/bp-sym.h: New file.
4917 * sysdeps/generic/bp-start.h: New file.
4918 * sysdeps/i386/elf/start.S: Designate BP symbols.
4919 * sysdeps/generic/libc-start.c: Wrap bounds around
4920 argv & envp and each of their string members.
4922 2000-06-07 Greg McGary <greg@mcgary.org>
4924 * sysdeps/unix/make-syscalls.sh: Add comments to
4925 output that aid debugging & comprehension.
4926 Map simple syscall signatures to number of args.
4927 Generate BP syscall thunk definitions.
4928 * sysdeps/generic/bp-thunks.h: New file.
4929 * sysdeps/unix/syscalls.list: Replace arg-count with
4930 simple return+arg signature.
4931 * sysdeps/unix/common/syscalls.list: Likewise.
4932 * sysdeps/unix/inet/syscalls.list: Likewise.
4933 * sysdeps/unix/mman/syscalls.list: Likewise.
4934 * sysdeps/unix/sysv/syscalls.list: Likewise.
4935 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4936 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4938 2000-06-07 Greg McGary <greg@mcgary.org>
4940 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
4941 for all files *.[cS].
4942 (CFLAGS-.ob): Don't optimize sibling calls.
4943 (bppfx): New variable.
4944 * Makerules (elide-bp-thunks): New variable.
4945 (elide-routines.*): Elide BP-* files for all but *.ob.
4946 (sources): Include bp-thunks.
4948 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4950 * iconv/gconv_simple.c: Remove unnecessary prototype.
4952 * iconv/gconv_trans.c: Pretty print.
4954 * elf/elf.h (R_SH_NUM): Got accidently dropped.
4956 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
4957 minimal kernel versions. Add information about IA-64 kernel.
4959 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
4960 specific minimal supported kernel versions to be specified.
4962 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
4963 step data structure.
4964 * wcsmbs/btowc.c: Likewise.
4965 * wcsmbs/mbrtowc.c: Likewise.
4966 * wcsmbs/mbsnrtowcs.c: Likewise.
4967 * wcsmbs/mbsrtowcs.c: Likewise.
4968 * wcsmbs/wcrtomb.c: Likewise.
4969 * wcsmbs/wcsnrtombs.c: Likewise.
4970 * wcsmbs/wcsrtombs.c: Likewise.
4971 * wcsmbs/wctob.c: Likewise.
4973 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
4974 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
4976 * shlib-versions: Earliest backward compatible version for SH is 2.2.
4978 * misc/sys/cdefs.h: Remove one more __P.
4980 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
4983 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
4984 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
4985 * sysdeps/sh/bits/setjmp.h: ...here. New file.
4987 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4988 Yutaka Niibe <gniibe@chroot.org>
4990 * configure.in: Add machine sh3, sh4.
4991 * elf/elf.h: Add SH specific declarations of relocations.
4992 * shlib-versions: Add sh*-*-linux* cases.
4994 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4996 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
4997 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
4998 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
4999 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
5000 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
5001 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
5003 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
5004 instead of KERNEL_MATH_EMULATION.
5005 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
5006 KERNEL_MATH_EMULATION.
5008 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
5009 * sysdeps/sh/sh3/dl-machine.h: Moved to...
5010 * sysdeps/sh/dl-machine.h: ...here. New file.
5011 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
5012 and include generic SH version.
5013 * sysdeps/sh/sh3/bits/endian.h: Move to...
5014 * sysdeps/sh/bits/endian.h: ...here. New file.
5015 * sysdeps/sh/sh4/bits/endian.h: Removed.
5016 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
5017 * sysdeps/sh/bits/huge_val.h: ...here. New file.
5018 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
5020 * include/libc-symbols.h (link_warning): Work around a change in
5021 GAS which warns about changing section attributes.
5022 Proposed by Nick Clifton <nickc@redhat.com>.
5024 2000-06-12 H.J. Lu <hjl@gnu.org>
5026 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
5028 2000-06-11 H.J. Lu <hjl@gnu.org>
5030 * sysdeps/i386/fpu/Versions: New file.
5032 2000-06-12 Ulrich Drepper <drepper@redhat.com>
5034 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
5036 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
5039 2000-06-12 Jes Sorensen <jes@linuxcare.com>
5041 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
5042 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
5043 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
5045 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
5046 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
5047 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
5049 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5050 Yutaka Niibe <gniibe@chroot.org>
5052 * sysdeps/sh/Dist: New file.
5053 * sysdeps/sh/Implies: New file.
5054 * sysdeps/sh/elf/initfini.c: New file.
5055 * sysdeps/sh/gmp-mparam.h: New file.
5056 * sysdeps/sh/init-first.c: New file.
5057 * sysdeps/sh/machine-gmon.h: New file.
5058 * sysdeps/sh/memcpy.S: New file.
5059 * sysdeps/sh/memprof.h: New file.
5060 * sysdeps/sh/memset.S: New file.
5061 * sysdeps/sh/sh3/__longjmp.S: New file.
5062 * sysdeps/sh/sh3/bits/endian.h: New file.
5063 * sysdeps/sh/sh3/bits/huge_val.h: New file.
5064 * sysdeps/sh/sh3/bits/setjmp.h: New file.
5065 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
5066 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
5067 * sysdeps/sh/sh3/dl-machine.h: New file.
5068 * sysdeps/sh/sh3/setjmp.S: New file.
5069 * sysdeps/sh/sh4/__longjmp.S: New file.
5070 * sysdeps/sh/sh4/bits/endian.h: New file.
5071 * sysdeps/sh/sh4/bits/huge_val.h: New file.
5072 * sysdeps/sh/sh4/bits/setjmp.h: New file.
5073 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
5074 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
5075 * sysdeps/sh/sh4/dl-machine.h: New file.
5076 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
5077 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
5078 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
5079 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
5080 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
5081 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
5082 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
5083 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
5084 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
5085 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
5086 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
5087 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
5088 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
5089 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
5090 * sysdeps/sh/sh4/setjmp.S: New file.
5091 * sysdeps/sh/elf/start.S: New file.
5092 * sysdeps/sh/sys/ucontext.h: New file.
5093 * sysdeps/sh/strlen.S: New file.
5094 * sysdeps/sh/sysdep.h: New file.
5095 * sysdeps/unix/sh/sysdep.S: New file.
5096 * sysdeps/unix/sh/sysdep.h: New file.
5097 * sysdeps/unix/sysv/linux/sh/Dist: New file.
5098 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
5099 * sysdeps/unix/sysv/linux/sh/Versions: New file.
5100 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
5101 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
5102 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
5103 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
5104 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
5105 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
5106 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
5107 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
5108 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
5109 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
5110 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
5111 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
5112 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
5113 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
5114 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
5115 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
5116 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
5117 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
5118 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
5119 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
5120 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
5121 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
5122 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
5123 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
5124 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
5125 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
5126 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
5127 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
5128 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
5129 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
5130 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
5131 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
5132 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
5133 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
5134 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
5135 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
5136 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
5137 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
5138 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
5139 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
5140 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5141 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
5142 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
5143 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
5144 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
5145 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
5146 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
5148 2000-06-12 Ulrich Drepper <drepper@redhat.com>
5150 * Rules (%.out): Define GCONV_PATH in the environment.
5151 * assert/Depend: New file.
5152 * iconvdata/Depend: New file.
5153 * intl/Depend: New file.
5154 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
5155 * intl/tst-gettext.sh: Likewise.
5156 * iconv/Makefile (routines): Add gconv_trans.
5157 * iconv/gconv_trans.c: New file.
5158 * iconv/gconv.h (struct __gconv_trans_data): New type.
5159 (__gconv_fct): New parameter with starting position in output buffer.
5160 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
5161 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
5162 (struct __gconv_step): Add new member __trans.
5163 * iconv/gconv_int.h: Pretty print prototypes.
5164 (gconv_transliterate): New prototype.
5165 (__BUILTIN_TRANS): Update for new conversion function interface.
5166 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
5167 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
5168 in names, find appropriate function, and install in the conversion
5169 steps it can be used.
5170 * iconv/skeleton.c: Add additional parameter for beginning of output
5171 buffer. Change calls of downstream functions.
5172 * iconv/loop.c: Change loop function interface completely. Pass in
5173 step and step_data structure. Remove optimization for BODY with
5174 NEED_LENGTH_TEST == 0.
5175 * iconv/gconv_simple.c: Update interfaces of functions. Insert
5176 appropriate error handling code to use transliteration steps. Remove
5177 optimization for BODY with NEED_LENGTH_TEST == 0.
5178 * iconvdata/8bit-gap.c: Likewise.
5179 * iconvdata/8bit-generic.c: Likewise.
5180 * iconvdata/ansi_x3.110.c: Likewise.
5181 * iconvdata/big5.c: Likewise.
5182 * iconvdata/big5hkscs.c: Likewise.
5183 * iconvdata/euc-cn.c: Likewise.
5184 * iconvdata/euc-jp.c: Likewise.
5185 * iconvdata/euc-kr.c: Likewise.
5186 * iconvdata/euc-tw.c: Likewise.
5187 * iconvdata/gbgbk.c: Likewise.
5188 * iconvdata/gbk.c: Likewise.
5189 * iconvdata/iso-2022-cn.c: Likewise.
5190 * iconvdata/iso-2022-jp.c: Likewise.
5191 * iconvdata/iso-2022-kr.c: Likewise.
5192 * iconvdata/iso646.c: Likewise.
5193 * iconvdata/iso8859-1.c: Likewise.
5194 * iconvdata/iso_6937-2.c: Likewise.
5195 * iconvdata/iso_6937.c: Likewise.
5196 * iconvdata/johab.c: Likewise.
5197 * iconvdata/sjis.c: Likewise.
5198 * iconvdata/t.61.c: Likewise.
5199 * iconvdata/uhc.c: Likewise.
5200 * iconvdata/unicode.c: Likewise.
5201 * iconvdata/utf-16.c: Likewise.
5202 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
5204 * wcsmbs/btowc.c: Likewise.
5205 * wcsmbs/mbrtowc.c: Likewise.
5206 * wcsmbs/mbsnrtowcs.c: Likewise.
5207 * wcsmbs/mbsrtowcs.c: Likewise.
5208 * wcsmbs/wcrtomb.c: Likewise.
5209 * wcsmbs/wcsnrtombs.c: Likewise.
5210 * wcsmbs/wcsrtombs.c: Likewise.
5211 * wcsmbs/wctob.c: Likewise.
5213 2000-04-11 Geoff Keating <geoffk@cygnus.com>
5215 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
5216 other header files. Mention about 128-byte cache line sizes.
5217 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
5218 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
5219 for current calling sequence.
5220 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
5222 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
5223 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5225 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
5226 and setrlimit syscalls for backwards compatibility.
5228 2000-06-10 Ulrich Drepper <drepper@redhat.com>
5230 * iconv/skeleton.c: Rename converted written to correcter name
5232 * iconv/gconv.c: Rename converted variable to correcter name
5234 * iconv/gconv_int.h: Likewise.
5235 * iconv/gconv_simple.c: Likewise.
5236 * iconv/iconv.c: Likewise.
5237 * iconv/loop.c: Likewise.
5238 * iconvdata/8bit-gap.c: Likewise.
5239 * iconvdata/8bit-generic.c: Likewise.
5240 * iconvdata/ansi_x3.110.c: Likewise.
5241 * iconvdata/big5.c: Likewise.
5242 * iconvdata/big5hkscs.c: Likewise.
5243 * iconvdata/euc-cn.c: Likewise.
5244 * iconvdata/euc-jp.c: Likewise.
5245 * iconvdata/euc-kr.c: Likewise.
5246 * iconvdata/gbgbk.c: Likewise.
5247 * iconvdata/gbk.c: Likewise.
5248 * iconvdata/iso-2022-cn.c: Likewise.
5249 * iconvdata/iso-2022-jp.c: Likewise.
5250 * iconvdata/iso-2022-kr.c: Likewise.
5251 * iconvdata/iso646.c: Likewise.
5252 * iconvdata/iso8859-1.c: Likewise.
5253 * iconvdata/iso_6937-2.c: Likewise.
5254 * iconvdata/iso_6937.c: Likewise.
5255 * iconvdata/johab.c: Likewise.
5256 * iconvdata/sjis.c: Likewise.
5257 * iconvdata/t.61.c: Likewise.
5258 * iconvdata/uhc.c: Likewise.
5259 * iconvdata/unicode.c: Likewise.
5260 * iconvdata/utf-16.c: Likewise.
5262 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
5263 __cmsg_data field with __extension__.
5265 2000-06-10 David Mosberger <davidm@hpl.hp.com>
5267 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
5269 2000-06-10 Ulrich Drepper <drepper@redhat.com>
5271 * iconv/gconv_simple.c: Fix various small bugs in several
5274 * iconv/loop.c: Fix comment.
5276 2000-06-10 Jakub Jelinek <jakub@redhat.com>
5278 * elf/link.h: Remove libc internal declarations.
5279 * include/link.h: Move them here.
5281 2000-06-09 Ulrich Drepper <drepper@redhat.com>
5283 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
5284 Patch by Dan Pop <Dan.Pop@cern.ch>.
5286 Rewrite error message handling.
5287 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
5289 * elf/dl-error (struct catch): Add objname member.
5290 (_dl_signal_error): Take new parameter with object name. When
5291 passing message on simply store object name and duplicate error
5293 (_dl_catch_error): Take new parameter. Store object name in the
5295 * include/dlfcn.h: Adjust _dl_catch_error prototype.
5296 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
5297 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
5298 (dlerror): Add objname to asprintf() parameters.
5299 (_dl_error_run): Pass new parameter to _dl_catch_error.
5300 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
5301 * elf/dl-open.c (_dl_open): Likewise.
5302 * elf/rtld.c (dl_main): Likewise.
5303 * elf/dl-close.c: Mark error messages with N_().
5304 * elf/dl-deps.c: Likewise.
5305 * elf/dl-error.c: Likewise.
5306 * elf/dl-load.c: Likewise.
5307 * elf/dl-open.c: Likewise.
5308 * elf/dl-reloc.c: Likewise.
5309 * elf/dl-support.c: Likewise.
5310 * elf/dl-sym.c: Likewise.
5311 * elf/dl-version.c: Likewise.
5312 * elf/dl-lookup.c: Add comments about problems with error message
5314 * elf/dl-reloc.c: Likewise.
5315 * elf/dl-version.c: Likewise.
5317 2000-06-09 H.J. Lu <hjl@gnu.org>
5319 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
5322 * dlfcn/Makefile (distribute): Add failtestmod.c.
5323 (tests): Add failtest.
5324 Add rules to build and run failtest.
5325 * dlfcn/failtest.c: New file.
5326 * dlfcn/failtestmod.c: New file.
5328 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
5330 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
5331 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
5332 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
5333 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
5334 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
5336 2000-06-09 Jes Sorensen <jes@linuxcare.com>
5338 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
5339 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
5341 2000-06-09 Jes Sorensen <jes@linuxcare.com>
5342 Ulrich Drepper <drepper@redhat.com>
5344 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
5345 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
5346 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
5347 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
5348 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
5349 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
5351 2000-06-09 Ulrich Drepper <drepper@redhat.com>
5353 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
5354 to find correct mount point despite wrong information from the
5357 2000-06-09 Jes Sorensen <jes@linuxcare.com>
5359 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
5360 the address of a symbol so function pointers are handled properly.
5362 2000-06-08 Ulrich Drepper <drepper@redhat.com>
5364 * sysdeps/i386/Dist: Add bp-asm.h.
5366 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
5367 defaultdir variable instead of "/var/shm" everywhere.
5368 (defaultdir): Change to /dev/shm/.
5370 2000-06-08 Greg McGary <greg@mcgary.org>
5372 * sysdeps/i386/bp-asm.h: New file.
5373 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
5374 offsets. Add ENTER/LEAVE macros for optionally maintaining
5375 frame-pointer chain when debugging.
5376 * sysdeps/i386/add_n.S: Likewise.
5377 * sysdeps/i386/addmul_1.S: Likewise.
5378 * sysdeps/i386/lshift.S: Likewise.
5379 * sysdeps/i386/memchr.S: Likewise.
5380 * sysdeps/i386/memcmp.S: Likewise.
5381 * sysdeps/i386/mul_1.S: Likewise.
5382 * sysdeps/i386/rawmemchr.S: Likewise.
5383 * sysdeps/i386/rshift.S: Likewise.
5384 * sysdeps/i386/stpcpy.S: Likewise.
5385 * sysdeps/i386/stpncpy.S: Likewise.
5386 * sysdeps/i386/strchr.S: Likewise.
5387 * sysdeps/i386/strchrnul.S: Likewise.
5388 * sysdeps/i386/strcspn.S: Likewise.
5389 * sysdeps/i386/strpbrk.S: Likewise.
5390 * sysdeps/i386/strrchr.S: Likewise.
5391 * sysdeps/i386/strspn.S: Likewise.
5392 * sysdeps/i386/strtok.S: Likewise.
5393 * sysdeps/i386/sub_n.S: Likewise.
5394 * sysdeps/i386/submul_1.S: Likewise.
5395 * sysdeps/i386/elf/setjmp.S: Likewise.
5396 * sysdeps/i386/i486/strcat.S: Likewise.
5397 * sysdeps/i386/i486/strlen.S: Likewise.
5398 * sysdeps/i386/i586/add_n.S: Likewise.
5399 * sysdeps/i386/i586/lshift.S: Likewise.
5400 * sysdeps/i386/i586/memcpy.S: Likewise.
5401 * sysdeps/i386/i586/memset.S: Likewise.
5402 * sysdeps/i386/i586/rshift.S: Likewise.
5403 * sysdeps/i386/i586/strchr.S: Likewise.
5404 * sysdeps/i386/i586/strcpy.S: Likewise.
5405 * sysdeps/i386/i586/strlen.S: Likewise.
5406 * sysdeps/i386/i586/sub_n.S: Likewise.
5407 * sysdeps/i386/i686/add_n.S: Likewise.
5408 * sysdeps/i386/i686/memcpy.S: Likewise.
5409 * sysdeps/i386/i686/mempcpy.S: Likewise.
5410 * sysdeps/i386/i686/memset.S: Likewise.
5411 * sysdeps/i386/i686/strcmp.S: Likewise.
5413 2000-06-08 Ulrich Drepper <drepper@redhat.com>
5415 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
5417 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
5418 256 and don't use OPEN_MAX.
5420 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
5421 use it instead of LINK_MAX.
5422 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
5424 2000-06-08 Andreas Jaeger <aj@suse.de>
5426 * libio/genops.c (_IO_list_lock): Only compile body if we're
5428 (_IO_list_unlock): Likewise.
5429 (_IO_list_resetlock): Likewise.
5431 2000-06-07 Ulrich Drepper <drepper@redhat.com>
5433 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
5434 unless user defined it.
5436 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
5437 if not defined by the user.
5439 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
5440 * libio/iofwrite.c (_IO_fwrite): Likewise.
5442 * time/time.h: Add missing __THROW for clock_getcpuclockid
5445 * elf/Makefile (distribute): Add dl-dtprocnum.h.
5446 * include/elf.h: Include also <dl-dtprocnum.h>.
5447 * elf/dl-deps.c: Likewise.
5448 * elf/dl-lookup.c: Likewise.
5449 * elf/dl-runtime.c: Likewise.
5450 * elf/dl-version.c: Likewise.
5451 * elf/do-rel.h: Likewise.
5452 * elf/dynamic-link.h: Likewise.
5453 * elf/link.h: Likewise.
5454 * elf/rtld.c: Likewise.
5455 * sysdeps/generic/dl-dtprocnum.h: New file.
5456 * sysdeps/ia64/dl-dtprocnum.h: New file.
5457 * sysdeps/mips/dl-dtprocnum.h: New file.
5458 * sysdeps/sparc/dl-dtprocnum.h: New file.
5460 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
5462 * elf/do-lookup.h: Add some __builtin_expect.
5464 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
5466 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
5467 (_dl_dynamic_weak): New variable.
5468 * elf/dl-support.c: Likewise.
5469 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
5470 * elf/do-lookup.h: If we find a weak definition treat it like a
5471 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
5472 case treat it like before.
5474 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
5476 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
5478 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
5479 using l_map_start and l_map_end.
5481 * elf/dl-version.c: Add __builtin_expect in many places.
5483 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
5486 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
5488 Lock for stdio stream list becomes global, for use in LinuxThreads.
5490 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
5491 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
5492 _IO_list_resetlock): New interface for iterating global list of
5493 streams without accessing the _IO_list_all global variable,
5494 and for manipulating the lock which protects this list.
5495 * libio/libioP.h: Likewise.
5496 * libio/Version: Add entries for the new functions.
5498 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
5499 pointer to _IO_FILE.
5501 2000-06-07 Ulrich Drepper <drepper@redhat.com>
5503 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
5504 BIT() must actually be BITw().
5506 * locale/programs/ld-ctype.c: Handle SP and space consistently.
5508 * locale/programs/charmap.c: Allow string arguments for
5509 code_set_name and repertoiremap.
5511 2000-06-07 Andreas Jaeger <aj@suse.de>
5513 * elf/Makefile: Build ldconfig only when building shared libraries.
5515 2000-06-07 Jakub Jelinek <jakub@redhat.com>
5517 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
5519 (fdimf, __fdim, fdim): Likewise.
5521 2000-06-07 Ulrich Drepper <drepper@redhat.com>
5523 * locale/findlocale.c: Add __builtin_expect in many places.
5524 * locale/loadlocale.c: Likewise.
5526 2000-06-06 Greg McGary <greg@mcgary.org>
5528 * sysdeps/mips/elf/start.S: Trim redundant code.
5530 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
5531 Use C comments throughout. Line up operands column with tabs.
5532 * sysdeps/powerpc/strchr.S: Likewise.
5533 * sysdeps/powerpc/strcmp.S: Likewise.
5534 * sysdeps/powerpc/strcpy.S: Likewise.
5535 * sysdeps/powerpc/strlen.S: Likewise.
5537 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
5538 Get low part of &__curbrk with @l.
5540 2000-06-06 Ulrich Drepper <drepper@redhat.com>
5542 * iconvdata/utf-16.c: Add __builtin_expect in many places.
5543 * iconvdata/unicode.c: Likewise.
5544 * iconvdata/uhc.c: Likewise.
5545 * iconvdata/t.61.c: Likewise.
5546 * iconvdata/sjis.c: Likewise.
5547 * iconvdata/johab.c: Likewise.
5548 * iconvdata/iso_6937.c: Likewise.
5549 * iconvdata/iso_6937-2.c: Likewise.
5550 * iconvdata/iso8859-1.c: Likewise.
5551 * iconvdata/iso646.c: Likewise.
5552 * iconvdata/iso-2022-kr.c: Likewise.
5553 * iconvdata/iso-2022-jp.c: Likewise.
5554 * iconvdata/iso-2022-cn.c: Likewise.
5555 * iconvdata/gbgbk.c: Likewise.
5556 * iconvdata/gbk.c: Likewise.
5557 * iconvdata/euc-kr.c: Likewise.
5558 * iconvdata/euc-jp.c: Likewise.
5559 * iconvdata/euc-cn.c: Likewise.
5561 2000-06-05 Ulrich Drepper <drepper@redhat.com>
5563 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
5564 * iconvdata/big5.c: Likewise.
5565 * iconvdata/ansi_x3.110.c: Likewise.
5566 * iconvdata/8bit-generic.c: Likewise.
5567 * iconvdata/8bit-gap.c: Likewise.
5568 * iconv/loop.c: Likewise.
5569 * iconv/gconv_db.c: Likewise.
5570 * iconv/gconv_dl.c: Likewise.
5571 * iconv/gconv_simple.c: Likewise.
5572 * iconv/skeleton.c: Likewise.
5574 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
5575 (struct __gconv_step_data): Rename __is_last to __flags.
5576 * iconv/gconv_close.c: Change all uses of __is_last.
5577 * iconv/skeleton.c: Likewise.
5578 * iconvdata/iso-2022-cn.c: Likewise.
5579 * iconvdata/iso-2022-jp.c: Likewise.
5580 * iconvdata/iso-2022-kr.c: Likewise.
5581 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
5582 Recognize IGNORE error handling, set flag, and remove from name.
5583 * iconv/loop.c (ignore_errors_p): Define.
5584 Add flags parameter to both functions.
5585 * iconv/skeleton.c: Pass flags to all conversion functions.
5586 * iconv/gconv_simple.c: Add flags parameter to all functions.
5587 Don't return error for invald error if ignore flag is set.
5588 (ucs4_internal_loop_single): Add missing pointer increment.
5589 (internal_ucs4le_loop_single): Likewise.
5590 * iconv/iconv_prog.c: Implement handling of -c parameter.
5591 * iconvdata/8bit-gap.c: Don't return error for invald error if
5593 * iconvdata/8bit-generic.c: Likewise.
5594 * iconvdata/ansi_x3.110.c: Likewise.
5595 * iconvdata/big5.c: Likewise.
5596 * iconvdata/big5hkscs.c: Likewise.
5597 * iconvdata/euc-cn.c: Likewise.
5598 * iconvdata/euc-jp.c: Likewise.
5599 * iconvdata/euc-kr.c: Likewise.
5600 * iconvdata/gbgbk.c: Likewise.
5601 * iconvdata/gbk.c: Likewise.
5602 * iconvdata/iso-2022-cn.c: Likewise.
5603 * iconvdata/iso-2022-jp.c: Likewise.
5604 * iconvdata/iso-2022-kr.c: Likewise.
5605 * iconvdata/iso646.c: Likewise.
5606 * iconvdata/iso8859-1.c: Likewise.
5607 * iconvdata/iso_6937-2.c: Likewise.
5608 * iconvdata/iso_6937.c: Likewise.
5609 * iconvdata/johab.c: Likewise.
5610 * iconvdata/sjis.c: Likewise.
5611 * iconvdata/t.61.c: Likewise.
5612 * iconvdata/uhc.c: Likewise.
5613 * iconvdata/unicode.c: Likewise.
5614 * iconvdata/utf-16.c: Likewise.
5615 * libio/fileops.c: Likewise.
5616 * libio/iofwide.c: Likewise.
5617 * wcsmbs/btowc.c: Likewise.
5618 * wcsmbs/mbrtowc.c: Likewise.
5619 * wcsmbs/mbsnrtowcs.c: Likewise.
5620 * wcsmbs/mbsrtowcs.c: Likewise.
5621 * wcsmbs/wcrtomb.c: Likewise.
5622 * wcsmbs/wcsnrtombs.c: Likewise.
5623 * wcsmbs/wcsrtombs.c: Likewise.
5624 * wcsmbs/wctob.c: Likewise.
5626 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
5629 2000-06-04 Ulrich Drepper <drepper@redhat.com>
5631 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
5632 counter for the object we are releasing, just decrement it.
5633 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
5635 2000-06-04 Jakub Jelinek <jakub@redhat.com>
5637 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
5640 2000-06-04 Ulrich Drepper <drepper@redhat.com>
5642 * iconvdata/big5hkscs.c: New file.
5643 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
5645 * iconvdata/gconv-modules: Add entry for new module.
5646 * iconvdata/Makefile (modules): Add BIG5HKSCS.
5647 (distribute): Add big5hkscs.c.
5649 2000-06-01 Jakub Jelinek <jakub@redhat.com>
5651 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
5652 inlines to match prototypes in mathcalls.h.
5653 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
5654 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
5655 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
5656 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5658 2000-06-03 Ulrich Drepper <drepper@redhat.com>
5660 * elf/elf.h (SHT_SUNW_move): Define.
5662 * elf/elf.h: Add more Solaris compatiblity definitions.
5664 2000-06-03 Andreas Jaeger <aj@suse.de>
5666 * sysdeps/powerpc/dl-start.S: Close open comment.
5668 2000-06-03 Jakub Jelinek <jakub@redhat.com>
5670 * inet/Versions: Fix typo in rresvport_af export.
5672 2000-06-02 Ulrich Drepper <drepper@redhat.com>
5674 * math/tgmath.h: Pretty print.
5676 2000-06-02 Andreas Jaeger <aj@suse.de>
5678 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
5679 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5681 2000-06-02 Ulrich Drepper <drepper@redhat.com>
5683 * elf/rtld.c (process_envvars): Test for = after variable name.
5685 2000-06-01 Ulrich Drepper <drepper@redhat.com>
5687 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
5688 have extra call to __gmon_start__, use the pointer we already have.
5690 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
5693 * sysdeps/i386/elf/setjmp.S: Work around change is recent
5694 binutils. gas now emits a jump through the PLT instead of a
5695 relative jump if the jump target is an exported symbol.
5697 2000-05-31 Ulrich Drepper <drepper@redhat.com>
5699 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
5701 2000-05-31 Andreas Jaeger <aj@suse.de>
5703 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
5706 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
5707 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5709 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
5711 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5713 2000-05-30 Ulrich Drepper <drepper@redhat.com>
5715 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
5717 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
5718 * locale/localeconv.c: Make function versioned (with same definition).
5720 * elf/Makefile (modules-names): Strip before using it.
5722 2000-05-30 Andreas Jaeger <aj@suse.de>
5724 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
5725 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
5726 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
5727 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
5728 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
5729 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
5731 2000-05-29 Ulrich Drepper <drepper@redhat.com>
5733 * Makefile: Add GNU make magic.
5735 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
5737 * inet/rcmd.c: Remove __P. Remove unused variables.
5738 (iruserfopen): Make first parameter const.
5739 (ruserok_sa): Return result of ruserok2_sa.
5740 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
5741 * inet/rexec.c: Remove unused variables. Other small cleanups.
5742 * inet/ruserpass.c: Remove __P. Remove unused variables.
5743 (ruserpass): Check results of memory allocation.
5744 * include/netdb.h: Add prototype for ruserpass.
5746 2000-05-29 Andreas Jaeger <aj@suse.de>
5748 * elf/readlib.c (interpreters): Use LD_SO since this is supported
5751 2000-05-29 Jakub Jelinek <jakub@redhat.com>
5753 * inet/rcmd.c (rresvport_af): Use correct port number.
5755 2000-05-26 Andreas Schwab <schwab@suse.de>
5757 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
5758 entries in all-sonames.
5759 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
5760 preserving the old name if different for compatibility.
5762 2000-05-29 Ulrich Drepper <drepper@redhat.com>
5764 * posix/Makefile (tests): Add tst-spawn.
5765 (tst-spawn-ARGS): New variable.
5766 * posix/tst-spawn.c: New file.
5768 * posix/spawn_faction_addclose.c: Correctly account for new entry.
5769 * posix/spawn_faction_adddup2.c: Likewise.
5770 * posix/spawn_faction_addopen.c: Likewise.
5771 * posix/spawni.c: Correctly test for success of dup2 calls.
5773 * posix/tst-preadwrite.c: Check success of malloc call.
5775 2000-05-28 Ulrich Drepper <drepper@redhat.com>
5777 * posix/Makefile (tests): Add tst-exec.
5778 (tst-exec-ARGS): New variable.
5779 * posix/tst-exec.c: New file.
5781 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
5783 2000-05-04 Andreas Jaeger <aj@suse.de>
5785 * string/string.h: Remove __strdup prototype, it's not needed in
5788 2000-05-28 Ulrich Drepper <drepper@redhat.com>
5790 * posix/Makefile (tests): Add tst-fork.
5791 * posix/tst-fork.c: New file.
5793 * resolv/inet_pton.c: Loose __P.
5795 2000-05-21 Jakub Jelinek <jakub@redhat.com>
5797 * libio/libioP.h (_IO_CHECK_WIDE): Define.
5798 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
5799 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5800 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
5801 _IO_CHECK_WIDE fails.
5803 2000-05-28 Ulrich Drepper <drepper@redhat.com>
5805 * po/da.po: New file.
5807 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
5808 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
5810 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
5811 (Other iconv Implementations): Fix typo.
5812 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
5814 2000-05-27 Andreas Jaeger <aj@suse.de>
5816 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
5818 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
5819 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
5820 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5821 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5822 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
5823 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
5825 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
5826 endianness to decide how to pass arguments.
5827 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5829 * elf/vismain.c: Use test-skeleton interface.
5830 (TEST_FUNCTION): New macro.
5831 (do_test): Renamed from main.
5833 2000-05-27 Ulrich Drepper <drepper@redhat.com>
5835 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
5836 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
5838 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
5839 handling of AI_V4MAPPED flag.
5841 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
5842 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
5843 perform lookup for T_A type and tell getanswer_r to convert the
5844 result with new argument.
5845 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
5846 Don't convert addresses from IPv4 to IPv6 here.
5847 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
5848 IPv6 is wanted. Allow qtype and type from reply to disagree if
5849 IPv4 mapping has to be done. Perform mappings if required by the
5850 caller and not if RES_USE_INET6 bit in _res.options is set.
5851 Add several __builtin_expect.
5853 2000-05-26 Ulrich Drepper <drepper@redhat.com>
5855 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
5857 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
5860 * posix/tst-preadwrite.c: Allow parallel execution of
5861 tst-preadwrite and tst-preadwrite64.
5863 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
5864 * posix/tst-truncate.c: New file.
5865 * posix/tst-truncate64.c: New file.
5867 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
5870 * posix/Makefile (tests): Add tst-preadwrite64.
5871 * posix/tst-preadwrite.c: Alloc file being used also for testing
5872 pread64 and pwrite64.
5873 * posix/tst-preadwrite64.c: New file.
5875 2000-05-26 Andreas Jaeger <aj@suse.de>
5877 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
5878 of arguments dependend on endianness.
5879 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5881 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
5883 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5884 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5885 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5886 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5888 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
5889 endianness to check how to pass argument.
5890 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5892 * elf/ldconfig.h: Update parameter list for process_elf_file.
5894 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
5895 Add parameter file_length and pass it ot process_elf*file.
5897 * sysdeps/generic/readelflib.c (check_ptr): New.
5898 (process_elf_file): Use check_ptr to check all accesses to the
5899 mmapped file. Add parameter file_length.
5901 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
5904 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
5905 Closes PR libc/1573, reported by Bradley White
5906 <bww@laurelnetworks.com>.
5908 2000-05-25 Ulrich Drepper <drepper@redhat.com>
5910 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
5911 __FAST_MATH__ is defined.
5913 2000-05-22 Andreas Jaeger <aj@suse.de>
5915 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
5916 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
5918 * manual/math.texi (FP Function Optimizations): Document gcc
5919 -ffast-math behaviour with mathinlines.
5921 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
5922 functions unless -ffast-math is given to gcc.
5924 2000-05-23 Jakub Jelinek <jakub@redhat.com>
5926 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
5927 __sincosl): Guard with __USE_GNU.
5929 2000-05-24 Ulrich Drepper <drepper@redhat.com>
5931 * csu/Makefile (routines): Add check_fds.
5932 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
5933 binaries. Add various __builtin_expect.
5934 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
5935 * sysdeps/generic/check_fds.c: ...here. New file.
5937 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
5938 binaries if file /etc/suid-debug is available.
5940 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
5941 and wcseqorder members.
5942 (struct locale_collate_t): Likewise.
5943 (collate_finish): Assign collation sequence value to each character.
5944 Create tables for output.
5945 (collate_output): Write out tables with collation sequence information.
5946 * locale/C-collate.c: Provide C locale data for collation sequence
5948 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
5949 _NL_COLLATE_COLLSEQWC.
5950 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
5951 _NL_COLLATE_COLLSEQWC.
5952 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
5953 include fnmatch_loop.c.
5954 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
5955 character is matched by range expression. Use collation sequence
5956 table. Outside glibc fall back on simple character value comparison.
5958 2000-05-24 Andreas Jaeger <aj@suse.de>
5960 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
5963 * intl/Makefile: Run gettext-test only if msgfmt is available.
5965 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
5966 Define it for newer kernels.
5968 2000-05-23 Ulrich Drepper <drepper@redhat.com>
5970 * elf/dl-sym.c: Minor cleanups.
5972 * configure.in: Add test for .protected.
5973 * config.make.in: Add have-protected variable.
5974 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
5975 (tests-vis-yes): Add vismain.
5976 (modules-names): Add $(modules-vis-$(have-protected)).
5977 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
5978 Add rules to generate and run vismain.
5979 * elf/vismain.c: New file.
5980 * elf/vismod1.c: New file.
5981 * elf/vismod2.c: New file.
5982 * elf/vismod3.c: New file.
5984 2000-05-23 Andreas Jaeger <aj@suse.de>
5986 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
5988 * manual/search.texi (Array Sort Function): Document that qsort is
5989 not necessarily in-place.
5991 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
5992 Closes PR libc/1731.
5994 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
5995 * dirent/scandir64.c: Likewise.
5996 * pwd/getpw.c: Likewise.
5997 * stdlib/bsearch.c (bsearch): Likewise.
5998 * stdlib/tst-strtoll.c: Likewise.
5999 * localedata/collate-test.c: Likewise.
6000 * localedata/xfrm-test.c: Likewise.
6001 * posix/bsd-getpgrp.c: Likewise.
6002 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
6003 * sysdeps/generic/bits/siginfo.h: Likewise.
6004 * sysdeps/generic/bits/sockaddr.h: Likewise.
6005 * sysdeps/generic/sys/swap.h: Likewise.
6006 * sysdeps/generic/sys/sysinfo.h: Likewise.
6007 * sysdeps/generic/vfork.c: Likewise.
6008 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
6009 * sysdeps/mach/hurd/fdopen.c: Likewise.
6010 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
6011 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6012 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6013 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6014 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6015 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6016 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
6018 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
6019 * shadow/lckpwdf.c: Likewise.
6020 * stdlib/tst-strtol.c: Likewise.
6021 * sysdeps/generic/tcsetattr.c: Likewise.
6022 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6023 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6025 2000-05-22 Jakub Jelinek <jakub@redhat.com>
6027 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
6028 free it and set to (void *) -1.
6030 2000-05-22 Jakub Jelinek <jakub@redhat.com>
6032 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
6033 not the second character in the range.
6034 * stdio-common/tstscanf.c (main): Add testcase for the above.
6035 Reported by jik@kamens.brookline.ma.us.
6037 2000-05-21 H.J. Lu <hjl@gnu.org>
6039 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
6040 with noexec and noplt parameter.
6041 (do_lookup): Likewise.
6043 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
6044 do_lookup. Support STV_PROTECTED.
6045 (_dl_lookup_symbol_skip): Likewise.
6046 (_dl_lookup_versioned_symbol): Likewise.
6047 (_dl_lookup_versioned_symbol_skip): Likewise.
6049 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
6051 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
6053 2000-05-21 Jakub Jelinek <jakub@redhat.com>
6055 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
6056 * sysdeps/i386/bits/huge_val.h: Likewise.
6057 * sysdeps/ieee754/bits/huge_val.h: Likewise.
6058 * sysdeps/m68k/bits/huge_val.h: Likewise.
6059 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
6060 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
6062 2000-05-22 Andreas Jaeger <aj@suse.de>
6064 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
6067 2000-05-19 Andreas Jaeger <aj@suse.de>
6069 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6070 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
6071 breaks compilation without linuxthreads.
6073 2000-05-21 Ulrich Drepper <drepper@redhat.com>
6075 * sysdeps/ia64/memccpy.S: New file.
6076 * sysdeps/ia64/memchr.S: New file.
6077 * sysdeps/ia64/memcmp.S: New file.
6078 * sysdeps/ia64/memcpy.S: New file.
6079 * sysdeps/ia64/memmove.S: New file.
6080 * sysdeps/ia64/memset.S: New file.
6081 * sysdeps/ia64/strcat.S: New file.
6082 * sysdeps/ia64/strchr.S: New file.
6083 * sysdeps/ia64/strcmp.S: New file.
6084 * sysdeps/ia64/strcpy.S: New file.
6085 * sysdeps/ia64/strlen.S: New file.
6086 * sysdeps/ia64/strncmp.S: New file.
6087 * sysdeps/ia64/strncpy.S: New file.
6088 * sysdeps/ia64/softpipe.h: New file.
6089 Patches by Dan Pop <Dan.Pop@cern.ch>.
6091 * manual/memory.texi: Document memory handling functions (mlock,
6092 munlock, mlockall, munlockall, brk, and sbrk)
6093 * manual/time.texi: Document timespec and friends.
6094 * manual/conf.texi: Fix references.
6095 * manual/ctype.texi: Likewise.
6096 * manual/errno.texi: Likewise.
6097 * manual/intro.texi: Likewise.
6098 * manual/locale.texi: Likewise.
6099 * manual/sysinfo.texi: Likewise.
6100 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6102 2000-05-09 Jes Sorensen <jes@linuxcare.com>
6104 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
6105 * sysdeps/ia64/dl-lookupcfg.h: ...here.
6107 2000-05-21 Jakub Jelinek <jakub@redhat.com>
6109 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
6112 2000-05-21 Ulrich Drepper <drepper@redhat.com>
6114 * locale/locale.h (struct lconv): Add new elements from ISO C99.
6115 * locale/localeconv.c: Initialize new elements from ISO C99.
6116 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
6117 new standard elements.
6118 * locale/categories.def: Adjust accordingly.
6120 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
6121 * iconv/iconv.c: Likewise.
6122 * conform/data/iconv.h-data: Likewise.
6123 * iconv/iconv_prog.c (process_block): Remove const from second
6125 (main): Remove const from addr definition.
6126 * manual/charset.texi (Generic Conversion Interface): Remove from
6127 inbuf parameter of iconv.
6129 * intl/dcigettext.c: Fix typo in comment.
6131 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
6133 * resolv/res_libc.c (_res): Initialize _sock to -1.
6135 2000-05-18 Jakub Jelinek <jakub@redhat.com>
6137 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
6138 (fopencookie@@GLIBC_2.2): New.
6139 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
6140 (fopencookie@GLIBC_2.0): New.
6141 * libio/Versions: Add fopencookie to GLIBC_2.2.
6143 2000-05-18 Andreas Jaeger <aj@suse.de>
6145 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
6146 Closes PR libc/1731.
6148 * manual/arith.texi (Parsing of Integers): Fix typo.
6149 Closes PR libc/1744, reported by blp@gnu.org.
6151 2000-05-17 Jakub Jelinek <jakub@redhat.com>
6153 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
6154 __extension__ to hexadecimal floating constant notation.
6155 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
6157 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
6158 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
6160 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
6161 HUGE_VALL): Likewise.
6162 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
6163 HUGE_VALL): Likewise.
6164 (HUGE_VALL): Set to HUGE_VAL on sparc32.
6166 2000-05-17 Andreas Jaeger <aj@suse.de>
6168 * string/envz.h: Add pure attributes if possible.
6170 * string/argz.h: argz_count is a pure function.
6172 * string/strings.h: Add pure and const attributes if possible.
6174 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
6175 possibly searching through the whole memory.
6176 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
6178 2000-05-17 Jakub Jelinek <jakub@redhat.com>
6180 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
6182 (_dl_cache_check_flags): Likewise.
6183 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
6186 2000-05-17 Andreas Jaeger <aj@suse.de>
6188 * manual/creature.texi (Feature Test Macros): Remove paragraph
6189 since the description is wrong.
6190 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
6192 * scripts/config.sub: New version.
6193 * scripts/config.guess: Likewise.
6194 * manual/texinfo.tex: Likewise.
6196 * time/test_time.args: Removed.
6197 * time/Makefile (test_time-ARGS): Added contents here instead.
6199 * posix/tstgetopt.args: Removed.
6200 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
6202 * Rules: Allow arguments for test files to be specified in
6203 Makefile with testname-ARGS; remove rules with .args in it.
6205 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
6206 remove old bogus rule for opendir-tst1.args.
6208 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
6210 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
6211 into objdir. This allows a readonly sourcetree.
6212 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
6214 2000-05-16 Andreas Jaeger <aj@suse.de>,
6215 David Huggins-Daines <dhd@linuxcare.com>
6217 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
6218 cache_data in case of only new cache format correctly.
6220 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
6223 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
6224 struct cache_file_new.
6226 * elf/cache.c (save_cache): Fix str_offset if only new cache is
6229 * elf/cache.c (save_cache): Align struct new_file_cache.
6230 (print_cache): Likewise.
6232 2000-05-13 Jakub Jelinek <jakub@redhat.com>
6234 * elf/soinit.c (__libc_global_ctors): Move
6235 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
6236 * resolv/resolv.h (__res_state): Added __attribute__((const)).
6237 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
6238 variable, don't define it to __res_state call.
6240 2000-05-13 Andreas Jaeger <aj@suse.de>
6242 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
6244 (AF_PPPOX): Likewise.
6245 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
6246 (AF_PPPOX): Likewise.
6248 2000-05-12 Andreas Jaeger <aj@suse.de>
6250 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
6251 Reported by tmoestl@gmx.net, closes PR libc/1732.
6253 2000-05-11 Jan Hubicka <jh@suse.cz>
6255 * misc/sys/cdefs.h: Add support for pure attribute.
6257 * include/string.h: Add __attribute_pure__ to various functions.
6258 * string/string.h: Likewise.
6260 2000-05-10 Jakub Jelinek <jakub@redhat.com>
6262 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
6264 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6266 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
6268 2000-05-10 Jakub Jelinek <jakub@redhat.com>
6270 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
6271 at proper place. Compute the high nibble correctly.
6273 2000-05-09 Jakub Jelinek <jakub@redhat.com>
6275 * elf/ldconfig.c: Include elf.h.
6277 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
6278 (_dl_vsym): Likewise.
6279 Reported by Owen Taylor <otaylor@redhat.com>.
6281 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
6284 2000-05-08 Andreas Jaeger <aj@suse.de>
6286 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
6288 * intl/bindtextdom.c (set_binding_values): Add prototype.
6290 2000-05-08 Jakub Jelinek <jakub@redhat.com>
6292 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
6293 call to elf_machine_fixup_plt.
6294 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6295 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6297 2000-05-08 Jakub Jelinek <jakub@redhat.com>
6299 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
6300 they are not dlclose'd from underneath us.
6302 2000-05-08 Andreas Schwab <schwab@suse.de>
6304 * posix/execle.c: Fix size parameter of memcpy.
6306 2000-05-08 Andreas Schwab <schwab@suse.de>
6308 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
6309 getpagesize syscall if available.
6311 2000-05-08 Andreas Jaeger <aj@suse.de>
6313 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
6316 2000-05-08 Jakub Jelinek <jakub@redhat.com>
6318 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
6319 sizeof(struct link_map *) chunks, not in bytes.
6321 2000-05-07 Ulrich Drepper <drepper@redhat.com>
6323 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
6324 only needed for locale.
6325 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
6326 It's only needed for catgets.
6327 Patches by Greg McGary <gkm@eng.ascend.com>.
6329 2000-05-07 Mark Kettenis <kettenis@gnu.org>
6331 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
6332 Remove duplicate <errno.h> include. Remove inclusion of
6333 <libintl.h> and "nsswitch.h".
6334 (set_cloexec_flag): New function, broken out of dbopen.
6335 (dbopen): Changed return type to `enum
6336 nss_status'. Mostly rewritten to make sure that we do not report
6337 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
6338 (internal_setent): Change return type to nss_status.
6339 Document, and make sure that the function
6340 behaves accordingly. Make dynamically loading the database
6341 library really thread-safe and return NSS_STATUS_UNAVAIL if it
6343 (db_cursor): Return ENOMEM is memory allocation failed. Remove
6345 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
6347 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
6348 c_get function member.
6349 * nss/nss_db/nss_db.h: Add and tweak some comments.
6350 (DBT): Move typedef before NSS_DBC typedef.
6351 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
6353 2000-05-07 H.J. Lu <hjl@gnu.org>
6355 * csu/initfini.c: Moved to ....
6356 * sysdeps/generic/initfini.c: ...here.
6358 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
6360 2000-05-07 Ulrich Drepper <drepper@redhat.com>
6362 * manual/resource.texi: Document POSIX scheduling functions.
6363 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6365 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
6366 reading anything. Reported by Andries.Brouwer@cwi.nl.
6368 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
6369 for x since promotion in comparison might leads to unexpected
6370 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
6372 * iconv/Makefile (tests): Add tst-iconv1.
6373 * iconv/tst-iconv1.c: New file.
6374 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
6375 empty input buffer over full output buffer.
6376 (ucs4_internal_loop): Likewise.
6377 (ucs4_internal_loop_unaligned): Likewise.
6378 (internal_ucs4le_loop): Likewise.
6379 (internal_ucs4le_loop_unaligned): Likewise.
6380 (ucs4le_internal_loop): Likewise.
6381 (ucs4le_internal_loop_unaligned): Likewise.
6382 Reported by yaoz@nih.gov.
6384 2000-05-06 Bruno Haible <haible@clisp.cons.org>
6386 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
6387 returned != __GCONV_OK, there is nothing to clean up.
6389 2000-05-06 Bruno Haible <haible@clisp.cons.org>
6391 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
6392 OUTPUT_CHARSET environment variables.
6394 2000-05-06 Andreas Jaeger <aj@suse.de>
6396 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
6397 (struct cache_file_new): New.
6398 (struct file_entry): New (moved from cache.c).
6399 (struct cache_file): New (moved from cache.c).
6401 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
6402 from _dl_load_cache_lookup.
6403 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
6404 the different cache formats.
6405 New variable cache_new for new format.
6407 * elf/ldconfig.h: Change according to changes in cache.c and
6408 ldconfig.c; remove cache_libcmp; add opt_format.
6410 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
6411 stuff that's defined in those headers.
6412 Add hwcap to struct lib_entry.
6413 (opt_format): New variable to select cache format.
6414 (options): Add format parameter.
6415 (is_hwcap): New function.
6416 (path_hwcap): New function.
6417 (parse_opt): Handle new format parameter.
6418 (search_dir): Handle hwcap, search also subdirectories with hwcap.
6420 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
6421 ldconfig is part of glibc.
6422 Include dl-cache.h and remove stuff that's defined there.
6423 (struct cache_entry): Add new member hwcap.
6424 (print_entry): Print hwcap, cleanup a bit.
6425 (print_cache): Print new and old formats.
6426 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
6427 (save_cache): Save new and old formats.
6428 (add_to_cache): Handle hwcap.
6430 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
6431 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
6432 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
6433 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
6434 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
6435 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
6437 2000-05-05 Bruno Haible <haible@clisp.cons.org>
6439 * intl/dcigettext.c (alignof): New macro.
6440 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
6441 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
6444 2000-05-05 Bruno Haible <haible@clisp.cons.org>
6446 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
6449 2000-05-06 Ulrich Drepper <drepper@redhat.com>
6451 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
6452 (mempcpy): Correct typo is parameter list.
6454 2000-05-06 Andreas Jaeger <aj@suse.de>
6456 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
6457 functions unless -ffast-math is given to gcc.
6459 2000-05-06 Ulrich Drepper <drepper@redhat.com>
6461 * po/ko.po: Update from translation team.
6463 2000-05-05 Ulrich Drepper <drepper@redhat.com>
6465 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
6466 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
6467 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
6468 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
6469 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
6470 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
6472 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
6473 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
6474 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
6476 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
6477 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
6478 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
6479 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
6481 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
6482 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
6484 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6486 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
6487 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
6489 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
6490 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
6492 * sysdeps/ia64/Implies: New file.
6493 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
6494 * sysdeps/ia64/Makefile: New file.
6495 * sysdeps/ia64/gmp-mparam.h: New file,
6497 * sysdeps/ia64/elf/start.S: New file.
6499 * sysdeps/ia64/bits/fenv.h: New file.
6501 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
6503 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
6505 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
6507 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
6508 ia64 has 64 bit .hash entries just as the Alpha.
6510 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
6512 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
6514 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
6516 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
6517 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
6518 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
6519 * sysdeps/ia64/fpu/fegetenv.c: New file.
6520 * sysdeps/ia64/fpu/fegetexcept.c: New file.
6521 * sysdeps/ia64/fpu/fegetround.c: New file.
6522 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
6523 * sysdeps/ia64/fpu/fesetenv.c: New file.
6524 * sysdeps/ia64/fpu/fesetround.c: New file.
6525 * sysdeps/ia64/fpu/feupdateenv.c: New file.
6526 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
6527 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
6528 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
6529 * sysdeps/ia64/fpu/ftestexcept.c: New file.
6531 2000-05-05 Andreas Jaeger <aj@suse.de>
6533 * misc/tst-tsearch.c (main): Correct type for initstate argument.
6535 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6536 (_dl_string_hwcap): New, does nothing.
6538 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
6539 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6540 (_dl_string_hwcap): New function, converts from string to hwcap
6542 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
6543 (_DL_HWCAP_COUNT): New.
6544 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6545 (_dl_string_hwcap): New function, converts from string to hwcap
6547 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
6548 (_DL_HWCAP_COUNT): New.
6549 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
6550 (_dl_string_hwcap): New function, converts from string to hwcap
6553 2000-05-05 Ulrich Drepper <drepper@redhat.com>
6555 * elf/Makefile (distribute): Add dl-lookupcfg.h.
6556 * sysdeps/ia64/Dist: New file.
6558 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
6559 parameter to mprotect and for variable assignments.
6561 2000-05-03 Jes Sorensen <jes@linuxcare.com>
6563 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
6564 validity of map before dereferencing it.
6566 * elf/dl-reloc.c (RESOLVE_MAP): Define.
6568 2000-05-02 Jes Sorensen <jes@linuxcare.com>
6570 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
6571 lookup to the arguments to elf_machine_fixup_plt().
6573 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
6574 of the symbol being resolved to input argument list and make the
6575 function return the pointer to the reloc.
6577 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
6578 return valuie to lookup_t and return the value.
6579 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
6580 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
6581 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
6582 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
6583 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
6584 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
6586 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
6587 Make it an inline function returning value after calling
6588 __elf_machine_fixup_plt().
6590 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
6593 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
6594 obtain the symbol address.
6596 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
6597 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
6599 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
6600 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
6603 2000-04-28 Jes Sorensen <jes@linuxcare.com>
6605 * elf/dl-runtime.c (fixup): Use the portable macros to get the
6606 symbol address of an object.
6608 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
6609 the symbol address of an object.
6611 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
6612 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
6613 (_dl_lookup_symbol_skip): Likewise.
6614 (_dl_lookup_versioned_symbol): Likewise.
6615 (_dl_lookup_versioned_symbol_skip): Likewise.
6617 2000-04-27 Jes Sorensen <jes@linuxcare.com>
6619 * elf/rtld.c (_dl_start): Get the function pointer return address
6620 via _dl_start_address for architectures that need a function
6621 pointer descriptor rather than just a pointer (ia64).
6623 * sysdeps/generic/dl-lookupcfg.h: New file.
6624 * sysdeps/ia64/dl-lookupcfg.h: New file.
6625 * sysdeps/ia64/dl-machine.h: New file.
6626 * sysdeps/ia64/dl-symaddr.c: New file.
6627 * sysdeps/ia64/dl-fptr.c: New file.
6629 * elf/elf.h: Add IA-64 specific definitions.
6631 2000-05-04 Jakub Jelinek <jakub@redhat.com>
6633 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
6636 2000-05-04 Jakub Jelinek <jakub@redhat.com>
6638 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
6641 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6643 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
6644 symbol. Call _dl_init rather than the old way.
6646 2000-05-04 Ulrich Drepper <drepper@redhat.com>
6648 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
6649 test for pointer in range of DSO address space.
6651 2000-05-04 Andreas Jaeger <aj@suse.de>
6653 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
6655 2000-05-03 Ulrich Drepper <drepper@redhat.com>
6657 * locale/findlocale.c (_nl_find_locale): Add new parameter to
6658 calls of _nl_make_l10nflist.
6660 * libio/stdio.h: Make fseeko and ftello prototypes available is
6661 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
6663 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
6664 real unsetenv implementation from 1999-07-29 [PR libc/1714].
6666 2000-05-03 Bruno Haible <haible@clisp.cons.org>
6668 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
6669 before calling tfind.
6671 2000-03-05 Jakub Jelinek <jakub@redhat.com>
6673 * resolv/resolv.h (res_querydomain): Remove redefinition to
6674 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
6676 2000-05-03 Ulrich Drepper <drepper@redhat.com>
6678 * po/gl.po: Update from translation team.
6680 * manual/intro.texi (Program Basics): Change section title.
6681 * manual/process.texi: Fix reference.
6682 (Executing a File): Add reference exec in other section.
6683 * manual/signal.texi: Fix reference.
6684 * manual/startup.texi: Document syscall function.
6685 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6687 2000-04-29 Bruno Haible <haible@clisp.cons.org>
6689 * intl/libintl.h (bind_textdomain_codeset): New declaration.
6690 * intl/bindtextdom.c (set_binding_values): New function.
6691 (bindtextdomain): Call it.
6692 (bind_textdomain_codeset): New function.
6693 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
6694 (free_mem): Free each binding's codeset.
6695 * intl/gettextP.h (struct binding): Add codeset field.
6696 (_nl_find_domain): Add domainbinding argument.
6697 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
6698 Pass it to _nl_make_l10nflist.
6699 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
6700 (_nl_make_l10nflist): Add domainbinding argument.
6701 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
6702 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
6703 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
6705 * manual/message.texi: New node "Charset conversion in gettext".
6707 2000-04-30 Bruno Haible <haible@clisp.cons.org>
6709 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
6710 appropriate. Handle possible __read error.
6712 2000-04-29 Bruno Haible <haible@clisp.cons.org>
6714 * intl/gettextP.h (__builtin_expect): Define as empty if not a
6716 * intl/loadinfo.h (__builtin_expect): Likewise.
6717 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
6718 __builtin_expect where appropriate.
6719 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6720 * intl/localealias.c (extend_alias_table): Return an error indicator.
6721 (read_alias_file): Bail out if extend_alias_table fails.
6723 2000-04-29 Bruno Haible <haible@clisp.cons.org>
6725 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
6726 * intl/localealias.c: Likewise.
6728 2000-05-01 Bruno Haible <haible@clisp.cons.org>
6730 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
6731 Initialize domain->plural and domain->nplurals even if there is no
6734 2000-05-01 Bruno Haible <haible@clisp.cons.org>
6736 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
6737 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
6738 In case of failure, goto converted.
6740 2000-05-01 Bruno Haible <haible@clisp.cons.org>
6742 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
6743 * iconv/gconv_int.h (norm_add_slashes): Move to here.
6744 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
6747 2000-04-29 Bruno Haible <haible@clisp.cons.org>
6749 * intl/dcigettext.c (transcmp): Compare the domains as well.
6750 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
6752 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
6755 2000-05-03 Ulrich Drepper <drepper@redhat.com>
6757 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
6758 Reported by Bruno Haible.
6760 2000-04-29 Bruno Haible <haible@clisp.cons.org>
6762 * manual/arith.texi: Remove @w from @itemize.
6764 2000-05-02 Andreas Jaeger <aj@suse.de>
6766 * conform/data/tar.h-data: Add some checks for specific values.
6768 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
6771 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
6774 * conform/data/netinet/in.h-data: Add exact checks for the values
6775 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
6777 * conform/data/float.h-data: Add some minimal values.
6779 * conform/conformtest.pl: Test for macros with string constants,
6780 check for minimum and maximum values.
6781 Add limits.h to headers.
6783 * conform/data/cpio.h-data: Test for value of MAGIC.
6785 * conform/data/limits.h-data: New file.
6787 2000-04-30 Bruno Haible <haible@clisp.cons.org>
6789 * math/Makefile (headers): Add bits/fenvinline.h.
6791 2000-05-01 Ulrich Drepper <drepper@redhat.com>
6793 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
6794 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
6796 * posix/Versions: Change posix_spawnattr_getdefault and
6797 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
6798 and posix_spawnattr_setsigdefault respectively.
6799 * posix/spawn.h: Likewise.
6800 * posix/spawnattr_getdefault.h: Likewise.
6801 * posix/spawnattr_setdefault.h: Likewise.
6802 * conform/data/spawn.h-data: Likewise.
6804 2000-05-01 Andreas Jaeger <aj@suse.de>
6806 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
6808 2000-04-30 Ulrich Drepper <drepper@redhat.com>
6810 * manual/sysinfo.texi: Document getdomainname, setdomainname
6812 * manual/string.texi: Fix typo.
6813 * manual/terminal.texi: Document gtty and stty.
6814 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6816 2000-04-30 Andreas Jaeger <aj@suse.de>
6818 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
6819 accordance with Austin Draft.
6821 2000-04-30 Ulrich Drepper <drepper@redhat.com>
6823 * catgets/gencat.c (read_input_file): Use isblank and not isspace
6824 to recognize second character in comment line.
6826 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
6827 ENOBUFS if we are out of memory.
6829 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
6830 available if __USE_XOPEN2K.
6831 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
6832 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6833 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
6834 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6835 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6837 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
6838 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6840 2000-04-29 Ulrich Drepper <drepper@redhat.com>
6842 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
6843 Recognize option -s, -c, and -l.
6845 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
6847 * nscd/nscd.c: Start new session for nscd, drop privilegs
6848 to configured user if requested and no -S parameter are used.
6849 * nscd/nscd.conf: Add new option "server-user".
6850 * nscd/nscd_conf.c: Add support for new "server-user" option.
6851 * nscd/nscd.h: Add declaration for server_user variable.
6852 Based on patch by Chris Wing <wingc@engin.umich.edu>
6854 2000-04-29 Mark Kettenis <kettenis@gnu.org>
6856 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
6857 that changing the __restore and __restore_rt signal return code
6860 2000-04-29 Mark Kettenis <kettenis@gnu.org>
6862 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
6865 2000-04-29 Mark Kettenis <kettenis@gnu.org>
6867 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
6869 2000-04-29 Ulrich Drepper <drepper@redhat.com>
6871 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
6872 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
6874 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
6875 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
6876 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
6877 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
6878 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
6879 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
6880 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
6881 posix_fallocate, and posix_madvise.
6882 * conform/data/netdb.h-data: New file.
6883 * conform/data/pthread.h-data: Add pthread_barrier_t,
6884 pthread_barrierattr_t, pthread_barrier_destroy,
6885 pthread_barrier_init, pthread_barrier_wait,
6886 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
6887 pthread_barrierattr_init, pthread_barrierattr_setpshared,
6888 pthread_condattr_getclock, pthread_condattr_setclock,
6889 pthread_getcpuclockid, pthread_mutex_timedlock,
6890 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
6891 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
6892 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
6893 * conform/data/sched.h-data: Add sched_ss_low_priority,
6894 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
6896 * conform/data/semaphore.h-data: Add sem_timedwait.
6897 * conform/data/signal.h-data: Add SIGIO.
6898 * conform/data/spawn.h-data: New file.
6899 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
6900 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
6901 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
6902 Fix typo in gmtime_r definition.
6903 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
6904 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
6905 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
6906 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
6907 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
6908 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
6909 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
6910 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
6911 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
6912 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
6913 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
6914 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
6915 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
6916 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
6917 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
6918 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
6919 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
6920 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
6921 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6922 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
6923 typo in off_t definition.
6924 * conform/data/net/if.h-data: New file.
6925 * conform/data/netinet/in.h-data: New file.
6926 * conform/data/netinet/tcp.h-data: New file.
6927 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
6928 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
6929 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
6930 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
6931 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
6932 and posix_typed_mem_open.
6933 * conform/data/sys/socket.h-data: New file.
6934 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
6935 * conform/data/sys/types.h-data: Add pthread_barrier_t,
6936 pthread_barrierattr_t, and pthread_spinlock_t.
6937 * conform/data/sys/un.h-data: New file.
6938 * conform/data/sys/utsname.h-data: New file.
6940 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
6942 * inet/gethstbyad.c (gethostbyname): Likewise.
6943 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
6944 * inet/getipnodebyad.c (getipnodebyad): Likewise.
6945 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6946 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6948 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
6949 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6950 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
6951 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
6952 * resolv/gethnamaddr.c (gethostbyname): Likewise.
6953 * resolv/netdb.h (struct hostent): Fix type of h_length member.
6954 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
6955 and second parameter.
6957 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
6960 2000-04-29 Andreas Jaeger <aj@suse.de>
6962 * conform/data/arpa/inet.h-data: New file.
6964 2000-04-28 Geoff Clare <gwc@unisoft.com>
6966 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
6967 path passed to ftw() or nftw() is an empty string.
6968 Closes PR libc/1710.
6970 2000-04-27 Ulrich Drepper <drepper@redhat.com>
6972 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
6973 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
6974 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
6975 * localedata/tst-mbswcs4.c: New file.
6976 * localedata/tst-mbswcs5.c: New file.
6978 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
6979 == NULL. Little optimization.
6981 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
6982 DT_PREINIT_ARRAYSZ).
6983 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
6985 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
6986 overflows in conversion from ASCII.
6988 2000-04-26 Jakub Jelinek <jakub@redhat.com>
6990 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
6991 * Makerules (full_config_sysdirs): Likewise.
6992 * MakeTAGS (full_config_sysdirs): Likewise.
6994 2000-04-26 Jakub Jelinek <jakub@redhat.com>
6996 * .cvsignore: Remove linuxthreads.
6997 * po/.cvsignore: Remove *.pot.
6998 * posix/glob/.cvsignore: Removed.
6999 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
7001 2000-04-25 Andreas Jaeger <aj@suse.de>
7003 * conform/Makefile (distribute): Also distribute contents of
7006 * Makerules (no_deps): Remove abi-versions.h.
7008 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
7010 2000-04-25 Jakub Jelinek <jakub@redhat.com>
7012 * sysdeps/sparc/sparc64/elf/Dist: Remove.
7013 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
7014 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
7015 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
7016 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
7017 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
7020 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
7022 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
7024 2000-04-23 Bruno Haible <haible@clisp.cons.org>
7026 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
7027 * intl/l10nflist.c: Likewise.
7029 2000-04-23 Bruno Haible <haible@clisp.cons.org>
7031 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
7032 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
7033 * intl/textdomain.c [!_LIBC]: Likewise.
7034 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
7035 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
7036 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
7039 2000-04-23 Bruno Haible <haible@clisp.cons.org>
7041 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
7042 character set conversion also in the case the translation was found
7043 after a hash collision or through binary search. Store the maximum
7044 index together with the converted message. Use iconv() when available.
7045 In case of out of memory during conversion, return the unconverted
7046 translated string, not NULL.
7048 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7050 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
7051 to avoid name clashes with the ia32 linker.
7053 2000-04-25 Jakub Jelinek <jakub@redhat.com>
7055 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
7058 2000-04-27 Ulrich Drepper <drepper@redhat.com>
7060 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
7061 strtoumax, strfry, and memfrob.
7062 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
7063 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7065 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
7066 if this function is available.
7068 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
7071 2000-04-27 Jakub Jelinek <jakub@redhat.com>
7073 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
7075 2000-04-27 Ulrich Drepper <drepper@redhat.com>
7077 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
7078 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
7079 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
7080 * localedata/tst-mbswcs3.c: New file.
7082 2000-04-26 Ulrich Drepper <drepper@redhat.com>
7084 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
7085 characters. Don't handle incomplete characters as errors.
7086 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
7087 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
7088 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
7089 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
7090 * localedata/tst-mbswcs2.c: New file.
7092 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
7093 stored character in state in UNPACK_BYTES macro.
7094 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
7095 test for available characters, handle result of BODY code correctly.
7096 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
7097 (distribute): Add tst-mbswcs.sh.
7098 Add rule to run tst-mbswcs.sh.
7099 * localedata/tst-mbswcs.sh: New file.
7100 * localedata/tst-mbswcs1.c: New file.
7102 2000-04-26 Jakub Jelinek <jakub@redhat.com>
7104 * nis/nis_callback.c (__nis_create_callback): Do failed memory
7105 allocation fixups centrally, fix __builtin_expect call, return NULL
7106 on failure, not NIS_NOMEMORY.
7108 2000-04-27 Bruno Haible <haible@clisp.cons.org>
7110 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
7112 * intl/loadinfo.h (internal_function): Define if not already defined.
7114 2000-04-27 Andreas Jaeger <aj@suse.de>
7116 * intl/libintl.h: Fix typo, reported by Bruno Haible
7117 <haible@clisp.cons.org>.
7119 2000-04-25 Ulrich Drepper <drepper@redhat.com>
7121 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
7122 setting the state to GMON_PROF_BUSY.
7124 2000-04-24 Ulrich Drepper <drepper@redhat.com>
7126 * elf/dl-profile.c (_dl_start_profile): define all variables which
7127 do not have to be global as local variables.
7129 * nis/nis_callback.c (__nis_create_callback): Partially undo last
7130 patch. Keep needed tests for failed memory allocation.
7132 * elf/dl-reloc.c (_dl_relocate_object): Add one more
7133 __builtin_expect saying that we don't normally expect to profile.
7135 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
7136 __builtin_expect where desirable.
7138 2000-04-23 Ulrich Drepper <drepper@redhat.com>
7140 * manual/Makefile (chapters): Add syslog.
7141 * manual/syslog.texi: New file.
7142 * manual/math.texi: Fix references.
7143 * manual/terminal.texi: Likewise.
7144 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7146 2000-04-18 Jakub Jelinek <jakub@redhat.com>
7148 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
7149 stdlib.h was not included or __USE_XOPEN not defined.
7151 2000-04-23 Ulrich Drepper <drepper@redhat.com>
7153 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
7154 Patch by Zack Weinberg <zack@wolery.cumb.org>.
7156 2000-04-22 Ulrich Drepper <drepper@redhat.com>
7158 * manual/examples/subopt.c (mount_opts): Add missing terminating
7160 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
7162 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
7163 * libio/ftello.c: Likewise.
7164 * libio/ftello64.c: Likewise.
7165 * libio/ioftell.c: Likewise.
7166 * sysdeps/generic/memrchr.c: Likewise.
7167 * sysdeps/posix/libc_fatal.c: Likewise.
7168 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7169 * misc/fstab.c: Include <string.h> for strcmp prototype.
7170 * sysdeps/generic/ldsodefs.h: Likewise.
7171 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7172 Patch by Kurt Roeckx <Q@ping.be>.
7174 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
7175 Remove db-open. Change all uses.
7176 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
7178 2000-04-21 Jakub Jelinek <jakub@redhat.com>
7180 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
7181 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
7182 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
7183 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
7184 with .set noat/at to shut up warnings.
7185 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
7186 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
7187 compilation if __NR_pciconfig_iobase is not defined.
7188 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
7191 2000-04-21 Ulrich Drepper <drepper@redhat.com>
7193 * manual/sysinfo.texi: Fix typo.
7194 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
7195 Replace "high precision time" with "high accuracy clock".
7197 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7199 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
7200 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
7202 * nis/nis_subr.c: Use __builtin_expect.
7203 * nis/ypclnt.c: Likewise.
7204 * nis/nis_getservlist.c: Likewise.
7205 * nis/nis_creategroup.c: Likewise.
7207 * nis/nis_callback.c (__nis_create_callback): Check result of
7208 memory allocation. Fix memory leaks. Use __builtin_expect.
7209 (__nis_destroy_callback): Fix memory leaks.
7211 2000-04-21 Andreas Jaeger <aj@suse.de>
7213 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
7214 * sysdeps/mips/mips64/add_n.S: Likewise.
7215 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
7216 * sysdeps/mips/mips64/lshift.S: Likewise.
7217 * sysdeps/mips/mips64/mul_1.S: Likewise.
7218 * sysdeps/mips/mips64/rshift.S: Likewise.
7219 * sysdeps/mips/mips64/setjmp.S: Likewise.
7220 * sysdeps/mips/mips64/sub_n.S: Likewise.
7221 * sysdeps/mips/mips64/submul_1.S: Likewise
7222 * sysdeps/unix/mips/sysdep.S: Likewise.
7224 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
7225 and update comment. The strtab from _dl_relocate_object can be
7228 2000-04-21 Ulrich Drepper <drepper@redhat.com>
7230 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
7231 * iconv/iconv_close.c (iconv_close): Likewise.
7232 * iconv/iconv_open.c (iconv_open): Likewise.
7234 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
7235 __builtin_expect where useful.
7237 * grp/initgroups.c (initgroups): Test for result of memory
7238 allocation and punt if it fails.
7240 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
7241 * grp/fgetgrent.c (fgetfrent): Likewise.
7242 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
7244 2000-04-21 Jakub Jelinek <jakub@redhat.com>
7246 * libio/vasprintf.c: Include string.h to get memcpy prototype.
7248 2000-04-20 Ulrich Drepper <drepper@redhat.com>
7250 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
7251 don't search for NUL byte to decrement counter.
7252 Reported by Ulrich.Brink@sap.com.
7254 * iconv/gconv_simple.c: Define separate functions to convert from
7255 UCS4/UCS4-LE to the internal encoding.
7256 * iconv/gconv_builtin.h: Use separate functions to convert from
7257 UCS4/UCS4-LE to the internal encoding.
7258 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
7259 __gconv_transform_ucs4le_internal.
7261 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
7262 output buffer overflow. Reported by Ulrich.Brink@sap.com.
7264 * iconv/skeleton.c: Add some more __builtin_expect.
7265 * iconv/loop.c: Likewise.
7267 2000-03-08 H.J. Lu <hjl@gnu.org>
7269 * posix/regex.c (regex_compile): Correctly handle "\{" when
7270 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
7272 2000-04-20 Ulrich Drepper <drepper@redhat.com>
7274 * manual/stdio.texi: Give advise about handling error when using
7276 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
7278 2000-04-19 Jakub Jelinek <jakub@redhat.com>
7280 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
7281 field to nelems * sizeof (uint32_t).
7282 * locale/programs/ld-address.c (address_output): Align word fields
7284 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7285 Don't restart idx pointers to idx end at the duo_int_curr_symbol
7287 Avoid giving arbitrary garbage in the crncystr field.
7288 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
7289 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
7291 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7292 Don't restart idx pointers to idx end at the decimal_point_wc field.
7293 * locale/programs/ld-time.c (time_output): week_1stday should be
7294 word, not byte. Align it properly.
7296 2000-04-19 H.J. Lu <hjl@gnu.org>
7298 * csu/gmon-start.c (_start): Declared as "extern void".
7301 2000-04-18 Andreas Jaeger <aj@suse.de>
7303 * manual/install.texi (Running make install): Don't mention utmpd
7306 2000-04-18 Andreas Jaeger <aj@suse.de>
7308 * linuxthreads/Versions: Use ld instead of ld.so.
7310 * elf/Makefile (ld-map): Use ld.map.
7312 * Versions.def: Use ld instead of ld.so.
7313 * elf/Versions: Likewise.
7314 * sysdeps/mach/hurd/Versions: Likewise.
7316 2000-04-20 Andreas Jaeger <aj@suse.de>
7318 * elf/rtld.c (print_statistics): Move ifndef further up.
7319 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
7320 (dl_main): Likewise.
7322 2000-04-18 Ulrich Drepper <drepper@redhat.com>
7324 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
7325 * gmon/Versions: Move moncontrol to GLIBC_2.2.
7327 * po/cs.po: Update from translation team.
7329 * sysdeps/generic/updwtmp.c: Remove daemon support.
7331 * login/Makefile (routines): Remove utmp_daemon.
7333 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
7334 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
7335 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
7336 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
7338 * elf/rtld.c: Display statitics option also if hp timing is not
7341 * login/programs/connection.c: Removed.
7342 * login/programs/database.c Removed.
7343 * login/programs/error.c: Removed.
7344 * login/programs/request.c: Removed.
7345 * login/programs/xtmp.c: Removed.
7346 * login/programs/xtmp.h: Removed.
7347 * login/Makefile: Remove rules for utmpd.
7348 * login/README.utmpd: Removed.
7349 * login/utmp_daemon.c: Removed.
7350 * login/getutent_r.c: Remove references to daemon functions.
7351 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
7354 2000-04-18 Andreas Jaeger <aj@suse.de>
7356 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
7357 2.2 for libnsl, libresolv, librt, libnss_*.
7359 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
7361 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
7363 2000-04-18 Ulrich Drepper <drepper@redhat.com>
7365 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
7366 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
7367 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
7368 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
7369 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
7370 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
7371 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
7372 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
7373 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
7374 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
7375 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
7376 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
7377 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
7379 * sysdeps/unix/sysv/aix/msync.c: New file.
7380 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
7381 * sysdeps/unix/sysv/aix/net/if.h: New file.
7382 * sysdeps/unix/sysv/aix/pipe.c: New file.
7383 * sysdeps/unix/sysv/aix/poll.c: New file.
7384 * sysdeps/unix/sysv/aix/rename.c: New file.
7385 * sysdeps/unix/sysv/aix/rmdir.c: New file.
7386 * sysdeps/unix/sysv/aix/select.c: New file.
7387 * sysdeps/unix/sysv/aix/semctl.c: New file.
7388 * sysdeps/unix/sysv/aix/semget.c: New file.
7389 * sysdeps/unix/sysv/aix/semop.c: New file.
7390 * sysdeps/unix/sysv/aix/sendto.c: New file.
7391 * sysdeps/unix/sysv/aix/setgroups.c: New file.
7392 * sysdeps/unix/sysv/aix/setpgid.c: New file.
7393 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
7394 * sysdeps/unix/sysv/aix/setpriority.c: New file.
7395 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
7396 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
7397 * sysdeps/unix/sysv/aix/setsid.c: New file.
7398 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
7399 * sysdeps/unix/sysv/aix/shmat.c: New file.
7400 * sysdeps/unix/sysv/aix/shmctl.c: New file.
7401 * sysdeps/unix/sysv/aix/shmdt.c: New file.
7402 * sysdeps/unix/sysv/aix/shmget.c: New file.
7403 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
7404 * sysdeps/unix/sysv/aix/sigstack.c: New file.
7405 * sysdeps/unix/sysv/aix/socket.c: New file.
7406 * sysdeps/unix/sysv/aix/socketpair.c: New file.
7407 * sysdeps/unix/sysv/aix/speed.c: New file.
7408 * sysdeps/unix/sysv/aix/symlink.c: New file.
7409 * sysdeps/unix/sysv/aix/sync.c: New file.
7410 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
7411 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
7412 * sysdeps/unix/sysv/aix/times.c: New file.
7413 * sysdeps/unix/sysv/aix/ulimit.c: New file.
7414 * sysdeps/unix/sysv/aix/umask.c: New file.
7415 * sysdeps/unix/sysv/aix/unlink.c: New file.
7416 * sysdeps/unix/sysv/aix/ustat.c: New file.
7417 * sysdeps/unix/sysv/aix/utimes.c: New file.
7419 2000-04-18 Andreas Jaeger <aj@suse.de>
7421 * manual/startup.texi (Environment Access): Fix putenv prototype
7422 according to recent changes.
7423 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
7426 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
7429 2000-04-18 Ulrich Drepper <drepper@redhat.com>
7431 * posix/Makefile (tests): Add tst-getaddrinfo.
7432 * posix/tst-getaddrinfo.c: New file.
7434 2000-04-17 Ulrich Drepper <drepper@redhat.com>
7436 * manual/sysinfo.texi: Document that umount2 is not widely available.
7438 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
7439 signal timing is not really implemented.
7441 2000-04-17 Andreas Jaeger <aj@suse.de>
7443 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
7445 2000-04-17 Jakub Jelinek <jakub@redhat.com>
7447 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
7450 2000-04-17 Ulrich Drepper <drepper@redhat.com>
7452 * manual/intro.texi: Change reference from System Information to
7454 * manual/users.texi: Likewise.
7455 * manual/conf.texi: Likewise.
7456 * manual/sysinfo.texi: Document mount, umount, and umount2.
7457 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7459 2000-04-17 Jakub Jelinek <jakub@redhat.com>
7461 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
7462 Create wnumstr as well as numstr to support wide character output
7465 2000-04-15 Jakub Jelinek <jakub@redhat.com>
7467 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
7468 modification and move it...
7469 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
7470 Add -melf64_sparc switch to $(LD) on sparc64-linux.
7471 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
7472 switch to $(LD) on sparc-linux.
7474 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
7476 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
7477 and setresuid from sysdep_routines.
7479 2000-04-17 Ulrich Drepper <drepper@redhat.com>
7481 * manual/Makefile (chapters): Add resource.
7483 * manual/time.texi: Move section on resources to...
7484 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
7486 * manual/setjmp.texi: Adjust back reference.
7487 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7489 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
7491 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
7492 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
7493 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
7494 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
7495 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
7496 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
7497 * sysdeps/unix/sysv/aix/close.c: Add copyright.
7498 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
7499 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
7500 * sysdeps/unix/sysv/aix/access.c: Add copyright.
7501 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
7502 * sysdeps/unix/sysv/aix/Implies: New file.
7503 * sysdeps/unix/sysv/aix/Versions: New file.
7504 * sysdeps/unix/sysv/aix/bind.c: New file.
7505 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
7506 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
7507 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
7508 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
7509 * sysdeps/unix/sysv/aix/chdir.c: New file.
7510 * sysdeps/unix/sysv/aix/chmod.c: New file.
7511 * sysdeps/unix/sysv/aix/chroot.c: New file.
7512 * sysdeps/unix/sysv/aix/creat.c: New file.
7513 * sysdeps/unix/sysv/aix/dl-close.c: New file.
7514 * sysdeps/unix/sysv/aix/dl-open.c: New file.
7515 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
7516 * sysdeps/unix/sysv/aix/fchdir.c: New file.
7517 * sysdeps/unix/sysv/aix/fchmod.c: New file.
7518 * sysdeps/unix/sysv/aix/getgroups.c: New file.
7519 * sysdeps/unix/sysv/aix/gethostname.c: New file.
7520 * sysdeps/unix/sysv/aix/getpriority.c: New file.
7521 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
7522 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
7523 * sysdeps/unix/sysv/aix/getrusage.c: New file.
7524 * sysdeps/unix/sysv/aix/link.c: New file.
7525 * sysdeps/unix/sysv/aix/madvise.c: New file.
7526 * sysdeps/unix/sysv/aix/mkdir.c: New file.
7527 * sysdeps/unix/sysv/aix/mknod.c: New file.
7528 * sysdeps/unix/sysv/aix/mprotect.c: New file.
7529 * sysdeps/unix/sysv/aix/msgctl.c: New file.
7530 * sysdeps/unix/sysv/aix/msgget.c: New file.
7531 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
7533 2000-04-17 Andreas Jaeger <aj@suse.de>
7535 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
7536 as suggested by Ulrich Drepper.
7537 (__dl_runtime_resolve): Remove unused variable, initialize sym
7539 (RTLD_START): Document OFFSET_GP_GOT.
7540 (OFFSET_GP_GOT): New magic value.
7541 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
7542 (elf_machine_got_rel): Only declare strtab if needed.
7543 (elf_machine_relplt): Removed, it's not needed.
7544 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
7546 * sysdeps/mips/add_n.S: Add newline at EOF.
7547 * sysdeps/mips/rshift.S: Likewise.
7548 * sysdeps/mips/mul_1.S: Likewise.
7549 * sysdeps/mips/lshift.S: Likewise.
7550 * sysdeps/mips/addmul_1.S: Likewise.
7552 2000-04-17 Ulrich Drepper <drepper@redhat.com>
7554 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
7556 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
7557 * elf/dl-lookup.c: Likewise.
7558 * elf/dl-init.c (_dl_init): Likewise.
7559 * elf/dl-fini.c (_dl_fini): Likewise.
7560 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7561 * elf/dl-close.c (_dl_close): Likewise.
7562 * elf/rtld.c (_dl_start_final): Likewise.
7564 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
7566 2000-04-15 Ulrich Drepper <drepper@redhat.com>
7568 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
7569 only fall back on using Linux.
7571 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
7572 Before testing versions check that we actually loaded the object
7573 and whether we are in trace mode. If not loaded during tracing don't
7574 test versions in this object.
7575 (_dl_check_all_versions): Take new parameter and pass to
7576 _dl_check_map_versions.
7577 * sysdeps/generic/ldsodefs.h: Update prototypes for
7578 _dl_check_all_versions and _dl_check_map_versions.
7579 * elf/rtld.c (struct version_check_args): Add dotrace.
7580 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
7581 (dl_main): Pass info about trace mode to version_check_doit.
7582 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
7583 _dl_check_all_versions.
7585 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
7587 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7589 * manual/argp.texi: Document index parameter of argp_parse.
7591 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
7593 2000-04-14 Andreas Jaeger <aj@suse.de>
7595 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
7596 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
7598 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
7600 2000-04-15 Ulrich Drepper <drepper@redhat.com>
7602 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
7603 compat_symbol call for old adjtime.
7605 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
7606 function interface. Patch by Richard Henderson <rth@cygnus.com>.
7608 * posix/Makefile (headers): Add spawn.h.
7609 (distribute): Add spawn_int.h.
7610 (routines): Add spawn_faction_init, spawn_faction_destroy,
7611 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
7612 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
7613 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
7614 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
7615 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
7616 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
7617 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
7618 posix_spawnattr_init, posix_spawnattr_destroy,
7619 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
7620 posix_spawnattr_getflags, posix_spawnattr_setflags,
7621 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
7623 * posix/spawn.c: New file.
7624 * posix/spawn.h: New file.
7625 * posix/spawn_faction_addclose.c: New file.
7626 * posix/spawn_faction_adddup2.c: New file.
7627 * posix/spawn_faction_addopen.c: New file.
7628 * posix/spawn_faction_destroy.c: New file.
7629 * posix/spawn_faction_init.c: New file.
7630 * posix/spawn_int.h: New file.
7631 * posix/spawnattr_destroy.c: New file.
7632 * posix/spawnattr_getdefault.c: New file.
7633 * posix/spawnattr_getflags.c: New file.
7634 * posix/spawnattr_getpgroup.c: New file.
7635 * posix/spawnattr_getschedparam.c: New file.
7636 * posix/spawnattr_getschedpolicy.c: New file.
7637 * posix/spawnattr_getsigmask.c: New file.
7638 * posix/spawnattr_init.c: New file.
7639 * posix/spawnattr_setdefault.c: New file.
7640 * posix/spawnattr_setflags.c: New file.
7641 * posix/spawnattr_setpgroup.c: New file.
7642 * posix/spawnattr_setschedparam.c: New file.
7643 * posix/spawnattr_setschedpolicy.c: New file.
7644 * posix/spawnattr_setsigmask.c: New file.
7645 * posix/spawni.c: New file.
7646 * posix/spawnp.c: New file.
7648 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
7649 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
7651 2000-04-14 Ulrich Drepper <drepper@redhat.com>
7653 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
7654 * malloc/malloc.c: Implement posix_memalign for glibc.
7655 * include/stdlib.h: Add prototype for __posix_memalign.
7656 * stdlib/stdlib.h: Add prototype for posix_memalign.
7658 2000-04-14 Andreas Jaeger <aj@suse.de>
7660 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
7662 (elf_machine_got_rel): Cast sym correctly.
7664 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
7665 * sysdeps/mips/addmul_1.S: Likewise.
7666 * sysdeps/mips/lshift.S: Likewise.
7667 * sysdeps/mips/mul_1.S: Likewise.
7668 * sysdeps/mips/rshift.S: Likewise.
7669 * sysdeps/mips/sub_n.S: Likewise.
7670 * sysdeps/mips/submul_1.S: Likewise.
7672 * stdlib/stdlib.h: Fix typo in comment.
7674 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
7675 2.2 for libdl, ld and libm.
7677 * sysdeps/generic/madvise.c: Fix typos.
7679 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
7681 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
7683 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
7686 2000-04-14 Ulrich Drepper <drepper@redhat.com>
7688 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
7689 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
7690 Make old name weak alias.
7691 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
7692 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
7693 Make old name weak alias.
7694 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
7696 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
7697 posix_fallocate, and posix_fallocate64.
7698 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
7699 posix_fallocate, and posix_fallocate64.
7700 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
7701 posix_fallocate, and posix_fallocate64.
7702 * sysdeps/generic/fadvise.c: New file.
7703 * sysdeps/generic/fadvise64.c: New file.
7704 * sysdeps/generic/fallocate.c: New file.
7705 * sysdeps/generic/fallocate64.c: New file.
7706 * sysdeps/posix/fallocate.c: New file.
7707 * sysdeps/posix/fallocate64.c: New file.
7708 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
7709 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
7710 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
7711 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
7712 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
7713 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
7714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7715 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
7716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7718 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
7719 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7721 2000-04-13 Ulrich Drepper <drepper@redhat.com>
7723 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
7724 * misc/sys/mman.h (posix_madvise): Add prototype.
7725 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
7726 old name and posix_madvise weak aliases.
7727 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7728 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
7729 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
7730 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7731 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
7732 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7733 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7735 2000-04-13 Andreas Jaeger <aj@suse.de>
7737 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
7739 (elf_machine_got_rel): Only add runtime display if needed.
7740 (elf_machine_got_rel): Handle symbol versioning.
7742 2000-04-13 Andreas Jaeger <aj@suse.de>
7744 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
7746 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
7749 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
7750 with some applications.
7751 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
7753 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
7754 * sysdeps/mips/bsd-_setjmp.S: Likewise.
7755 * sysdeps/mips/setjmp.S: Likewise.
7757 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
7759 2000-04-13 Ulrich Drepper <drepper@redhat.com>
7761 * posix/globtest.sh: Work around inconsistency with expanding ~/
7762 in shell (PR libc/1690). Reported by patsmith@pobox.com.
7764 2000-04-12 Ulrich Drepper <drepper@redhat.com>
7766 * posix/getconf.c: Add support for many more POSIX options.
7767 * sysdeps/posix/sysconf.c: Likewise.
7768 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
7769 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
7771 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
7772 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
7773 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
7774 CLOCK_THREAD_CPUTIME_ID.
7775 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
7776 CLOCK_PROCESS_CPUTIME_ID.
7777 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
7778 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
7779 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
7780 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
7782 * malloc/Makefile (tests): Add tst-calloc.
7783 * malloc/tst-calloc.c: New file.
7785 * sysdeps/arm/libm-test-ulps: New file.
7787 * malloc/malloc.c: Undo all of today's changes.
7789 * locale/programs/locale.c (show_info): Don't try to look into
7790 data for LC_ALL (there is none).
7792 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
7793 avoid writing over boundary.
7794 Patch by Greg McGary <gkm@eng.ascend.com>.
7796 * sysdeps/arm/memprof.h: New file.
7798 2000-04-12 Andreas Jaeger <aj@suse.de>
7800 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
7802 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
7803 for memmem declaration.
7805 2000-04-12 Ulrich Drepper <drepper@redhat.com>
7807 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
7809 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7811 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
7813 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7814 Patch by Bart Veer <bartv@redhat.com>.
7816 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
7819 2000-04-11 Andreas Jaeger <aj@suse.de>
7821 * sysdeps/mips/dl-machine.h: Update some comments.
7822 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
7824 2000-04-11 Ulrich Drepper <drepper@redhat.com>
7826 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
7827 _POSIX_SHARED_MEMORY_OBJECTS.
7829 * rt/Makefile (tests): Add tst-shm.
7830 Add rules to generate tst-shm.
7831 * rt/tst-shm.c: New file.
7833 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
7836 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
7837 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
7838 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
7839 * sysdeps/generic/shm_open.c: New file.
7840 * sysdeps/generic/shm_unlink.c: New file.
7841 * sysdeps/unix/sysv/linux/shm_open.c: New file.
7842 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
7843 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
7844 __endmntent, __getmntent_r, __setmntent, and __statfs.
7846 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
7847 fragmentation by allocating new memory at the end instead of
7850 * posix/globtest.sh: Fix last change.
7852 2000-04-10 Philip Blundell <philb@gnu.org>
7854 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
7855 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
7856 IPV6_DROP_MEMBERSHIP.
7857 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
7860 2000-04-11 Ulrich Drepper <drepper@redhat.com>
7862 * elf/readlib (process_file): Close streams in case of an error.
7864 2000-04-09 Andreas Jaeger <aj@suse.de>
7866 * elf/readlib.c (process_file): Check if file is big enough to
7867 contain aout and ELF headers.
7868 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
7870 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
7872 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
7874 2000-04-11 Ulrich Drepper <drepper@redhat.com>
7876 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
7878 * rt/Makefile (tests): Add tst-clock.
7879 Add rules to build tst-clock.
7880 * rt/tst-clock.c: New file.
7881 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
7882 about initialization of nsec.
7883 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
7884 about initialization of freq. Set retval to zero if successful.
7885 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
7887 2000-04-10 Ulrich Drepper <drepper@redhat.com>
7889 * Versions.def (librt): Add GLIBC_2.2.
7890 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
7891 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
7892 timer_getoverr, timer_gettime, and timer_settime.
7893 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
7894 clock_settime, timer_create, timer_delete, timer_getoverrun,
7895 timer_gettime, and timer_settime.
7896 * sysdeps/generic/clock_getcpuclockid.c: New file.
7897 * sysdeps/generic/get_clockfreq.c: New file.
7898 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
7899 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
7900 * sysdeps/mach/hurd/i386/bits/time.h: New file.
7901 * sysdeps/unix/i386/i586/clock_getres.c: New file.
7902 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
7903 * sysdeps/unix/i386/i686/Implies: New file.
7904 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
7905 * time/Makefile (routines): Move clock_getres, clock_gettime,
7906 clock_settime, timer_create, timer_delete, timer_getoverr,
7907 timer_gettime, and timer_settime to rt/Makefile.
7908 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
7909 clock_settime, timer_create, timer_delete, timer_getoverrun,
7910 timer_gettime, and timer_settime.
7911 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
7913 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
7914 and not const as attribute name.
7916 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
7918 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
7920 2000-04-10 Andreas Schwab <schwab@suse.de>
7922 * posix/globtest.sh: Skip tests that depend on unreadable
7923 directories if run as root.
7925 2000-04-10 Ulrich Drepper <drepper@redhat.com>
7927 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
7928 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
7930 2000-04-09 Ulrich Drepper <drepper@redhat.com>
7932 * sysdeps/unix/clock_gettime.c: New file.
7933 * sysdeps/unix/clock_settime.c: New file.
7934 * sysdeps/posix/clock_getres.c: New file.
7936 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
7938 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
7939 lseek call be passing in a buffer which never allow a successful
7940 first getdents syscall if not at leas the initial entry can be
7941 stored in the user buffer.
7943 * localedata/Makefile: Add rules to clean up directories created by
7946 2000-04-09 Geoff Clare <gwc@unisoft.com>
7948 * localedata/tst-fmon.data: Added new tests for strfmon()
7949 using test locales with all combinations of cs_precedes,
7950 sign_posn and sep_by_space.
7951 * localedata/tst-fmon.sh: Updated to support the new tests.
7952 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
7953 the localedef source for the new strfmon() test locale.
7954 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
7955 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
7956 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
7957 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
7958 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
7959 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
7960 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
7961 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
7962 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
7963 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
7964 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
7965 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
7966 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
7967 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
7969 * stdlib/strfmon.c: Correct problems with missing or extra
7970 spaces for unusual combinations of sign_posn and sep_by_space.
7971 Improved left-precision alignment code.
7973 2000-04-07 Andreas Jaeger <aj@suse.de>
7975 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
7977 2000-04-10 Andreas Jaeger <aj@suse.de>
7979 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
7981 2000-04-09 Ulrich Drepper <drepper@redhat.com>
7983 Implement handling of restartable conversion functions according to
7985 * iconv/gconv.h (__gconv_fct): Add additional parameter.
7986 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
7987 * iconv/gconv.c: Pass additional parameter to conversion function.
7988 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
7989 (internal_ucs4le_loop_single): New function.
7990 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
7991 (__gconv_transform_internal_ascii): Likewise.
7992 (__gconv_transform_internal_utf8): Likewise.
7993 (__gconv_transform_utf8_internal): Likewise.
7994 (__gconv_transform_ucs2_internal): Likewise.
7995 (__gconv_transform_internal_ucs2): Likewise.
7996 (__gconv_transform_ucs2reverse_internal): Likewise.
7997 (__gconv_transform_internal_ucs2reverse): Likewise.
7998 (internal_ucs4le_loop_unaligned): Before return
7999 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
8000 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
8001 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
8002 * iconv/loop.c: Fit in definition of function to convert one character
8003 for processing of left-over bytes from the state object.
8004 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
8005 inend to match names in loop functions.
8006 (RESET_INPUT_BUFFER): Change apprpriately.
8007 (gconv): If needed, call function to process bytes from the state
8008 object. Similar at the end: store left over bytes if input is
8010 Take extra argument and add new argument to all calls of the
8011 conversion function.
8012 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
8013 information in the state object to not conflict with length count.
8014 * iconvdata/iso-2022-jp.c: Likewise.
8015 * iconvdata/iso-2022-kr.c: Likewise.
8016 * iconvdata/unicode.c: Adjust for change change in parameters of
8018 * iconvdata/utf-16.c: Likewise.
8019 * libio/iofwide.c: Add new parameter to all calls of conversion
8021 * wcsmbs/btowc.c: Likewise.
8022 * wcsmbs/mbrtowc.c: Likewise.
8023 * wcsmbs/mbsnrtowcs.c: Likewise.
8024 * wcsmbs/mbsrtowcs.c: Likewise.
8025 * wcsmbs/wcrtomb.c: Likewise.
8026 * wcsmbs/wcsnrtombs.c: Likewise.
8027 * wcsmbs/wcsrtombs.c: Likewise.
8028 * wcsmbs/wctob.c: Likewise.
8030 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
8033 2000-04-07 Andreas Jaeger <aj@suse.de>
8035 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
8038 2000-04-07 Ulrich Drepper <drepper@redhat.com>
8040 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
8041 element a union to allow byte access.
8042 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
8044 * iconvdata/iso-2022-jp.c: Likewise.
8045 * iconvdata/iso-2022-kr.c: Likewise.
8046 * wcsmbs/mbsinit.c: Likewise.
8047 * stdlib/mblen.c: Likewise.
8048 * stdio-common/printf-parse.h: Likewise.
8050 2000-04-06 Ulrich Drepper <drepper@redhat.com>
8052 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
8053 kernel does not allow relative seeks on descriptors associated
8054 with directories. Go back to get the position in the directory
8055 every time we enter the function. Return -1 and set errno if one
8056 entry could be read from the kernel but does not fit into the
8057 buffer passed in by the user.
8059 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
8060 Support ..(2).. ellipsis.
8061 (parse_charmap): Recognize ..(2).. etc and pass step down.
8062 Correctly generate names for UCS4 characters.
8064 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
8065 (ctype_finish): We know the wide character value for <SP>,
8067 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
8068 (charclass_ucs4_ellipsis): Likewise.
8069 (read_translit_ignore_entry): Store ellipsis step.
8070 (ctype_read): Recognize ..(2).. etc and pass step down.
8072 * locale/programs/linereader.c (lr_token): When seeing comment
8073 character ignore only rest of line in sources but stop at escaped
8075 Recognize ..(2).. and ....(2).....
8077 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
8078 and tok_ellipsis4_2.
8080 2000-04-06 Andreas Jaeger <aj@suse.de>
8082 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
8083 removed, remove it here also.
8084 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
8085 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
8086 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
8087 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
8089 2000-04-06 Jakub Jelinek <jakub@redhat.com>
8091 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
8092 include bits/sigcontext.h.
8093 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8095 2000-04-06 Ulrich Drepper <drepper@redhat.com>
8097 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
8098 collation symbol definition. Value in quivalence definition must
8099 be defined, don't check that it is not.
8101 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
8102 values as character names.
8104 * locale/programs/ld-ctype.c (get_character): Handle missing
8105 repertoire map correctly.
8107 2000-04-05 Cristian Gafton <gafton@redhat.com>
8109 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
8110 because it is used in generic code.
8111 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
8112 * wcsmbs/wcwidth.h: Declare __ctype32_b.
8113 * intl/gettext.c: Include <locale.h>.
8114 * intl/ngettext.c: Likewise.
8116 2000-04-05 Jakub Jelinek <jakub@redhat.com>
8118 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
8119 socklen_t type for size.
8120 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
8121 init function interface.
8122 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8123 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
8125 (__jmp_buf): Declare the whole type structure here, don't use
8128 2000-04-05 Ulrich Drepper <drepper@redhat.com>
8130 * iconv/skeleton.c (put16u): Fix typo.
8131 Reported by Bruno Haible <haible@ilog.fr>.
8133 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
8134 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
8135 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
8136 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
8137 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
8138 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
8140 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
8141 * Makefile (distribute): Add abi-versions.awk and
8143 Patches by Torsten Duwe <duwe@caldera.de>.
8145 2000-04-05 Andreas Schwab <schwab@suse.de>
8147 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
8149 2000-04-05 Andreas Schwab <schwab@suse.de>
8151 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
8152 entry point, used on Hurd.
8154 2000-04-04 Andreas Jaeger <aj@suse.de>
8156 * intl/Makefile: Only run the gettext test with shared libraries.
8158 2000-03-16 Mark Kettenis <kettenis@gnu.org>
8160 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
8161 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
8163 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
8165 * Makeconfig: Undo last change.
8166 * configure.in: If --disable-shared was given, don't set VERSIONING,
8167 don't define DO_VERSIONING, and don't give scare warning for no
8169 * configure: Regenerated.
8171 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
8173 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
8175 2000-04-04 Andreas Jaeger <aj@suse.de>
8177 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
8179 2000-04-04 Ulrich Drepper <drepper@redhat.com>
8181 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
8182 STV_HIDDEN and STV_INTERNAL during lookup.
8183 (profile_fixup): Likewise.
8184 * elf/dl-reloc.c (RESOLVE): Likewise.
8186 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
8187 unaligned so that it compiles for system which need unaligned
8190 2000-04-04 Andreas Schwab <schwab@suse.de>
8192 * elf/cache.c (print_entry): Only look at the type field when
8195 2000-04-04 Andreas Schwab <schwab@suse.de>
8197 * iconvdata/big5.c (BODY): Fix typo.
8199 2000-04-04 Andreas Schwab <schwab@suse.de>
8201 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
8202 function interface. Remove unused _dl_start_user entry point.
8204 2000-04-03 Andreas Jaeger <aj@suse.de>
8206 * include/arpa/inet.h (__inet_aton): Add protoype.
8208 2000-04-01 Andreas Jaeger <aj@suse.de>
8210 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
8212 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
8213 * sysdeps/mach/mips/thread_state.h: Likewise.
8215 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
8216 * sysdeps/generic/fegetenv.c: Likewise.
8217 * sysdeps/generic/fesetenv.c: Likewise.
8218 * sysdeps/generic/feupdateenv.c: Likewise.
8219 * sysdeps/generic/fraiseexcpt.c: Likewise.
8220 * sysdeps/generic/fsetexcptflg.c: Likewise.
8221 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
8222 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
8223 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
8224 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8226 2000-04-02 H.J. Lu <hjl@gnu.org>
8228 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
8230 2000-04-03 Ulrich Drepper <drepper@redhat.com>
8232 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
8233 (add_name_to_object): Add cast in malloc call.
8234 (fillin_rpath): Optimize loop to initialize ->status a bit.
8236 * sysdeps/i386/dl-machine.h: Undo last change.
8237 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
8238 Restore %edx register after call here.
8240 * sysdeps/arm/atomicity.h: New file.
8241 Contributed by Jesper Skov <jskov@redhat.com>.
8243 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
8245 * Makeconfig (preprocess-versions): Undo last change.
8246 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
8248 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
8249 here, before we might move the stack.
8250 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
8251 (init1): And not here.
8253 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
8254 change, to restore argc value in call-clobbered register after
8255 RTLD_START_SPECIAL_INIT, which will contain a call.
8257 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
8258 allocating and initializing L->l_initfini.
8260 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
8262 2000-04-03 Ulrich Drepper <drepper@redhat.com>
8264 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
8265 RUNPATH, RPATH, and LD_LIBRARY_PATH.
8266 (open_path): Change type of fourth parameter. Make pointer to array
8267 of pointers. Create variable dirs with original type.
8268 Track whether any directory for the object exists and if not,
8269 change *DIRSP to (void*) -1 to signal there is no such search path.
8270 (_dl_map_object): Change all calls of open_path.
8271 Rewrite decompose_rpath calls.
8273 2000-03-31 Andreas Schwab <schwab@suse.de>
8275 * string/strfry.c: Declare STATE as array of char instead of int
8276 and do not initialize it (done by initstate_r). Pass correct
8279 2000-04-03 Ulrich Drepper <drepper@redhat.com>
8281 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
8283 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
8284 instruction out of the code.
8286 2000-04-02 Ulrich Drepper <drepper@redhat.com>
8288 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
8289 element at this position.
8291 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
8292 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
8294 * elf/dl-lookup.c (add_dependency): New function.
8295 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
8296 dynamically loaded object.
8297 (_dl_lookup_symbol_skip): Likewise.
8298 (_dl_lookup_versioned_symbol): Likewise.
8299 (_dl_lookup_versioned_symbol_skip): Likewise.
8300 * elf/dl-open.c: Don't define _dl_load_lock here...
8301 * elf/rtld.c: ...but here...
8302 * elf/dl-support.c: ...and here.
8303 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
8305 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
8307 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
8309 * dlfcn/glrefmain.c: Add one more debug message.
8311 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
8313 * Makerules (sysd-versions): Use ( ) instead of { }.
8315 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
8316 optimize for the non-debugging case.
8317 * elf/dl-lookup.c: Likewise.
8318 * sysdeps/generic/libc-start.c: Likewise.
8320 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
8322 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
8323 (init1): Don't initialize __environ here, since init already does it.
8324 (first_init): New function, broken out of _init.
8325 (_hurd_stack_setup): Use it.
8326 [SHARED] (_dl_init_first): New function, renamed from old _init.
8327 (init1) [SHARED]: Don't call posixland_init here.
8328 (posixland_init): Take ENVP arg, so signature is usual for initializer.
8329 [SHARED] (_init): Define as alias for posixland_init.
8330 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
8331 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
8332 RTLD_START_SPECIAL_INIT before calling initializers.
8333 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
8334 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
8335 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
8336 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
8338 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
8339 since we define the function with the name `tmpfile'.
8341 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
8342 * hurd/Versions: Likewise.
8344 2000-04-02 Ulrich Drepper <drepper@redhat.com>
8346 * elf/dl-runtime.c (fixup): Fix typo in comment.
8348 * resolv/netdb.h (getnameinfo): All length parameters are of type
8350 * inet/getnameinfo.c: Likewise.
8352 2000-04-01 Ulrich Drepper <drepper@redhat.com>
8354 * posix/unistd.h (socklen_t): Define if it has not yet happened.
8355 (gethostname): Change type of second parameter to socklen_t.
8356 * include/unistd.h (__gethostname): Change type of second
8357 parameter to socklen_t.
8358 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
8359 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8360 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
8361 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
8363 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
8364 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
8365 Allow definition elsewhere.
8366 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
8367 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8368 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
8369 * sysdeps/generic/bits/types.h: Define __socklen_t.
8370 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
8371 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
8372 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
8373 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8374 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
8375 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
8376 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
8378 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
8379 (inet_lnaof): Likewise.
8380 (inet_netof): Likewise.
8381 (inet_network): Likewise.
8382 (inet_aton): Likewise.
8383 (inet_makeaddr): Change parameter types to in_addr_t.
8384 (inet_neta): Likewise.
8385 (inet_ntop): Change type of last parameter to socklen_t.
8386 (inet_aton): Only make available if __USE_MISC.
8387 (inet_neta): Likewise.
8388 (inet_net_ntop): Likewise.
8389 (inet_net_pton): Likewise.
8390 (inet_nsap_ntoa): Likewise.
8392 * inet/in.h: Define in_port_t type.
8393 Define in_addr_t type.
8394 (struct in_addr): Use in_addr_t in definition.
8395 (IN_CLASSA): Use cast to in_addr_t.
8396 (IN_CLASSB): Likewise.
8397 (IN_CLASSC): Likewise.
8398 (IN_CLASSD): Likewise.
8399 (IN_EXPERIMENTAL): Likewise.
8400 (IN_BADCLASS): Likewise.
8401 (INADDR_ANY): Likewise.
8402 (INADDR_BROADCAST): Likewise.
8403 (INADDR_NONE): Likewise.
8404 (INADDR_LOOPBACK): Likewise.
8405 (INADDR_UNSPEC_GROUP): Likewise.
8406 (INADDR_ALLHOSTS_GROUP): Likewise.
8407 (INADDR_ALLRTRS_GROUP): Likewise.
8408 (INADDR_MAX_LOCAL_GROUP): Likewise.
8409 (struct sockaddr_in): Use in_port_t for sin_port element.
8410 (struct sockaddr_in6): Use in_port_t for sin6_port element.
8411 Use uint8_t instead of u_int8_t.
8413 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
8414 Call __inet_aton instead of inet_aton.
8415 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
8417 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
8418 (innetgr): Likewise.
8419 (struct addrinfo): Use socklen_t for ai_addrlen element.
8421 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
8422 IPV6_RECVERR): New defines.
8424 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
8425 * inet/getnetbyad.c: Likewise.
8426 * inet/getnetbyad_r.c: Likewise.
8427 * nis/nss_nis/nis-network.c: Likewise.
8428 * nis/nssplus_nis/nisplus-network.c: Likewise.
8429 * nss/nss_files/files-network.c: Likewise.
8430 * resolv/netdb.h: Define uint32_t if not already happened.
8431 Include bits/netdb.h. Remove definition of struct netent.
8432 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
8433 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
8434 * sysdeps/generic/bits/netdb.h: New file.
8435 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
8437 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
8438 (tests): Add glrefmain.
8439 Add rules to build modules and run tests. Ignore result of glrefmain
8440 for now since it fails.
8441 * dlfcn/glrefmain.c: New file.
8442 * dlfcn/glreflib1.c: New file.
8443 * dlfcn/glreflib2.c: New file.
8445 * test-skeleton.c: Include <string.h> for strsignal prototype.
8447 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
8450 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
8451 former init-first.h. Initialize __libc_multiple_libcs.
8453 2000-03-31 Ulrich Drepper <drepper@redhat.com>
8455 * iconv/skeleton.c: Define access macros with u suffix. Adjust
8456 #if expression for use of unaligned function to the one used in
8457 the definition of these functions.
8458 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
8459 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
8460 (internal_ucs4le_loop_unaligned): New function.
8462 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
8464 (module-names): Add dep1, dep2, dep3, and dep4.
8465 Add dependencies for dep* modules and order.
8466 Define rule for order.out which checks the result.
8467 * elf/dep1.c: New file.
8468 * elf/dep2.c: New file.
8469 * elf/dep3.c: New file.
8470 * elf/dep4.c: New file.
8471 * elf/order.c: New file.
8473 * elf/dl-init.c: Fix typo in comment.
8475 2000-03-31 Andreas Jaeger <aj@suse.de>
8477 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
8478 init function interface.
8479 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
8481 2000-03-31 Andreas Jaeger <aj@suse.de>
8483 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
8484 * sysdeps/mips/fpu/fegetenv.c: Likewise.
8485 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
8486 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
8487 * sysdeps/mips/fpu/fesetenv.c: Likewise.
8489 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
8490 anymore, update comment.
8492 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8494 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
8495 SHLIB_COMPAT - the struct is always needed.
8497 2000-03-31 Ulrich Drepper <drepper@redhat.com>
8499 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
8500 * elf/dl-support.c: Define _dl_starting_up.
8502 2000-03-30 Ulrich Drepper <drepper@redhat.com>
8504 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
8505 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
8507 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
8509 * elf/Makefile (dl-routines): Remove preinit.
8510 * elf/Versions: Remove _dl_preinit.
8511 * elf/dl-preinit.c: Removed. Move content into...
8512 * elf/dl-init.c: ...here.
8513 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
8515 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
8518 2000-03-29 Geoff Clare <gwc@unisoft.com>
8520 * stdlib/strfmon.c: Corrected problems with the code that
8521 sets default values for [np]_sep_by_space and
8522 [np]_sign_posn; also the new positive/negative alignment
8523 code from the previous patch was not quite right for
8526 * localedata/tst-fmon.data: Changes corresponding to the
8527 two sets of fixes made to stdlib/strfmon.c.
8529 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
8531 * malloc/malloc.c: Declare bit flags UL so that they will not
8532 default to int size when being inverted.
8534 2000-03-29 Andreas Jaeger <aj@suse.de>
8536 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
8537 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8539 2000-03-29 Andreas Jaeger <aj@suse.de>,
8540 Ralf Baechle <ralf@uni-koblenz.de>
8542 * Makeconfig: Introduce new variable SHARED to mark code used in
8544 * elf/dl-close.c: Use it instead of PIC.
8545 * elf/dl-load.c: Likewise.
8546 * elf/dl-open.c: Likewise.
8547 * hurd/geteuids.c: Likewise.
8548 * include/libc-symbols.h: Likewise.
8549 * include/shlib-compat.h: Likewise.
8550 * libio/freopen.c: Likewise.
8551 * linuxthreads/cancel.c: Likewise.
8552 * linuxthreads/pthread.c: Likewise.
8553 * linuxthreads/wrapsyscall.c: Likewise.
8554 * nss/nsswitch.c: Likewise.
8555 * stdio-common/vfprintf.c: Likewise.
8556 * sysdeps/arm/init-first.c: Likewise.
8557 * sysdeps/i386/init-first.c: Likewise
8558 * sysdeps/generic/init-first.c: Likewise.
8559 * sysdeps/generic/libc-start.c: Likewise.
8560 * sysdeps/mips/init-first.c: Likewise.
8561 * sysdeps/powerpc/elf/libc-start.c: Likewise.
8562 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8563 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
8564 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
8565 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8567 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
8569 2000-03-29 Andreas Jaeger <aj@suse.de>
8571 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
8572 Use D_PTR to access relocated entries in l_info.
8573 (elf_machine_rela): Likewise.
8575 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
8577 (elf_machine_rela): Likewise.
8579 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
8581 (__elf_machine_fixup_plt): Likewise.
8582 (__process_machine_rela): Likewise.
8584 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
8585 (elf_machine_rela): Likewise.
8587 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
8588 (elf_machine_rel): Likewise.
8590 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
8591 (elf_machine_fixup_plt): Likewise.
8592 (elf_machine_rela): Likewise.
8594 2000-03-29 Andreas Jaeger <aj@suse.de>
8596 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
8597 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8598 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8599 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
8600 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8601 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
8602 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8603 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
8604 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8605 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
8606 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
8607 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
8608 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
8609 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
8610 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8612 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
8613 macros, remove K&R prototypes.
8615 2000-03-30 Ulrich Drepper <drepper@redhat.com>
8617 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
8618 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
8621 2000-03-30 Andreas Jaeger <aj@suse.de>
8623 * misc/sys/cdefs.h: Remove K&R support.
8625 2000-03-30 Ulrich Drepper <drepper@redhat.com>
8627 * iconv/skeleton.c: Avoid compiling unaligned versions in some
8629 * iconv/loop.c: Likewise.
8631 2000-03-29 Bruno Haible <haible@clisp.cons.org>
8633 * iconv/loop.c (put16): Remove __const. Fix access index.
8634 (put32): Remove __const. Use uint32_t instead of uint16_t.
8635 * iconv/skeleton.c: Likewise.
8637 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
8639 * mach/Versions (libc: GLIBC_2.0)
8640 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
8641 __vm_allocate on this.
8642 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
8643 mutex- and spinlock-related symbols on this.
8644 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
8645 New version set. Lock-related symbols go here instead in this case.
8646 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
8647 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
8648 cthread_getspecific, cthread_setspecific, __libc_getspecific.
8650 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
8651 Put them here instead.
8652 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
8653 New version set. Those cthreads symbols go here instead in this case.
8654 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
8656 2000-03-30 Ulrich Drepper <drepper@redhat.com>
8658 * elf/dl-init.c (_dl_init): We don't need to call constructors
8659 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
8661 Implement dynamic determination of constructor/destructor order in
8663 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
8664 (GLIBC_2.2): Add _dl_init.
8665 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
8666 r_duplist is not anymore allocated separately. l_initfini is and
8667 therefore free it if necessary.
8668 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
8669 malloc block. Otherwise allocate l_initfini list only.
8670 Put dependencies for the object in l_initfini list.
8671 Sort dependencies for the object to be loaded topologically.
8672 * elf/dl-fini.c: Before running the destructors sort the topologically.
8673 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
8674 call constructors instead of iterating over the pointers. Get list of
8675 objects for which to run constructors from l_initfini element. Accept
8676 argc, argv, and env as parameters and pass them to the constructors.
8677 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
8678 with size of dynamic section.
8679 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
8680 _dl_init_next and calling constructors ourself.
8681 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
8682 Take argc, argv, and env as parameters and pass them to the
8683 constructors. Rewrite to call all constructors and not iterate over
8685 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
8686 precompute l_initcount and l_preinitcount.
8687 * elf/link.h (struct link_map): Add l_ldnum member.
8688 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
8689 l_initcount, and l_preinitcount. Add l_initfini.
8690 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
8692 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
8694 * sysdeps/unix/sysv/linux/init-first.h: Removed.
8695 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
8696 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
8697 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
8698 conventions now match.
8700 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
8701 effect for shared objects. Don't emit message and call only for
8704 2000-03-29 Ulrich Drepper <drepper@redhat.com>
8706 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
8707 CSA_Z243.4-1985-1..UCS2.
8708 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
8711 2000-03-29 Andreas Jaeger <aj@suse.de>
8713 * include/unistd.h: Remove duplicate entry for __rmdir.
8714 Remove declaration of __mkdir since __mkdir is declared in
8717 * manual/creature.texi (Feature Test Macros): Fix typo, reported
8718 by Michael Deutschmann <michael@talamasca.ocis.net>.
8720 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
8721 * sysdeps/mips/fpu/fegetenv.c: Likewise.
8722 * sysdeps/mips/fpu/fesetenv.c: Likewise.
8723 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
8724 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
8726 2000-03-28 Andreas Jaeger <aj@suse.de>
8728 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
8729 declaration, the prototype is defined via bits/mathcalls.h.
8730 (__sincosf): Likewise.
8731 (__sincosl): Likewise.
8735 (__finite): Likewise.
8736 (__inline_mathcodeNP): New macro without prototype
8738 (__inline_mathcodeNP2): Likewise.
8739 (__inline_mathcodeNP3): Likewise.
8740 (__inline_mathcodeNP_): Likewise.
8741 (__inline_mathcodeNP2_): Likewise.
8742 (__inline_mathcodeNP3_): Likewise.
8743 (__inline_mathopNP): Likewise.
8744 (__inline_mathop_declNP): Likewise.
8745 (__inline_mathop_declNP_): Likewise.
8746 (__inline_mathcode_): Use __inline_mathcodeNP_.
8747 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
8748 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
8749 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
8750 (__expm1l): Don't define prototype, the prototype is defined via
8756 (__atan2l): Likewise.
8761 (__fabsl): Likewise.
8779 (__sqrtl): Likewise.
8789 2000-03-28 Ulrich Drepper <drepper@redhat.com>
8791 * Makerules: If make variable md5 is defined to yes after
8792 generating dependencies generate MD5 sum for the object.
8794 * iconv/gconv_builtin.h: Fix length in transformation definition
8797 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
8799 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
8800 allow as well reading from/writing to unaligned addresses on machines
8801 which don't support this in hardware. Use FCTNAME macro to define
8802 function name. Include the file a second time for platforms which
8803 need special unaligned handling.
8804 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
8805 to access potentially unaligned addresses. These macros are intended
8806 to be used only outside the loops.
8807 (unaligned): New definition. In case the machine can handle unaligned
8808 access define as zero. Otherwise as a variable which is initialized
8809 as nonzero in case the buffer passed in at runtime is unaligned with
8810 respect to the character set encoding involved.
8811 Call aligned or unaligned looop functions according to unaligned
8813 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
8814 of direct casting pointer to potentially handle unaligned memory
8816 * iconvdata/8bit-generic.c: Likewise.
8817 * iconvdata/ansi_x3.110.c: Likewise.
8818 * iconvdata/big5.c: Likewise.
8819 * iconvdata/euc-cn.c: Likewise.
8820 * iconvdata/euc-jp.c: Likewise.
8821 * iconvdata/euc-kr.c: Likewise.
8822 * iconvdata/euc-tw.c: Likewise.
8823 * iconvdata/gbk.c: Likewise.
8824 * iconvdata/iso-2022-cn.c: Likewise.
8825 * iconvdata/iso-2022-jp.c: Likewise.
8826 * iconvdata/iso-2022-kr.c: Likewise.
8827 * iconvdata/iso646.c: Likewise.
8828 * iconvdata/iso_6937-2.c: Likewise.
8829 * iconvdata/iso_6937.c: Likewise.
8830 * iconvdata/johab.c: Likewise.
8831 * iconvdata/sjis.c: Likewise.
8832 * iconvdata/t.61.c: Likewise.
8833 * iconvdata/uhc.c: Likewise.
8834 * iconvdata/unicode.c: Likewise.
8835 * iconvdata/utf-16.c: Likewise.
8837 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
8840 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
8841 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
8843 * malloc/mcheck.h (mcheck_check_all): Declare.
8845 * stdio-common/Makefile (tests): Add tst-obprintf.
8847 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
8849 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
8850 Declare pthread_sigmask.
8852 * csu/version.c: Add 2000 to copyright years.
8853 Remove Emacs local variables section.
8855 2000-03-23 Bruno Haible <haible@clisp.cons.org>
8857 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
8858 __gconv_transform_internal_ucs2little): Remove declarations.
8859 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
8860 __gconv_transform_internal_ucs2): Never need to bswap_16.
8861 (__gconv_transform_ucs2reverse_internal,
8862 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
8864 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8866 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
8867 obsoleting version not being defined at all, in which case the
8868 result is always true.
8870 * Makeconfig (preprocess-versions): New canned sequence for running
8871 cpp on shlib-versions and the like.
8872 (soversions.i): Use it.
8873 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
8874 Versions.def and Versions files.
8876 2000-03-27 Ulrich Drepper <drepper@redhat.com>
8878 * stdio-common/tst-obprintf.c (main): Add another check to see
8879 obstack_printf handling all possible beginnings of the block
8880 inside an obstack chunk.
8882 * locale/programs/localedef.c: Use __malloc_initialize_hook to
8883 install mcheck handler.
8885 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
8888 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8890 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
8892 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
8893 on [HAVE_ELF && DO_VERSIONING].
8895 2000-03-27 Ulrich Drepper <drepper@redhat.com>
8897 * stdio-common/tst-obprintf.c: New file.
8899 2000-03-26 Ulrich Drepper <drepper@redhat.com>
8901 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
8902 _IO_OVERFLOW directly instead through __overflow.
8904 * locale/programs/localedef.c (construct_output_path): If path
8905 contains a / compute the end of the directory name correctly.
8907 * include/features.h: Undef and document __USE_XOPEN2K.
8909 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
8910 whenever a function is called. Initiated by calling mcheck_pedantic
8912 * malloc/mcheck.h: Declare mcheck_pedantic.
8913 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
8914 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
8917 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8919 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
8920 * dlfcn/dlopenold.c: Likewise.
8921 * nss/getXXbyYY_r.c: Likewise.
8922 * nss/getXXent_r.c: Likewise.
8923 * hurd/hurdinit.c: Likewise.
8924 * hurd/compat-20.c: Likewise.
8925 * libio/oldiofopen.c: Likewise.
8926 * libio/oldiofclose.c: Likewise.
8927 * libio/oldiofdopen.c: Likewise.
8928 * libio/oldfileops.c: Likewise.
8929 * libio/oldstdfiles.c: Likewise.
8930 * libio/oldiofsetpos.c: Likewise.
8931 * libio/oldiofgetpos.c: Likewise.
8932 * libio/oldiofgetpos64.c: Likewise.
8933 * libio/oldiofsetpos64.c: Likewise.
8934 * libio/oldiopopen.c: Likewise.
8935 * libio/oldpclose.c: Likewise.
8936 * libio/oldtmpfile.c: Likewise.
8937 * libio/freopen.c (freopen): Likewise.
8938 * libio/iofclose.c (_IO_new_fclose): Likewise.
8940 * sysdeps/mach/sys/reboot.h: Include <features.h>.
8941 (reboot): Declare it.
8943 * libio/Makefile (headers): Add bits/stdio-lock.h here.
8945 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
8947 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
8949 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
8950 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
8951 We need this for the sbrk decl, which can be included without Unix98.
8953 2000-03-20 Richard Henderson <rth@cygnus.com>
8955 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
8956 argument to yperr2nss is an int, not size_t.
8957 * posix/regex.c (print_partial_compiled_pattern): Cast all
8958 ptrdiff_t to long for printing.
8959 (print_compiled_pattern): Use Z for printing size_t.
8960 * posix/testfnm.c (tests): Avoid trigraphs.
8961 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8962 Use a C comment, not an assembly comment.
8964 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
8965 of __ASSUME_32BITUIDS.
8967 2000-03-26 Ulrich Drepper <drepper@redhat.com>
8969 * libio/iofopncook.c: Remove K&R prototypes.
8971 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8973 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
8974 an initial value of 1024 instead of RLIM_INFINITY.
8976 * Versions.def (libmachuser, libhurduser): Remove these sections,
8977 since these libraries do not presently use symbol versions.
8979 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
8980 is RLIM_INFINITY, return -1 instead.
8982 2000-03-24 Andreas Jaeger <aj@suse.de>
8984 * Makefile (postclean): Added soversions.i.
8986 2000-03-24 Scott Bambrough <scottb@netwinder.org>
8988 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
8989 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
8990 and _FPU_IEEE. Change _FPU_RESERVED.
8992 2000-03-24 Scott Bambrough <scottb@netwinder.org>
8994 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
8996 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
8998 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
8999 (gaih_inet): Remove unused duplicate variable.
9001 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
9002 Don't use __libc_sa_len, which only exists for Linux. Just handle
9003 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
9004 only flavors supported by this function anyway.
9006 2000-03-24 Geoff Clare <gwc@unisoft.com>
9008 * stdlib/strfmon.c: Corrected problems with missing signs and
9009 missing or extra spaces; allow for sign strings longer than
9010 one character; add padding to ensure positive and negative
9011 formats are aligned when a left precision is used.
9013 2000-03-26 Ulrich Drepper <drepper@redhat.com>
9015 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
9016 Patch by John Mizel <John.Mizel@msdw.com>.
9018 2000-03-25 Ulrich Drepper <drepper@redhat.com>
9020 * manual/install.texi: Remove references to crypt add-on.
9022 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
9024 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
9025 section while taking the _hurd_rlimit_lock.
9026 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9028 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
9030 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
9033 * sysdeps/mach/hurd/if_index.c: New file.
9035 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
9036 * sysdeps/gnu/net/if.h: here.
9037 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
9038 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
9039 * sysdeps/generic/net/if.h: New file. Declares just the standard
9040 functions and `struct if_nameindex' type.
9041 * socket/Makefile (headers): Add net/if.h here.
9042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
9043 * sysdeps/mach/hurd/Dist: Remove it here.
9044 * sysdeps/unix/sysv/linux/Dist: And here.
9045 * sysdeps/generic/if_index.c: Include <net/if.h>.
9047 2000-03-24 Andreas Jaeger <aj@suse.de>
9049 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
9050 access relocated entries in l_info.
9051 (elf_machine_got_rel): Likewise.
9052 (elf_machine_runtime_setup): Likewise.
9053 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
9054 (elf_machine_runtime_setup): Likewise.
9055 (__dl_runtime_resolve): Likewise.
9057 2000-03-23 Ulrich Drepper <drepper@redhat.com>
9059 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
9060 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
9061 according to RFC 2553.
9062 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
9063 * inet/getnameinfo.c: Likewise.
9064 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
9066 2000-03-23 Bruno Haible <haible@clisp.cons.org>
9068 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
9069 Remove no-op pointer increment.
9071 2000-03-23 Andreas Jaeger <aj@suse.de>
9073 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
9074 follow change for libio.h from 2000-03-10.
9076 2000-03-23 Andreas Jaeger <aj@suse.de>
9078 * elf/dl-addr.c: Adjust include paths for ldsodefs location
9080 * elf/dl-debug.c: Likewise.
9081 * elf/dl-deps.c: Likewise.
9082 * elf/dl-error.c: Likewise.
9083 * elf/dl-fini.c: Likewise.
9084 * elf/dl-init.c: Likewise.
9085 * elf/dl-load.c: Likewise.
9086 * elf/dl-lookup.c: Likewise.
9087 * elf/dl-minimal.c: Likewise.
9088 * elf/dl-object.c: Likewise.
9089 * elf/dl-open.c: Likewise.
9090 * elf/dl-preinit.c: Likewise.
9091 * elf/dl-profile.c: Likewise.
9092 * elf/dl-profstub.c: Likewise.
9093 * elf/dl-reloc.c: Likewise.
9094 * elf/dl-runtime.c: Likewise.
9095 * elf/dl-support.c: Likewise.
9096 * elf/dl-symbol.c: Likewise.
9097 * elf/dl-version.c: Likewise.
9098 * elf/rtld.c: Likewise.
9099 * elf/sprof.c: Likewise.
9100 * sysdeps/generic/dl-cache.c: Likewise.
9101 * sysdeps/generic/dl-origin.c: Likewise.
9102 * sysdeps/generic/dl-sysdep.c: Likewise.
9103 * sysdeps/generic/elf/backtracesyms.c: Likewise.
9104 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9105 * sysdeps/generic/libc-start.c: Likewise.
9106 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9107 * sysdeps/powerpc/dl-machine.c: Likewise.
9108 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9109 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9110 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9111 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
9113 * elf/ldsodefs.h: Move file to ...
9114 * sysdeps/generic/ldsodefs.h: ... here.
9116 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
9118 * sysdeps/mips/elf/ldsodefs.h: New file.
9120 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
9122 (_dl_check_map_versions): Likewise.
9123 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9124 * elf/dl-load.c (_dl_init_paths): Likewise.
9125 (_dl_map_object): Likewise.
9126 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
9127 (elf_get_dynamic_info): Likewise.
9128 * elf/do-lookup.h (FCT): Likewise.
9129 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
9130 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9131 * elf/dl-addr.c (_dl_addr): Likewise.
9132 * elf/dl-runtime.c (profile_fixup): Likewise.
9134 * elf/dl-init.c (_dl_init_next): Likewise.
9135 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
9136 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
9137 (DISTINGUISH_LIB_VERSIONS): Likewise.
9138 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
9139 (elf_machine_rel): Likewise.
9141 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
9142 for writable dynamic section.
9144 2000-03-22 Ulrich Drepper <drepper@redhat.com>
9146 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
9147 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
9149 2000-03-22 Andreas Jaeger <aj@suse.de>
9151 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
9152 from latest Linux kernel.
9154 2000-03-21 Andreas Jaeger <aj@suse.de>
9156 * Versions.def: Add version 2.1.4.
9158 2000-03-21 Ulrich Drepper <drepper@redhat.com>
9160 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
9161 * libio/oldiofopen.c: Likewise.
9162 * libio/oldiofclose.c: Likewise.
9163 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9165 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
9167 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
9168 indicating the first version set to obsolete the conditionalized code.
9169 (compat_symbol): New macro.
9170 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
9171 rhs be the ABI_* macro for the subsuming version. Assign increasing
9172 integer values to the ABI_* macros for supported versions.
9173 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
9174 compat_symbol macro.
9176 2000-03-21 Ulrich Drepper <drepper@redhat.com>
9178 * nscd/connections.c (nscd_run): Pretty print.
9179 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
9181 * manual/charset.texi: Fix typos. Rephrase.
9182 * manual/process.texi: Likewise.
9183 * manual/signal.texi: Likewise.
9184 Patches by Mike Coleman <mkc@kc.net>.
9186 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
9188 * libio/iofdopen.c: Likewise.
9189 * libio/iofgetpos.c: Likewise.
9190 * libio/iofgetpos64.c: Likewise.
9191 * libio/iofopen.c: Likewise.
9192 * libio/iofsetpos.c: Likewise.
9193 * libio/iofsetpos64.c: Likewise.
9194 * libio/iopopen.c: Likewise.
9195 * libio/oldiofopen.c: Likewise.
9196 * libio/pclose.c: Likewise.
9197 * sysdeps/gnu/siglist.c: Likewise.
9198 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9200 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
9201 chance to expand VERSION_##lib##_##version.
9203 * libio/fileops.c: Use new macros from shlib-compat.h to define
9205 * libio/iofclose.c: Likewise.
9206 * libio/oldiofclose.c: Likewise.
9207 Patch by Roland McGrath <roland@frob.com>.
9209 2000-03-21 Jakub Jelinek <jakub@redhat.com>
9211 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
9212 Lay out struct sigcontext according to what really gets passed on
9214 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
9215 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
9216 (prgregset_t, prfpregset_t): Define to elf_* types.
9217 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
9218 Define to correct value.
9219 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
9221 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
9223 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
9225 * scripts/firstversions.awk: Allow multiple version sets in the
9226 "earliest version" specification, meaning that version sets in the
9227 gaps between listed versions should be folded into the earliest later
9228 version that is explicitly listed.
9229 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
9230 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
9232 2000-03-21 Ulrich Drepper <drepper@redhat.com>
9234 * iconv/gconv_builtin.c: Include <endian.h>.
9235 * iconv/gconv_builtin.h: Add UCS-BE aliases.
9236 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
9237 according to current platform.
9238 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
9239 __gconv_transform_internal_ucs2reverse, and
9240 __gconv_transform_internal_ucs4le.
9241 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
9242 __gconv_transform_ucs2reverse_internal and
9243 __gconv_transform_internal_ucs2reverse.
9244 * iconvdata/Makefile (modules): Add UNICODE.
9245 (distribute): Add unicode.c.
9246 * iconvdata/gconv-modules: Add definitions for UNICODE module.
9247 * iconvdata/unicode.c: New file.
9249 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
9250 determine byte order of input and convert accordingly.
9252 * iconvdata/utf-16.c (gconv_init): Fix typo.
9254 2000-03-20 Ulrich Drepper <drepper@redhat.com>
9256 * iconvdata/gconv-modules: Fix typo.
9258 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
9261 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
9263 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
9265 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
9267 2000-03-20 Ulrich Drepper <drepper@redhat.com>
9269 * misc/Makefile (routines): Add mincore.
9271 2000-03-20 Andreas Jaeger <aj@suse.de>
9273 * sysdeps/generic/mincore.c: New stub file.
9275 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
9276 from latest Linux kernel.
9278 2000-03-20 Ulrich Drepper <drepper@redhat.com>
9280 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
9281 _SC_GETPW_R_SIZE_MAX.
9283 2000-03-20 Richard Henderson <rth@cygnus.com>
9285 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
9288 2000-03-20 Richard Henderson <rth@cygnus.com>
9290 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
9291 of arithmetic instructions.
9293 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
9294 with the fpcr. Protect from INV exception.
9295 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
9296 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
9297 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
9299 * sysdeps/alpha/fpu/s_copysign.c: New.
9300 * sysdeps/alpha/fpu/s_copysignf.c: New.
9301 * sysdeps/alpha/fpu/s_fabs.c: New.
9302 * sysdeps/alpha/fpu/s_fabsf.c: New.
9303 * sysdeps/alpha/fpu/s_rint.c: New.
9304 * sysdeps/alpha/fpu/s_rintf.c: New.
9306 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
9308 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
9310 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
9311 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
9312 Use physical addresses not KSEG addresses.
9313 (io_system): Add PYXIS.
9314 (io): Remove hae.reg, sys, hae_shift.
9315 (stb_mb, stw_mb, stl_mb, __sethae): New.
9316 (inline_outb, inline_outw, inline_outl): Don't set hae.
9317 (inline_inb, inline_inw, inline_inl): Likewise.
9318 (dense_sethae): New null function.
9319 (struct cpuinfo_data): New.
9320 (process_cpuinfo): Use local and stack variables, not static.
9321 Move readlink check here from init_iosys.
9322 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
9324 (_hae_shift): Calculate it here.
9325 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
9326 add pciconfig_iobase.
9328 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
9330 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
9331 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
9333 * scripts/versions.awk: Fixed version renaming code to distinguish
9336 2000-03-19 Ulrich Drepper <drepper@redhat.com>
9338 * include/stdlib.h: Add prototype for __cxa_atexit.
9340 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
9341 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
9343 2000-03-17 Cristian Gafton <gafton@redhat.com>
9345 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
9346 existing rtld-installed-name.
9347 ($(rtld-installed-name)): Request libc-$(version) be installed too.
9348 replace existing rtld-installed-name using $(symbolic-link-prog).
9350 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
9352 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
9353 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
9354 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
9357 2000-03-19 Ulrich Drepper <drepper@redhat.com>
9359 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
9360 glob64. Since there is no glob64 in the LFS proposal applications
9361 can assume that glob handles LFS situations. glob64 is only needed
9362 if alternative filesystem functions are used.
9364 2000-03-19 Geoff Clare <gwc@unisoft.com>
9366 * sysdeps/generic/glob.c: Correct gl_pathc value returned
9367 when GLOB_DOOFFS is set; correct handling of patterns
9368 containing escaped wildcards (and no unescaped ones);
9369 GLOB_ERR flag was being ignored in some situations.
9371 * posix/globtest.c, posix/globtest.sh: Updated to include
9372 tests for the problems fixed by the above changes to glob.c.
9374 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
9376 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
9378 * Makeconfig (soversion.i): Use only first match for each lib.
9380 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
9382 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
9383 rather than $(sysd-dirs-done) to protect these rules.
9385 * Makerules (version-renames.def): Target removed.
9386 (Versions.all): Depend on soversions.i directly and parse it.
9388 * Makeconfig (soversions.i): New target, input-reading parts of
9389 soversions.mk generation moved here; result is a canonicalized
9390 list "LIB VERSION [SET]" for this configuration.
9391 (soversions.mk): Use that as input. Don't emit map-firstversions.
9392 * Makerules (version-renames.def): New target, generated from
9393 soversions.i with contents that was in $(map-firstversions).
9394 (Versions.all): Don't depend on soversions.mk, depend on
9395 version-renames.def instead; just cat it into the input.
9397 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
9398 for $(map-firstversions), which better handles it being empty.
9400 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
9401 supported version for libc 0.2.90.libio to GLIBC_2.2.
9403 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
9404 and use it to emit new variable `map-firstversions'.
9405 * scripts/firstversions.awk: New file.
9406 * Makerules (Versions.all): Use scripts/firstversions.awk and
9407 the $(map-firstversions) value to generate a modified versions list
9408 that includes renames in "A = B" syntax for each version set earlier
9409 than the "earliest symbol version" named in shlib-versions.
9410 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
9411 rename version set A to B in the output to the intermediate file.
9412 * scripts/abi-versions.awk: New file.
9413 * Makerules (abi-versions.h): New target, generated by that script.
9414 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
9415 * include/shlib-compat.h: New file, uses that generated header.
9417 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
9419 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
9420 after stripping # comments, and then run it through cpp.
9421 This allows things like "%ifdef FOO" based on config.h settings.
9422 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
9424 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
9425 and other errors that indicate a pseudo-receive happened, grok through
9426 the message buffer for port rights that need references fixed up.
9428 2000-03-16 Andreas Jaeger <aj@suse.de>
9430 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
9432 * sysdeps/unix/sysv/linux/madvise.c: Remove.
9434 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
9435 from latest Linux kernel.
9436 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
9438 * misc/sys/mman.h: Add prototype for mincore.
9440 2000-03-17 Ulrich Drepper <drepper@redhat.com>
9442 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
9443 entry for GLIBC_2.0 version of setrlimit.
9444 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9446 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
9448 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
9449 * nis/nss_compat/compat-initgroups.c: Likewise.
9450 * nis/nss_nis/nis-initgroups.c: Likewise.
9451 * nis/nss_nis/nis-netgrp.c: Likewise.
9452 * nis/nss_nis/nis-proto.c: Likewise.
9453 * nis/nss_nis/nis-rpc.c: Likewise.
9454 * nis/nss_nis/nis-service.c: Likewise.
9455 * nis/ypclnt.c: Likewise.
9457 2000-03-16 Andreas Jaeger <aj@suse.de>
9459 * manual/Makefile: MAKEINFO is set to `:' from configure if it
9460 doesn't exist, correct checks. Fixes PR libc/1649.
9462 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
9464 * nscd/hstcache.c: Restore correct UID.
9465 * nscd/pwdcache.c: Likewise.
9466 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
9468 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
9470 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
9471 macros for register names, in line with 2000-03-14 linux change.
9473 * sysdeps/mach/sched_yield.c: New file.
9475 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
9477 * sysdeps/generic/lockfile.c: Include <stdio.h>
9478 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
9479 case <libio.h> defined them.
9480 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
9482 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
9483 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
9485 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
9486 for more pleasing parse error.
9488 2000-03-16 Ulrich Drepper <drepper@redhat.com>
9490 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
9492 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
9494 * elf/Makefile: Add rules to compile and run constload1 test.
9495 * elf/constload1.c: New file.
9496 * elf/constload2.c: New file.
9497 * elf/constload3.c: New file.
9499 2000-03-15 Ulrich Drepper <drepper@redhat.com>
9501 * sysdeps/posix/open64.c: Make __open64 weak alias.
9502 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
9503 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9504 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
9505 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9506 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
9507 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
9508 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9509 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
9510 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9511 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
9513 2000-03-14 Ulrich Drepper <drepper@redhat.com>
9515 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
9516 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
9518 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9520 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9521 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9523 2000-03-08 Andreas Jaeger <aj@suse.de>
9525 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
9527 2000-03-14 Ulrich Drepper <drepper@redhat.com>
9529 * timezone/africa: Update from tzdata2000d.
9530 * timezone/asia: Likewise.
9531 * timezone/australasia: Likewise.
9532 * timezone/europe: Likewise.
9533 * timezone/northamerica: Likewise.
9534 * timezone/southamerica: Likewise.
9536 * po/fr.po: Update from translation team.
9537 * po/de.po: Likewise.
9539 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
9540 last parameter. Move code to add map to global scope from here...
9541 * elf/dl-open.c (dl_open_worker): ...here.
9542 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
9543 * elf/rtld.c: Adjust call to _dl_map_object_deps.
9545 * locale/programs/ld-collate.c (collate_read): Fix warning.
9547 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
9548 values and macros for register names.
9550 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
9551 returned by seek cookie function is -1.
9553 2000-03-14 Andreas Jaeger <aj@suse.de>
9555 * locale/localeconv.c (localeconv): Fix typo.
9556 Reported by Andre Charbonneau <andrec@corel.com>.
9558 2000-03-14 Ulrich Drepper <drepper@redhat.com>
9560 * iconv/skeleton.c: Increment __invocation_counter in inner loop
9561 since modules depend on it counting the number of times the conversion
9562 function got called.
9564 * iconv/gconv_open.c: Optimize loop to setup step data structure.
9566 * iconv/gconv.h: Pretty print.
9568 2000-03-04 Ulrich Drepper <drepper@redhat.com>
9570 * posix/wordexp-test.c: Correct one of the tests added in the last
9571 change. Really get the root passwd entry to check again ~root.
9573 2000-03-10 Andreas Jaeger <aj@suse.de>
9575 * manual/filesys.texi (Working Directory): Fix last patch.
9576 Patch by Martin Buchholz <martin@xemacs.org>.
9578 2000-03-10 Andreas Jaeger <aj@suse.de>
9580 * manual/creature.texi (Feature Test Macros): Fix language.
9582 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
9584 * mach/devstream.c (devstream_write, devstream_read): New functions.
9585 (input, output): Functions removed.
9586 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
9587 using only the vanilla fopencookie interface.
9589 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
9590 as macro for __io_functions.
9591 (funcsio): Use cookie_io_functions_t type name.
9592 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
9594 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
9596 (fopencookie): Use it.
9597 * libio/libio.h: Declare _IO_cookie_init.
9598 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
9601 * libio/libio.h (__io_seek_fn): Fix second argument type
9602 to be a pointer, in line with the manual and the old stdio.
9603 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
9605 * sysdeps/generic/bits/stdio-lock.h: New file.
9606 This is a stub with #error, but that's better than no file at all.
9608 2000-03-09 Martin Buchholz <martin@xemacs.org>
9610 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
9611 * manual/message.texi (Using gettextized software): Doc Fixes.
9612 * manual/message.texi (Message Translation): Doc Fixes.
9613 * manual/filesys.texi (File Size): Doc Fixes.
9614 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
9615 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
9616 * iconv/gconv_db.c (find_derivation): Doc Fixes.
9617 * manual/install.texi: Doc Fixes.
9618 * manual/search.texi (Hash Search Function): Doc Fixes.
9619 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
9620 * FAQ.in: Doc Fixes.
9621 * config.h.in: Doc Fixes.
9622 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
9623 Doc Fixes. `allows to' is not correct English.
9625 * elf/rtld.c: Doc fixes.
9626 * manual/creature.texi (Feature Test Macros): Doc fixes.
9627 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
9629 * manual/filesys.texi (Working Directory): Check for ERANGE to
9632 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
9634 * string/argz-stringify.c (__argz_stringify): Fix loop termination
9635 conditions so as not to clobber the final '\0' when there is only one
9636 element in the vector.
9638 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
9640 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
9641 broken by 2000-02-27 change.
9643 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
9645 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
9647 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
9648 argument type, for 2000-02-22 change in signal/signal.h declaration.
9650 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
9652 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
9653 to getdirentries64 (no __), since the Linux implementation
9654 has no __ name, and there is no declaration for the __ name.
9656 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
9658 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
9659 sed regexp so as not to break directory names including /../ within.
9661 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
9662 The sysdeps/generic file is right for BSD. This file was in fact the
9663 Hurd file, but the only difference was the WNOREAP flag that was never
9664 actually implemented or used anywhere.
9666 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
9667 since AC_PATH_PROG already does it for us.
9668 (PERL): Rewrite check added in 2000-02-29 change for syntactic
9669 correctness and sh portability. I replaced the broken check
9670 with a more sensible implementation of the apparently intended
9671 semantics, which might still be questionable. Using expr causes
9672 a non-numeric value for `perl -V:apiversion` to be accepted,
9673 refusing to use only a perl that reports a number less than 5;
9674 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
9675 * configure: Regenerated.
9677 2000-03-08 Andreas Jaeger <aj@suse.de>
9679 * manual/crypt.texi: Fix paths.
9681 2000-03-07 Andreas Jaeger <aj@suse.de>
9683 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
9685 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
9688 2000-03-06 Andreas Jaeger <aj@suse.de>
9690 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
9691 in __sgn1l, otherwise g++ fails to parse this.
9692 Reported by Sean Chen <sean.chen@turbolinux.com>.
9694 2000-03-03 Geoff Keating <geoffk@cygnus.com>
9696 * configure.in: Compute sizeof-long-double.
9697 * configure: Regenerated.
9698 * config.make.in: Make sizeof-long-double available to sub-makes.
9700 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
9702 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
9705 2000-03-03 Geoff Keating <geoffk@cygnus.com>
9707 * Makeconfig (rpath-dirs): Add crypt.
9708 (all-subdirs): Remove md5crypt.
9709 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
9710 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
9711 * sysdeps/generic/crypt-entry.c: Delete.
9712 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
9713 * sysdeps/generic/crypt.h: Delete.
9714 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
9715 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
9716 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
9717 * sysdeps/generic/des_impl.c: Delete.
9718 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
9719 * crypt/sysdeps: Delete.
9720 * crypt/crypt_util.c: Don't use `patchlevel.h'.
9721 * md5-crypt/Versions: Move to crypt/.
9722 * md5-crypt/md5-crypt.c: Move to crypt/.
9723 * md5-crypt/md5.c: Move to crypt/.
9724 * md5-crypt/md5c-test.c: Move to crypt/.
9725 * md5-crypt/md5test.c: Move to crypt/.
9726 * md5-crypt: Delete.
9727 * crypt/Makefile: Adjust for new structure.
9729 2000-03-03 Paul Eggert <eggert@twinsun.com>
9731 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
9732 define to 1 if not defined.
9734 2000-03-03 Andreas Jaeger <aj@suse.de>
9736 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
9738 2000-03-03 Andreas Jaeger <aj@suse.de>
9740 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
9742 (xdr_int64_t): Correctly handle lower half.
9743 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
9745 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
9747 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
9750 2000-03-02 Andreas Jaeger <aj@suse.de>
9752 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
9755 2000-03-02 Andreas Jaeger <aj@suse.de>
9757 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
9759 2000-03-01 Andreas Jaeger <aj@suse.de>
9761 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
9762 (tests): Added tst-getdate.
9764 * time/tst-getdate.c: New file.
9766 * time/datemsk: New file, needed for tst-getdate.
9768 2000-02-29 Cristian Gafton <gafton@redhat.com>
9770 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
9772 2000-02-17 H.J. Lu <hjl@gnu.org>
9774 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
9776 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
9778 (svcudp_recv): Set up message with the new "xp_pad" field for
9780 (svcudp_reply): Support IP_PKTINFO if available.
9782 2000-03-01 Andreas Jaeger <aj@suse.de>
9784 * time/getdate.c (check_mday): Fix check for february.
9785 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
9786 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
9788 2000-03-02 Andreas Jaeger <aj@suse.de>
9790 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
9791 g++ fails to parse this.
9792 Reported by Sean Chen <sean.chen@turbolinux.com>.
9794 2000-02-28 Ulrich Drepper <drepper@redhat.com>
9796 * io/creat.c: Moved to...
9797 * sysdeps/generic/creat.c: ...here.
9798 * io/creat64.c: Moved to...
9799 * sysdeps/generic/creat64.c: ...here.
9800 * io/lockf.c: Moved to...
9801 * sysdeps/generic/lockf.c: ...here.
9803 * crypt/crypt.texi: Moved to...
9804 * manual/crypt.texi: ...here.
9805 * crypt/examples/genpass.c: Moved to...
9806 * manual/examples/genpass.c: ...here.
9807 * crypt/examples/mygenpass.c: Moved to...
9808 * manual/examples/mygenpass.c: ...here.
9809 * crypt/examples/testpass.c: Moved to...
9810 * manual/examples/testpass.c: ...here.
9812 * manual/Makefile (chapters): Add crypt.
9813 * manual/conf.texi: Add usual header for not-last chapter.
9814 * manual/crypt.texi: Add special header for last chapter.
9816 2000-02-28 Geoff Keating <geoffk@cygnus.com>
9818 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
9819 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
9820 complain if there is no crypt add-on.
9821 * crypt/configure: Removed.
9823 * crypt/crypt.texi: Update documentation of US export restrictions
9824 to match the 14 Jan 2000 regulations.
9826 2000-02-28 Geoff Keating <geoffk@cygnus.com>
9828 * crypt: New subdirectory, merged in from the crypt add-on.
9830 2000-02-28 Ulrich Drepper <drepper@redhat.com>
9832 * include/unistd.h: Add __rmdir and __mkdir prototypes.
9835 See ChangeLog.10 for earlier changes.