1 2000-08-19 Andreas Jaeger <aj@suse.de>
3 * inet/tst-gethnm.c: Include string.h to provide prototype for
6 * malloc/mtrace.pl (usage): Inform about --help.
8 2000-08-19 Wolfram Gloger <wg@malloc.de>
10 * malloc/malloc.c (new_heap): try harder to get an aligned chunk of
13 2000-08-19 Andreas Jaeger <aj@suse.de>
15 * shlib-versions: Remove libnss_db, libdb and libdb1.
17 2000-08-19 Jakub Jelinek <jakub@redhat.com>
19 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
20 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
21 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
22 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
23 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
24 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
25 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
26 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
27 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
28 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
30 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
31 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
33 2000-08-18 Jakub Jelinek <jakub@redhat.com>
35 * include/glob.h (__glob64): Add prototype.
36 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
37 define glob and glob_in_dir.
38 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
39 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
40 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
41 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
42 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
43 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
44 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
45 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
47 2000-08-18 Jakub Jelinek <jakub@redhat.com>
49 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
51 2000-08-17 Andreas Jaeger <aj@suse.de>
53 * math/test-fenv.c (fe_single_test): New function.
54 (fe_env_tests): Use fe_single_test.
55 (feenable_test): New tests for feenable/fedisable and
57 (feexcp_mask_test): New function.
58 (feexcp_nomask_test): New function.
60 2000-08-19 Richard Henderson <rth@cygnus.com>
62 * sysdeps/alpha/fpu/fenv_libc.h: New file.
63 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
64 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
65 * sysdeps/alpha/fpu/fesetround.c: Likewise.
66 * sysdeps/alpha/fpu/fegetround.c: Likewise.
67 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
68 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
69 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
70 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
71 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
72 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
73 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
74 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
75 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
76 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
77 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
78 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
80 2000-08-19 Andreas Jaeger <aj@suse.de>
82 * elf/constload1.c: Include <stdio.h> for puts prototype.
84 2000-08-19 Ulrich Drepper <drepper@redhat.com>
86 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
87 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
88 a dynamically loaded object remove old l_initfini list.
89 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
90 remove some dynamically allocated memory blocks in the dynamic
91 loading data structures.
92 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
93 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
94 Instead call _dl_check_map_versions only for the dependencies.
95 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
96 information of initial objects as not free-able.
97 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
100 * elf/filter.c: Call mtrace.
101 * elf/restest1.c: Likewise. Close the objects.
102 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
105 * elf/constload1.c: Add comment explaining not freed memory.
107 2000-08-18 Andreas Jaeger <aj@suse.de>
109 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
110 alignment for structs stat and stat64.
111 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
113 2000-08-17 Ulrich Drepper <drepper@redhat.com>
115 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
116 handling. Patch by Richard Henderson <rth@twiddle.net>.
118 * nss/Versions: Remove libnss_db information.
120 2000-08-16 Jakub Jelinek <jakub@redhat.com>
122 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
123 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
124 * sysdeps/sparc/fpu/fegetexcept.c: New file.
125 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
127 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
130 2000-08-17 Ulrich Drepper <drepper@redhat.com>
132 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
133 (_FPU_SETCW): Likewise.
134 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
136 * stdio-common/printf_fp.c: Fix chars_needed computation.
137 Patch by Greg McGary <greg@mcgary.org>.
139 2000-08-17 Jakub Jelinek <jakub@redhat.com>
141 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
144 2000-08-17 Jakub Jelinek <jakub@redhat.com>
146 * manual/arith.texi (feholdexcept): Returns 0 on success.
148 2000-08-17 Andreas Jaeger <aj@suse.de>
150 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
152 Reported by Andi Kleen <ak@suse.de>.
154 2000-08-17 Jakub Jelinek <jakub@redhat.com>
156 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
157 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
158 * sysdeps/alpha/fpu/fegetexcept.c: New file.
160 2000-08-16 Jakub Jelinek <jakub@redhat.com>
162 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
163 of buf->st_ino and kbuf->st_ino, not __st_ino.
164 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
165 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
166 directive so that only linux/getdents.c is used, not some
167 architecture specific one.
169 2000-08-16 Jakub Jelinek <jakub@redhat.com>
171 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
172 enabled, not disabled exceptions.
173 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
174 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
176 2000-08-17 Greg McGary <greg@mcgary.org>
178 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
179 from test program name when constructing suffix for $(LDLIBS-*).
180 (bounded-thread-library): New variable.
182 [build-shared, build-static] (libcrypt-dep): Remove variable.
183 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
184 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
185 * linuxthreads/Makefile (libpthread, librt): Remove variables.
186 (librt-tests): Add variable. (tests): Use it.
187 [build-shared, build-static]
188 ($(addprefix $(objpfx),$(tests)),
189 $(addprefix $(objpfx),$(librt-tests))):
190 Consolidate individual dependencies.
192 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
194 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
195 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
197 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
199 [build-shared, build-static]
200 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
201 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
203 2000-08-17 Greg McGary <greg@mcgary.org>
205 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
206 * sysdeps/unix/make-syscalls.sh: Likewise.
207 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
208 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
209 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
210 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
211 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
213 2000-08-17 Greg McGary <greg@mcgary.org>
215 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
216 Wrap extern symbols in BP_SYM ().
217 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
218 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
219 * sysdeps/i386/fpu/s_remquo.S: Likewise.
220 * sysdeps/i386/fpu/s_remquof.S: Likewise.
221 * sysdeps/i386/fpu/s_remquol.S: Likewise.
222 * sysdeps/i386/fpu/s_sincos.S: Likewise.
223 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
224 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
225 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
226 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
228 2000-08-16 Andreas Schwab <schwab@suse.de>
230 * sysdeps/m68k/fpu/fegetexcept.c: New file.
231 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
232 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
234 2000-08-15 Ulrich Drepper <drepper@redhat.com>
236 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
237 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
238 * elf/dl-support.c: Define _nl_nloaded.
239 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
240 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
241 object to global list.
242 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
243 from _dl_loaded list.
244 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
245 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
248 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
250 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
252 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
254 2000-08-16 Andreas Jaeger <aj@suse.de>
256 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
258 2000-08-15 Marko Myllynen <myllynen@lut.fi>
260 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
262 2000-08-15 Ulrich Drepper <drepper@redhat.com>
264 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
265 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
266 (sysdep_routines): Add oldgetrlimit64.
267 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
268 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
270 * include/link.h: Undo last patches. Hurd now has stat64.
271 * elf/Makefile: Likewise.
272 * elf/dl-load.c: Likewise.
273 * elf/dl-misc.c: Likewise.
274 * elf/dl-profile.c: Likewise.
275 * sysdeps/generic/sysd-link.h: Removed.
276 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
278 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
279 thread event callback function.
280 (__aio_notify_only): Use function above.
281 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
283 2000-08-16 Mark Kettenis <kettenis@gnu.org>
285 * sysdeps/mach/hurd/lseek64.c: New file.
287 2000-08-15 Mark Kettenis <kettenis@gnu.org>
289 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
291 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
293 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
295 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
297 2000-08-15 Mark Kettenis <kettenis@gnu.org>
299 * sysdeps/mach/hurd/xstatconv.c: New file.
300 * sysdeps/mach/hurd/fxstat64.c: New file.
301 * sysdeps/mach/hurd/lxstat64.c: New file.
302 * sysdeps/mach/hurd/xstat64.c: New file.
303 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
305 2000-08-15 Mark Kettenis <kettenis@gnu.org>
307 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
308 Initialize, needed for change in common symbol handling in newer
309 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
311 2000-08-15 Ulrich Drepper <drepper@redhat.com>
313 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
314 * elf/constload2.c: Add destructor to unload constload3.
316 * include/link.h: Include sysd-link.h.
317 * sysdeps/generic/sysd-link.h: New file.
318 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
319 * elf/Makefile (distribute): Add sysd-link.h.
320 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
321 types and functions directly.
322 * elf/dl-misc.c: Likewise.
323 * elf/dl-profile.c: Likewise.
325 * elf/loadfail.c (main): Close all successfully loaded objects.
327 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
329 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
330 there is already one.
332 * elf/dl-close.c: Pretty print.
334 2000-08-14 Ulrich Drepper <drepper@redhat.com>
336 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
337 global (with file scope). Add __libc_subfreeres function to free the
339 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
342 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
344 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
346 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
347 mapping them to /x5c and /x7e respectively.
349 * locale/programs/ld-ctype.c: Add support for more definitions after
352 2000-08-14 Jakub Jelinek <jakub@redhat.com>
354 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
355 * sysdeps/unix/sysv/linux/kernel-features.h
356 (__ASSUME_GETDENTS64_SYSCALL): Define.
357 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
358 syscall if available to get d_type fields.
359 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
360 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
361 __lxstat64): Export at GLIBC_2.2.
362 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
364 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
365 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
366 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
367 getdirentries64, versionsort64): Remove.
368 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
369 getdirentries64, versionsort64): Remove.
371 2000-08-13 Ulrich Drepper <drepper@redhat.com>
373 * posix/Makefile: Remove rules to generate glob package.
375 * posix/Makefile (tests): Add tst-regexloc.
376 (tst-regexloc-ENV): Add LOCPATH.
377 * posix/tst-regexloc.c: New file.
379 2000-08-12 Andreas Jaeger <aj@suse.de>
381 * include/features.h (__STDC_ISO_10646__): Define.
382 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
384 2000-08-13 Ulrich Drepper <drepper@redhat.com>
386 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
388 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
389 for revision 6 and up).
391 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
393 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
394 to get definitions of just these types.
396 * signal/signal.h: Define thread signal handling functions also for
399 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
401 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
402 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
403 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
404 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
406 * sysvipc/sys/shm.h: Define pid_t for XPG.
408 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
409 they are not anymore required here.
411 * wcsmbs/wchar.h: Make the various wide char string and stream
412 functions available for the respective XPG versions.
414 * nss/Makefile: Remove rules to build and distribute nss_db.
416 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
417 * sysdeps/generic/scandir64.c: Likewise.
418 * sysdeps/generic/versionsort64.c: Likewise.
420 2000-08-13 Ulrich Drepper <drepper@redhat.com>
421 Benjamin Koznik <bkoz@redhat.com>
423 * libio/fileops.c: Merge with libstdc++-v3.
424 * libio/genops.c: Likewise.
425 * libio/iofclose.c: Likewise.
426 * libio/iofopen.c: Likewise.
427 * libio/iofwide.c: Likewise.
428 * libio/libio.h: Likewise.
429 * libio/libioP.h: Likewise.
430 * libio/stdfiles.c: Likewise.
431 * libio/stdio.c: Likewise.
432 * libio/wfileops.c: Likewise.
433 * libio/wgenops.c: Likewise.
435 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
437 2000-08-12 Ulrich Drepper <drepper@redhat.com>
439 * locale/programs/localedef.c: Implement --prefix option to allow
440 writing in standard places of alternative install directories.
442 * posix/regex.c (compile_range): Implement collation sequence
443 handling for glibc. Use simple character ordering otherwise and
446 2000-08-12 Mark Kettenis <kettenis@gnu.org>
448 * sysdeps/generic/scandir64.c: Include <dirent.h>.
450 2000-08-12 Andreas Jaeger <aj@suse.de>
452 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
453 __USE_FILE_OFFSET64 correctly for locking.
454 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
456 2000-08-12 Jakub Jelinek <jakub@redhat.com>
458 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
459 Define for 2.4.1 on sparc as well.
460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
461 for F_GETLK64, F_SETLK64, and F_SETLKW64.
462 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
463 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
465 2000-08-12 Ulrich Drepper <drepper@redhat.com>
467 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
470 2000-08-12 Andreas Jaeger <aj@suse.de>
472 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
473 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
475 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
478 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
479 if fnctl64 is not available for F_*LK*64.
481 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
483 2000-08-12 Ulrich Drepper <drepper@redhat.com>
485 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
486 Define for 2.4.1 on x86.
487 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
488 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
489 for F_GETLK64, F_SETLK64, and F_SETLKW64.
491 * dirent/dirent.h: Define DT_WHT.
493 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
494 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
495 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
496 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
497 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
498 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
500 2000-08-11 Ulrich Drepper <drepper@redhat.com>
502 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
503 lookup, pass pointer to array with NULL pointer [PR libc/1858].
504 * inet/Makefile (tests): Add tst-gethnm.
505 * inet/tst-gethnm.c: New file.
507 * rt/aio_cancel.c: If canceling a specific request which is running
509 * rt/aio_misc.h: Add `done' to states of a request.
510 * rt/aio_misc.c: Add several tests for the correct state.
511 Simplify request table memory handling.
513 2000-08-10 Jakub Jelinek <jakub@redhat.com>
515 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
516 * dirent/scandir64.c: Move...
517 * sysdeps/generic/scandir64.c: ...here.
518 * dirent/alphasort64.c: Move...
519 * sysdeps/generic/alphasort64.c: ...here.
520 * dirent/versionsort64.c: Move...
521 * sysdeps/generic/versionsort64.c: ...here.
522 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
523 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
524 Export symbols at GLIBC_2.2.
525 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
526 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
527 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
528 __versionsort64): Add prototypes.
529 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
530 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
532 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
534 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
535 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
536 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
537 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
539 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
540 Adjust for kernel-2.4.0-test6 layout.
541 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
542 GLIBC_2.1 and GLIBC_2.2.
543 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
544 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
545 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
546 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
547 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
548 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
549 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
550 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
551 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
552 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
553 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
554 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
555 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
556 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
558 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
559 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
560 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
561 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
562 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
563 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
564 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
566 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
567 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
569 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
570 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
571 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
572 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
573 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
575 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
577 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
579 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
580 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
581 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
582 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
583 st_ino from __st_ino.
584 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
585 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
586 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
587 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
588 set __st_ino in addition to st_ino.
589 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
590 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
591 __old_getdents64 as well.
592 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
593 getdirentries64 and old_getdirentries64 as well.
594 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
596 (GETDENTS64): Remove.
597 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
599 (GETDENTS64): Remove.
600 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
601 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
602 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
604 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
605 __old_readdir64_r as well.
606 * sysdeps/unix/sysv/linux/kernel-features.h: Define
607 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
609 2000-08-08 Jes Sorensen <jes@linuxcare.com>
611 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
612 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
613 define of the kernel.
614 Add missing __SEG_PSTKOVF definition.
615 Adjust the padding of struct siginfo and struct sigevent to
616 match the fact that sigval_t is 64 bit.
618 2000-08-10 Ulrich Drepper <drepper@redhat.com>
620 * timezone/zic.c: Update from tzcode2000f.
621 * timezone/australasia: Update from tzdata2000f.
622 * timezone/europe: Likewise.
623 * timezone/southamerica: Likewise.
624 * timezone/yearistype: Likewise.
626 2000-08-10 Andreas Jaeger <aj@suse.de>
628 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
629 stat with current MIPS kernel.
631 2000-08-01 Mark Kettenis <kettenis@gnu.org>
633 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
634 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
635 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
636 Remove the junk that's only relevant in the Linux kernel itself.
637 Add a warning saying that this file is now obsolete, and include
639 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
640 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
641 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
642 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
643 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
644 and add the notice that the file is primarily there for GDB.
645 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
647 2000-08-09 Jakub Jelinek <jakub@redhat.com>
649 * time/tzfile.c (__tzfile_compute): __tzstring zones
652 2000-08-09 Jakub Jelinek <jakub@redhat.com>
654 * resolv/resolv.h (__res_state): Surround prototype with
655 __BEGIN_DECLS/__END_DECLS.
656 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
658 2000-08-04 Jes Sorensen <jes@linuxcare.com>
660 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
661 Make independant of asm/resource.h from the Linux kernel.
663 2000-08-06 Bruno Haible <haible@clisp.cons.org>
665 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
667 2000-08-06 Bruno Haible <haible@clisp.cons.org>
669 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
670 * locale/Makefile (locale-CPPFLAGS): Likewise.
672 2000-08-09 Ulrich Drepper <drepper@redhat.com>
674 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
677 2000-08-03 Jakub Jelinek <jakub@redhat.com>
679 * misc/Versions (mincore): Export at GLIBC_2.2.
681 2000-08-03 Bruno Haible <haible@clisp.cons.org>
683 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
685 2000-08-02 Mark Kettenis <kettenis@gnu.org>
687 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
688 socketpair. Made socketpair a weak alias.
689 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
690 __socketpair. Use S_IFIFO protocol to make pipes POSIX
691 conforming, but fall back on the old protocol if the socket server
693 * include/sys/socket.h: Add prototype for __socketpair.
695 2000-08-09 Andreas Schwab <schwab@suse.de>
697 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
698 long long modifier is seen.
700 * elf/nodelete.c (do_test): Remove reference to undefined member
702 * rt/tst-aio4.c (do_test): Likewise.
704 * configure.in: Add `-lm' when checking for libgd.
705 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
708 2000-08-09 Andreas Jaeger <aj@suse.de>
710 * configure.in: Change required make versions.
712 * manual/install.texi (Tools for Compilation): Document required
714 (Supported Configurations): Update list of supported
717 2000-08-08 Ulrich Drepper <drepper@redhat.com>
719 * locale/linereader.c (get_string): Don't print an error is a string
720 contains an unknown character.
722 2000-08-06 Ulrich Drepper <drepper@redhat.com>
724 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
725 (new_symbol): Take new parameters with name of the symbol.
727 (handle_ellipsis): Don't only allow character symbols.
728 (collate_read): Allow string of collating elements contain invalid
729 characters; ignore entry in this case.
730 Handle ellipsis of collating symbols before first order_start.
731 Allow ellipsis in state 0.
733 2000-08-04 Ulrich Drepper <drepper@redhat.com>
735 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
737 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
739 2000-08-04 Greg McGary <greg@mcgary.org>
741 * posix/regex.c (SET_HIGH_BOUND): New macro.
742 (MOVE_BUFFER_POINTER): Use it.
743 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
744 (EXTEND_BUFFER): Use it.
746 2000-08-03 Ulrich Drepper <drepper@redhat.com>
748 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
749 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
750 _wide_data but from _IO_FILE directly.
751 * libio/iofclose.c: Likewise.
752 * libio/wfileops.c: Likewise.
754 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
755 * libio/libioP.h: Change prototypes.
757 2000-08-03 Greg McGary <greg@mcgary.org>
759 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
760 frame pointer early so that we save caller's frame pointer.
761 * sysdeps/i386/elf/setjmp.S: Likewise.
763 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
764 * io/test-utime.c: Test passing NULL as utimbuf* arg.
766 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
767 (MOVE_BUFFER_POINTER): Handle high_bound properly.
768 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
770 2000-08-03 Ulrich Drepper <drepper@redhat.com>
772 * iconvdata/big5.c: Updated.
773 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
775 2000-08-02 Ulrich Drepper <drepper@redhat.com>
777 * Makeconfig (all-subdirs): Add conform.
778 * conform/Makefile: Include ../Rules.
780 * Makefile (README): Add rules to generate here as well.
782 2000-08-02 Ulrich Drepper <drepper@redhat.com>
784 * version.h (VERSION): Bump to 2.1.92.
786 * sysdeps/ia64/Dist: Add _mcount.S.
788 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
790 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
792 * elf/Makefile (distribute): Add missing modules.
794 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
796 * posix/regex.c (compile_range): Translate range start and end
797 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
799 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
802 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
804 2000-08-02 Andreas Jaeger <aj@suse.de>
806 * elf/elf.h (EM_S390): Added.
807 (R_390_*): New relocs for S390.
809 * sysdeps/unix/sysv/linux/s390/Dist: New file.
810 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
811 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
812 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
813 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
814 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
815 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
816 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
817 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
818 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
819 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
820 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
821 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
822 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
823 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
824 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
825 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
826 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
827 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
828 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
829 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
830 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
831 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
832 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
833 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
834 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
835 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
836 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
837 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
838 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
839 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
840 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
841 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
842 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
843 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
844 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
845 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
846 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
847 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
848 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
849 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
850 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
852 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
853 * sysdeps/s390/sysdep.h: New file.
854 * sysdeps/s390/sys/ucontext.h: New file.
855 * sysdeps/s390/sub_n.S: New file.
856 * sysdeps/s390/strncpy.S: New file.
857 * sysdeps/s390/strcpy.S: New file.
858 * sysdeps/s390/stackinfo.h: New file.
859 * sysdeps/s390/setjmp.S: New file.
860 * sysdeps/s390/s390-mcount.S: New file.
861 * sysdeps/s390/mul_1.S: New file.
862 * sysdeps/s390/memusage.h: New file.
863 * sysdeps/s390/memset.S: New file.
864 * sysdeps/s390/memcpy.S: New file.
865 * sysdeps/s390/memchr.S: New file.
866 * sysdeps/s390/machine-gmon.h: New file.
867 * sysdeps/s390/ldbl2mpn.c: New file.
868 * sysdeps/s390/gmp-mparam.h: New file.
869 * sysdeps/s390/fpu/fpu_control.h: New file.
870 * sysdeps/s390/fpu/fesetround.c: New file.
871 * sysdeps/s390/fpu/fegetround.c: New file.
872 * sysdeps/s390/fpu/fclrexcpt.c: New file.
873 * sysdeps/s390/fpu/bits/fenv.h: New file.
874 * sysdeps/s390/ffs.c: New file.
875 * sysdeps/s390/elf/start.S: New file.
876 * sysdeps/s390/elf/setjmp.S: New file.
877 * sysdeps/s390/elf/bsd-setjmp.S: New file.
878 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
879 * sysdeps/s390/dl-machine.h: New file.
880 * sysdeps/s390/bzero.S: New file.
881 * sysdeps/s390/bsd-setjmp.S: New file.
882 * sysdeps/s390/bsd-_setjmp.S: New file.
883 * sysdeps/s390/bits/string.h: New file.
884 * sysdeps/s390/bits/setjmp.h: New file.
885 * sysdeps/s390/bits/huge_val.h: New file.
886 * sysdeps/s390/bits/endian.h: New file.
887 * sysdeps/s390/bits/byteswap.h: New file.
888 * sysdeps/s390/bcopy.S: New file.
889 * sysdeps/s390/backtrace.c: New file.
890 * sysdeps/s390/atomicity.h: New file.
891 * sysdeps/s390/asm-syntax.h: New file.
892 * sysdeps/s390/addmul_1.S: New file.
893 * sysdeps/s390/add_n.S: New file.
894 * sysdeps/s390/abort-instr.h: New file.
895 * sysdeps/s390/__longjmp.c: New file.
896 * sysdeps/s390/Makefile: New file.
897 * sysdeps/s390/Implies: New file.
898 * sysdeps/s390/Dist: New file.
899 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
901 2000-08-01 Ulrich Drepper <drepper@redhat.com>
903 Remove incompatible IPv6 extension of RPC.
904 * sunrpc/Makefile: Undo changes.
905 * sunrpc/rpc_main.c: Likewise.
906 * sunrpc/rpc/clnt.h: Likewise.
907 * sunrpc/rpc/svc.h: Likewise.
908 * sunrpc/bindrsvprt6.c: Removed.
909 * sunrpc/clnt_tcp6.c: Removed.
910 * sunrpc/clnt_udp6.c: Removed.
911 * sunrpc/svc_tcp6.c: Removed.
912 * sunrpc/svc_udp6.c: Removed.
914 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
915 dgettext, and dcgettetxt.
917 * intl/locale.alias: Update japanese aliases.
919 * sysdeps/ia64/bits/byteswap.h: New file.
920 Patch by Dan Pop <Dan.Pop@cern.ch>.
922 * misc/sys/cdefs.h: Define __attribute_format_arg__.
923 * intl/libintl.h: Use it here instead of using __attribute__ directly.
925 2000-07-13 H.J. Lu <hjl@gnu.org>
927 * posix/regex.c (re_max_failures): Set to 4000.
929 2000-08-01 Ulrich Drepper <drepper@redhat.com>
931 * gnulib/Makefile (tests): Add tst-gcc.
932 * gnulib/tst-gcc.c: New file.
934 * assert/Makefile (routines): Add __assert.
935 * assert/Versions: Export __assert for glibc 2.2.
936 * assert/__assert.c: New file.
937 * assert/assert.h: Declare __assert.
939 2000-07-27 Bruno Haible <haible@clisp.cons.org>
941 * locale/localeinfo.h (_ISCTYPE): New macro.
942 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
943 LC_CTYPE locale format.
944 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
945 (ctype_output): Output class_b[nr] right before class_3level[nr].
946 (allocate_arrays): Fill class_b, similarly to class_3level.
948 2000-08-01 Ulrich Drepper <drepper@redhat.com>
949 Joseph S. Myers <jsm28@cam.ac.uk>
951 * math/tgmath.h: Make standard compliant. Don't ask how.
953 2000-07-04 H.J. Lu <hjl@gnu.org>
955 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
956 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
957 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
959 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
961 * include/features.h (_XOPEN_SOURCE): Update the explanation.
962 (__USE_LARGEFILE): Add an explanation.
963 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
964 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
966 2000-08-01 Ulrich Drepper <drepper@redhat.com>
968 * libio/Makefile: Enable exception handling for genops, wgenops,
969 fileops, and wfileops.
971 2000-07-29 Mark Kettenis <kettenis@gnu.org>
973 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
974 acount that elf/rtld's main program might remove some varibales
975 from the environment if we're trying to be secure. Move the Hurd
976 startup data if necessary, or, if we there is no startup data,
977 make sure the magical convention that ARGV[0] is stored just after
978 the environment list.
980 2000-08-01 Philip Blundell <philb@gnu.org>
982 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
983 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
984 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
985 oldsetrlimit for GLIBC_2.0.
987 2000-08-01 Andreas Jaeger <aj@suse.de>
989 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
990 (LINE_PARSER): Allow any number of spaces between ip address and
991 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
993 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
995 * include/netdb.h: Remove getipnodebyaddr and friends, leave
998 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
999 _nss_nisplus_getipnodebyname_r.
1001 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
1002 now, getipnodebyname is deprecated.
1003 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
1006 * inet/Makefile (routines): Don't build getipnodebyaddr and
1009 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
1011 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
1013 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
1015 * wctype/Makefile (distribute): Add wchar-lookup.h.
1017 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
1019 * iconvdata/Makefile (distribute): Add isiri-3342.h.
1021 2000-08-01 Andreas Schwab <schwab@suse.de>
1023 * Make-dist (dist): Resolve `..' in file names.
1025 2000-08-01 Andreas Jaeger <aj@suse.de>
1027 * stdio-common/Makefile (distribute): Remove removed files, add
1030 * Makefile (distribute): Remove include/db_185.h and db.h.
1032 * include/db_185.h: Remove, it's not needed anymore.
1033 * include/db.h: Likewise.
1035 2000-07-31 Ulrich Drepper <drepper@redhat.com>
1037 * inet/Makefile (tests): Remove tst-ipnode.
1038 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
1041 2000-07-31 Jes Sorensen <jes@linuxcare.com>
1043 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
1044 endp statements have already been added.
1046 2000-04-18 David Mosberger <davidm@hpl.hp.com>
1048 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
1049 <sysdeps/ia64/sysdep.h>.
1051 * sysdeps/ia64/_mcount.S: New file.
1053 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
1054 __gmon_start__. Fix up extraneous whitespace.
1056 2000-01-12 H.J. Lu <hjl@gnu.org>
1058 * sysdeps/ia64/elf/initfini.c: New file.
1060 2000-07-31 Jes Sorensen <jes@linuxcare.com>
1062 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
1063 dependency between branch and ar.pfs write.
1065 2000-07-31 H.J. Lu <hjl@gnu.org>
1067 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
1068 handle the wchar_t array.
1070 2000-07-31 Ulrich Drepper <drepper@redhat.com>
1072 * iconvdata/gb18030.c: Don't map to and from positions in ISO
1073 10646 which are not yet assigned.
1074 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
1076 2000-07-31 Andreas Jaeger <aj@suse.de>
1078 * inet/Versions: Remove getipnodebyaddr and friends from
1081 * resolv/netdb.h: Remove getipnodebyaddr and friends.
1083 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1085 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
1086 ch >= 0x81 && ch2 < 0x40 as invalid.
1088 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1090 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
1091 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
1093 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1095 * iconvdata/johab.c (BODY for TO_LOOP): After calling
1096 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
1098 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1100 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
1102 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
1104 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1106 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
1108 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1110 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
1111 (from_ucs4): Change values of U+00A4 and U+00ED.
1112 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
1114 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1116 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
1117 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
1119 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1121 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
1122 * iconvdata/isiri-3342.h: New file.
1123 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
1124 treat 0x80 as a gap.
1126 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1128 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
1129 (utf8_encode): Use simple shifts instead. Fix return value.
1131 2000-07-31 Ulrich Drepper <drepper@redhat.com>
1133 * timezone/private.h: Update from tzcode2000e.
1134 * timezone/asia: Update from tzdata2000e.
1135 * timezone/australasia: Likewise.
1136 * timezone/europe: Likewise.
1137 * timezone/northamerica: Likewise.
1138 * timezone/zone-tab: Likewise.
1140 2000-07-30 Ralf Baechle <ralf@gnu.org>
1142 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
1143 the order of struct sigaltstack members is different.
1145 2000-07-26 Philip Blundell <philb@gnu.org>
1147 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
1149 2000-07-29 Ulrich Drepper <drepper@redhat.com>
1151 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
1152 * locale/programs/ld-ctype.c: Adjust for this.
1154 * locale/programs/ld-collate.c: Add more alignment checks.
1155 * locale/string/strcoll.c: Likewise.
1157 2000-07-30 Mark Kettenis <kettenis@gnu.org>
1159 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
1160 outside USE_IN_LIBIO block.
1162 2000-07-26 Philip Blundell <philb@gnu.org>
1164 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
1165 (elf_machine_rel): Use it for out-of-range PC24 relocs.
1167 2000-07-28 Philip Blundell <philb@gnu.org>
1169 * math/test-fpucw.c: Ignore reserved bits in control word.
1171 2000-07-28 Philip Blundell <philb@gnu.org>
1173 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
1174 (ret): Redefine to PSEUDO_RET.
1175 (PSEUDO): Remove jump to syscall_error.
1177 2000-07-29 Mark Kettenis <kettenis@gnu.org>
1179 * resolv/README: Add some information about using the resolver in
1180 multi-threaded code and with C++. Spelling fixes.
1182 2000-07-29 Mark Kettenis <kettenis@gnu.org>
1184 * resolv/resolv.h (struct __sockaddr_in): Remove.
1185 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
1187 2000-07-29 Greg McGary <greg@mcgary.org>
1189 * Rules (test-bp-inputs, make-test-out): New variables.
1190 ($(objpfx)%-bp.out): New rule.
1191 ($(objpfx)%.out): Rewrite in terms of new variables.
1193 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
1194 internal function that uses vtable.
1195 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1196 * libio/vswprintf.c (_IO_vswprintf): Likewise.
1198 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
1199 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
1200 (chunk_align): Likewise.
1202 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
1203 in a way that conforms to decl, and avoids spurious bounds violation.
1205 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
1206 * sysdeps/generic/frame.h: Likewise.
1207 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
1208 around return value.
1209 (__backtrace): Qualify frame-pointer chain and return address
1210 pointers as __unbounded. Wrap bounds around variable `current'.
1211 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
1212 around return value.
1213 (catch_segfault): Qualify frame-pointer chain and return address
1214 pointers as __unbounded. Wrap bounds around variable `current'.
1215 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
1216 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
1217 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
1219 (__backtrace): Qualify frame-pointer chain and return address
1220 pointers as __unbounded. Wrap bounds around variable `current'.
1222 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
1223 * sysdeps/i386/mul_1.S: Likewise.
1224 * sysdeps/i386/submul_1.S: Likewise.
1225 * sysdeps/i386/i586/addmul_1.S: Likewise.
1226 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
1227 * sysdeps/i386/i586/submul_1.S: Likewise.
1229 2000-07-27 Andreas Jaeger <aj@suse.de>
1231 * libio/Depend: New file, libio needs localedata for tests.
1232 * posix/Depend: Likewise.
1234 2000-07-28 Ulrich Drepper <drepper@redhat.com>
1236 * stdio-common/_i18n_itoa.c: Removed.
1237 * stdio-common/_i18n_itoa.h: Removed.
1238 * stdio-common/_i18n_itowa.c: Removed.
1239 * stdio-common/_i18n_itowa.h: Removed.
1240 * stdio-common/_i18n_number.h: New file.
1241 * stdio-common/Depend: New file.
1242 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
1243 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
1244 printing. Change printing of numbers with locale specific digits to
1245 use new code in _i18n_number.h.
1246 * stdio-common/Makefile (routines): Remove _i18n_itoa and
1249 * stdio-common/bug13.c: Improve messages.
1251 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
1252 (set_class_defaults): Always search also for Uxxxx names.
1253 Detect insufficient number of outdigits.
1255 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
1257 2000-07-27 Bruno Haible <haible@clisp.cons.org>
1259 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
1260 _NL_CTYPE_MAP_NAMES.
1261 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
1262 * wctype/wcfuncs.c (towlower, towupper): Use them.
1263 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
1264 * wctype/wctrans.c (wctrans): Likewise.
1265 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1267 2000-07-27 Bruno Haible <haible@clisp.cons.org>
1269 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
1270 Use the optimized version of this function outside glibc as well.
1272 2000-07-27 Jakub Jelinek <jakub@redhat.com>
1274 * locale/indigits.h (indigit_value): Correct.
1275 * locale/indigitswc.h (indigitwc_value): Correct.
1276 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
1277 conversion, add GROUP checking for it, fix GROUP number
1278 conversion with strlen(thousands) > 1.
1279 Honour width correctly in the presence of floating
1280 decimal points and thousands separators.
1281 * stdio-common/tst-sscanf.c: New test.
1282 * stdio-common/Makefile: Add it to tests.
1283 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
1284 thousands separators and group argument is non-zero.
1286 2000-07-25 Bruno Haible <haible@clisp.cons.org>
1288 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
1289 starts at GLIBC_2.2.
1291 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1293 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
1294 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
1296 (headers): Add sys/tas.h.
1297 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
1298 GLIBC_2.2 from libc.
1299 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
1300 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
1303 2000-07-28 Andreas Jaeger <aj@suse.de>
1305 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
1307 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
1308 ($(objpfx)tst-dladdr.out): new.
1309 (tests): Add tst-dladdr.
1310 ($(objpfx)glrefmain): Use libdl.
1312 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
1315 2000-07-27 Jes Sorensen <jes@linuxcare.com>
1317 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
1318 ftruncate(64) calls.
1320 2000-07-27 Jes Sorensen <jes@linuxcare.com>
1322 * intl/tst-translit.c: Include string.h to get prototype for
1325 2000-07-27 Jes Sorensen <jes@linuxcare.com>
1327 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
1328 name and add weak alias for __fork.
1330 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
1331 & pwrite to use __libc_<name> as strong names instead of
1334 * include/sched.h: Add clone2 prototype.
1336 2000-07-26 Jes Sorensen <jes@linuxcare.com>
1338 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
1339 procedure name twice.
1341 2000-07-27 Philip Blundell <philb@gnu.org>
1343 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
1345 2000-07-27 Andreas Jaeger <aj@suse.de>
1347 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
1348 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
1349 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1350 Reported by Andi Kleen <ak@suse.de>.
1352 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
1353 (do_wait): Test requests with aio_return64.
1354 (do_test): Change callers of do_wait.
1356 2000-07-26 Andreas Jaeger <aj@suse.de>
1358 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
1359 (do_wait): Test requests with aio_return.
1360 (do_test): Change callers of do_wait.
1362 2000-07-27 Ulrich Drepper <drepper@redhat.com>
1364 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
1365 from request list. Don't do the list handling here, call
1366 __aio_remove_request.
1367 * rt/aio_misc.h: Add prototype for __aio_remove_request.
1368 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
1369 request might already be processed. Don't do the list handling
1370 here, call __aio_remove_request.
1372 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
1375 * rt/aio_misc.c: Add comment explaining why writer memory barriers
1378 2000-07-27 Greg McGary <greg@mcgary.org>
1380 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
1381 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
1382 in union init. Pass zero for ignored semnum arg to semctl.
1383 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
1385 2000-07-26 Greg McGary <greg@mcgary.org>
1387 * sysdeps/gnu/bits/msq.h: Qualify kernel's
1388 data structure pointers as __unbounded.
1389 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1390 * sysdeps/generic/bp-semctl.h: New file.
1391 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
1392 pointers as __unbounded. Check bounds of syscall args.
1393 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1394 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1395 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1396 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1397 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1398 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1399 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1400 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
1401 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
1402 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
1403 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
1404 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
1405 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
1406 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
1407 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1408 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
1410 2000-07-26 Ulrich Drepper <drepper@redhat.com>
1412 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
1414 * locale/C-ctype.c: Likewise.
1415 * wcsmbs/wcsmbsload.c: Likewise.
1417 2000-07-26 Greg McGary <greg@mcgary.org>
1419 * Makeconfig (+link-bounded, link-libc-bounded,
1420 link-extra-libs-bounded): New variables.
1421 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
1422 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
1423 * Rules (tests-bp.out): New variable.
1424 (tests): Conditionally add BP tests.
1425 (binaries-bounded): Add variable and associated rule.
1426 * csu/Makefile [build-bounded] (extra-objs, install-lib):
1427 Move conditional stuff after place where condition is defined.
1429 * malloc/malloc.c (bp-checks.h): Add #include.
1430 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
1431 (_bin_at): Add unbounded version of bin_at.
1432 (IAV, chunk_alloc): Use unbounded _bin_at.
1433 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
1434 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
1435 Wrap BOUNDED_N around return value.
1436 (chunk_realloc): Adjust oldsize once.
1438 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
1439 (__ubp_memchr): Add correct decl.
1440 (_CHECK_STRING): Use __ubp_memchr.
1441 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1442 New alias for unbounded-pointer __memchr.
1443 * sysdeps/i386/memchr.S: Likewise.
1444 * sysdeps/ia64/memchr.S: Likewise.
1445 * sysdeps/m68k/memchr.S: Likewise.
1446 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1447 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1448 * sysdeps/vax/memchr.s: Likewise.
1450 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
1451 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
1452 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
1453 * sysdeps/i386/i686/strtok.S: Likewise.
1454 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
1455 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
1457 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
1458 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
1460 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
1461 bounds of copy_result to mount_proc.
1463 2000-07-25 Bruno Haible <haible@clisp.cons.org>
1465 * wctype/wctype.h (__wctrans_l): New declaration.
1466 * wctype/wctrans_l.c: New file.
1467 * wctype/Makefile (routines): Add wctrans_l.
1469 2000-07-26 Ulrich Drepper <drepper@redhat.com>
1471 * posix/fnmatch_loop.c: Fixes for use outside glibc.
1472 Patch by MacGyver <macgyver@tos.net>.
1474 2000-07-26 Andreas Jaeger <aj@suse.de>
1476 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
1477 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
1478 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
1480 * rt/tst-aio.c (test_file): Fix typo.
1481 * rt/tst-aio64.c (test_file): Likewise.
1483 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
1484 * rt/Makefile: Add rules to build and run tst-aio3.
1486 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
1487 it's not needed and confuses only.
1489 2000-07-26 Ulrich Drepper <drepper@redhat.com>
1491 * resolv/res_init.c: Add support for nameserver communication with
1493 * resolv/res_send.c: Likewise.
1494 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
1496 Patch by <venaas@nvg.ntnu.no>.
1498 2000-07-25 Bruno Haible <haible@clisp.cons.org>
1500 * locale/programs/ld-ctype.c (wctype_table_get): New function.
1501 (wcwidth_table_get): New function.
1502 (wcwidth_table_add): Call it.
1503 (wctrans_table_get): New function.
1504 (wctrans_table_add): Call it.
1506 2000-07-25 Ulrich Drepper <drepper@redhat.com>
1508 * rt/lio_listio.c (lio_listio): Always disable individual
1510 * rt/Makefile: Add rules to build and run tst-aio2.
1511 * rt/tst-aio2.c: New file.
1513 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
1514 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
1516 2000-07-25 Mark Kettenis <kettenis@gnu.org>
1518 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
1519 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
1520 leading and trailing spaces from host, user and domain name.
1522 2000-07-25 Jes Sorensen <jes@linuxcare.com>
1524 * csu/defs.awk: Add support for need_endp.
1526 2000-07-25 Mark Kettenis <kettenis@gnu.org>
1528 * resolv/resolv.h: Remove __P from res_send_qhook and
1529 res_send_rhook typedefs.
1531 2000-07-25 Bruno Haible <haible@clisp.cons.org>
1533 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
1535 2000-07-25 Ulrich Drepper <drepper@redhat.com>
1537 * iconv/gconv_builtin.h: Add WCHAR_T alias.
1539 2000-07-25 Mark Kettenis <kettenis@gnu.org>
1541 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
1542 calling thread, set the cancellation flag and return success
1545 2000-07-25 Ulrich Drepper <drepper@redhat.com>
1547 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
1548 * libio/tst-widetext.c: New file.
1549 * libio/tst-widetext.input: New file.
1551 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
1553 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
1554 empty external buffer correctly.
1556 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1558 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
1559 __STRING(entry) and not #entry.
1560 (_RTLD_EPILOGUE): Likewise.
1561 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1563 2000-07-25 Andreas Jaeger <aj@suse.de>
1565 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
1566 according to changes in test program, run also with static only
1568 ($(objpfx)tst-printf.out): Likewise.
1570 * stdio-common/tst-unbputc.sh: Likewise.
1571 * stdio-common/tst-printf.sh: Likewise.
1573 2000-07-25 Ulrich Drepper <drepper@redhat.com>
1575 * libio/wfileops.c (_IO_wdo_write): Correct return value.
1577 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
1580 * libio/fileops.c: Pretty print.
1582 2000-07-23 Bruno Haible <haible@clisp.cons.org>
1584 * wctype/wchar-lookup.h: New file.
1585 * wctype/iswctype.c: Include "wchar-lookup.h".
1586 (__iswctype): Support alternate locale format with 3-level tables.
1587 * wctype/iswctype_l.c (__iswctype_l): Likewise.
1588 * wctype/towctrans.c (__towctrans): Likewise.
1589 * wctype/towctrans_l.c (__towctrans_l): Likewise.
1590 * wctype/wcfuncs.c: Include "wchar-lookup.h".
1591 (__ctype32_wctype, __ctype32_wctrans): Declare external.
1592 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
1593 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
1594 __iswxdigit, towlower, towupper): Support alternate locale format
1595 with 3-level tables.
1596 * wctype/wcextra.c (iswblank): Likewise.
1597 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
1598 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1599 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1600 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
1601 format with 3-level tables.
1602 * wctype/wcextra_l.c (__iswblank_l): Likewise.
1603 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
1604 format, return a 3-level table pointer.
1605 * wctype/wctype_l.c (__wctype_l): Likewise.
1606 * wctype/wctrans.c (wctrans): Likewise.
1607 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
1608 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
1609 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
1610 (iswctype): Remove macro definition.
1611 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
1612 (internal_wcwidth): Support alternate locale format with 3-level
1614 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
1616 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
1617 Define them as being type "word".
1618 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
1619 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
1620 __ctype32_width): New exported variables.
1621 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
1622 alternate locale format. Don't initialize __ctype_names and
1623 __ctype_width in the alternate locale format.
1624 * locale/programs/localedef.h (oldstyle_tables): New declaration.
1625 * locale/programs/localedef.c (oldstyle_tables): New variable.
1626 (OPT_OLDSTYLE): New macro.
1627 (options): Add --old-style option.
1628 (parse_opt): Handle --old-style option.
1629 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
1630 map_offset, class_3level, map_3level, width_3level members.
1631 (ctype_output): Support for alternate locale format: Computation of
1632 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
1633 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
1634 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
1635 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
1636 now contain both class and map tables.
1637 (struct wctype_table): New type.
1638 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
1640 (struct wcwidth_table): New type.
1641 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
1643 (struct wctrans_table): New type.
1644 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
1646 (allocate_arrays): Support for alternate locale format: Set
1647 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
1648 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
1649 to the first 256 characters. Compute ctype->map_3level. Set
1650 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
1651 instead of ctype->width.
1653 2000-07-24 Ulrich Drepper <drepper@redhat.com>
1655 * libio/iogetwline.c (_IO_getwline_info): Use wide character
1658 2000-07-24 Jakub Jelinek <jakub@redhat.com>
1660 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
1661 in wide characters, not bytes.
1662 * libio/tst_putwc.c (do_test): Add test for writing lots of data
1665 2000-07-22 Bruno Haible <haible@clisp.cons.org>
1667 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
1668 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
1669 LC_MEASUREMENT, LC_IDENTIFICATION.
1671 * locale/xlocale.h (struct __locale_struct): Increase size of
1673 * locale/duplocale.c (__duplocale): Copy newly added categories as
1675 * locale/freelocale.c (__freelocale): Free newly added categories.
1676 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
1677 If a base is given, use it, don't simply return it.
1679 2000-07-22 Bruno Haible <haible@clisp.cons.org>
1681 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
1682 variables, copied_key and copied_salt, instead of boolean variables.
1684 2000-07-24 Andreas Jaeger <aj@suse.de>
1686 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
1689 * grp/initgroups.c (initgroups_dyn_function): Renamed from
1690 initgroups_function, adopted prototype for change from 2000-07-23.
1691 (initgroups): Follow type change.
1693 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
1694 & PAGE_MASK case, reformat.
1696 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
1697 from stdin and setup environment.
1699 2000-07-24 Andreas Schwab <schwab@suse.de>
1701 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
1703 2000-07-23 Ulrich Drepper <drepper@redhat.com>
1705 * string/endian.h: Explain the _*_ENDIAN constant values a bit
1706 more. Patch by scarlet@mit.edu [PR libc/1799].
1708 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
1711 * argp/argp-parse.c (parser_finalize): Reverse order in which
1712 parsers are run for ARGP_KEY_END. [PR libc/1755].
1714 * grp/initgroups.c (initgroups): Don't limit the possible number
1715 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
1716 the setgroups call while the call fails and descrease the number
1717 of groups each round.
1718 The name of the initgroups function in the NSS modules changed.
1719 (compat_call): Adapt for dynamic resizing.
1720 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1721 Implement dynamic resizing.
1722 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1724 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
1725 * hesiod/Versions: Change exported interface name.
1726 * nis/Versions: Change exported interface name.
1728 2000-07-23 Ulrich Drepper <drepper@redhat.com>
1730 * locale/iso-639.def: Some errors corrected.
1731 Patch by Keld Simonsen.
1733 * include/limits.h: Update non-gcc portion.
1734 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1736 2000-07-22 Mark Kettenis <kettenis@gnu.org>
1738 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
1739 program's data space, reallocate only the space that was just
1740 deallocated to release its backing space.
1742 2000-07-23 Ulrich Drepper <drepper@redhat.com>
1744 * stdio-common/vfprintf.c (process_string_arg): For wide character
1745 version, handle precision also correctly.
1747 * nss/nss_files/files-hosts.c: Correct problem with three or more
1748 entries with the same name.
1750 * nss/nss_files/files-hosts.c: Implement multi handling.
1751 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
1753 2000-07-22 Ulrich Drepper <drepper@redhat.com>
1755 * nss/nss_files/files-parse.c: Don't pollute namespace by using
1758 * grp/Makefile: Change Makefiles and tests to run only when necessary.
1759 * malloc/Makefile: Likewise.
1760 * malloc/tst-mtrace.sh: Likewise.
1761 * posix/Makefile: Likewise.
1762 * posix/globtest.sh: Likewise.
1763 * posix/wordexp-tst.sh: Likewise.
1764 * string/Makefile: Likewise.
1766 2000-07-22 Mark Kettenis <kettenis@gnu.org>
1768 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
1769 size instead of LC_ALL to take into account the new locale
1772 2000-07-22 Ulrich Drepper <drepper@redhat.com>
1774 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
1775 remainders of hash table.
1776 * locale/categories.def: Remove remainders of transliteration
1778 * locale/langinfo.h: Likewise.
1779 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
1780 transliteration tables.
1782 * locale/gen-translit.pl: New file.
1783 * locale/C-translit.h.in: New file.
1784 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
1785 data pointers with data from this file.
1786 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
1787 and gen-translit.pl.
1788 Add rule to generate C-translit.h.
1789 * intl/tst-translit.c (main): Update for now performed
1792 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
1793 (it's no input error).
1794 * stdio-common/tstscanf.c: Add test case for format %f with input --.
1795 * stdio-common/scanf12.c: Correct expected result for first scanf.
1797 * stdio-common/vfprintf.c (process_string_arg): Correct handling
1798 of multibyte character strings in %s format with precision.
1800 2000-07-21 Ulrich Drepper <drepper@redhat.com>
1802 * locale/programs/ld-collate.c (collate_read): Allow collating
1803 symbols and elements be named in reorder-after instructions.
1804 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1806 * locale/programs/ld-collate.c (handle_ellipsis): Test for
1807 duplication with generated name, not the name of the first
1809 Patch by Yong Li <yong.li@asu.edu>.
1811 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
1812 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1814 2000-07-21 Wolfram Gloger <wg@malloc.de>
1816 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
1817 allocations only if a non-main arena cannot be extended.
1819 2000-07-21 Ulrich Drepper <drepper@redhat.com>
1821 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
1822 in DF_1_NODEFLIB handling.
1824 2000-07-21 Andreas Jaeger <aj@suse.de>
1826 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
1829 * libio/fwide.c: Include <wchar.h> for prototype.
1831 2000-07-21 Greg McGary <greg@mcgary.org>
1833 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
1834 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
1835 Define in terms of chunk_at_offset.
1836 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
1837 (next_bin, prev_bin): offset by size of real array elements.
1838 (chunk_align): Make `m' a scalar, since that's how it's used.
1840 2000-07-21 Greg McGary <greg@mcgary.org>
1842 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
1844 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
1845 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
1846 Wrap bounds around argv & envp and each of their string members.
1847 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
1848 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
1849 symbol in BP_SYM (). Discard bounds of address arg.
1850 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
1851 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
1852 Discard bounds on address arg, add bounds to return value.
1854 2000-07-20 Ulrich Drepper <drepper@redhat.com>
1856 * elf/Makefile (tests): Add filter. Add rules to generate filter.
1857 * elf/filter.c: New file.
1858 * elf/filtmod1.c: New file.
1859 * elf/filtmod2.c: New file.
1861 * elf/rtld.c: Define _dl_bind_not variable.
1862 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
1863 * elf/dl-support.c: Likewise.
1864 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
1865 * elf/dl-runtime.c (fixup): Don't remember looked up value if
1867 (profile_fixup): Likewise.
1869 * libio/Makefile (routines): Add fwide.
1870 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
1871 fwide now. Internal calls to _IO_fwide must do locking themselves
1872 or don't need locking.
1873 * libio/fwide.c: New file.
1875 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
1877 * elf/Makefile: Add no modules for nodelete test.
1878 * elf/nodelmod3.c: New file.
1879 * elf/nodelmod4.c: New file.
1880 * elf/nodelete.c: Also test case where dependency of dlopen() object
1883 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
1884 * elf/nodlopen.c: New file.
1885 * elf/nodlopenmod.c: New file.
1886 * include/dlfcn.h: Define __RTLD_DLOPEN.
1887 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
1888 and this is a dlopen() call, do not load the binary.
1889 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
1890 * dlfcn/dlopenold.c: Likewise.
1891 * configure.in: Add test for -z nodelete option.
1892 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1894 2000-07-20 Mark Kettenis <kettenis@gnu.org>
1896 Make Hesiod NSS module thread-safe.
1898 * hesiod/README.hesiod: Update.
1900 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
1901 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
1902 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
1903 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
1905 * hesiod/nss_hesiod/hesiod-init.c: New file.
1906 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
1907 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
1908 * hesiod/nss_hesiod/nss_hesiod.h: New file.
1909 * hesiod/nss_hesiod/hesiod-service.c
1910 (_nss_hesiod_getservbyport_r): New function. Provide support for
1911 looking up services by port number.
1912 * hesiod/nss_hesiod/hesiod-proto.c: New file.
1914 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
1915 * hesiod/hesiod.h: Likewise.
1916 * hesiod/hesiod_p.h: Likewise.
1918 2000-07-20 Mark Kettenis <kettenis@gnu.org>
1920 Fix problems with `struct __res_state' getting too big.
1921 * resolv/resolv.h (struct __sockaddr_in): New definition.
1922 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
1923 the private parts of the structure to save some space.
1924 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
1925 (struct sockaddr_in *) in call to sock_eq.
1926 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
1928 2000-07-20 Ulrich Drepper <drepper@redhat.com>
1930 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
1931 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
1933 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
1934 to _dl_map_object. Return immediately if no object loaded.
1935 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
1936 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
1937 if it exists into l_flags_1 word.
1938 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
1939 it to determine whether loading is wanted or not.
1940 (_dl_map_object): Likewise.
1941 Call _dl_map_object_from_fd with new parameter.
1942 * sysdeps/generic/ldsodefs.h: Update prototype.
1943 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
1944 * elf/rtld.c: Likewise.
1945 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1946 * elf/Makefile (tests): Add noload. Add rules to generate noload.
1947 * elf/noload.c: New file.
1948 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
1949 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
1950 * sysdeps/mips/bits/dlfcn.h: Likewise.
1951 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
1952 (tests-nodelete-yes): Define.
1953 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
1954 Add rules to build nodelete and modules.
1955 * elf/nodelete.c: New file.
1956 * elf/nodelmod1.c: New file.
1957 * elf/nodelmod2.c: New file.
1958 * configure.in: Add test for -z nodelete option.
1959 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1961 * libio/Makefile (tests): Add tst_wprintf2.
1962 (tst_wprintf2-ARGS): Define.
1963 * libio/tst_wprintf2.c: New file.
1964 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
1966 * libio/wfiledoalloc.c: Only allocate external buffer if this
1967 hasn't happened yet.
1969 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
1970 something in the buffer. gconv call can write up to end of the
1971 buffer, not only _IO_write_end.
1972 (_IO_wfile_overflow): Allocate also external buffer.
1974 2000-07-19 Ulrich Drepper <drepper@redhat.com>
1976 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
1977 strings with precision in vfwprintf correctly.
1978 * stdio-common/vfprintf.c: Fix completely broken handling of
1979 unbuffered wide character streams.
1980 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1982 * resolv/Makefile (distribute): Add README.
1984 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
1986 2000-07-18 Mark Kettenis <kettenis@gnu.org>
1988 Update resolver code to BIND 8.2.3-T5B.
1990 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
1992 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
1993 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
1995 * resolv/Banner: BIND-8.2.3-T5B.
1997 * resolv/base64.c: Update from BIND 8.2.3-T5B.
1998 * resolv/herror.c: Likewise.
1999 * resolv/inet_addr.c: Likewise.
2000 * resolv/inet_net_ntop.c: Likewise.
2001 * resolv/inet_net_pton.c: Likewise.
2002 * resolv/inet_neta.c: Likewise.
2003 * resolv/inet_ntop.c: Likewise.
2004 * resolv/nsap_addr.c: Likewise.
2005 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
2006 IPv6 addresses (ISC bug #520).
2008 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
2009 * resolv/ns_parse.c: Likewise.
2010 * resolv/ns_netint.c: Likewise.
2011 * resolv/ns_samedomain.c: Likewise.
2012 * resolv/ns_ttl.c: Likewise.
2013 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
2014 RCS ID in object file.
2016 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
2017 * resolv/res_mkquery.c: Likewise.
2018 * resolv/res_query.c: Likewise.
2019 * resolv/res_init.c: Likewise.
2020 (res_setoptions): Mark internal.
2021 * resolv/res_send.c: Likewise.
2022 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
2023 by using poll instead.
2024 * resolv/res_comp.c: Likewise.
2025 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
2026 weak alias for __dn_expand.
2027 * resolv/res_data.c: Likewise.
2028 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
2029 in _res.options. Avoids a potential security risk by avoiding a
2031 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
2032 res_mkquery, res_query, res_querydomain adn res_search weak
2033 aliases for __res_mkquery, __res_query, __res_querydomain and
2035 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
2036 instead to avoid close(0).
2037 (res_init): Always use the static resolver context.
2038 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
2039 alias for __res_init.
2041 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
2042 RES_SET_H_ERRNO and accompanying comment to...
2043 * include/resolv.h: ... here.
2045 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
2046 * resolv/arpa/nameser_compat.h: Likewise.
2048 2000-07-18 Ulrich Drepper <drepper@redhat.com>
2050 * nss/makedb.c (main): Compare result of load_db with
2051 NSS_STATUS_SUCCESS and not 0.
2052 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
2054 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
2056 2000-07-18 Greg McGary <greg@mcgary.org>
2058 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
2059 (EXTEND_BUFFER): Use it.
2061 2000-07-18 Ulrich Drepper <drepper@redhat.com>
2063 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
2064 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
2065 __builtin_return_address.
2066 * dlfcn/dlopenold.c: Likewise.
2067 * dlfcn/dlsym.c: Likewise.
2068 * dlfcn/dlvsym.c: Likewise.
2069 * elf/dl-profstub.c: Likewise.
2070 * malloc/malloc.c: Likewise.
2071 * sysdeps/generic/machine-gmon.h: Likewise.
2072 Based on a patch by schwidefsky@de.ibm.com.
2074 2000-07-18 Andreas Jaeger <aj@suse.de>
2076 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
2077 NULL to elf_machine_fixup_plt t argument to silence GCC.
2079 * include/string.h: Add prototype for __memchr.
2081 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
2083 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
2086 2000-07-18 Ulrich Drepper <drepper@redhat.com>
2088 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
2090 * locale/C-ctype.c: Add initializers for gap elements.
2091 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
2094 2000-07-16 Ulrich Drepper <drepper@redhat.com>
2096 * nscd/nscd.c (print_version): Update copyright year.
2098 2000-07-17 Greg McGary <greg@mcgary.org>
2100 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
2101 keyletters F, I, S, W. Remove unused keyletter V. Surround
2102 signature argnames with angle-brackets for use as word delimiters,
2103 and to induce syntax errors for any args not handled. Split
2104 multi-echo echoes and comment each stage.
2105 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
2106 * sysdeps/unix/inet/syscalls.list: Likewise.
2107 * sysdeps/unix/mman/syscalls.list: Likewise.
2108 * sysdeps/unix/syscalls.list: Likewise.
2109 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2110 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2111 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2112 * sysdeps/unix/sysv/syscalls.list: Likewise.
2113 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
2115 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
2116 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
2117 qualifiers. Don't check NULL-terminator of argv & envp.
2118 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
2119 unbounded pointer type in word-size assertion.
2120 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
2121 cases to stifle warnings.
2123 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
2125 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2127 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
2128 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
2131 * Makerules (o-objects): Supplement with $(o-objects$o).
2132 * string/Makefile (o-objects.ob): Add variable to pull
2133 unbounded versions of memcpy, memset and memchr into libc_b.
2135 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
2136 rather than non-existent __ubp_memchr.
2137 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
2138 (_CHECK_STRING, _CHECK_N): New macros.
2139 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
2140 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
2141 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
2142 Add weak alias "memchr".
2143 * sysdeps/generic/memchr.c: Likewise.
2144 * sysdeps/i386/memchr.S: Likewise.
2145 * sysdeps/ia64/memchr.S: Likewise.
2146 * sysdeps/m68k/memchr.S: Likewise.
2147 * sysdeps/sparc/sparc32/memchr.S: Likewise.
2148 * sysdeps/sparc/sparc64/memchr.S: Likewise.
2149 * sysdeps/vax/memchr.s: Likewise.
2151 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
2153 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
2154 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
2155 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
2156 __BOUNDED_POINTERS__.
2157 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
2158 for __BOUNDED_POINTERS__.
2160 2000-07-17 Bruno Haible <haible@clisp.cons.org>
2162 * iconv/gconv_open.c (__gconv_open): Initialize the __data
2163 field of struct __gconv_trans_data differently. Don't pass NULL to
2164 trans_init_fct. Simplify list append operation.
2166 2000-07-14 Bruno Haible <haible@clisp.cons.org>
2168 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
2169 not only those having tsearch.
2171 2000-07-17 Ulrich Drepper <drepper@redhat.com>
2173 * locale/langinfo.h: Add placeholder values in enum for removed
2176 2000-07-17 Jakub Jelinek <jakub@redhat.com>
2178 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
2179 chain if the PHDR check fails.
2181 2000-07-17 Mark Kettenis <kettenis@gnu.org>
2183 * nss/getent.c (print_hosts): Make sure we always print a space
2184 between numeric addresses and hostnames.
2186 2000-07-17 Wolfram Gloger <wg@malloc.de>
2188 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
2189 i.e. if n_mmaps_max>0.
2191 2000-07-16 Mark Kettenis <kettenis@gnu.org>
2193 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
2194 values to remove possible clash with other AI_* constants.
2195 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
2196 hexadecimal constants to stress the fact they're in fact
2199 2000-07-15 Mark Kettenis <kettenis@gnu.org>
2201 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
2202 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
2203 instead of res_init.
2205 2000-07-16 Ulrich Drepper <drepper@redhat.com>
2207 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
2208 parameters of memset calls to avoid warnings.
2210 2000-07-15 Ulrich Drepper <drepper@redhat.com>
2212 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
2215 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
2216 Patch by Greg McGary <greg@mcgary.org>.
2218 * io/Makefile (tests): Add tst-getcwd.
2219 * io/tst-getcwd.c: New file.
2221 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
2223 2000-07-15 Jakub Jelinek <jakub@redhat.com>
2225 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
2228 2000-07-13 Jakub Jelinek <jakub@redhat.com>
2230 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
2231 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
2233 2000-07-12 H.J. Lu <hjl@gnu.org>
2235 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
2237 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
2238 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
2239 (sysdep-routines): Add clone2.
2240 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
2242 2000-07-13 Jes Sorensen <jes@linuxcare.com>
2244 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
2245 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
2247 2000-06-05 David Mosberger <davidm@hpl.hp.com>
2249 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
2250 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
2251 Change type of si_band from "int" to "long".
2252 (si_imm) [USE_GNU]: Define
2253 (si_isr) [USE_GNU]: Ditto.
2254 (ILL_BREAK) [USE_GNU]: Ditto.
2255 (FPE_DECOVF) [USE_GNU]: Ditto.
2256 (FPE_DECDIV) [USE_GNU]: Ditto.
2257 (FPE_DECERR) [USE_GNU]: Ditto.
2258 (FPE_INVASC) [USE_GNU]: Ditto.
2259 (FPE_INVDEC) [USE_GNU]: Ditto.
2260 (TRAP_BRANCH) [USE_GNU]: Ditto.
2261 (TRAP_HWBKPT) [USE_GNU]: Ditto.
2263 2000-07-06 Jes Sorensen <jes@linuxcare.com>
2265 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2266 bits/sigcontext as struct mcontext does not depend on it.
2268 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
2270 2000-07-04 Jes Sorensen <jes@linuxcare.com>
2272 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
2274 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
2276 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
2278 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2280 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
2282 2000-07-15 Ulrich Drepper <drepper@redhat.com>
2284 * intl/Makefile (test-srcs): Add tst-translit.
2286 Add rules to build and run tst-translit.
2287 * intl/tst-translit.c: New file.
2288 * intl/tst-translit.sh: New file.
2289 * intl/translit.po: New file.
2291 2000-07-14 Ulrich Drepper <drepper@redhat.com>
2293 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
2294 transliteration function did its job, continue, don't stop.
2296 * iconvdata/iso646.c: Little optimizations in body for conversion
2299 2000-07-14 Mark Kettenis <kettenis@gnu.org>
2301 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
2303 2000-07-14 Mark Kettenis <kettenis@gnu.org>
2305 * configure.in: Check for pwd binary.
2306 * config.make.in: Add PWD_P to be subsituted.
2307 * Makerules: Use $(PWD_P) instead of /bin/pwd.
2309 2000-07-14 Ulrich Drepper <drepper@redhat.com>
2311 * iconvdata/Makefile (modules): Add GB18030.
2312 (distribute): Add gb18030.c.
2313 * iconvdata/gconv-modules: Add entries for GB18030 module.
2314 * iconvdata/gb18030.c: New file.
2315 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
2318 2000-07-13 Andreas Jaeger <aj@suse.de>
2320 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
2323 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
2324 * inet/getnetgrent.c (free_mem): Likewise.
2325 * misc/mntent.c (free_mem): Likewise.
2326 * nss/getXXbyYY.c (free_mem): Likewise.
2327 * nss/getXXent.c (free_mem): Likewise.
2328 * pwd/fgetpwent.c (free_mem): Likewise.
2329 * shadow/fgetspent.c (free_mem): Likewise.
2331 2000-07-14 Ulrich Drepper <drepper@redhat.com>
2333 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
2334 64-bit architecture correctly [PR libc/1794].
2336 2000-07-13 Ulrich Drepper <drepper@redhat.com>
2338 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
2339 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
2340 report that we are out of memory.
2341 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2342 * elf/dl-libc.c (dlerror_run): Likewise.
2343 * elf/dl-open.c (_dl_open): Likewise.
2344 * elf/rtld.c (dl_main): Likewise.
2345 * elf/dl-error.c: Define _dl_out_of_memory.
2346 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
2348 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
2351 * dlfcn/dlerror.c (free_key_mem): Also free error string.
2353 * iconv/loop.c: Fix comment.
2355 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
2357 2000-07-13 Andreas Jaeger <aj@suse.de>
2359 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
2360 getcwd (NULL, size) with size > 0.
2361 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
2363 2000-07-13 Andreas Jaeger <aj@suse.de>
2365 * posix/Makefile: Remove build rules for libposix.
2367 2000-07-13 Andreas Schwab <schwab@suse.de>
2369 * sysdeps/generic/glob.c (glob): Fix memory leak.
2370 [SHELL]: Remove reference to undefined variable `files'.
2373 2000-07-13 Andreas Jaeger <aj@suse.de>
2375 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
2378 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
2379 memory if it was allocated.
2381 2000-07-12 Ulrich Drepper <drepper@redhat.com>
2383 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
2386 * iconv/gconv_open.c (__gconv_open): Reapply
2387 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2389 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
2391 * iconv/gconv_open.c: Undo last two changes for now. They break
2394 2000-07-12 Andreas Jaeger <aj@suse.de>
2396 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
2398 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
2399 (CFLAGS-dl-cache.c): Likewise.
2400 (CFLAGS-ldconfig.c): Added, passes directory locations.
2402 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
2404 * elf/ldconfig.c (LD_SO_CONF): Likewise.
2405 (main): Use configured LIBDIR and SLIBDIR.
2407 2000-07-11 Jakub Jelinek <jakub@redhat.com>
2409 * math/bits/cmathcalls.h (cimag): Add __THROW.
2410 (creal, conj): Likewise.
2411 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
2414 2000-07-12 H.J. Lu <hjl@gnu.org>
2416 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
2417 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
2419 2000-07-12 Ulrich Drepper <drepper@redhat.com>
2421 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
2424 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2426 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
2428 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2430 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
2433 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2435 * iconv/gconv_open.c (__gconv_open): Initialize
2436 result->__steps[cnt].__data.
2438 2000-07-12 Mark Kettenis <kettenis@gnu.org>
2440 * nss/getent.c (services_keys): Pass port number in network byte
2441 order in call to getservbyport.
2443 2000-07-11 Andreas Jaeger <aj@suse.de>
2445 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
2447 * intl/Makefile (do-gettext-test): Likewise.
2448 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
2450 2000-07-11 Andreas Schwab <schwab@suse.de>
2452 * Makeconfig (run-program-prefix): New rule.
2453 (built-program-cmd): Use run-program-prefix.
2455 2000-07-12 Ulrich Drepper <drepper@redhat.com>
2457 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
2458 and NOEXPR unconditionally available.
2460 2000-07-12 Greg McGary <greg@mcgary.org>
2462 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
2463 * sysdeps/posix/open64.c: Likewise.
2464 * sysdeps/generic/fegetenv.c: Likewise.
2465 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
2466 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2467 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2468 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
2469 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
2470 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2472 2000-07-11 Greg McGary <greg@mcgary.org>
2474 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
2475 Add extra level of macro expansion.
2476 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
2477 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
2478 is available at the time `select' prototype is declared.
2479 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
2480 Collect non-versioned weak aliases. Consider only non-versioned
2481 aliases for the user-visible systemcall name. Do checks inline with
2482 call to primitive system call.
2483 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
2484 stand-alone bounds checks to suppress unused value warnings.
2485 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2487 2000-07-10 Mark Kettenis <kettenis@gnu.org>
2489 * sysdeps/mach/hurd/check_fds.c: New file. Implements
2490 file descriptor checking in SUID programs for the Hurd.
2492 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
2493 res_hostalias instead of __hostalias for thread-safety.
2495 2000-07-09 Mark Kettenis <kettenis@gnu.org>
2497 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
2498 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
2500 2000-07-10 Ulrich Drepper <drepper@redhat.com>
2502 * include/features.h: Include ISO C99 features if the compiler used
2503 is an ISO C99 compiler.
2504 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2506 2000-07-08 Mark Kettenis <kettenis@gnu.org>
2508 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
2510 2000-07-10 Andreas Jaeger <aj@suse.de>
2512 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
2513 it's overridden by libpthreads.
2514 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2515 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2516 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2517 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2518 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2520 * malloc/Makefile: Run tst-mtrace only with shared libs.
2522 * stdio-common/Makefile: Run unbputc and tst-printf tests only
2525 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2527 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
2528 that gpreg really points to the GOT section of the calling object.
2529 Scan all PT_LOAD segments of objects for stub_pc, instead of only
2530 checking a start address of first one.
2532 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
2535 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
2537 2000-07-10 Andreas Jaeger <aj@suse.de>
2539 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
2540 (string_alias->strong_alias).
2542 2000-07-08 Mark Kettenis <kettenis@gnu.org>
2544 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
2546 2000-07-07 Greg McGary <greg@mcgary.org>
2548 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
2549 have no names without leading underscores.
2551 2000-07-07 Ulrich Drepper <drepper@redhat.com>
2553 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
2556 * stdio-common/Makefile (tests): Remove tst-printf here...
2557 (tests-srcs): ...and add it here.
2558 (distribute): Add tst-unbputc.sh and tst-printf.sh.
2559 Add rules to run tst-printf.sh.
2560 * stdio-common/tst-printf.c: Move code around so that there is really
2561 no further output where it's stated.
2562 * stdio-common/tst-printf.sh: New file.
2564 2000-07-07 Mark Kettenis <kettenis@gnu.org>
2566 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
2567 (do_write): Renamed from pwrite.
2568 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
2569 `struct _IO_cookie_file'.
2571 2000-07-07 Ulrich Drepper <drepper@redhat.com>
2573 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
2575 * malloc/tst-mtrace.sh: Run mtrace script.
2577 2000-07-07 Greg McGary <greg@mcgary.org>
2579 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
2580 Move all three components of a bounded pointer.
2582 2000-07-07 Ulrich Drepper <drepper@redhat.com>
2584 * locale/programs/locale.c (write_locales): Don't simply add all
2585 directories found in the subdir, test whether at least the
2586 LC_CTYPE file is in there.
2588 2000-07-06 Ulrich Drepper <drepper@redhat.com>
2590 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
2591 * iconvdata/euc-kr.c: Likewise.
2593 * stdio-common/vfprintf.c (process_string_arg): Check result of
2594 wcrtomb call and bail out if it failed.
2596 * malloc/Makefile (test-srcs): Add tst-mtrace.
2597 (distribute): Add tst-mtrace.sh.
2598 Add rule to run tst-mtrace.sh.
2599 * malloc/tst-mtrace.c: New file.
2600 * malloc/tst-mtrace.sh: New file.
2602 * include/signal.h: Declare __libc_sigaction.
2603 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
2604 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
2605 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2606 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2607 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2608 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2609 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2611 * configure.in: Fix CFLAGS-memprofstat.c definition after
2613 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
2615 2000-07-06 Jakub Jelinek <jakub@redhat.com>
2617 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
2618 instead of NULL to elf_machine_fixup_plt t argument.
2619 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2620 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
2623 2000-07-06 Andreas Jaeger <aj@suse.de>
2625 * crypt/Makefile (LDLIBS-cert): Removed.
2626 (LDLIBS-md5c-test): Removed.
2627 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
2628 ($(objpfx)md5c-test): Likewise for md5c-test.out.
2630 2000-07-06 Andreas Jaeger <aj@suse.de>
2632 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
2633 of the proc system is "proc".
2635 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
2636 thread library for static programs.
2638 2000-07-06 Greg McGary <greg@mcgary.org>
2640 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
2642 * sysdeps/generic/strcpy.c: Add bounds checks.
2643 * sysdeps/unix/fxstat.c: Likewise.
2644 * sysdeps/unix/xstat.c: Likewise.
2645 * sysdeps/unix/common/lxstat.c: Likewise.
2646 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2647 * sysdeps/unix/sysv/linux/execve.c: Likewise.
2648 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2649 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2650 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2651 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2652 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2653 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2654 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2655 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2656 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2657 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2658 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2659 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2660 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2661 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2662 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2663 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2664 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2665 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2666 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2667 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2668 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2669 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
2670 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2671 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
2672 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2673 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
2674 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2675 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2676 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2677 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
2678 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2679 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2680 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2681 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2682 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2683 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
2684 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2685 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2686 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2687 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2688 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2689 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2690 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
2691 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
2692 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2693 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
2694 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2695 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
2696 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
2697 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
2698 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2699 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2700 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2701 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2702 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2703 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
2704 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
2705 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
2706 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2707 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
2708 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
2711 * string/endian.h (__LONG_LONG_PAIR): New macro.
2712 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
2713 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2714 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2715 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2716 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2717 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2718 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
2719 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2720 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2721 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2722 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2723 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2725 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
2727 2000-07-06 Andreas Jaeger <aj@suse.de>
2729 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
2732 * math/test-fpucw.c: Include <stdio.h> for printf.
2734 2000-07-05 Greg McGary <greg@mcgary.org>
2736 * sysdeps/generic/bp-checks.h: New file.
2737 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
2738 with list of #include files.
2739 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
2740 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
2741 Don't generate BP thunk if `V' appears in signature.
2742 Generate thunks with complete bounds checks.
2743 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
2744 * sysdeps/unix/inet/syscalls.list: Likewise.
2745 * sysdeps/unix/mman/syscalls.list: Likewise.
2746 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2747 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2748 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2749 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2751 2000-07-05 Ulrich Drepper <drepper@redhat.com>
2753 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
2754 result. Search first in /etc/mtab (proc/mounts would be stupid).
2755 If mount not in the file fall back on /proc.
2757 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
2758 string got copied in.
2759 Patch by Solar Designer <solar@false.com>.
2761 2000-07-05 Andreas Jaeger <aj@suse.de>
2763 * manual/install.texi (Installation): Update information about
2765 (Configuring and compiling): Update for glibc 2.2.
2767 2000-07-04 Andreas Jaeger <aj@suse.de>
2769 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
2770 (_FPU_IEEE): Likewise.
2772 * math/Makefile (tests): Add test-fpucw.
2774 * math/test-fpucw.c (main): New file.
2776 2000-07-05 Ulrich Drepper <drepper@redhat.com>
2778 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
2780 * locale/programs/ld-collate.c (collate_output): Also write out the
2781 collation sequence values and the wide character string for the
2782 collation symbol table.
2784 * posix/fnmatch.c: Include "../locale/elem-hash.h".
2785 * posix/fnmatch_loop.c: Implement collating symbol handling.
2786 * posix/tst-fnmatch.input: Add more tests, especially for collating
2789 * posix/regex.c: Fix comment.
2791 2000-07-05 Andreas Jaeger <aj@suse.de>
2793 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
2794 (_FPU_GETCW): Remove extra colon.
2795 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2797 * posix/fnmatch_loop.c (FCT): Only declare len if
2798 !WIDE_CHAR_VERSION to silence GCC.
2800 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
2802 * sysdeps/generic/strchrnul.c: Likewise.
2803 * sysdeps/generic/strlen.c: Likewise.
2804 * sysdeps/generic/strchr.c: Likewise.
2805 * sysdeps/generic/memchr.c: Likewise.
2807 2000-07-04 Ulrich Drepper <drepper@redhat.com>
2809 * posix/fnmatch_loop.c: Implement equivalence class handling.
2810 * posix/tst-fnmatch.input: Add tests for equivalence class
2813 * posix/fnmatch_loop.c: Improve performance for single-byte
2814 character sets by not using btowc.
2816 * posix/tst-fnmatch.input: Add tests for locale dependent
2818 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
2820 * posix/tst-fnmatch.input: Add more test cases.
2822 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
2823 are not aligned to alignof(md5_uint32) do it before calling
2824 __md5_process_bytes.
2825 * crypt/md5.c: Make sure buffers are aligned.
2826 * crypt/md5.h: Likewise.
2827 Reported by Solar Designer <solar@false.com>.
2829 * crypt/Makefile: Add dependencies for test programs.
2831 * Rules: Define LC_ALL=C in environments of all programs we run.
2833 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
2835 2000-07-03 H.J. Lu <hjl@gnu.org>
2837 * locale/programs/ld-ctype.c (ctype_output): The size of iov
2838 is 2 + elem + offset, not 2 + elem + offset + 2.
2840 2000-07-04 Ulrich Drepper <drepper@redhat.com>
2842 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
2844 * posix/Makefile (tests): Add tst-fnmatch.
2845 (tst-fnmatch-ENV): Define.
2846 * posix/tst-fnmatch.c: New file.
2847 * posix/tst-fnmatch.sh: New file.
2849 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
2851 * locale/programs/charmap.c (charmap_read): Prepend
2852 the condition filename == NULL.
2854 2000-07-03 Greg McGary <greg@mcgary.org>
2856 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
2858 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
2859 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
2861 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
2862 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
2863 (FILEBUF_LITERAL): Add cast for CHAIN init.
2864 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
2865 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2866 Revert type of `fp' to _IO_FILE*.
2867 (_IO_iter_file): Remove cast.
2868 (_IO_iter_next): Elide intermediate member reference.
2870 * sysdeps/powerpc/strchr.S: Check bounds.
2871 Wrap extern symbols in BP_SYM ().
2873 2000-07-03 Andreas Jaeger <aj@suse.de>
2875 * dlfcn/Makefile (generated): New.
2877 2000-07-03 Ulrich Drepper <drepper@redhat.com>
2879 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
2880 (__uflow): Likewise.
2881 (__underflow): Likewise.
2882 * libio/wgenops.c (__wunderflow): Likewise.
2883 * stdio-common/tst-unbputc.c: New file.
2884 * stdio-common/tst-unbputc.sh: New file.
2885 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
2887 * po/en_GB.po: New file.
2888 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
2890 2000-07-01 Andreas Jaeger <aj@suse.de>
2892 * intl/Makefile (generated-dirs): New.
2894 * elf/Makefile (generated): trusted-dirs.h is always generated,
2895 move out of build-shared condition.
2896 (generated): Merge the two entries for build-shared.
2898 2000-07-01 Ulrich Drepper <drepper@redhat.com>
2900 * debug/Makefile (distribute): Add xtrace.sh.
2902 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2904 * version.h (VERSION): Bump to 2.1.91.
2906 * configure.in: Update warning comment. glibc should not be
2909 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
2910 ioperm.c, sys/procfs.h, and sys/io.h.
2912 * sysdeps/powerpc/Dist: Add bp-asm.h.
2914 * assert/Depend: Add localedata.
2915 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
2916 (test-assert-perr-ENV): New. Define LANGUAGE=C.
2918 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
2919 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
2920 relocation address to prevent unaligned trap.
2921 Suggested by Richard Henderson <rth@cygnus.com>.
2923 2000-06-30 Jakub Jelinek <jakub@redhat.com>
2925 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
2926 if redirecting and either redirection is done using defines or
2929 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2931 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
2932 generated expressions.
2933 Patch by Darren McClelland <dmcclell@zetec.com>.
2935 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
2936 since zic uses setlocale and gettext but we cannot make it use the
2937 new locale data since zic calls a shell which might not use the
2940 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
2941 handling the internation currency symbol. POSIX says that the
2942 fourth character is used to separate the currency symbol from the
2943 value. Therefore it does not have to be printed. But we cannot
2944 remove the space if the currency symbol is printed before the
2945 number since this is what many locales expect.
2947 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
2948 whether this information is available.
2950 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
2951 buffers in case the translation is too large. Remember allocated
2952 memory blocks in a list.
2953 (free_mem): Free memory for translations.
2955 * intl/tst-gettext.c: Use correct locale. Improve error messages.
2957 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
2958 information is available set the string length to zero.
2960 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
2962 2000-06-30 Greg McGary <greg@mcgary.org>
2964 * sysdeps/powerpc/bp-asm.h: New file.
2965 * sysdeps/powerpc/__longjmp.S: Check bounds.
2966 Wrap extern symbols in BP_SYM ().
2967 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
2968 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
2969 * sysdeps/powerpc/setjmp.S: Likewise.
2970 * sysdeps/powerpc/add_n.S: Likewise.
2971 * sysdeps/powerpc/addmul_1.S: Likewise.
2972 * sysdeps/powerpc/lshift.S: Likewise.
2973 * sysdeps/powerpc/rshift.S: Likewise.
2974 * sysdeps/powerpc/mul_1.S: Likewise.
2975 * sysdeps/powerpc/sub_n.S: Likewise.
2976 * sysdeps/powerpc/submul_1.S: Likewise.
2977 * sysdeps/powerpc/strlen.S: Likewise.
2978 * sysdeps/powerpc/memset.S: Likewise.
2979 * sysdeps/powerpc/stpcpy.S: Likewise.
2980 * sysdeps/powerpc/strcmp.S: Likewise.
2981 * sysdeps/powerpc/strcpy.S: Likewise.
2982 * sysdeps/powerpc/elf/bzero.S: Likewise.
2984 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
2985 Line up operands column with tabs.
2987 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2989 * elf/Makefile (LDFLAGS-origtest): Actually add it.
2991 * sysdeps/ia64/htonl.S: New file.
2992 * sysdeps/ia64/htons.S: New file.
2993 * sysdeps/ia64/memcpy.S: Replace with version which does not use
2994 floating point registers.
2995 Patches by Dan Pop <Dan.Pop@cern.ch>.
2997 2000-06-30 Andreas Jaeger <aj@suse.de>
2999 * posix/Makefile (tests): tst-exec and tst-spawn only work with
3002 * io/Makefile (CFLAGS-test-lfs.c): New.
3003 (tests): Add test-lfs.
3005 * io/test-lfs.c: New file.
3007 2000-06-30 Jakub Jelinek <jakub@redhat.com>
3009 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
3012 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
3014 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
3016 2000-06-29 Jes Sorensen <jes@linuxcare.com>
3018 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
3019 alias to the fstatfs call.
3021 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
3022 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
3024 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
3025 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
3027 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
3028 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
3029 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
3030 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
3032 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
3033 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
3035 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
3036 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
3038 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
3039 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
3041 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
3043 2000-06-29 Andreas Jaeger <aj@suse.de>
3045 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
3047 (print_err_message): Likewise.
3048 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
3050 2000-06-29 Ulrich Drepper <drepper@redhat.com>
3052 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
3053 used as words is properly aligned.
3055 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
3058 2000-06-29 Greg McGary <greg@mcgary.org>
3060 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
3061 * sysdeps/unix/make-syscalls.sh: Handle signatures of
3062 length 7..9, just in case...
3063 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
3065 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
3066 (POP_ERRNO_LOCATION_RETURN): Fold insns.
3067 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
3068 (PUSH_SIGNAL_MASK): New macro.
3069 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
3070 LEAVE is unnecessary. Check bounds of jmp_buf.
3071 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
3072 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
3073 immediately before tail-call.
3074 * sysdeps/i386/setjmp.S: Likewise.
3075 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3076 * sysdeps/i386/bsd-setjmp.S: Likewise.
3078 2000-06-29 Jakub Jelinek <jakub@redhat.com>
3080 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
3082 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3083 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3084 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3085 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3086 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3087 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3088 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
3089 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
3091 2000-06-29 Ulrich Drepper <drepper@redhat.com>
3093 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
3094 we later need to calling free().
3095 Patch by Matt Wilson <msw@redhat.com>.
3097 * stdio-common/tst-printf.c: Add test for above problem.
3099 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
3101 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
3102 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
3104 2000-06-28 Jes Sorensen <jes@linuxcare.com>
3106 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
3107 prototype for abs().
3108 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
3110 2000-06-23 Andreas Jaeger <aj@suse.de>
3112 * config.h.in: Don't use regparm with bounded pointers.
3114 2000-06-29 Ulrich Drepper <drepper@redhat.com>
3116 * stdlib/grouping.h: Correctly handle multibyte thousands
3117 separator and decimal point.
3118 * stdlib/stdtod.c: Likewise.
3119 * sysdeps/generic/strtol.c: Likewise.
3121 * locale/categories.def: Add entries for wide character decimal point
3122 and thousands separator in numeric and monetary category.
3124 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3126 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
3127 second definition and initialization of decimal.
3129 2000-06-28 Greg McGary <greg@mcgary.org>
3131 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
3133 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
3134 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
3136 (_IO_JUMPS): Don't cast THIS--expect arg to be a
3137 (struct _IO_FILE_plus *).
3138 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
3139 THIS, since _IO_JUMPS no longer does it implicitly.
3140 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
3141 arg type as (struct _IO_FILE_plus *).
3142 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
3143 arg as (_IO_strfile *).
3144 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
3145 Declare 1st arg as (_IO_strfile *).
3146 * libio/fileops.c (_IO_new_file_init): Declare
3147 arg type as (struct _IO_FILE_plus *).
3148 * libio/oldfileops.c (_IO_old_file_init): Likewise.
3149 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
3150 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
3151 Declare iteration pointer as (struct _IO_FILE_plus *).
3152 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
3153 (struct _IO_FILE_plus *).
3154 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
3155 * libio/oldstdfiles.c (_IO_list_all): Likewise.
3156 (_IO_check_libio): Set user-visible handles to
3157 (struct _IO_FILE_plus *).
3158 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
3159 to (struct _IO_FILE_plus *).
3161 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
3162 whose high bound includes vtable to all functions that will use
3163 vtable. For streambufs, pass pointer whose bounds include struct
3165 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
3166 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3167 * libio/iofopen.c (_IO_new_fopen): Likewise.
3168 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3169 * libio/iofopen64.c (_IO_fopen64): Likewise.
3170 * libio/iopopen.c (_IO_new_popen): Likewise.
3171 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3172 * libio/memstream.c (open_memstream): Likewise.
3173 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3174 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
3175 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3176 * libio/iofopncook.c (_IO_cookie_init): Likewise.
3177 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
3178 * libio/vasprintf.c (_IO_vasprintf): Likewise.
3179 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3180 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3181 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3182 * stdlib/strfmon.c (__strfmon_l): Likewise.
3183 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
3184 (vfprintf): Qualify computed-goto targets as unbounded.
3186 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3188 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
3189 thousands separator correctly.
3191 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
3192 * stdio-common/vfwscanf.c: Likewise.
3194 2000-06-27 Jes Sorensen <jes@linuxcare.com>
3196 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
3197 count into signatures for most calls.
3199 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3201 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
3202 the generic parser now.
3204 2000-06-28 Jes Sorensen <jes@linuxcare.com>
3206 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
3207 table entries are 32 bit on the ia64 (as specified by the ABI),
3208 not 64 bit as on the Alpha.
3210 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
3211 change of objects to use 32 bit hash table indices (see above).
3213 2000-06-28 Jes Sorensen <jes@linuxcare.com>
3215 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
3216 prototype for abs().
3218 2000-06-28 Wolfram Gloger <wg@malloc.de>
3220 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
3221 fails, try mmap_chunk() as a last resort even though n_mmaps_max
3222 may have been reached.
3224 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3226 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
3227 symbols in multi-character weights correctly.
3229 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
3230 depending on whether the input string is empty or not.
3232 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
3233 given state and not avoiding this by modifying a local object.
3234 * wcsmbs/wcrtomb.c: Likewise.
3236 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
3237 object since some incomplete characters might be in there.
3239 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
3240 sequences with first byte 0x8e correctly.
3242 * iconvdata/jis0208.h: Remove redundant test.
3244 2000-06-27 Ulrich Drepper <drepper@redhat.com>
3246 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
3247 Add it where it is needed now.
3249 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
3250 the input charset into account when generating the hash table.
3251 (allocate_arrays): Correct setting default width. Not all empty slots
3252 in the table are filled, only those not covert explicitly by the
3253 locale description and in the charset.
3255 * wctype/towctrans.c (__towctrans): Be graceful and accept error
3256 return values from the wctrans function.
3258 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
3259 wide character version.
3260 For %C handling, test correct pointer variable for NULL.
3262 * wcsmbs/wctob.c: Handle WEOF special.
3264 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
3266 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
3267 always-true test to avoid warning.
3269 2000-06-27 Greg McGary <greg@mcgary.org>
3271 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
3272 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
3273 (symbol_version, default_symbol_version): Factor redundant
3274 definitions out of conditional.
3276 2000-06-27 Jakub Jelinek <jakub@redhat.com>
3278 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
3281 2000-06-26 Ulrich Drepper <drepper@redhat.com>
3283 * include/libc-symbols.h (symbol_version): Add extra level of
3285 (default_symbol_version): Likewise.
3287 2000-06-26 Greg McGary <greg@mcgary.org>
3289 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
3290 for BP return value & push implicit struct-return pointer to
3292 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3293 (SYSCALL_ERROR_HANDLER): Likewise.
3294 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
3295 (SYSCALL_ERROR_HANDLER): Likewise.
3297 * Makeconfig: Add missing comment.
3298 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
3299 BP-flavored startup object.
3300 ($(objpfx)b$(start-installed-name)): New rule.
3301 * include/libc-symbols.h (symbol_set_declare): Change type
3302 of `__start_##set' and `__stop_##set' to pointer-to-function.
3303 (symbol_set_declare): Change type of `set' to array of
3304 pointer-to-function.
3305 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
3306 pointer-to-function.
3308 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
3310 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
3311 Remove clock_* and timer_* entries.
3312 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
3313 arg-count with signatures.
3315 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
3316 Check bounds of arguments.
3317 * sysdeps/i386/addmul_1.S: Likewise.
3318 * sysdeps/i386/lshift.S: Likewise.
3319 * sysdeps/i386/mul_1.S: Likewise.
3320 * sysdeps/i386/rshift.S: Likewise.
3321 * sysdeps/i386/sub_n.S: Likewise.
3322 * sysdeps/i386/submul_1.S: Likewise.
3323 * sysdeps/i386/i586/add_n.S: Likewise.
3324 * sysdeps/i386/i586/addmul_1.S: Likewise.
3325 * sysdeps/i386/i586/lshift.S: Likewise.
3326 * sysdeps/i386/i586/rshift.S: Likewise.
3327 * sysdeps/i386/i586/sub_n.S: Likewise.
3328 * sysdeps/i386/i686/add_n.S: Likewise.
3330 * sysdeps/i386/memchr.S: Likewise.
3331 * sysdeps/i386/memcmp.S: Likewise.
3332 * sysdeps/i386/rawmemchr.S: Likewise.
3333 * sysdeps/i386/i586/bzero.S: Likewise.
3334 * sysdeps/i386/i586/memcpy.S: Likewise.
3335 * sysdeps/i386/i586/mempcpy.S: Likewise.
3336 * sysdeps/i386/i586/memset.S: Likewise.
3337 * sysdeps/i386/i686/bzero.S: Likewise.
3338 * sysdeps/i386/i686/memcpy.S: Likewise.
3339 * sysdeps/i386/i686/mempcpy.S: Likewise.
3340 * sysdeps/i386/i686/memset.S: Likewise.
3342 * sysdeps/i386/stpcpy.S: Likewise.
3343 * sysdeps/i386/stpncpy.S: Likewise.
3344 * sysdeps/i386/strchr.S: Likewise.
3345 * sysdeps/i386/strchrnul.S: Likewise.
3346 * sysdeps/i386/strcspn.S: Likewise.
3347 * sysdeps/i386/strpbrk.S: Likewise.
3348 * sysdeps/i386/strrchr.S: Likewise.
3349 * sysdeps/i386/strspn.S: Likewise.
3350 * sysdeps/i386/strtok.S: Likewise.
3351 * sysdeps/i386/strtok_r.S: Likewise.
3352 * sysdeps/i386/i486/strcat.S: Likewise.
3353 * sysdeps/i386/i486/strlen.S: Likewise.
3354 * sysdeps/i386/i586/strchr.S: Likewise.
3355 * sysdeps/i386/i586/strcpy.S: Likewise.
3356 * sysdeps/i386/i586/strlen.S: Likewise.
3357 * sysdeps/i386/i686/strcmp.S: Likewise.
3358 * sysdeps/i386/i686/strtok.S: Likewise.
3359 * sysdeps/i386/i686/strtok_r.S: Likewise.
3361 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
3362 * sysdeps/i386/fpu/fesetenv.c: Likewise.
3363 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3364 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3365 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3367 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
3368 * sysdeps/i386/mul_1.S: Likewise.
3369 * sysdeps/i386/submul_1.S: Likewise.
3370 * sysdeps/i386/i586/add_n.S: Likewise.
3371 * sysdeps/i386/i586/addmul_1.S: Likewise.
3372 * sysdeps/i386/i586/lshift.S: Likewise.
3373 * sysdeps/i386/i586/mul_1.S: Likewise.
3374 * sysdeps/i386/i586/rshift.S: Likewise.
3375 * sysdeps/i386/i586/sub_n.S: Likewise.
3376 * sysdeps/i386/i586/submul_1.S: Likewise.
3378 2000-06-26 Ulrich Drepper <drepper@redhat.com>
3380 * rt/Makefile (librt-routines): Add clock_nanosleep.
3381 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
3382 * sysdeps/generic/clock_nanosleep.c: New file.
3383 * sysdeps/unix/clock_nanosleep.c: New file.
3384 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
3385 * time/time.h: Declare clock_nanosleep.
3387 2000-06-26 Greg McGary <greg@mcgary.org>
3389 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
3390 INSN1, INSN2, TEXT, GLOBL): Remove macros.
3391 (ALIGN): Cleanup surrounding conditionals.
3393 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
3394 Call ENTER/LEAVE macros.
3395 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
3396 * sysdeps/i386/submul_1.S: Likewise.
3398 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
3399 syntax. Define & use symbolic argument stack offsets. Call
3401 * sysdeps/i386/i586/mul_1.S: Likewise.
3402 * sysdeps/i386/i586/submul_1.S: Likewise.
3404 2000-06-25 Greg McGary <greg@mcgary.org>
3406 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
3409 2000-06-25 Ulrich Drepper <drepper@redhat.com>
3411 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
3412 * iconvdata/gen-8bit-gap.sh: Likewise.
3413 * iconvdata/gen-8bit.sh: Likewise.
3415 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
3417 * locale/programs/ld-collate.c (collate_read): Don't actually read
3418 the copy locale if we are ignoring the content.
3420 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
3423 * locale/programs/ld-collate.c: Correct handling of different
3425 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
3426 as extra parameter from which to copy category information.
3428 (load_locale): Likewise.
3429 * locale/programs/localedef.h: Update prototypes of add_to_readlist
3431 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
3432 * locale/programs/locfile.h: Likewise.
3433 * locale/programs/locfile-kw.gperf: Add entry for script.
3434 * locale/programs/locfile-token.h: Add tok_script.
3436 * locale/programs/locale.c: Update copyright year.
3437 * locale/programs/localedef.c: Likewise.
3439 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
3441 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
3442 Jens Moeller <jens.moeller@waii.com>.
3444 2000-06-24 Ulrich Drepper <drepper@redhat.com>
3446 * locale/programs/ld-name.c (name_finish): Add missing format
3447 specifier to test for name_fmt.
3449 * locale/programs/ld-address.c (iso639): Correct length of string
3451 (iso3166): Likewise.
3453 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
3455 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
3458 * elf/elf.h (NT_PRFPXREG): Define.
3460 2000-06-23 Ulrich Drepper <drepper@redhat.com>
3462 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
3463 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
3465 2000-06-23 Andreas Schwab <schwab@suse.de>
3467 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
3470 2000-06-23 Andreas Jaeger <aj@suse.de>
3472 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
3474 * io/test-stat.c: Add copyright header, mention Maciej.
3476 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
3477 SYS_mincore, SYS_madvise): Added.
3479 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
3482 2000-06-22 Ulrich Drepper <drepper@redhat.com>
3484 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
3485 (CFLAGS-tst_putwc.c): New definition.
3486 * libio/tst_getwc.c: New file.
3487 * libio/tst_getwc.input: New file.
3488 * libio/tst_putwc.c: New file.
3490 * include/string.h: Add prototype for __strdup.
3492 2000-06-22 Greg McGary <greg@mcgary.org>
3494 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
3495 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
3498 2000-06-23 Jes Sorensen <jes@linuxcare.com>
3500 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
3502 2000-06-22 Jes Sorensen <jes@linuxcare.com>
3504 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
3506 2000-06-22 Jes Sorensen <jes@linuxcare.com>
3508 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
3509 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
3511 2000-06-22 Ulrich Drepper <drepper@redhat.com>
3513 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
3514 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
3516 * sysdeps/mach/hurd/bits/stat.h: Likewise.
3517 * sysdeps/unix/bsd/bits/stat.h: Likewise.
3518 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
3519 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3520 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
3521 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
3522 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3523 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
3524 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3525 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3526 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
3527 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
3528 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
3529 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
3532 2000-06-22 Andreas Jaeger <aj@suse.de>
3534 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
3537 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
3539 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
3541 2000-06-21 Ulrich Drepper <drepper@redhat.com>
3543 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
3546 2000-06-21 Greg McGary <greg@mcgary.org>
3548 * Makerules (elide-routines.*, elide-bp-thunks):
3549 Define unconditionally.
3551 2000-06-21 Jes Sorensen <jes@linuxcare.com>
3553 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
3555 2000-06-21 Andreas Jaeger <aj@suse.de>
3557 * io/Makefile (tests): Add test-stat.
3558 (CFLAGS-test-stat.c): New.
3560 * io/test-stat.c: New file from Maciej W. Rozycki
3561 <macro@ds2.pg.gda.pl>.
3563 2000-06-21 Jes Sorensen <jes@linuxcare.com>
3565 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
3566 in __rlimit_resource to make them match the kernel order.
3567 rlim_t is always 64 bit, use __rlim64_t to declare it
3570 2000-05-04 Jes Sorensen <jes@linuxcare.com>
3572 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
3573 RLIM_INFINITY before defining it to avoid clash with kernel header
3575 2000-05-03 Jes Sorensen <jes@linuxcare.com>
3577 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
3579 2000-06-21 Ulrich Drepper <drepper@redhat.com>
3581 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
3583 2000-06-21 Andreas Jaeger <aj@suse.de>
3585 * stdio-common/temptest.c: Include <stdlib.h>.
3586 * stdio-common/tst-fileno.c: Likewise.
3587 * stdio-common/scanf4.c: Likewise.
3588 * stdio-common/scanf5.c: Likewise.
3589 * time/clocktest.c: Likewise.
3590 * posix/test-vfork.c: Likewise.
3591 * posix/globtest.c: Likewise.
3592 * io/test-utime.c: Likewise.
3593 * wctype/test_wcfuncs.c: Likewise.
3594 * crypt/cert.c: Likewise.
3596 * stdio-common/tst-printfsz.c: Include <string.h>.
3597 * libio/tst_swscanf.c: Likewise.
3598 * libio/tst_wscanf.c: Likewise.
3599 * posix/runtests.c: Likewise.
3600 * posix/tst-getaddrinfo.c: Likewise.
3601 * posix/wordexp-test.c: Likewise.
3602 * misc/tst-efgcvt.c: Likewise.
3604 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
3605 * nss/test-netdb.c: Likewise.
3607 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
3608 supported kernel for MIPS.
3610 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
3611 * rt/aio_suspend.c: Likewise.
3613 2000-06-20 Ulrich Drepper <drepper@redhat.com>
3615 * math/libm-test.inc: Include <string.h>.
3617 2000-06-20 Jes Sorensen <jes@linuxcare.com>
3619 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
3621 2000-06-20 Jes Sorensen <jes@linuxcare.com>
3623 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
3624 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
3626 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
3628 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
3630 2000-06-20 Jes Sorensen <jes@linuxcare.com>
3632 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
3634 2000-06-20 Ulrich Drepper <drepper@redhat.com>
3636 * locale/programs/ld-collate.c (insert_value): Now take string and
3637 length instead of struct token* parameter. Adjust use of token.
3638 (handle_ellipsis): Likewise.
3639 (collate_read): Allow <Uxxxx> names and transform them into names
3640 to be passed to insert_value and handle_ellipsis.
3642 * locale/programs/ld-ctype.c (uninames): New array with names of
3643 digits in <Uxxxxxxxx> format.
3644 (ctype_finish): Correct search for space character value. Likewise
3645 for default outdigits values.
3647 2000-06-20 Greg McGary <greg@mcgary.org>
3649 * Makerules (objects): Add BP thunks.
3651 2000-06-20 Ulrich Drepper <drepper@redhat.com>
3653 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
3654 in width definitions.
3656 2000-06-20 Andreas Jaeger <aj@suse.de>
3658 * sysdeps/mips/fpu/libm-test-ulps: New file.
3660 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
3663 * sysdeps/mips/fpu/feholdexcpt.c: New file.
3665 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
3667 2000-06-19 Ulrich Drepper <drepper@redhat.com>
3669 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
3670 change in gconv_builtin.h.
3672 * malloc/Makefile: Change all references to memprof into memusage.
3673 * malloc/memprof.c: Rename to...
3674 * malloc/memusage.c: ...this. New file.
3675 * malloc/memprof.sh: Rename to...
3676 * malloc/memusage.sh: ...this. New file.
3677 * malloc/memprofstat.c: Rename to...
3678 * malloc/memusagestat.c: ...this. New file.
3679 * sysdeps/alpha/memprof.h: Rename to..
3680 * sysdeps/alpha/memusage.h: ...this. New file.
3681 * sysdeps/arm/memprof.h: Rename to..
3682 * sysdeps/arm/memusage.h: ...this. New file.
3683 * sysdeps/generic/memprof.h: Rename to..
3684 * sysdeps/generic/memusage.h: ...this. New file.
3685 * sysdeps/i386/memprof.h: Rename to..
3686 * sysdeps/i386/memusage.h: ...this. New file.
3687 * sysdeps/ia64/memprof.h: Rename to..
3688 * sysdeps/ia64/memusage.h: ...this. New file.
3689 * sysdeps/m68k/memprof.h: Rename to..
3690 * sysdeps/m68k/memusage.h: ...this. New file.
3691 * sysdeps/mips/memprof.h: Rename to..
3692 * sysdeps/mips/memusage.h: ...this. New file.
3693 * sysdeps/powerpc/memprof.h: Rename to..
3694 * sysdeps/powerpc/memusage.h: ...this. New file.
3695 * sysdeps/sparc/memprof.h: Rename to..
3696 * sysdeps/sparc/memusage.h: ...this. New file.
3697 * sysdeps/sh/memprof.h: Rename to..
3698 * sysdeps/sh/memusage.h: ...this. New file.
3700 * elf/sprof.c (print_version): Update year.
3702 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
3703 table entry values. Use D_PTR.
3704 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
3705 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
3707 2000-06-20 Jes Sorensen <jes@linuxcare.com>
3709 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
3710 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
3711 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
3712 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
3714 2000-05-05 Jes Sorensen <jes@linuxcare.com>
3716 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
3718 2000-06-16 Jes Sorensen <jes@linuxcare.com>
3720 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
3721 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
3722 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
3724 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
3726 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
3729 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
3730 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
3732 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
3735 2000-06-15 Jes Sorensen <jes@linuxcare.com>
3737 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
3739 2000-06-08 Jes Sorensen <jes@linuxcare.com>
3741 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
3743 2000-06-19 Ulrich Drepper <drepper@redhat.com>
3745 * iconv/gconv_int.h (strict gconv_module): Remove all members
3746 associated with regular expressions. Use a simple string as the
3748 * iconv/gconv_db.c: Remove code handling regular expressions.
3749 * iconv/gconv_conf.c: Likewise.
3750 * iconv/iconv_prog.c: Likewise.
3751 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
3753 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
3754 General namespace cleanup.
3755 (struct __gconv_trans_data): Add next field.
3756 (struct __gconv_step_data): Make __trans a pointer.
3757 * iconv/gconv_conf.c: Split out code to find gconv directories from
3758 __gconv_read_conf in new functions.
3759 * iconv/gconv_int.h: Define new data structure and declare new
3760 functions for handling of gconv directory list.
3761 * iconv/gconv_open.c: Allow more than one error handling step being
3762 used. Call function to load error handling module if it is none
3763 of the builtin transformations.
3764 * iconv/gconv_close.c: Add code to free transliteration data.
3765 * iconv/gconv_trans.c: Add functions to load and unload modules
3766 implementing transliteration etc.
3767 * iconv/skeleton.c: Call all context functions now that more than
3768 one module is allowed.
3769 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
3770 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
3771 where the full error handling using transliteration is needed.
3772 * iconvdata/8bit-gap.c: Likewise.
3773 * iconvdata/8bit-generic.c: Likewise.
3774 * iconvdata/ansi_x3.110.c: Likewise.
3775 * iconvdata/big5.c: Likewise.
3776 * iconvdata/big5hkscs.c: Likewise.
3777 * iconvdata/euc-cn.c: Likewise.
3778 * iconvdata/euc-jp.c: Likewise.
3779 * iconvdata/euc-kr.c: Likewise.
3780 * iconvdata/euc-tw.c: Likewise.
3781 * iconvdata/gbgbk.c: Likewise.
3782 * iconvdata/gbk.c: Likewise.
3783 * iconvdata/iso-2022-cn.c: Likewise.
3784 * iconvdata/iso-2022-jp.c: Likewise.
3785 * iconvdata/iso-2022-kr.c: Likewise.
3786 * iconvdata/iso646.c: Likewise.
3787 * iconvdata/iso8859-1.c: Likewise.
3788 * iconvdata/iso_6937-2.c: Likewise.
3789 * iconvdata/iso_6937.c: Likewise.
3790 * iconvdata/johab.c: Likewise.
3791 * iconvdata/sjis.c: Likewise.
3792 * iconvdata/t.61.c: Likewise.
3793 * iconvdata/uhc.c: Likewise.
3794 * iconvdata/unicode.c: Likewise.
3795 * iconvdata/utf-16.c: Likewise.
3796 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
3797 structure correctly after last change.
3798 * wcsmbs/btowc.c: Likewise.
3799 * wcsmbs/mbrtowc.c: Likewise.
3800 * wcsmbs/mbsnrtowcs.c: Likewise.
3801 * wcsmbs/mbsrtowcs.c: Likewise.
3802 * wcsmbs/wcrtomb.c: Likewise.
3803 * wcsmbs/wcsnrtombs.c: Likewise.
3804 * wcsmbs/wcsrtombs.c: Likewise.
3805 * wcsmbs/wctob.c: Likewise.
3807 * localedata/Makefile: Set -Wno-format for some files since gcc does
3808 not know all the format specifiers.
3810 2000-06-18 Ulrich Drepper <drepper@redhat.com>
3812 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
3814 * locale/lc-time.c (_nl_init_era_entries): Likewise.
3816 2000-06-18 Andreas Jaeger <aj@suse.de>
3818 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
3819 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
3821 2000-06-17 Ulrich Drepper <drepper@redhat.com>
3823 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
3825 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
3827 * locale/programs/ld-ctype.c (ctype_output): Really write out
3828 mboutdigits information.
3829 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
3830 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
3831 * localedata/tests/trans.def: Add outdigit information.
3833 * localedata/tst-mbswcs3.c: Remove comment.
3835 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
3836 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
3837 * libio/tst_wprintf.c (main): Add test for I flag.
3839 * iconv/gconv_trans.c: Implement handling if translit_ignore.
3840 * locale/langinfo.h: Add entries for translit_ignore information.
3841 * locale/categories.def: Add entries for new LC_CTYPE elements.
3842 * locale/C-ctype.c: Add initializers for new fields. Use NULL
3843 pointer instead of "" where possible.
3844 * locale/programs/ld-ctype.c: Write out translit_ignore information.
3845 * intl/Depend: Add localedata.
3846 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
3847 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
3849 2000-06-16 Ulrich Drepper <drepper@redhat.com>
3851 * locale/langinfo.h: Add entries for default_missing information.
3852 * locale/C-ctype.c: Add initializers for new fields.
3853 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
3855 * locale/categories.h: Add entries for all LC_CTYPE values.
3856 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
3859 * localedata/tst-trans.c: Write out an error message if class is
3862 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
3863 * iconv/gconv_open.c: Remove error handling specification from `from'
3865 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
3866 new parameter to always enable transliteration.
3867 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
3869 (struct locale_data): Add new members use_translit and options.
3870 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
3871 character set name contained modifier TRANSLIT.
3872 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
3874 (_nl_unload_locale): Free options string if necessary.
3875 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
3876 the locale names suggested this.
3877 * locale/C-address.c: Add two new initialilzers to adjust data
3878 structure for new format.
3879 * locale/C-collate.c: Likewise.
3880 * locale/C-ctype.c: Likewise.
3881 * locale/C-identification.c: Likewise.
3882 * locale/C-measurement.c: Likewise.
3883 * locale/C-messages.c: Likewise.
3884 * locale/C-monetary.c: Likewise.
3885 * locale/C-name.c: Likewise.
3886 * locale/C-numeric.c: Likewise.
3887 * locale/C-paper.c: Likewise.
3888 * locale/C-telephone.c: Likewise.
3889 * locale/C-time.c: Likewise.
3891 * locale/setlocale.c: Add some more __builtin_expect.
3893 2000-06-15 Ulrich Drepper <drepper@redhat.com>
3895 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
3897 (__gconv_init_fct): Remove two parameters.
3898 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
3899 gconv_transliterate. Remove two parameters.
3900 Change prototypes of builtin functions according to __gconv_fct change.
3901 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
3902 != NULL only during error handling. Stop in this case after the
3904 * iconv/gconv_trans.c: Replace with real implementation for
3905 __gconv_transliterate.
3906 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
3907 * iconv/gconv.c: Change calls to downstream functions once again.
3908 Use NULL for the fifth parameter instead of pointer to output buffer.
3909 * libio/iofwide.c: Likewise.
3910 * wcsmbs/btowc.c: Likewise.
3911 * wcsmbs/mbrtowc.c: Likewise.
3912 * wcsmbs/mbsnrtowcs.c: Likewise.
3913 * wcsmbs/mbsrtowcs.c: Likewise.
3914 * wcsmbs/wcrtomb.c: Likewise.
3915 * wcsmbs/wcsnrtombs.c: Likewise.
3916 * wcsmbs/wcsrtombs.c: Likewise.
3917 * wcsmbs/wctob.c: Likewise.
3918 * iconv/gconv_simple.c: Remove two parameters from error handling
3920 * iconvdata/8bit-gap.c: Likewise.
3921 * iconvdata/8bit-generic.c: Likewise.
3922 * iconvdata/ansi_x3.110.c: Likewise.
3923 * iconvdata/big5.c: Likewise.
3924 * iconvdata/big5hkscs.c: Likewise.
3925 * iconvdata/euc-cn.c: Likewise.
3926 * iconvdata/euc-jp.c: Likewise.
3927 * iconvdata/euc-kr.c: Likewise.
3928 * iconvdata/euc-tw.c: Likewise.
3929 * iconvdata/gbgbk.c: Likewise.
3930 * iconvdata/gbk.c: Likewise.
3931 * iconvdata/iso-2022-cn.c: Likewise.
3932 * iconvdata/iso-2022-jp.c: Likewise.
3933 * iconvdata/iso-2022-kr.c: Likewise.
3934 * iconvdata/iso646.c: Likewise.
3935 * iconvdata/iso8859-1.c: Likewise.
3936 * iconvdata/iso_6937-2.c: Likewise.
3937 * iconvdata/iso_6937.c: Likewise.
3938 * iconvdata/johab.c: Likewise.
3939 * iconvdata/sjis.c: Likewise.
3940 * iconvdata/t.61.c: Likewise.
3941 * iconvdata/uhc.c: Likewise.
3942 * iconvdata/unicode.c: Likewise.
3943 * iconvdata/utf-16.c: Likewise.
3945 2000-06-15 Greg McGary <greg@mcgary.org>
3947 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
3948 of callnum assignment. Tolerate callnum expressions containing
3951 2000-06-14 Ulrich Drepper <drepper@redhat.com>
3953 * login/Makefile (utmpd): Remove rule to build utmpd.
3955 * csu/Versions: Move libgcc frame handling functions from here...
3956 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
3957 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
3958 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
3959 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
3960 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
3961 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
3963 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
3965 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
3967 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
3969 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3971 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
3973 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
3974 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
3975 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
3976 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
3978 2000-06-14 Jakub Jelinek <jakub@redhat.com>
3980 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
3981 defined, terminate quotes and read them after the comment char.
3982 * configure.in (HAVE_SECTION_QUOTES): Test whether
3983 __attribute__((section ("x"))) puts quotes around x or not.
3984 * config.h.in (HAVE_SECTION_QUOTES): Add.
3985 * configure: Rebuilt.
3987 2000-06-14 Andreas Jaeger <aj@suse.de>
3989 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
3990 depending on the configure option --sysconfdir.
3991 Closes PR libc/1762.
3992 Patch by Andreas Schwab <schwab@suse.de>.
3994 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
3996 Reported by Jim Pick <jim@jimpick.com>.
3998 2000-06-14 Ulrich Drepper <drepper@redhat.com>
4000 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
4001 crashing the application. Emit some simple error message.
4002 Reported by mju@panasas.com [PR libc/1769].
4004 2000-06-13 Ulrich Drepper <drepper@redhat.com>
4006 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
4008 * crypt/Makefile (distribute): Add md5.h.
4010 * Makefile (distribute): Add include/shlib-compat.h.
4012 * Make-dist: Search for tests also in sysdeps hierachy.
4014 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
4015 ufc.c, speeds.c, README.ufc-crypt, and Banner.
4017 * sysdeps/sparc/Subdirs: New file.
4019 * locale/Makefile (distribute): Add weightwc.h and
4020 programs/localedef.h.
4022 * time/Makefile (distribute): Add datemsk.
4024 * sysdeps/ia64/Dist: Add softpipe.h.
4026 * sysdeps/unix/sysv/aix/Dist: New file.
4028 * posix/setpgrp.c: Moved to...
4029 * sysdeps/generic/setpgrp.c: ...here. New file.
4030 * io/mknod.c: Moved to...
4031 * sysdeps/generic/mknod.c: ...here. New file.
4033 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
4035 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
4037 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
4039 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
4040 gprsave0.S, gprrest1.S, and gprrest0.S.
4042 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
4044 * posix/Makefile (routines): Add spawnattr_getsigmask,
4045 spawnattr_getschedpolicy, spawnattr_getschedparam,
4046 spawnattr_setsigmask, spawnattr_setschedpolicy, and
4047 spawnattr_setschedparam.
4048 * posix/Versions: Add posix_spawnattr_getschedpolicy,
4049 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
4050 posix_spawnattr_setschedparam.
4052 * posix/spawnattr_setschedparam.c: Fix typo.
4054 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
4057 * login/programs/utmpd.c: Removed.
4058 * login/programs/utmpd.h: Removed.
4059 * login/programs/utmpd-private.h: Removed.
4061 * Makefile (distribute): Add include/db_185.h and include/db.h.
4063 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
4066 * elf/Makefile (distribute): Add missing files.
4068 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
4069 * elf/eval.c: Moved to...
4070 * dlfcn/eval.c: ...here. New file.
4072 * Makefile (distribute): Also distribute ChangeLog.1?.
4074 * Make-dist (+tsrcs): Remove .args handling here as well.
4076 * rt/Makefile (tests): Add tst-timer.
4077 * sysdeps/generic/tst-timer.c: New file.
4079 * Makerules (sources): Don't add BP sources here.
4081 * login/Makefile (distribute): Remove xtmp.h.
4083 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
4084 is true. Reported by Bruno Haible <haible@ilog.fr>.
4086 2000-06-13 Andreas Jaeger <aj@suse.de>
4088 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
4089 Patch by Ralf Baechle <ralf@gnu.org>.
4091 2000-06-13 Ulrich Drepper <drepper@redhat.com>
4093 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
4094 for mincore syscall.
4096 * misc/sys/cdefs.h: Define __bounded and __unbounded if
4097 __BOUNDED_POINTERS__ is not defined.
4099 2000-06-07 Greg McGary <greg@mcgary.org>
4101 * sysdeps/generic/bp-sym.h: New file.
4102 * sysdeps/generic/bp-start.h: New file.
4103 * sysdeps/i386/elf/start.S: Designate BP symbols.
4104 * sysdeps/generic/libc-start.c: Wrap bounds around
4105 argv & envp and each of their string members.
4107 2000-06-07 Greg McGary <greg@mcgary.org>
4109 * sysdeps/unix/make-syscalls.sh: Add comments to
4110 output that aid debugging & comprehension.
4111 Map simple syscall signatures to number of args.
4112 Generate BP syscall thunk definitions.
4113 * sysdeps/generic/bp-thunks.h: New file.
4114 * sysdeps/unix/syscalls.list: Replace arg-count with
4115 simple return+arg signature.
4116 * sysdeps/unix/common/syscalls.list: Likewise.
4117 * sysdeps/unix/inet/syscalls.list: Likewise.
4118 * sysdeps/unix/mman/syscalls.list: Likewise.
4119 * sysdeps/unix/sysv/syscalls.list: Likewise.
4120 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4121 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4123 2000-06-07 Greg McGary <greg@mcgary.org>
4125 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
4126 for all files *.[cS].
4127 (CFLAGS-.ob): Don't optimize sibling calls.
4128 (bppfx): New variable.
4129 * Makerules (elide-bp-thunks): New variable.
4130 (elide-routines.*): Elide BP-* files for all but *.ob.
4131 (sources): Include bp-thunks.
4133 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4135 * iconv/gconv_simple.c: Remove unnecessary prototype.
4137 * iconv/gconv_trans.c: Pretty print.
4139 * elf/elf.h (R_SH_NUM): Got accidently dropped.
4141 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
4142 minimal kernel versions. Add information about IA-64 kernel.
4144 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
4145 specific minimal supported kernel versions to be specified.
4147 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
4148 step data structure.
4149 * wcsmbs/btowc.c: Likewise.
4150 * wcsmbs/mbrtowc.c: Likewise.
4151 * wcsmbs/mbsnrtowcs.c: Likewise.
4152 * wcsmbs/mbsrtowcs.c: Likewise.
4153 * wcsmbs/wcrtomb.c: Likewise.
4154 * wcsmbs/wcsnrtombs.c: Likewise.
4155 * wcsmbs/wcsrtombs.c: Likewise.
4156 * wcsmbs/wctob.c: Likewise.
4158 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
4159 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
4161 * shlib-versions: Earliest backward compatible version for SH is 2.2.
4163 * misc/sys/cdefs.h: Remove one more __P.
4165 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
4168 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
4169 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
4170 * sysdeps/sh/bits/setjmp.h: ...here. New file.
4172 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4173 Yutaka Niibe <gniibe@chroot.org>
4175 * configure.in: Add machine sh3, sh4.
4176 * elf/elf.h: Add SH specific declarations of relocations.
4177 * shlib-versions: Add sh*-*-linux* cases.
4179 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4181 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
4182 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
4183 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
4184 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
4185 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
4186 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
4188 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
4189 instead of KERNEL_MATH_EMULATION.
4190 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
4191 KERNEL_MATH_EMULATION.
4193 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
4194 * sysdeps/sh/sh3/dl-machine.h: Moved to...
4195 * sysdeps/sh/dl-machine.h: ...here. New file.
4196 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
4197 and include generic SH version.
4198 * sysdeps/sh/sh3/bits/endian.h: Move to...
4199 * sysdeps/sh/bits/endian.h: ...here. New file.
4200 * sysdeps/sh/sh4/bits/endian.h: Removed.
4201 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
4202 * sysdeps/sh/bits/huge_val.h: ...here. New file.
4203 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
4205 * include/libc-symbols.h (link_warning): Work around a change in
4206 GAS which warns about changing section attributes.
4207 Proposed by Nick Clifton <nickc@redhat.com>.
4209 2000-06-12 H.J. Lu <hjl@gnu.org>
4211 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
4213 2000-06-11 H.J. Lu <hjl@gnu.org>
4215 * sysdeps/i386/fpu/Versions: New file.
4217 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4219 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
4221 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
4224 2000-06-12 Jes Sorensen <jes@linuxcare.com>
4226 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
4227 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
4228 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
4230 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
4231 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
4232 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
4234 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4235 Yutaka Niibe <gniibe@chroot.org>
4237 * sysdeps/sh/Dist: New file.
4238 * sysdeps/sh/Implies: New file.
4239 * sysdeps/sh/elf/initfini.c: New file.
4240 * sysdeps/sh/gmp-mparam.h: New file.
4241 * sysdeps/sh/init-first.c: New file.
4242 * sysdeps/sh/machine-gmon.h: New file.
4243 * sysdeps/sh/memcpy.S: New file.
4244 * sysdeps/sh/memprof.h: New file.
4245 * sysdeps/sh/memset.S: New file.
4246 * sysdeps/sh/sh3/__longjmp.S: New file.
4247 * sysdeps/sh/sh3/bits/endian.h: New file.
4248 * sysdeps/sh/sh3/bits/huge_val.h: New file.
4249 * sysdeps/sh/sh3/bits/setjmp.h: New file.
4250 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
4251 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
4252 * sysdeps/sh/sh3/dl-machine.h: New file.
4253 * sysdeps/sh/sh3/setjmp.S: New file.
4254 * sysdeps/sh/sh4/__longjmp.S: New file.
4255 * sysdeps/sh/sh4/bits/endian.h: New file.
4256 * sysdeps/sh/sh4/bits/huge_val.h: New file.
4257 * sysdeps/sh/sh4/bits/setjmp.h: New file.
4258 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
4259 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
4260 * sysdeps/sh/sh4/dl-machine.h: New file.
4261 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
4262 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
4263 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
4264 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
4265 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
4266 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
4267 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
4268 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
4269 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
4270 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
4271 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
4272 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
4273 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
4274 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
4275 * sysdeps/sh/sh4/setjmp.S: New file.
4276 * sysdeps/sh/elf/start.S: New file.
4277 * sysdeps/sh/sys/ucontext.h: New file.
4278 * sysdeps/sh/strlen.S: New file.
4279 * sysdeps/sh/sysdep.h: New file.
4280 * sysdeps/unix/sh/sysdep.S: New file.
4281 * sysdeps/unix/sh/sysdep.h: New file.
4282 * sysdeps/unix/sysv/linux/sh/Dist: New file.
4283 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
4284 * sysdeps/unix/sysv/linux/sh/Versions: New file.
4285 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
4286 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
4287 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
4288 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
4289 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
4290 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
4291 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
4292 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
4293 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
4294 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
4295 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
4296 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
4297 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
4298 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
4299 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
4300 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
4301 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
4302 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
4303 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
4304 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
4305 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
4306 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
4307 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
4308 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
4309 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
4310 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
4311 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
4312 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
4313 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
4314 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
4315 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
4316 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
4317 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
4318 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
4319 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
4320 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
4321 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
4322 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
4323 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
4324 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
4325 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4326 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
4327 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
4328 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
4329 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
4330 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
4331 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
4333 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4335 * Rules (%.out): Define GCONV_PATH in the environment.
4336 * assert/Depend: New file.
4337 * iconvdata/Depend: New file.
4338 * intl/Depend: New file.
4339 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
4340 * intl/tst-gettext.sh: Likewise.
4341 * iconv/Makefile (routines): Add gconv_trans.
4342 * iconv/gconv_trans.c: New file.
4343 * iconv/gconv.h (struct __gconv_trans_data): New type.
4344 (__gconv_fct): New parameter with starting position in output buffer.
4345 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
4346 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
4347 (struct __gconv_step): Add new member __trans.
4348 * iconv/gconv_int.h: Pretty print prototypes.
4349 (gconv_transliterate): New prototype.
4350 (__BUILTIN_TRANS): Update for new conversion function interface.
4351 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
4352 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
4353 in names, find appropriate function, and install in the conversion
4354 steps it can be used.
4355 * iconv/skeleton.c: Add additional parameter for beginning of output
4356 buffer. Change calls of downstream functions.
4357 * iconv/loop.c: Change loop function interface completely. Pass in
4358 step and step_data structure. Remove optimization for BODY with
4359 NEED_LENGTH_TEST == 0.
4360 * iconv/gconv_simple.c: Update interfaces of functions. Insert
4361 appropriate error handling code to use transliteration steps. Remove
4362 optimization for BODY with NEED_LENGTH_TEST == 0.
4363 * iconvdata/8bit-gap.c: Likewise.
4364 * iconvdata/8bit-generic.c: Likewise.
4365 * iconvdata/ansi_x3.110.c: Likewise.
4366 * iconvdata/big5.c: Likewise.
4367 * iconvdata/big5hkscs.c: Likewise.
4368 * iconvdata/euc-cn.c: Likewise.
4369 * iconvdata/euc-jp.c: Likewise.
4370 * iconvdata/euc-kr.c: Likewise.
4371 * iconvdata/euc-tw.c: Likewise.
4372 * iconvdata/gbgbk.c: Likewise.
4373 * iconvdata/gbk.c: Likewise.
4374 * iconvdata/iso-2022-cn.c: Likewise.
4375 * iconvdata/iso-2022-jp.c: Likewise.
4376 * iconvdata/iso-2022-kr.c: Likewise.
4377 * iconvdata/iso646.c: Likewise.
4378 * iconvdata/iso8859-1.c: Likewise.
4379 * iconvdata/iso_6937-2.c: Likewise.
4380 * iconvdata/iso_6937.c: Likewise.
4381 * iconvdata/johab.c: Likewise.
4382 * iconvdata/sjis.c: Likewise.
4383 * iconvdata/t.61.c: Likewise.
4384 * iconvdata/uhc.c: Likewise.
4385 * iconvdata/unicode.c: Likewise.
4386 * iconvdata/utf-16.c: Likewise.
4387 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
4389 * wcsmbs/btowc.c: Likewise.
4390 * wcsmbs/mbrtowc.c: Likewise.
4391 * wcsmbs/mbsnrtowcs.c: Likewise.
4392 * wcsmbs/mbsrtowcs.c: Likewise.
4393 * wcsmbs/wcrtomb.c: Likewise.
4394 * wcsmbs/wcsnrtombs.c: Likewise.
4395 * wcsmbs/wcsrtombs.c: Likewise.
4396 * wcsmbs/wctob.c: Likewise.
4398 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4400 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
4401 other header files. Mention about 128-byte cache line sizes.
4402 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
4403 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
4404 for current calling sequence.
4405 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
4407 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
4408 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4410 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
4411 and setrlimit syscalls for backwards compatibility.
4413 2000-06-10 Ulrich Drepper <drepper@redhat.com>
4415 * iconv/skeleton.c: Rename converted written to correcter name
4417 * iconv/gconv.c: Rename converted variable to correcter name
4419 * iconv/gconv_int.h: Likewise.
4420 * iconv/gconv_simple.c: Likewise.
4421 * iconv/iconv.c: Likewise.
4422 * iconv/loop.c: Likewise.
4423 * iconvdata/8bit-gap.c: Likewise.
4424 * iconvdata/8bit-generic.c: Likewise.
4425 * iconvdata/ansi_x3.110.c: Likewise.
4426 * iconvdata/big5.c: Likewise.
4427 * iconvdata/big5hkscs.c: Likewise.
4428 * iconvdata/euc-cn.c: Likewise.
4429 * iconvdata/euc-jp.c: Likewise.
4430 * iconvdata/euc-kr.c: Likewise.
4431 * iconvdata/gbgbk.c: Likewise.
4432 * iconvdata/gbk.c: Likewise.
4433 * iconvdata/iso-2022-cn.c: Likewise.
4434 * iconvdata/iso-2022-jp.c: Likewise.
4435 * iconvdata/iso-2022-kr.c: Likewise.
4436 * iconvdata/iso646.c: Likewise.
4437 * iconvdata/iso8859-1.c: Likewise.
4438 * iconvdata/iso_6937-2.c: Likewise.
4439 * iconvdata/iso_6937.c: Likewise.
4440 * iconvdata/johab.c: Likewise.
4441 * iconvdata/sjis.c: Likewise.
4442 * iconvdata/t.61.c: Likewise.
4443 * iconvdata/uhc.c: Likewise.
4444 * iconvdata/unicode.c: Likewise.
4445 * iconvdata/utf-16.c: Likewise.
4447 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
4448 __cmsg_data field with __extension__.
4450 2000-06-10 David Mosberger <davidm@hpl.hp.com>
4452 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
4454 2000-06-10 Ulrich Drepper <drepper@redhat.com>
4456 * iconv/gconv_simple.c: Fix various small bugs in several
4459 * iconv/loop.c: Fix comment.
4461 2000-06-10 Jakub Jelinek <jakub@redhat.com>
4463 * elf/link.h: Remove libc internal declarations.
4464 * include/link.h: Move them here.
4466 2000-06-09 Ulrich Drepper <drepper@redhat.com>
4468 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
4469 Patch by Dan Pop <Dan.Pop@cern.ch>.
4471 Rewrite error message handling.
4472 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
4474 * elf/dl-error (struct catch): Add objname member.
4475 (_dl_signal_error): Take new parameter with object name. When
4476 passing message on simply store object name and duplicate error
4478 (_dl_catch_error): Take new parameter. Store object name in the
4480 * include/dlfcn.h: Adjust _dl_catch_error prototype.
4481 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
4482 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
4483 (dlerror): Add objname to asprintf() parameters.
4484 (_dl_error_run): Pass new parameter to _dl_catch_error.
4485 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
4486 * elf/dl-open.c (_dl_open): Likewise.
4487 * elf/rtld.c (dl_main): Likewise.
4488 * elf/dl-close.c: Mark error messages with N_().
4489 * elf/dl-deps.c: Likewise.
4490 * elf/dl-error.c: Likewise.
4491 * elf/dl-load.c: Likewise.
4492 * elf/dl-open.c: Likewise.
4493 * elf/dl-reloc.c: Likewise.
4494 * elf/dl-support.c: Likewise.
4495 * elf/dl-sym.c: Likewise.
4496 * elf/dl-version.c: Likewise.
4497 * elf/dl-lookup.c: Add comments about problems with error message
4499 * elf/dl-reloc.c: Likewise.
4500 * elf/dl-version.c: Likewise.
4502 2000-06-09 H.J. Lu <hjl@gnu.org>
4504 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
4507 * dlfcn/Makefile (distribute): Add failtestmod.c.
4508 (tests): Add failtest.
4509 Add rules to build and run failtest.
4510 * dlfcn/failtest.c: New file.
4511 * dlfcn/failtestmod.c: New file.
4513 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
4515 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
4516 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
4517 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
4518 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
4519 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
4521 2000-06-09 Jes Sorensen <jes@linuxcare.com>
4523 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
4524 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
4526 2000-06-09 Jes Sorensen <jes@linuxcare.com>
4527 Ulrich Drepper <drepper@redhat.com>
4529 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
4530 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
4531 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
4532 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
4533 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
4534 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
4536 2000-06-09 Ulrich Drepper <drepper@redhat.com>
4538 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
4539 to find correct mount point despite wrong information from the
4542 2000-06-09 Jes Sorensen <jes@linuxcare.com>
4544 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
4545 the address of a symbol so function pointers are handled properly.
4547 2000-06-08 Ulrich Drepper <drepper@redhat.com>
4549 * sysdeps/i386/Dist: Add bp-asm.h.
4551 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
4552 defaultdir variable instead of "/var/shm" everywhere.
4553 (defaultdir): Change to /dev/shm/.
4555 2000-06-08 Greg McGary <greg@mcgary.org>
4557 * sysdeps/i386/bp-asm.h: New file.
4558 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
4559 offsets. Add ENTER/LEAVE macros for optionally maintaining
4560 frame-pointer chain when debugging.
4561 * sysdeps/i386/add_n.S: Likewise.
4562 * sysdeps/i386/addmul_1.S: Likewise.
4563 * sysdeps/i386/lshift.S: Likewise.
4564 * sysdeps/i386/memchr.S: Likewise.
4565 * sysdeps/i386/memcmp.S: Likewise.
4566 * sysdeps/i386/mul_1.S: Likewise.
4567 * sysdeps/i386/rawmemchr.S: Likewise.
4568 * sysdeps/i386/rshift.S: Likewise.
4569 * sysdeps/i386/stpcpy.S: Likewise.
4570 * sysdeps/i386/stpncpy.S: Likewise.
4571 * sysdeps/i386/strchr.S: Likewise.
4572 * sysdeps/i386/strchrnul.S: Likewise.
4573 * sysdeps/i386/strcspn.S: Likewise.
4574 * sysdeps/i386/strpbrk.S: Likewise.
4575 * sysdeps/i386/strrchr.S: Likewise.
4576 * sysdeps/i386/strspn.S: Likewise.
4577 * sysdeps/i386/strtok.S: Likewise.
4578 * sysdeps/i386/sub_n.S: Likewise.
4579 * sysdeps/i386/submul_1.S: Likewise.
4580 * sysdeps/i386/elf/setjmp.S: Likewise.
4581 * sysdeps/i386/i486/strcat.S: Likewise.
4582 * sysdeps/i386/i486/strlen.S: Likewise.
4583 * sysdeps/i386/i586/add_n.S: Likewise.
4584 * sysdeps/i386/i586/lshift.S: Likewise.
4585 * sysdeps/i386/i586/memcpy.S: Likewise.
4586 * sysdeps/i386/i586/memset.S: Likewise.
4587 * sysdeps/i386/i586/rshift.S: Likewise.
4588 * sysdeps/i386/i586/strchr.S: Likewise.
4589 * sysdeps/i386/i586/strcpy.S: Likewise.
4590 * sysdeps/i386/i586/strlen.S: Likewise.
4591 * sysdeps/i386/i586/sub_n.S: Likewise.
4592 * sysdeps/i386/i686/add_n.S: Likewise.
4593 * sysdeps/i386/i686/memcpy.S: Likewise.
4594 * sysdeps/i386/i686/mempcpy.S: Likewise.
4595 * sysdeps/i386/i686/memset.S: Likewise.
4596 * sysdeps/i386/i686/strcmp.S: Likewise.
4598 2000-06-08 Ulrich Drepper <drepper@redhat.com>
4600 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
4602 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
4603 256 and don't use OPEN_MAX.
4605 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
4606 use it instead of LINK_MAX.
4607 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
4609 2000-06-08 Andreas Jaeger <aj@suse.de>
4611 * libio/genops.c (_IO_list_lock): Only compile body if we're
4613 (_IO_list_unlock): Likewise.
4614 (_IO_list_resetlock): Likewise.
4616 2000-06-07 Ulrich Drepper <drepper@redhat.com>
4618 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
4619 unless user defined it.
4621 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
4622 if not defined by the user.
4624 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
4625 * libio/iofwrite.c (_IO_fwrite): Likewise.
4627 * time/time.h: Add missing __THROW for clock_getcpuclockid
4630 * elf/Makefile (distribute): Add dl-dtprocnum.h.
4631 * include/elf.h: Include also <dl-dtprocnum.h>.
4632 * elf/dl-deps.c: Likewise.
4633 * elf/dl-lookup.c: Likewise.
4634 * elf/dl-runtime.c: Likewise.
4635 * elf/dl-version.c: Likewise.
4636 * elf/do-rel.h: Likewise.
4637 * elf/dynamic-link.h: Likewise.
4638 * elf/link.h: Likewise.
4639 * elf/rtld.c: Likewise.
4640 * sysdeps/generic/dl-dtprocnum.h: New file.
4641 * sysdeps/ia64/dl-dtprocnum.h: New file.
4642 * sysdeps/mips/dl-dtprocnum.h: New file.
4643 * sysdeps/sparc/dl-dtprocnum.h: New file.
4645 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
4647 * elf/do-lookup.h: Add some __builtin_expect.
4649 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
4651 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
4652 (_dl_dynamic_weak): New variable.
4653 * elf/dl-support.c: Likewise.
4654 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
4655 * elf/do-lookup.h: If we find a weak definition treat it like a
4656 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
4657 case treat it like before.
4659 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
4661 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
4663 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
4664 using l_map_start and l_map_end.
4666 * elf/dl-version.c: Add __builtin_expect in many places.
4668 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
4671 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
4673 Lock for stdio stream list becomes global, for use in LinuxThreads.
4675 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
4676 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
4677 _IO_list_resetlock): New interface for iterating global list of
4678 streams without accessing the _IO_list_all global variable,
4679 and for manipulating the lock which protects this list.
4680 * libio/libioP.h: Likewise.
4681 * libio/Version: Add entries for the new functions.
4683 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
4684 pointer to _IO_FILE.
4686 2000-06-07 Ulrich Drepper <drepper@redhat.com>
4688 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
4689 BIT() must actually be BITw().
4691 * locale/programs/ld-ctype.c: Handle SP and space consistently.
4693 * locale/programs/charmap.c: Allow string arguments for
4694 code_set_name and repertoiremap.
4696 2000-06-07 Andreas Jaeger <aj@suse.de>
4698 * elf/Makefile: Build ldconfig only when building shared libraries.
4700 2000-06-07 Jakub Jelinek <jakub@redhat.com>
4702 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
4704 (fdimf, __fdim, fdim): Likewise.
4706 2000-06-07 Ulrich Drepper <drepper@redhat.com>
4708 * locale/findlocale.c: Add __builtin_expect in many places.
4709 * locale/loadlocale.c: Likewise.
4711 2000-06-06 Greg McGary <greg@mcgary.org>
4713 * sysdeps/mips/elf/start.S: Trim redundant code.
4715 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
4716 Use C comments throughout. Line up operands column with tabs.
4717 * sysdeps/powerpc/strchr.S: Likewise.
4718 * sysdeps/powerpc/strcmp.S: Likewise.
4719 * sysdeps/powerpc/strcpy.S: Likewise.
4720 * sysdeps/powerpc/strlen.S: Likewise.
4722 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
4723 Get low part of &__curbrk with @l.
4725 2000-06-06 Ulrich Drepper <drepper@redhat.com>
4727 * iconvdata/utf-16.c: Add __builtin_expect in many places.
4728 * iconvdata/unicode.c: Likewise.
4729 * iconvdata/uhc.c: Likewise.
4730 * iconvdata/t.61.c: Likewise.
4731 * iconvdata/sjis.c: Likewise.
4732 * iconvdata/johab.c: Likewise.
4733 * iconvdata/iso_6937.c: Likewise.
4734 * iconvdata/iso_6937-2.c: Likewise.
4735 * iconvdata/iso8859-1.c: Likewise.
4736 * iconvdata/iso646.c: Likewise.
4737 * iconvdata/iso-2022-kr.c: Likewise.
4738 * iconvdata/iso-2022-jp.c: Likewise.
4739 * iconvdata/iso-2022-cn.c: Likewise.
4740 * iconvdata/gbgbk.c: Likewise.
4741 * iconvdata/gbk.c: Likewise.
4742 * iconvdata/euc-kr.c: Likewise.
4743 * iconvdata/euc-jp.c: Likewise.
4744 * iconvdata/euc-cn.c: Likewise.
4746 2000-06-05 Ulrich Drepper <drepper@redhat.com>
4748 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
4749 * iconvdata/big5.c: Likewise.
4750 * iconvdata/ansi_x3.110.c: Likewise.
4751 * iconvdata/8bit-generic.c: Likewise.
4752 * iconvdata/8bit-gap.c: Likewise.
4753 * iconv/loop.c: Likewise.
4754 * iconv/gconv_db.c: Likewise.
4755 * iconv/gconv_dl.c: Likewise.
4756 * iconv/gconv_simple.c: Likewise.
4757 * iconv/skeleton.c: Likewise.
4759 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
4760 (struct __gconv_step_data): Rename __is_last to __flags.
4761 * iconv/gconv_close.c: Change all uses of __is_last.
4762 * iconv/skeleton.c: Likewise.
4763 * iconvdata/iso-2022-cn.c: Likewise.
4764 * iconvdata/iso-2022-jp.c: Likewise.
4765 * iconvdata/iso-2022-kr.c: Likewise.
4766 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
4767 Recognize IGNORE error handling, set flag, and remove from name.
4768 * iconv/loop.c (ignore_errors_p): Define.
4769 Add flags parameter to both functions.
4770 * iconv/skeleton.c: Pass flags to all conversion functions.
4771 * iconv/gconv_simple.c: Add flags parameter to all functions.
4772 Don't return error for invald error if ignore flag is set.
4773 (ucs4_internal_loop_single): Add missing pointer increment.
4774 (internal_ucs4le_loop_single): Likewise.
4775 * iconv/iconv_prog.c: Implement handling of -c parameter.
4776 * iconvdata/8bit-gap.c: Don't return error for invald error if
4778 * iconvdata/8bit-generic.c: Likewise.
4779 * iconvdata/ansi_x3.110.c: Likewise.
4780 * iconvdata/big5.c: Likewise.
4781 * iconvdata/big5hkscs.c: Likewise.
4782 * iconvdata/euc-cn.c: Likewise.
4783 * iconvdata/euc-jp.c: Likewise.
4784 * iconvdata/euc-kr.c: Likewise.
4785 * iconvdata/gbgbk.c: Likewise.
4786 * iconvdata/gbk.c: Likewise.
4787 * iconvdata/iso-2022-cn.c: Likewise.
4788 * iconvdata/iso-2022-jp.c: Likewise.
4789 * iconvdata/iso-2022-kr.c: Likewise.
4790 * iconvdata/iso646.c: Likewise.
4791 * iconvdata/iso8859-1.c: Likewise.
4792 * iconvdata/iso_6937-2.c: Likewise.
4793 * iconvdata/iso_6937.c: Likewise.
4794 * iconvdata/johab.c: Likewise.
4795 * iconvdata/sjis.c: Likewise.
4796 * iconvdata/t.61.c: Likewise.
4797 * iconvdata/uhc.c: Likewise.
4798 * iconvdata/unicode.c: Likewise.
4799 * iconvdata/utf-16.c: Likewise.
4800 * libio/fileops.c: Likewise.
4801 * libio/iofwide.c: Likewise.
4802 * wcsmbs/btowc.c: Likewise.
4803 * wcsmbs/mbrtowc.c: Likewise.
4804 * wcsmbs/mbsnrtowcs.c: Likewise.
4805 * wcsmbs/mbsrtowcs.c: Likewise.
4806 * wcsmbs/wcrtomb.c: Likewise.
4807 * wcsmbs/wcsnrtombs.c: Likewise.
4808 * wcsmbs/wcsrtombs.c: Likewise.
4809 * wcsmbs/wctob.c: Likewise.
4811 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
4814 2000-06-04 Ulrich Drepper <drepper@redhat.com>
4816 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
4817 counter for the object we are releasing, just decrement it.
4818 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
4820 2000-06-04 Jakub Jelinek <jakub@redhat.com>
4822 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
4825 2000-06-04 Ulrich Drepper <drepper@redhat.com>
4827 * iconvdata/big5hkscs.c: New file.
4828 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
4830 * iconvdata/gconv-modules: Add entry for new module.
4831 * iconvdata/Makefile (modules): Add BIG5HKSCS.
4832 (distribute): Add big5hkscs.c.
4834 2000-06-01 Jakub Jelinek <jakub@redhat.com>
4836 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
4837 inlines to match prototypes in mathcalls.h.
4838 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4839 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4840 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
4841 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4843 2000-06-03 Ulrich Drepper <drepper@redhat.com>
4845 * elf/elf.h (SHT_SUNW_move): Define.
4847 * elf/elf.h: Add more Solaris compatiblity definitions.
4849 2000-06-03 Andreas Jaeger <aj@suse.de>
4851 * sysdeps/powerpc/dl-start.S: Close open comment.
4853 2000-06-03 Jakub Jelinek <jakub@redhat.com>
4855 * inet/Versions: Fix typo in rresvport_af export.
4857 2000-06-02 Ulrich Drepper <drepper@redhat.com>
4859 * math/tgmath.h: Pretty print.
4861 2000-06-02 Andreas Jaeger <aj@suse.de>
4863 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
4864 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4866 2000-06-02 Ulrich Drepper <drepper@redhat.com>
4868 * elf/rtld.c (process_envvars): Test for = after variable name.
4870 2000-06-01 Ulrich Drepper <drepper@redhat.com>
4872 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
4873 have extra call to __gmon_start__, use the pointer we already have.
4875 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
4878 * sysdeps/i386/elf/setjmp.S: Work around change is recent
4879 binutils. gas now emits a jump through the PLT instead of a
4880 relative jump if the jump target is an exported symbol.
4882 2000-05-31 Ulrich Drepper <drepper@redhat.com>
4884 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
4886 2000-05-31 Andreas Jaeger <aj@suse.de>
4888 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
4891 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
4892 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4894 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
4896 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4898 2000-05-30 Ulrich Drepper <drepper@redhat.com>
4900 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
4902 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
4903 * locale/localeconv.c: Make function versioned (with same definition).
4905 * elf/Makefile (modules-names): Strip before using it.
4907 2000-05-30 Andreas Jaeger <aj@suse.de>
4909 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
4910 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
4911 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
4912 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
4913 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
4914 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
4916 2000-05-29 Ulrich Drepper <drepper@redhat.com>
4918 * Makefile: Add GNU make magic.
4920 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
4922 * inet/rcmd.c: Remove __P. Remove unused variables.
4923 (iruserfopen): Make first parameter const.
4924 (ruserok_sa): Return result of ruserok2_sa.
4925 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
4926 * inet/rexec.c: Remove unused variables. Other small cleanups.
4927 * inet/ruserpass.c: Remove __P. Remove unused variables.
4928 (ruserpass): Check results of memory allocation.
4929 * include/netdb.h: Add prototype for ruserpass.
4931 2000-05-29 Andreas Jaeger <aj@suse.de>
4933 * elf/readlib.c (interpreters): Use LD_SO since this is supported
4936 2000-05-29 Jakub Jelinek <jakub@redhat.com>
4938 * inet/rcmd.c (rresvport_af): Use correct port number.
4940 2000-05-26 Andreas Schwab <schwab@suse.de>
4942 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
4943 entries in all-sonames.
4944 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
4945 preserving the old name if different for compatibility.
4947 2000-05-29 Ulrich Drepper <drepper@redhat.com>
4949 * posix/Makefile (tests): Add tst-spawn.
4950 (tst-spawn-ARGS): New variable.
4951 * posix/tst-spawn.c: New file.
4953 * posix/spawn_faction_addclose.c: Correctly account for new entry.
4954 * posix/spawn_faction_adddup2.c: Likewise.
4955 * posix/spawn_faction_addopen.c: Likewise.
4956 * posix/spawni.c: Correctly test for success of dup2 calls.
4958 * posix/tst-preadwrite.c: Check success of malloc call.
4960 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4962 * posix/Makefile (tests): Add tst-exec.
4963 (tst-exec-ARGS): New variable.
4964 * posix/tst-exec.c: New file.
4966 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
4968 2000-05-04 Andreas Jaeger <aj@suse.de>
4970 * string/string.h: Remove __strdup prototype, it's not needed in
4973 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4975 * posix/Makefile (tests): Add tst-fork.
4976 * posix/tst-fork.c: New file.
4978 * resolv/inet_pton.c: Loose __P.
4980 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4982 * libio/libioP.h (_IO_CHECK_WIDE): Define.
4983 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
4984 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4985 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
4986 _IO_CHECK_WIDE fails.
4988 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4990 * po/da.po: New file.
4992 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
4993 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
4995 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
4996 (Other iconv Implementations): Fix typo.
4997 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
4999 2000-05-27 Andreas Jaeger <aj@suse.de>
5001 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
5003 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
5004 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
5005 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5006 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5007 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
5008 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
5010 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
5011 endianness to decide how to pass arguments.
5012 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5014 * elf/vismain.c: Use test-skeleton interface.
5015 (TEST_FUNCTION): New macro.
5016 (do_test): Renamed from main.
5018 2000-05-27 Ulrich Drepper <drepper@redhat.com>
5020 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
5021 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
5023 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
5024 handling of AI_V4MAPPED flag.
5026 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
5027 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
5028 perform lookup for T_A type and tell getanswer_r to convert the
5029 result with new argument.
5030 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
5031 Don't convert addresses from IPv4 to IPv6 here.
5032 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
5033 IPv6 is wanted. Allow qtype and type from reply to disagree if
5034 IPv4 mapping has to be done. Perform mappings if required by the
5035 caller and not if RES_USE_INET6 bit in _res.options is set.
5036 Add several __builtin_expect.
5038 2000-05-26 Ulrich Drepper <drepper@redhat.com>
5040 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
5042 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
5045 * posix/tst-preadwrite.c: Allow parallel execution of
5046 tst-preadwrite and tst-preadwrite64.
5048 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
5049 * posix/tst-truncate.c: New file.
5050 * posix/tst-truncate64.c: New file.
5052 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
5055 * posix/Makefile (tests): Add tst-preadwrite64.
5056 * posix/tst-preadwrite.c: Alloc file being used also for testing
5057 pread64 and pwrite64.
5058 * posix/tst-preadwrite64.c: New file.
5060 2000-05-26 Andreas Jaeger <aj@suse.de>
5062 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
5063 of arguments dependend on endianness.
5064 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5066 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
5068 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5069 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5070 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5071 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5073 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
5074 endianness to check how to pass argument.
5075 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5077 * elf/ldconfig.h: Update parameter list for process_elf_file.
5079 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
5080 Add parameter file_length and pass it ot process_elf*file.
5082 * sysdeps/generic/readelflib.c (check_ptr): New.
5083 (process_elf_file): Use check_ptr to check all accesses to the
5084 mmapped file. Add parameter file_length.
5086 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
5089 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
5090 Closes PR libc/1573, reported by Bradley White
5091 <bww@laurelnetworks.com>.
5093 2000-05-25 Ulrich Drepper <drepper@redhat.com>
5095 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
5096 __FAST_MATH__ is defined.
5098 2000-05-22 Andreas Jaeger <aj@suse.de>
5100 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
5101 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
5103 * manual/math.texi (FP Function Optimizations): Document gcc
5104 -ffast-math behaviour with mathinlines.
5106 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
5107 functions unless -ffast-math is given to gcc.
5109 2000-05-23 Jakub Jelinek <jakub@redhat.com>
5111 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
5112 __sincosl): Guard with __USE_GNU.
5114 2000-05-24 Ulrich Drepper <drepper@redhat.com>
5116 * csu/Makefile (routines): Add check_fds.
5117 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
5118 binaries. Add various __builtin_expect.
5119 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
5120 * sysdeps/generic/check_fds.c: ...here. New file.
5122 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
5123 binaries if file /etc/suid-debug is available.
5125 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
5126 and wcseqorder members.
5127 (struct locale_collate_t): Likewise.
5128 (collate_finish): Assign collation sequence value to each character.
5129 Create tables for output.
5130 (collate_output): Write out tables with collation sequence information.
5131 * locale/C-collate.c: Provide C locale data for collation sequence
5133 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
5134 _NL_COLLATE_COLLSEQWC.
5135 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
5136 _NL_COLLATE_COLLSEQWC.
5137 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
5138 include fnmatch_loop.c.
5139 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
5140 character is matched by range expression. Use collation sequence
5141 table. Outside glibc fall back on simple character value comparison.
5143 2000-05-24 Andreas Jaeger <aj@suse.de>
5145 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
5148 * intl/Makefile: Run gettext-test only if msgfmt is available.
5150 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
5151 Define it for newer kernels.
5153 2000-05-23 Ulrich Drepper <drepper@redhat.com>
5155 * elf/dl-sym.c: Minor cleanups.
5157 * configure.in: Add test for .protected.
5158 * config.make.in: Add have-protected variable.
5159 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
5160 (tests-vis-yes): Add vismain.
5161 (modules-names): Add $(modules-vis-$(have-protected)).
5162 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
5163 Add rules to generate and run vismain.
5164 * elf/vismain.c: New file.
5165 * elf/vismod1.c: New file.
5166 * elf/vismod2.c: New file.
5167 * elf/vismod3.c: New file.
5169 2000-05-23 Andreas Jaeger <aj@suse.de>
5171 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
5173 * manual/search.texi (Array Sort Function): Document that qsort is
5174 not necessarily in-place.
5176 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
5177 Closes PR libc/1731.
5179 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
5180 * dirent/scandir64.c: Likewise.
5181 * pwd/getpw.c: Likewise.
5182 * stdlib/bsearch.c (bsearch): Likewise.
5183 * stdlib/tst-strtoll.c: Likewise.
5184 * localedata/collate-test.c: Likewise.
5185 * localedata/xfrm-test.c: Likewise.
5186 * posix/bsd-getpgrp.c: Likewise.
5187 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
5188 * sysdeps/generic/bits/siginfo.h: Likewise.
5189 * sysdeps/generic/bits/sockaddr.h: Likewise.
5190 * sysdeps/generic/sys/swap.h: Likewise.
5191 * sysdeps/generic/sys/sysinfo.h: Likewise.
5192 * sysdeps/generic/vfork.c: Likewise.
5193 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
5194 * sysdeps/mach/hurd/fdopen.c: Likewise.
5195 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
5196 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5197 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5198 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5199 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5200 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5201 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
5203 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
5204 * shadow/lckpwdf.c: Likewise.
5205 * stdlib/tst-strtol.c: Likewise.
5206 * sysdeps/generic/tcsetattr.c: Likewise.
5207 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5208 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5210 2000-05-22 Jakub Jelinek <jakub@redhat.com>
5212 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
5213 free it and set to (void *) -1.
5215 2000-05-22 Jakub Jelinek <jakub@redhat.com>
5217 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
5218 not the second character in the range.
5219 * stdio-common/tstscanf.c (main): Add testcase for the above.
5220 Reported by jik@kamens.brookline.ma.us.
5222 2000-05-21 H.J. Lu <hjl@gnu.org>
5224 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
5225 with noexec and noplt parameter.
5226 (do_lookup): Likewise.
5228 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
5229 do_lookup. Support STV_PROTECTED.
5230 (_dl_lookup_symbol_skip): Likewise.
5231 (_dl_lookup_versioned_symbol): Likewise.
5232 (_dl_lookup_versioned_symbol_skip): Likewise.
5234 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
5236 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
5238 2000-05-21 Jakub Jelinek <jakub@redhat.com>
5240 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
5241 * sysdeps/i386/bits/huge_val.h: Likewise.
5242 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5243 * sysdeps/m68k/bits/huge_val.h: Likewise.
5244 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
5245 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
5247 2000-05-22 Andreas Jaeger <aj@suse.de>
5249 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
5252 2000-05-19 Andreas Jaeger <aj@suse.de>
5254 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5255 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
5256 breaks compilation without linuxthreads.
5258 2000-05-21 Ulrich Drepper <drepper@redhat.com>
5260 * sysdeps/ia64/memccpy.S: New file.
5261 * sysdeps/ia64/memchr.S: New file.
5262 * sysdeps/ia64/memcmp.S: New file.
5263 * sysdeps/ia64/memcpy.S: New file.
5264 * sysdeps/ia64/memmove.S: New file.
5265 * sysdeps/ia64/memset.S: New file.
5266 * sysdeps/ia64/strcat.S: New file.
5267 * sysdeps/ia64/strchr.S: New file.
5268 * sysdeps/ia64/strcmp.S: New file.
5269 * sysdeps/ia64/strcpy.S: New file.
5270 * sysdeps/ia64/strlen.S: New file.
5271 * sysdeps/ia64/strncmp.S: New file.
5272 * sysdeps/ia64/strncpy.S: New file.
5273 * sysdeps/ia64/softpipe.h: New file.
5274 Patches by Dan Pop <Dan.Pop@cern.ch>.
5276 * manual/memory.texi: Document memory handling functions (mlock,
5277 munlock, mlockall, munlockall, brk, and sbrk)
5278 * manual/time.texi: Document timespec and friends.
5279 * manual/conf.texi: Fix references.
5280 * manual/ctype.texi: Likewise.
5281 * manual/errno.texi: Likewise.
5282 * manual/intro.texi: Likewise.
5283 * manual/locale.texi: Likewise.
5284 * manual/sysinfo.texi: Likewise.
5285 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5287 2000-05-09 Jes Sorensen <jes@linuxcare.com>
5289 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
5290 * sysdeps/ia64/dl-lookupcfg.h: ...here.
5292 2000-05-21 Jakub Jelinek <jakub@redhat.com>
5294 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
5297 2000-05-21 Ulrich Drepper <drepper@redhat.com>
5299 * locale/locale.h (struct lconv): Add new elements from ISO C99.
5300 * locale/localeconv.c: Initialize new elements from ISO C99.
5301 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
5302 new standard elements.
5303 * locale/categories.def: Adjust accordingly.
5305 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
5306 * iconv/iconv.c: Likewise.
5307 * conform/data/iconv.h-data: Likewise.
5308 * iconv/iconv_prog.c (process_block): Remove const from second
5310 (main): Remove const from addr definition.
5311 * manual/charset.texi (Generic Conversion Interface): Remove from
5312 inbuf parameter of iconv.
5314 * intl/dcigettext.c: Fix typo in comment.
5316 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
5318 * resolv/res_libc.c (_res): Initialize _sock to -1.
5320 2000-05-18 Jakub Jelinek <jakub@redhat.com>
5322 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
5323 (fopencookie@@GLIBC_2.2): New.
5324 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
5325 (fopencookie@GLIBC_2.0): New.
5326 * libio/Versions: Add fopencookie to GLIBC_2.2.
5328 2000-05-18 Andreas Jaeger <aj@suse.de>
5330 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
5331 Closes PR libc/1731.
5333 * manual/arith.texi (Parsing of Integers): Fix typo.
5334 Closes PR libc/1744, reported by blp@gnu.org.
5336 2000-05-17 Jakub Jelinek <jakub@redhat.com>
5338 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
5339 __extension__ to hexadecimal floating constant notation.
5340 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
5342 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
5343 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
5345 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
5346 HUGE_VALL): Likewise.
5347 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
5348 HUGE_VALL): Likewise.
5349 (HUGE_VALL): Set to HUGE_VAL on sparc32.
5351 2000-05-17 Andreas Jaeger <aj@suse.de>
5353 * string/envz.h: Add pure attributes if possible.
5355 * string/argz.h: argz_count is a pure function.
5357 * string/strings.h: Add pure and const attributes if possible.
5359 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
5360 possibly searching through the whole memory.
5361 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
5363 2000-05-17 Jakub Jelinek <jakub@redhat.com>
5365 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
5367 (_dl_cache_check_flags): Likewise.
5368 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
5371 2000-05-17 Andreas Jaeger <aj@suse.de>
5373 * manual/creature.texi (Feature Test Macros): Remove paragraph
5374 since the description is wrong.
5375 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
5377 * scripts/config.sub: New version.
5378 * scripts/config.guess: Likewise.
5379 * manual/texinfo.tex: Likewise.
5381 * time/test_time.args: Removed.
5382 * time/Makefile (test_time-ARGS): Added contents here instead.
5384 * posix/tstgetopt.args: Removed.
5385 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
5387 * Rules: Allow arguments for test files to be specified in
5388 Makefile with testname-ARGS; remove rules with .args in it.
5390 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
5391 remove old bogus rule for opendir-tst1.args.
5393 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
5395 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
5396 into objdir. This allows a readonly sourcetree.
5397 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
5399 2000-05-16 Andreas Jaeger <aj@suse.de>,
5400 David Huggins-Daines <dhd@linuxcare.com>
5402 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
5403 cache_data in case of only new cache format correctly.
5405 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
5408 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
5409 struct cache_file_new.
5411 * elf/cache.c (save_cache): Fix str_offset if only new cache is
5414 * elf/cache.c (save_cache): Align struct new_file_cache.
5415 (print_cache): Likewise.
5417 2000-05-13 Jakub Jelinek <jakub@redhat.com>
5419 * elf/soinit.c (__libc_global_ctors): Move
5420 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
5421 * resolv/resolv.h (__res_state): Added __attribute__((const)).
5422 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
5423 variable, don't define it to __res_state call.
5425 2000-05-13 Andreas Jaeger <aj@suse.de>
5427 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
5429 (AF_PPPOX): Likewise.
5430 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
5431 (AF_PPPOX): Likewise.
5433 2000-05-12 Andreas Jaeger <aj@suse.de>
5435 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
5436 Reported by tmoestl@gmx.net, closes PR libc/1732.
5438 2000-05-11 Jan Hubicka <jh@suse.cz>
5440 * misc/sys/cdefs.h: Add support for pure attribute.
5442 * include/string.h: Add __attribute_pure__ to various functions.
5443 * string/string.h: Likewise.
5445 2000-05-10 Jakub Jelinek <jakub@redhat.com>
5447 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
5449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5451 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
5453 2000-05-10 Jakub Jelinek <jakub@redhat.com>
5455 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
5456 at proper place. Compute the high nibble correctly.
5458 2000-05-09 Jakub Jelinek <jakub@redhat.com>
5460 * elf/ldconfig.c: Include elf.h.
5462 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
5463 (_dl_vsym): Likewise.
5464 Reported by Owen Taylor <otaylor@redhat.com>.
5466 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
5469 2000-05-08 Andreas Jaeger <aj@suse.de>
5471 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
5473 * intl/bindtextdom.c (set_binding_values): Add prototype.
5475 2000-05-08 Jakub Jelinek <jakub@redhat.com>
5477 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
5478 call to elf_machine_fixup_plt.
5479 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5480 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5482 2000-05-08 Jakub Jelinek <jakub@redhat.com>
5484 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
5485 they are not dlclose'd from underneath us.
5487 2000-05-08 Andreas Schwab <schwab@suse.de>
5489 * posix/execle.c: Fix size parameter of memcpy.
5491 2000-05-08 Andreas Schwab <schwab@suse.de>
5493 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
5494 getpagesize syscall if available.
5496 2000-05-08 Andreas Jaeger <aj@suse.de>
5498 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
5501 2000-05-08 Jakub Jelinek <jakub@redhat.com>
5503 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
5504 sizeof(struct link_map *) chunks, not in bytes.
5506 2000-05-07 Ulrich Drepper <drepper@redhat.com>
5508 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
5509 only needed for locale.
5510 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
5511 It's only needed for catgets.
5512 Patches by Greg McGary <gkm@eng.ascend.com>.
5514 2000-05-07 Mark Kettenis <kettenis@gnu.org>
5516 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
5517 Remove duplicate <errno.h> include. Remove inclusion of
5518 <libintl.h> and "nsswitch.h".
5519 (set_cloexec_flag): New function, broken out of dbopen.
5520 (dbopen): Changed return type to `enum
5521 nss_status'. Mostly rewritten to make sure that we do not report
5522 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
5523 (internal_setent): Change return type to nss_status.
5524 Document, and make sure that the function
5525 behaves accordingly. Make dynamically loading the database
5526 library really thread-safe and return NSS_STATUS_UNAVAIL if it
5528 (db_cursor): Return ENOMEM is memory allocation failed. Remove
5530 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
5532 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
5533 c_get function member.
5534 * nss/nss_db/nss_db.h: Add and tweak some comments.
5535 (DBT): Move typedef before NSS_DBC typedef.
5536 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
5538 2000-05-07 H.J. Lu <hjl@gnu.org>
5540 * csu/initfini.c: Moved to ....
5541 * sysdeps/generic/initfini.c: ...here.
5543 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
5545 2000-05-07 Ulrich Drepper <drepper@redhat.com>
5547 * manual/resource.texi: Document POSIX scheduling functions.
5548 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5550 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
5551 reading anything. Reported by Andries.Brouwer@cwi.nl.
5553 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
5554 for x since promotion in comparison might leads to unexpected
5555 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
5557 * iconv/Makefile (tests): Add tst-iconv1.
5558 * iconv/tst-iconv1.c: New file.
5559 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
5560 empty input buffer over full output buffer.
5561 (ucs4_internal_loop): Likewise.
5562 (ucs4_internal_loop_unaligned): Likewise.
5563 (internal_ucs4le_loop): Likewise.
5564 (internal_ucs4le_loop_unaligned): Likewise.
5565 (ucs4le_internal_loop): Likewise.
5566 (ucs4le_internal_loop_unaligned): Likewise.
5567 Reported by yaoz@nih.gov.
5569 2000-05-06 Bruno Haible <haible@clisp.cons.org>
5571 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
5572 returned != __GCONV_OK, there is nothing to clean up.
5574 2000-05-06 Bruno Haible <haible@clisp.cons.org>
5576 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
5577 OUTPUT_CHARSET environment variables.
5579 2000-05-06 Andreas Jaeger <aj@suse.de>
5581 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
5582 (struct cache_file_new): New.
5583 (struct file_entry): New (moved from cache.c).
5584 (struct cache_file): New (moved from cache.c).
5586 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
5587 from _dl_load_cache_lookup.
5588 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
5589 the different cache formats.
5590 New variable cache_new for new format.
5592 * elf/ldconfig.h: Change according to changes in cache.c and
5593 ldconfig.c; remove cache_libcmp; add opt_format.
5595 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
5596 stuff that's defined in those headers.
5597 Add hwcap to struct lib_entry.
5598 (opt_format): New variable to select cache format.
5599 (options): Add format parameter.
5600 (is_hwcap): New function.
5601 (path_hwcap): New function.
5602 (parse_opt): Handle new format parameter.
5603 (search_dir): Handle hwcap, search also subdirectories with hwcap.
5605 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
5606 ldconfig is part of glibc.
5607 Include dl-cache.h and remove stuff that's defined there.
5608 (struct cache_entry): Add new member hwcap.
5609 (print_entry): Print hwcap, cleanup a bit.
5610 (print_cache): Print new and old formats.
5611 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
5612 (save_cache): Save new and old formats.
5613 (add_to_cache): Handle hwcap.
5615 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
5616 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
5617 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
5618 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
5619 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
5620 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
5622 2000-05-05 Bruno Haible <haible@clisp.cons.org>
5624 * intl/dcigettext.c (alignof): New macro.
5625 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
5626 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
5629 2000-05-05 Bruno Haible <haible@clisp.cons.org>
5631 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
5634 2000-05-06 Ulrich Drepper <drepper@redhat.com>
5636 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
5637 (mempcpy): Correct typo is parameter list.
5639 2000-05-06 Andreas Jaeger <aj@suse.de>
5641 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
5642 functions unless -ffast-math is given to gcc.
5644 2000-05-06 Ulrich Drepper <drepper@redhat.com>
5646 * po/ko.po: Update from translation team.
5648 2000-05-05 Ulrich Drepper <drepper@redhat.com>
5650 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
5651 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
5652 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
5653 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
5654 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
5655 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
5657 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
5658 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
5659 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
5661 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
5662 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
5663 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
5664 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
5666 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
5667 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
5669 2000-05-05 Jes Sorensen <jes@linuxcare.com>
5671 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
5672 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
5674 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
5675 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
5677 * sysdeps/ia64/Implies: New file.
5678 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
5679 * sysdeps/ia64/Makefile: New file.
5680 * sysdeps/ia64/gmp-mparam.h: New file,
5682 * sysdeps/ia64/elf/start.S: New file.
5684 * sysdeps/ia64/bits/fenv.h: New file.
5686 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
5688 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
5690 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
5692 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
5693 ia64 has 64 bit .hash entries just as the Alpha.
5695 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
5697 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
5699 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
5701 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
5702 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
5703 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
5704 * sysdeps/ia64/fpu/fegetenv.c: New file.
5705 * sysdeps/ia64/fpu/fegetexcept.c: New file.
5706 * sysdeps/ia64/fpu/fegetround.c: New file.
5707 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
5708 * sysdeps/ia64/fpu/fesetenv.c: New file.
5709 * sysdeps/ia64/fpu/fesetround.c: New file.
5710 * sysdeps/ia64/fpu/feupdateenv.c: New file.
5711 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
5712 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
5713 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
5714 * sysdeps/ia64/fpu/ftestexcept.c: New file.
5716 2000-05-05 Andreas Jaeger <aj@suse.de>
5718 * misc/tst-tsearch.c (main): Correct type for initstate argument.
5720 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5721 (_dl_string_hwcap): New, does nothing.
5723 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5724 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
5725 (_dl_string_hwcap): New function, converts from string to hwcap
5727 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
5728 (_DL_HWCAP_COUNT): New.
5729 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
5730 (_dl_string_hwcap): New function, converts from string to hwcap
5732 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
5733 (_DL_HWCAP_COUNT): New.
5734 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
5735 (_dl_string_hwcap): New function, converts from string to hwcap
5738 2000-05-05 Ulrich Drepper <drepper@redhat.com>
5740 * elf/Makefile (distribute): Add dl-lookupcfg.h.
5741 * sysdeps/ia64/Dist: New file.
5743 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
5744 parameter to mprotect and for variable assignments.
5746 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5748 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
5749 validity of map before dereferencing it.
5751 * elf/dl-reloc.c (RESOLVE_MAP): Define.
5753 2000-05-02 Jes Sorensen <jes@linuxcare.com>
5755 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
5756 lookup to the arguments to elf_machine_fixup_plt().
5758 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
5759 of the symbol being resolved to input argument list and make the
5760 function return the pointer to the reloc.
5762 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
5763 return valuie to lookup_t and return the value.
5764 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
5765 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
5766 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
5767 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
5768 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
5769 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
5771 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
5772 Make it an inline function returning value after calling
5773 __elf_machine_fixup_plt().
5775 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
5778 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
5779 obtain the symbol address.
5781 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
5782 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
5784 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
5785 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
5788 2000-04-28 Jes Sorensen <jes@linuxcare.com>
5790 * elf/dl-runtime.c (fixup): Use the portable macros to get the
5791 symbol address of an object.
5793 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
5794 the symbol address of an object.
5796 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
5797 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
5798 (_dl_lookup_symbol_skip): Likewise.
5799 (_dl_lookup_versioned_symbol): Likewise.
5800 (_dl_lookup_versioned_symbol_skip): Likewise.
5802 2000-04-27 Jes Sorensen <jes@linuxcare.com>
5804 * elf/rtld.c (_dl_start): Get the function pointer return address
5805 via _dl_start_address for architectures that need a function
5806 pointer descriptor rather than just a pointer (ia64).
5808 * sysdeps/generic/dl-lookupcfg.h: New file.
5809 * sysdeps/ia64/dl-lookupcfg.h: New file.
5810 * sysdeps/ia64/dl-machine.h: New file.
5811 * sysdeps/ia64/dl-symaddr.c: New file.
5812 * sysdeps/ia64/dl-fptr.c: New file.
5814 * elf/elf.h: Add IA-64 specific definitions.
5816 2000-05-04 Jakub Jelinek <jakub@redhat.com>
5818 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
5821 2000-05-04 Jakub Jelinek <jakub@redhat.com>
5823 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
5826 2000-04-11 Geoff Keating <geoffk@cygnus.com>
5828 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
5829 symbol. Call _dl_init rather than the old way.
5831 2000-05-04 Ulrich Drepper <drepper@redhat.com>
5833 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
5834 test for pointer in range of DSO address space.
5836 2000-05-04 Andreas Jaeger <aj@suse.de>
5838 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
5840 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5842 * locale/findlocale.c (_nl_find_locale): Add new parameter to
5843 calls of _nl_make_l10nflist.
5845 * libio/stdio.h: Make fseeko and ftello prototypes available is
5846 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
5848 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
5849 real unsetenv implementation from 1999-07-29 [PR libc/1714].
5851 2000-05-03 Bruno Haible <haible@clisp.cons.org>
5853 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
5854 before calling tfind.
5856 2000-03-05 Jakub Jelinek <jakub@redhat.com>
5858 * resolv/resolv.h (res_querydomain): Remove redefinition to
5859 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
5861 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5863 * po/gl.po: Update from translation team.
5865 * manual/intro.texi (Program Basics): Change section title.
5866 * manual/process.texi: Fix reference.
5867 (Executing a File): Add reference exec in other section.
5868 * manual/signal.texi: Fix reference.
5869 * manual/startup.texi: Document syscall function.
5870 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5872 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5874 * intl/libintl.h (bind_textdomain_codeset): New declaration.
5875 * intl/bindtextdom.c (set_binding_values): New function.
5876 (bindtextdomain): Call it.
5877 (bind_textdomain_codeset): New function.
5878 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
5879 (free_mem): Free each binding's codeset.
5880 * intl/gettextP.h (struct binding): Add codeset field.
5881 (_nl_find_domain): Add domainbinding argument.
5882 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
5883 Pass it to _nl_make_l10nflist.
5884 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
5885 (_nl_make_l10nflist): Add domainbinding argument.
5886 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
5887 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
5888 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
5890 * manual/message.texi: New node "Charset conversion in gettext".
5892 2000-04-30 Bruno Haible <haible@clisp.cons.org>
5894 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
5895 appropriate. Handle possible __read error.
5897 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5899 * intl/gettextP.h (__builtin_expect): Define as empty if not a
5901 * intl/loadinfo.h (__builtin_expect): Likewise.
5902 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
5903 __builtin_expect where appropriate.
5904 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5905 * intl/localealias.c (extend_alias_table): Return an error indicator.
5906 (read_alias_file): Bail out if extend_alias_table fails.
5908 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5910 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
5911 * intl/localealias.c: Likewise.
5913 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5915 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
5916 Initialize domain->plural and domain->nplurals even if there is no
5919 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5921 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
5922 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
5923 In case of failure, goto converted.
5925 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5927 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
5928 * iconv/gconv_int.h (norm_add_slashes): Move to here.
5929 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
5932 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5934 * intl/dcigettext.c (transcmp): Compare the domains as well.
5935 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
5937 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
5940 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5942 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
5943 Reported by Bruno Haible.
5945 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5947 * manual/arith.texi: Remove @w from @itemize.
5949 2000-05-02 Andreas Jaeger <aj@suse.de>
5951 * conform/data/tar.h-data: Add some checks for specific values.
5953 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
5956 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
5959 * conform/data/netinet/in.h-data: Add exact checks for the values
5960 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
5962 * conform/data/float.h-data: Add some minimal values.
5964 * conform/conformtest.pl: Test for macros with string constants,
5965 check for minimum and maximum values.
5966 Add limits.h to headers.
5968 * conform/data/cpio.h-data: Test for value of MAGIC.
5970 * conform/data/limits.h-data: New file.
5972 2000-04-30 Bruno Haible <haible@clisp.cons.org>
5974 * math/Makefile (headers): Add bits/fenvinline.h.
5976 2000-05-01 Ulrich Drepper <drepper@redhat.com>
5978 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
5979 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
5981 * posix/Versions: Change posix_spawnattr_getdefault and
5982 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
5983 and posix_spawnattr_setsigdefault respectively.
5984 * posix/spawn.h: Likewise.
5985 * posix/spawnattr_getdefault.h: Likewise.
5986 * posix/spawnattr_setdefault.h: Likewise.
5987 * conform/data/spawn.h-data: Likewise.
5989 2000-05-01 Andreas Jaeger <aj@suse.de>
5991 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
5993 2000-04-30 Ulrich Drepper <drepper@redhat.com>
5995 * manual/sysinfo.texi: Document getdomainname, setdomainname
5997 * manual/string.texi: Fix typo.
5998 * manual/terminal.texi: Document gtty and stty.
5999 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6001 2000-04-30 Andreas Jaeger <aj@suse.de>
6003 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
6004 accordance with Austin Draft.
6006 2000-04-30 Ulrich Drepper <drepper@redhat.com>
6008 * catgets/gencat.c (read_input_file): Use isblank and not isspace
6009 to recognize second character in comment line.
6011 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
6012 ENOBUFS if we are out of memory.
6014 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
6015 available if __USE_XOPEN2K.
6016 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
6017 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6018 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
6019 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6020 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6021 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6022 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
6023 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6025 2000-04-29 Ulrich Drepper <drepper@redhat.com>
6027 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
6028 Recognize option -s, -c, and -l.
6030 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
6032 * nscd/nscd.c: Start new session for nscd, drop privilegs
6033 to configured user if requested and no -S parameter are used.
6034 * nscd/nscd.conf: Add new option "server-user".
6035 * nscd/nscd_conf.c: Add support for new "server-user" option.
6036 * nscd/nscd.h: Add declaration for server_user variable.
6037 Based on patch by Chris Wing <wingc@engin.umich.edu>
6039 2000-04-29 Mark Kettenis <kettenis@gnu.org>
6041 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
6042 that changing the __restore and __restore_rt signal return code
6045 2000-04-29 Mark Kettenis <kettenis@gnu.org>
6047 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
6050 2000-04-29 Mark Kettenis <kettenis@gnu.org>
6052 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
6054 2000-04-29 Ulrich Drepper <drepper@redhat.com>
6056 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
6057 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
6059 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
6060 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
6061 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
6062 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
6063 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
6064 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
6065 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
6066 posix_fallocate, and posix_madvise.
6067 * conform/data/netdb.h-data: New file.
6068 * conform/data/pthread.h-data: Add pthread_barrier_t,
6069 pthread_barrierattr_t, pthread_barrier_destroy,
6070 pthread_barrier_init, pthread_barrier_wait,
6071 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
6072 pthread_barrierattr_init, pthread_barrierattr_setpshared,
6073 pthread_condattr_getclock, pthread_condattr_setclock,
6074 pthread_getcpuclockid, pthread_mutex_timedlock,
6075 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
6076 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
6077 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
6078 * conform/data/sched.h-data: Add sched_ss_low_priority,
6079 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
6081 * conform/data/semaphore.h-data: Add sem_timedwait.
6082 * conform/data/signal.h-data: Add SIGIO.
6083 * conform/data/spawn.h-data: New file.
6084 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
6085 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
6086 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
6087 Fix typo in gmtime_r definition.
6088 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
6089 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
6090 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
6091 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
6092 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
6093 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
6094 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
6095 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
6096 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
6097 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
6098 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
6099 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
6100 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
6101 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
6102 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
6103 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
6104 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
6105 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
6106 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6107 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
6108 typo in off_t definition.
6109 * conform/data/net/if.h-data: New file.
6110 * conform/data/netinet/in.h-data: New file.
6111 * conform/data/netinet/tcp.h-data: New file.
6112 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
6113 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
6114 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
6115 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
6116 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
6117 and posix_typed_mem_open.
6118 * conform/data/sys/socket.h-data: New file.
6119 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
6120 * conform/data/sys/types.h-data: Add pthread_barrier_t,
6121 pthread_barrierattr_t, and pthread_spinlock_t.
6122 * conform/data/sys/un.h-data: New file.
6123 * conform/data/sys/utsname.h-data: New file.
6125 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
6127 * inet/gethstbyad.c (gethostbyname): Likewise.
6128 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
6129 * inet/getipnodebyad.c (getipnodebyad): Likewise.
6130 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6131 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6133 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
6134 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6135 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
6136 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
6137 * resolv/gethnamaddr.c (gethostbyname): Likewise.
6138 * resolv/netdb.h (struct hostent): Fix type of h_length member.
6139 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
6140 and second parameter.
6142 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
6145 2000-04-29 Andreas Jaeger <aj@suse.de>
6147 * conform/data/arpa/inet.h-data: New file.
6149 2000-04-28 Geoff Clare <gwc@unisoft.com>
6151 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
6152 path passed to ftw() or nftw() is an empty string.
6153 Closes PR libc/1710.
6155 2000-04-27 Ulrich Drepper <drepper@redhat.com>
6157 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
6158 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
6159 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
6160 * localedata/tst-mbswcs4.c: New file.
6161 * localedata/tst-mbswcs5.c: New file.
6163 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
6164 == NULL. Little optimization.
6166 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
6167 DT_PREINIT_ARRAYSZ).
6168 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
6170 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
6171 overflows in conversion from ASCII.
6173 2000-04-26 Jakub Jelinek <jakub@redhat.com>
6175 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
6176 * Makerules (full_config_sysdirs): Likewise.
6177 * MakeTAGS (full_config_sysdirs): Likewise.
6179 2000-04-26 Jakub Jelinek <jakub@redhat.com>
6181 * .cvsignore: Remove linuxthreads.
6182 * po/.cvsignore: Remove *.pot.
6183 * posix/glob/.cvsignore: Removed.
6184 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
6186 2000-04-25 Andreas Jaeger <aj@suse.de>
6188 * conform/Makefile (distribute): Also distribute contents of
6191 * Makerules (no_deps): Remove abi-versions.h.
6193 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
6195 2000-04-25 Jakub Jelinek <jakub@redhat.com>
6197 * sysdeps/sparc/sparc64/elf/Dist: Remove.
6198 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
6199 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
6200 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
6201 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
6202 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
6205 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
6207 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
6209 2000-04-23 Bruno Haible <haible@clisp.cons.org>
6211 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
6212 * intl/l10nflist.c: Likewise.
6214 2000-04-23 Bruno Haible <haible@clisp.cons.org>
6216 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
6217 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
6218 * intl/textdomain.c [!_LIBC]: Likewise.
6219 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
6220 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
6221 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
6224 2000-04-23 Bruno Haible <haible@clisp.cons.org>
6226 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
6227 character set conversion also in the case the translation was found
6228 after a hash collision or through binary search. Store the maximum
6229 index together with the converted message. Use iconv() when available.
6230 In case of out of memory during conversion, return the unconverted
6231 translated string, not NULL.
6233 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
6235 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
6236 to avoid name clashes with the ia32 linker.
6238 2000-04-25 Jakub Jelinek <jakub@redhat.com>
6240 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
6243 2000-04-27 Ulrich Drepper <drepper@redhat.com>
6245 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
6246 strtoumax, strfry, and memfrob.
6247 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
6248 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6250 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
6251 if this function is available.
6253 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
6256 2000-04-27 Jakub Jelinek <jakub@redhat.com>
6258 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
6260 2000-04-27 Ulrich Drepper <drepper@redhat.com>
6262 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
6263 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
6264 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
6265 * localedata/tst-mbswcs3.c: New file.
6267 2000-04-26 Ulrich Drepper <drepper@redhat.com>
6269 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
6270 characters. Don't handle incomplete characters as errors.
6271 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
6272 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
6273 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
6274 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
6275 * localedata/tst-mbswcs2.c: New file.
6277 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
6278 stored character in state in UNPACK_BYTES macro.
6279 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
6280 test for available characters, handle result of BODY code correctly.
6281 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
6282 (distribute): Add tst-mbswcs.sh.
6283 Add rule to run tst-mbswcs.sh.
6284 * localedata/tst-mbswcs.sh: New file.
6285 * localedata/tst-mbswcs1.c: New file.
6287 2000-04-26 Jakub Jelinek <jakub@redhat.com>
6289 * nis/nis_callback.c (__nis_create_callback): Do failed memory
6290 allocation fixups centrally, fix __builtin_expect call, return NULL
6291 on failure, not NIS_NOMEMORY.
6293 2000-04-27 Bruno Haible <haible@clisp.cons.org>
6295 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
6297 * intl/loadinfo.h (internal_function): Define if not already defined.
6299 2000-04-27 Andreas Jaeger <aj@suse.de>
6301 * intl/libintl.h: Fix typo, reported by Bruno Haible
6302 <haible@clisp.cons.org>.
6304 2000-04-25 Ulrich Drepper <drepper@redhat.com>
6306 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
6307 setting the state to GMON_PROF_BUSY.
6309 2000-04-24 Ulrich Drepper <drepper@redhat.com>
6311 * elf/dl-profile.c (_dl_start_profile): define all variables which
6312 do not have to be global as local variables.
6314 * nis/nis_callback.c (__nis_create_callback): Partially undo last
6315 patch. Keep needed tests for failed memory allocation.
6317 * elf/dl-reloc.c (_dl_relocate_object): Add one more
6318 __builtin_expect saying that we don't normally expect to profile.
6320 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
6321 __builtin_expect where desirable.
6323 2000-04-23 Ulrich Drepper <drepper@redhat.com>
6325 * manual/Makefile (chapters): Add syslog.
6326 * manual/syslog.texi: New file.
6327 * manual/math.texi: Fix references.
6328 * manual/terminal.texi: Likewise.
6329 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6331 2000-04-18 Jakub Jelinek <jakub@redhat.com>
6333 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
6334 stdlib.h was not included or __USE_XOPEN not defined.
6336 2000-04-23 Ulrich Drepper <drepper@redhat.com>
6338 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
6339 Patch by Zack Weinberg <zack@wolery.cumb.org>.
6341 2000-04-22 Ulrich Drepper <drepper@redhat.com>
6343 * manual/examples/subopt.c (mount_opts): Add missing terminating
6345 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6347 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
6348 * libio/ftello.c: Likewise.
6349 * libio/ftello64.c: Likewise.
6350 * libio/ioftell.c: Likewise.
6351 * sysdeps/generic/memrchr.c: Likewise.
6352 * sysdeps/posix/libc_fatal.c: Likewise.
6353 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6354 * misc/fstab.c: Include <string.h> for strcmp prototype.
6355 * sysdeps/generic/ldsodefs.h: Likewise.
6356 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6357 Patch by Kurt Roeckx <Q@ping.be>.
6359 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
6360 Remove db-open. Change all uses.
6361 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
6363 2000-04-21 Jakub Jelinek <jakub@redhat.com>
6365 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
6366 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
6367 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
6368 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
6369 with .set noat/at to shut up warnings.
6370 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
6371 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
6372 compilation if __NR_pciconfig_iobase is not defined.
6373 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
6376 2000-04-21 Ulrich Drepper <drepper@redhat.com>
6378 * manual/sysinfo.texi: Fix typo.
6379 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
6380 Replace "high precision time" with "high accuracy clock".
6382 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6384 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
6385 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
6387 * nis/nis_subr.c: Use __builtin_expect.
6388 * nis/ypclnt.c: Likewise.
6389 * nis/nis_getservlist.c: Likewise.
6390 * nis/nis_creategroup.c: Likewise.
6392 * nis/nis_callback.c (__nis_create_callback): Check result of
6393 memory allocation. Fix memory leaks. Use __builtin_expect.
6394 (__nis_destroy_callback): Fix memory leaks.
6396 2000-04-21 Andreas Jaeger <aj@suse.de>
6398 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
6399 * sysdeps/mips/mips64/add_n.S: Likewise.
6400 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
6401 * sysdeps/mips/mips64/lshift.S: Likewise.
6402 * sysdeps/mips/mips64/mul_1.S: Likewise.
6403 * sysdeps/mips/mips64/rshift.S: Likewise.
6404 * sysdeps/mips/mips64/setjmp.S: Likewise.
6405 * sysdeps/mips/mips64/sub_n.S: Likewise.
6406 * sysdeps/mips/mips64/submul_1.S: Likewise
6407 * sysdeps/unix/mips/sysdep.S: Likewise.
6409 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
6410 and update comment. The strtab from _dl_relocate_object can be
6413 2000-04-21 Ulrich Drepper <drepper@redhat.com>
6415 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
6416 * iconv/iconv_close.c (iconv_close): Likewise.
6417 * iconv/iconv_open.c (iconv_open): Likewise.
6419 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
6420 __builtin_expect where useful.
6422 * grp/initgroups.c (initgroups): Test for result of memory
6423 allocation and punt if it fails.
6425 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
6426 * grp/fgetgrent.c (fgetfrent): Likewise.
6427 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
6429 2000-04-21 Jakub Jelinek <jakub@redhat.com>
6431 * libio/vasprintf.c: Include string.h to get memcpy prototype.
6433 2000-04-20 Ulrich Drepper <drepper@redhat.com>
6435 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
6436 don't search for NUL byte to decrement counter.
6437 Reported by Ulrich.Brink@sap.com.
6439 * iconv/gconv_simple.c: Define separate functions to convert from
6440 UCS4/UCS4-LE to the internal encoding.
6441 * iconv/gconv_builtin.h: Use separate functions to convert from
6442 UCS4/UCS4-LE to the internal encoding.
6443 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
6444 __gconv_transform_ucs4le_internal.
6446 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
6447 output buffer overflow. Reported by Ulrich.Brink@sap.com.
6449 * iconv/skeleton.c: Add some more __builtin_expect.
6450 * iconv/loop.c: Likewise.
6452 2000-03-08 H.J. Lu <hjl@gnu.org>
6454 * posix/regex.c (regex_compile): Correctly handle "\{" when
6455 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
6457 2000-04-20 Ulrich Drepper <drepper@redhat.com>
6459 * manual/stdio.texi: Give advise about handling error when using
6461 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
6463 2000-04-19 Jakub Jelinek <jakub@redhat.com>
6465 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
6466 field to nelems * sizeof (uint32_t).
6467 * locale/programs/ld-address.c (address_output): Align word fields
6469 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6470 Don't restart idx pointers to idx end at the duo_int_curr_symbol
6472 Avoid giving arbitrary garbage in the crncystr field.
6473 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
6474 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
6476 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6477 Don't restart idx pointers to idx end at the decimal_point_wc field.
6478 * locale/programs/ld-time.c (time_output): week_1stday should be
6479 word, not byte. Align it properly.
6481 2000-04-19 H.J. Lu <hjl@gnu.org>
6483 * csu/gmon-start.c (_start): Declared as "extern void".
6486 2000-04-18 Andreas Jaeger <aj@suse.de>
6488 * manual/install.texi (Running make install): Don't mention utmpd
6491 2000-04-18 Andreas Jaeger <aj@suse.de>
6493 * linuxthreads/Versions: Use ld instead of ld.so.
6495 * elf/Makefile (ld-map): Use ld.map.
6497 * Versions.def: Use ld instead of ld.so.
6498 * elf/Versions: Likewise.
6499 * sysdeps/mach/hurd/Versions: Likewise.
6501 2000-04-20 Andreas Jaeger <aj@suse.de>
6503 * elf/rtld.c (print_statistics): Move ifndef further up.
6504 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
6505 (dl_main): Likewise.
6507 2000-04-18 Ulrich Drepper <drepper@redhat.com>
6509 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
6510 * gmon/Versions: Move moncontrol to GLIBC_2.2.
6512 * po/cs.po: Update from translation team.
6514 * sysdeps/generic/updwtmp.c: Remove daemon support.
6516 * login/Makefile (routines): Remove utmp_daemon.
6518 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
6519 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
6520 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
6521 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
6523 * elf/rtld.c: Display statitics option also if hp timing is not
6526 * login/programs/connection.c: Removed.
6527 * login/programs/database.c Removed.
6528 * login/programs/error.c: Removed.
6529 * login/programs/request.c: Removed.
6530 * login/programs/xtmp.c: Removed.
6531 * login/programs/xtmp.h: Removed.
6532 * login/Makefile: Remove rules for utmpd.
6533 * login/README.utmpd: Removed.
6534 * login/utmp_daemon.c: Removed.
6535 * login/getutent_r.c: Remove references to daemon functions.
6536 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
6539 2000-04-18 Andreas Jaeger <aj@suse.de>
6541 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
6542 2.2 for libnsl, libresolv, librt, libnss_*.
6544 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
6546 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
6548 2000-04-18 Ulrich Drepper <drepper@redhat.com>
6550 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
6551 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
6552 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
6553 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
6554 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
6555 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
6556 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
6557 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
6558 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
6559 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
6560 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
6561 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
6562 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
6564 * sysdeps/unix/sysv/aix/msync.c: New file.
6565 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
6566 * sysdeps/unix/sysv/aix/net/if.h: New file.
6567 * sysdeps/unix/sysv/aix/pipe.c: New file.
6568 * sysdeps/unix/sysv/aix/poll.c: New file.
6569 * sysdeps/unix/sysv/aix/rename.c: New file.
6570 * sysdeps/unix/sysv/aix/rmdir.c: New file.
6571 * sysdeps/unix/sysv/aix/select.c: New file.
6572 * sysdeps/unix/sysv/aix/semctl.c: New file.
6573 * sysdeps/unix/sysv/aix/semget.c: New file.
6574 * sysdeps/unix/sysv/aix/semop.c: New file.
6575 * sysdeps/unix/sysv/aix/sendto.c: New file.
6576 * sysdeps/unix/sysv/aix/setgroups.c: New file.
6577 * sysdeps/unix/sysv/aix/setpgid.c: New file.
6578 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
6579 * sysdeps/unix/sysv/aix/setpriority.c: New file.
6580 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
6581 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
6582 * sysdeps/unix/sysv/aix/setsid.c: New file.
6583 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
6584 * sysdeps/unix/sysv/aix/shmat.c: New file.
6585 * sysdeps/unix/sysv/aix/shmctl.c: New file.
6586 * sysdeps/unix/sysv/aix/shmdt.c: New file.
6587 * sysdeps/unix/sysv/aix/shmget.c: New file.
6588 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
6589 * sysdeps/unix/sysv/aix/sigstack.c: New file.
6590 * sysdeps/unix/sysv/aix/socket.c: New file.
6591 * sysdeps/unix/sysv/aix/socketpair.c: New file.
6592 * sysdeps/unix/sysv/aix/speed.c: New file.
6593 * sysdeps/unix/sysv/aix/symlink.c: New file.
6594 * sysdeps/unix/sysv/aix/sync.c: New file.
6595 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
6596 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
6597 * sysdeps/unix/sysv/aix/times.c: New file.
6598 * sysdeps/unix/sysv/aix/ulimit.c: New file.
6599 * sysdeps/unix/sysv/aix/umask.c: New file.
6600 * sysdeps/unix/sysv/aix/unlink.c: New file.
6601 * sysdeps/unix/sysv/aix/ustat.c: New file.
6602 * sysdeps/unix/sysv/aix/utimes.c: New file.
6604 2000-04-18 Andreas Jaeger <aj@suse.de>
6606 * manual/startup.texi (Environment Access): Fix putenv prototype
6607 according to recent changes.
6608 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
6611 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
6614 2000-04-18 Ulrich Drepper <drepper@redhat.com>
6616 * posix/Makefile (tests): Add tst-getaddrinfo.
6617 * posix/tst-getaddrinfo.c: New file.
6619 2000-04-17 Ulrich Drepper <drepper@redhat.com>
6621 * manual/sysinfo.texi: Document that umount2 is not widely available.
6623 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
6624 signal timing is not really implemented.
6626 2000-04-17 Andreas Jaeger <aj@suse.de>
6628 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
6630 2000-04-17 Jakub Jelinek <jakub@redhat.com>
6632 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
6635 2000-04-17 Ulrich Drepper <drepper@redhat.com>
6637 * manual/intro.texi: Change reference from System Information to
6639 * manual/users.texi: Likewise.
6640 * manual/conf.texi: Likewise.
6641 * manual/sysinfo.texi: Document mount, umount, and umount2.
6642 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6644 2000-04-17 Jakub Jelinek <jakub@redhat.com>
6646 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
6647 Create wnumstr as well as numstr to support wide character output
6650 2000-04-15 Jakub Jelinek <jakub@redhat.com>
6652 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
6653 modification and move it...
6654 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
6655 Add -melf64_sparc switch to $(LD) on sparc64-linux.
6656 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
6657 switch to $(LD) on sparc-linux.
6659 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
6661 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
6662 and setresuid from sysdep_routines.
6664 2000-04-17 Ulrich Drepper <drepper@redhat.com>
6666 * manual/Makefile (chapters): Add resource.
6668 * manual/time.texi: Move section on resources to...
6669 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
6671 * manual/setjmp.texi: Adjust back reference.
6672 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6674 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
6676 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
6677 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
6678 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
6679 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
6680 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
6681 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
6682 * sysdeps/unix/sysv/aix/close.c: Add copyright.
6683 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
6684 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
6685 * sysdeps/unix/sysv/aix/access.c: Add copyright.
6686 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
6687 * sysdeps/unix/sysv/aix/Implies: New file.
6688 * sysdeps/unix/sysv/aix/Versions: New file.
6689 * sysdeps/unix/sysv/aix/bind.c: New file.
6690 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
6691 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
6692 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
6693 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
6694 * sysdeps/unix/sysv/aix/chdir.c: New file.
6695 * sysdeps/unix/sysv/aix/chmod.c: New file.
6696 * sysdeps/unix/sysv/aix/chroot.c: New file.
6697 * sysdeps/unix/sysv/aix/creat.c: New file.
6698 * sysdeps/unix/sysv/aix/dl-close.c: New file.
6699 * sysdeps/unix/sysv/aix/dl-open.c: New file.
6700 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
6701 * sysdeps/unix/sysv/aix/fchdir.c: New file.
6702 * sysdeps/unix/sysv/aix/fchmod.c: New file.
6703 * sysdeps/unix/sysv/aix/getgroups.c: New file.
6704 * sysdeps/unix/sysv/aix/gethostname.c: New file.
6705 * sysdeps/unix/sysv/aix/getpriority.c: New file.
6706 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
6707 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
6708 * sysdeps/unix/sysv/aix/getrusage.c: New file.
6709 * sysdeps/unix/sysv/aix/link.c: New file.
6710 * sysdeps/unix/sysv/aix/madvise.c: New file.
6711 * sysdeps/unix/sysv/aix/mkdir.c: New file.
6712 * sysdeps/unix/sysv/aix/mknod.c: New file.
6713 * sysdeps/unix/sysv/aix/mprotect.c: New file.
6714 * sysdeps/unix/sysv/aix/msgctl.c: New file.
6715 * sysdeps/unix/sysv/aix/msgget.c: New file.
6716 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
6718 2000-04-17 Andreas Jaeger <aj@suse.de>
6720 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
6721 as suggested by Ulrich Drepper.
6722 (__dl_runtime_resolve): Remove unused variable, initialize sym
6724 (RTLD_START): Document OFFSET_GP_GOT.
6725 (OFFSET_GP_GOT): New magic value.
6726 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
6727 (elf_machine_got_rel): Only declare strtab if needed.
6728 (elf_machine_relplt): Removed, it's not needed.
6729 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
6731 * sysdeps/mips/add_n.S: Add newline at EOF.
6732 * sysdeps/mips/rshift.S: Likewise.
6733 * sysdeps/mips/mul_1.S: Likewise.
6734 * sysdeps/mips/lshift.S: Likewise.
6735 * sysdeps/mips/addmul_1.S: Likewise.
6737 2000-04-17 Ulrich Drepper <drepper@redhat.com>
6739 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
6741 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
6742 * elf/dl-lookup.c: Likewise.
6743 * elf/dl-init.c (_dl_init): Likewise.
6744 * elf/dl-fini.c (_dl_fini): Likewise.
6745 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6746 * elf/dl-close.c (_dl_close): Likewise.
6747 * elf/rtld.c (_dl_start_final): Likewise.
6749 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
6751 2000-04-15 Ulrich Drepper <drepper@redhat.com>
6753 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
6754 only fall back on using Linux.
6756 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
6757 Before testing versions check that we actually loaded the object
6758 and whether we are in trace mode. If not loaded during tracing don't
6759 test versions in this object.
6760 (_dl_check_all_versions): Take new parameter and pass to
6761 _dl_check_map_versions.
6762 * sysdeps/generic/ldsodefs.h: Update prototypes for
6763 _dl_check_all_versions and _dl_check_map_versions.
6764 * elf/rtld.c (struct version_check_args): Add dotrace.
6765 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
6766 (dl_main): Pass info about trace mode to version_check_doit.
6767 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
6768 _dl_check_all_versions.
6770 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
6772 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6774 * manual/argp.texi: Document index parameter of argp_parse.
6776 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
6778 2000-04-14 Andreas Jaeger <aj@suse.de>
6780 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
6781 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
6783 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
6785 2000-04-15 Ulrich Drepper <drepper@redhat.com>
6787 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
6788 compat_symbol call for old adjtime.
6790 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
6791 function interface. Patch by Richard Henderson <rth@cygnus.com>.
6793 * posix/Makefile (headers): Add spawn.h.
6794 (distribute): Add spawn_int.h.
6795 (routines): Add spawn_faction_init, spawn_faction_destroy,
6796 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
6797 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
6798 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
6799 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
6800 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
6801 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
6802 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
6803 posix_spawnattr_init, posix_spawnattr_destroy,
6804 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
6805 posix_spawnattr_getflags, posix_spawnattr_setflags,
6806 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
6808 * posix/spawn.c: New file.
6809 * posix/spawn.h: New file.
6810 * posix/spawn_faction_addclose.c: New file.
6811 * posix/spawn_faction_adddup2.c: New file.
6812 * posix/spawn_faction_addopen.c: New file.
6813 * posix/spawn_faction_destroy.c: New file.
6814 * posix/spawn_faction_init.c: New file.
6815 * posix/spawn_int.h: New file.
6816 * posix/spawnattr_destroy.c: New file.
6817 * posix/spawnattr_getdefault.c: New file.
6818 * posix/spawnattr_getflags.c: New file.
6819 * posix/spawnattr_getpgroup.c: New file.
6820 * posix/spawnattr_getschedparam.c: New file.
6821 * posix/spawnattr_getschedpolicy.c: New file.
6822 * posix/spawnattr_getsigmask.c: New file.
6823 * posix/spawnattr_init.c: New file.
6824 * posix/spawnattr_setdefault.c: New file.
6825 * posix/spawnattr_setflags.c: New file.
6826 * posix/spawnattr_setpgroup.c: New file.
6827 * posix/spawnattr_setschedparam.c: New file.
6828 * posix/spawnattr_setschedpolicy.c: New file.
6829 * posix/spawnattr_setsigmask.c: New file.
6830 * posix/spawni.c: New file.
6831 * posix/spawnp.c: New file.
6833 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
6834 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6836 2000-04-14 Ulrich Drepper <drepper@redhat.com>
6838 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
6839 * malloc/malloc.c: Implement posix_memalign for glibc.
6840 * include/stdlib.h: Add prototype for __posix_memalign.
6841 * stdlib/stdlib.h: Add prototype for posix_memalign.
6843 2000-04-14 Andreas Jaeger <aj@suse.de>
6845 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
6847 (elf_machine_got_rel): Cast sym correctly.
6849 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
6850 * sysdeps/mips/addmul_1.S: Likewise.
6851 * sysdeps/mips/lshift.S: Likewise.
6852 * sysdeps/mips/mul_1.S: Likewise.
6853 * sysdeps/mips/rshift.S: Likewise.
6854 * sysdeps/mips/sub_n.S: Likewise.
6855 * sysdeps/mips/submul_1.S: Likewise.
6857 * stdlib/stdlib.h: Fix typo in comment.
6859 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
6860 2.2 for libdl, ld and libm.
6862 * sysdeps/generic/madvise.c: Fix typos.
6864 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
6866 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
6868 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
6871 2000-04-14 Ulrich Drepper <drepper@redhat.com>
6873 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
6874 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
6875 Make old name weak alias.
6876 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6877 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
6878 Make old name weak alias.
6879 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6881 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
6882 posix_fallocate, and posix_fallocate64.
6883 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
6884 posix_fallocate, and posix_fallocate64.
6885 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
6886 posix_fallocate, and posix_fallocate64.
6887 * sysdeps/generic/fadvise.c: New file.
6888 * sysdeps/generic/fadvise64.c: New file.
6889 * sysdeps/generic/fallocate.c: New file.
6890 * sysdeps/generic/fallocate64.c: New file.
6891 * sysdeps/posix/fallocate.c: New file.
6892 * sysdeps/posix/fallocate64.c: New file.
6893 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
6894 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
6895 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
6896 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
6897 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
6898 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6899 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6900 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6901 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6903 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
6904 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6906 2000-04-13 Ulrich Drepper <drepper@redhat.com>
6908 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
6909 * misc/sys/mman.h (posix_madvise): Add prototype.
6910 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
6911 old name and posix_madvise weak aliases.
6912 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6913 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
6914 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
6915 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6916 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
6917 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6918 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6920 2000-04-13 Andreas Jaeger <aj@suse.de>
6922 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
6924 (elf_machine_got_rel): Only add runtime display if needed.
6925 (elf_machine_got_rel): Handle symbol versioning.
6927 2000-04-13 Andreas Jaeger <aj@suse.de>
6929 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
6931 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
6934 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
6935 with some applications.
6936 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
6938 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
6939 * sysdeps/mips/bsd-_setjmp.S: Likewise.
6940 * sysdeps/mips/setjmp.S: Likewise.
6942 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
6944 2000-04-13 Ulrich Drepper <drepper@redhat.com>
6946 * posix/globtest.sh: Work around inconsistency with expanding ~/
6947 in shell (PR libc/1690). Reported by patsmith@pobox.com.
6949 2000-04-12 Ulrich Drepper <drepper@redhat.com>
6951 * posix/getconf.c: Add support for many more POSIX options.
6952 * sysdeps/posix/sysconf.c: Likewise.
6953 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
6954 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
6956 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6957 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
6958 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
6959 CLOCK_THREAD_CPUTIME_ID.
6960 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
6961 CLOCK_PROCESS_CPUTIME_ID.
6962 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
6963 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
6964 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
6965 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6967 * malloc/Makefile (tests): Add tst-calloc.
6968 * malloc/tst-calloc.c: New file.
6970 * sysdeps/arm/libm-test-ulps: New file.
6972 * malloc/malloc.c: Undo all of today's changes.
6974 * locale/programs/locale.c (show_info): Don't try to look into
6975 data for LC_ALL (there is none).
6977 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
6978 avoid writing over boundary.
6979 Patch by Greg McGary <gkm@eng.ascend.com>.
6981 * sysdeps/arm/memprof.h: New file.
6983 2000-04-12 Andreas Jaeger <aj@suse.de>
6985 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
6987 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
6988 for memmem declaration.
6990 2000-04-12 Ulrich Drepper <drepper@redhat.com>
6992 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
6994 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6996 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
6998 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6999 Patch by Bart Veer <bartv@redhat.com>.
7001 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
7004 2000-04-11 Andreas Jaeger <aj@suse.de>
7006 * sysdeps/mips/dl-machine.h: Update some comments.
7007 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
7009 2000-04-11 Ulrich Drepper <drepper@redhat.com>
7011 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
7012 _POSIX_SHARED_MEMORY_OBJECTS.
7014 * rt/Makefile (tests): Add tst-shm.
7015 Add rules to generate tst-shm.
7016 * rt/tst-shm.c: New file.
7018 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
7021 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
7022 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
7023 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
7024 * sysdeps/generic/shm_open.c: New file.
7025 * sysdeps/generic/shm_unlink.c: New file.
7026 * sysdeps/unix/sysv/linux/shm_open.c: New file.
7027 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
7028 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
7029 __endmntent, __getmntent_r, __setmntent, and __statfs.
7031 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
7032 fragmentation by allocating new memory at the end instead of
7035 * posix/globtest.sh: Fix last change.
7037 2000-04-10 Philip Blundell <philb@gnu.org>
7039 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
7040 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
7041 IPV6_DROP_MEMBERSHIP.
7042 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
7045 2000-04-11 Ulrich Drepper <drepper@redhat.com>
7047 * elf/readlib (process_file): Close streams in case of an error.
7049 2000-04-09 Andreas Jaeger <aj@suse.de>
7051 * elf/readlib.c (process_file): Check if file is big enough to
7052 contain aout and ELF headers.
7053 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
7055 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
7057 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
7059 2000-04-11 Ulrich Drepper <drepper@redhat.com>
7061 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
7063 * rt/Makefile (tests): Add tst-clock.
7064 Add rules to build tst-clock.
7065 * rt/tst-clock.c: New file.
7066 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
7067 about initialization of nsec.
7068 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
7069 about initialization of freq. Set retval to zero if successful.
7070 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
7072 2000-04-10 Ulrich Drepper <drepper@redhat.com>
7074 * Versions.def (librt): Add GLIBC_2.2.
7075 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
7076 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
7077 timer_getoverr, timer_gettime, and timer_settime.
7078 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
7079 clock_settime, timer_create, timer_delete, timer_getoverrun,
7080 timer_gettime, and timer_settime.
7081 * sysdeps/generic/clock_getcpuclockid.c: New file.
7082 * sysdeps/generic/get_clockfreq.c: New file.
7083 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
7084 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
7085 * sysdeps/mach/hurd/i386/bits/time.h: New file.
7086 * sysdeps/unix/i386/i586/clock_getres.c: New file.
7087 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
7088 * sysdeps/unix/i386/i686/Implies: New file.
7089 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
7090 * time/Makefile (routines): Move clock_getres, clock_gettime,
7091 clock_settime, timer_create, timer_delete, timer_getoverr,
7092 timer_gettime, and timer_settime to rt/Makefile.
7093 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
7094 clock_settime, timer_create, timer_delete, timer_getoverrun,
7095 timer_gettime, and timer_settime.
7096 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
7098 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
7099 and not const as attribute name.
7101 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
7103 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
7105 2000-04-10 Andreas Schwab <schwab@suse.de>
7107 * posix/globtest.sh: Skip tests that depend on unreadable
7108 directories if run as root.
7110 2000-04-10 Ulrich Drepper <drepper@redhat.com>
7112 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
7113 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
7115 2000-04-09 Ulrich Drepper <drepper@redhat.com>
7117 * sysdeps/unix/clock_gettime.c: New file.
7118 * sysdeps/unix/clock_settime.c: New file.
7119 * sysdeps/posix/clock_getres.c: New file.
7121 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
7123 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
7124 lseek call be passing in a buffer which never allow a successful
7125 first getdents syscall if not at leas the initial entry can be
7126 stored in the user buffer.
7128 * localedata/Makefile: Add rules to clean up directories created by
7131 2000-04-09 Geoff Clare <gwc@unisoft.com>
7133 * localedata/tst-fmon.data: Added new tests for strfmon()
7134 using test locales with all combinations of cs_precedes,
7135 sign_posn and sep_by_space.
7136 * localedata/tst-fmon.sh: Updated to support the new tests.
7137 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
7138 the localedef source for the new strfmon() test locale.
7139 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
7140 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
7141 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
7142 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
7143 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
7144 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
7145 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
7146 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
7147 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
7148 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
7149 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
7150 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
7151 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
7152 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
7154 * stdlib/strfmon.c: Correct problems with missing or extra
7155 spaces for unusual combinations of sign_posn and sep_by_space.
7156 Improved left-precision alignment code.
7158 2000-04-07 Andreas Jaeger <aj@suse.de>
7160 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
7162 2000-04-10 Andreas Jaeger <aj@suse.de>
7164 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
7166 2000-04-09 Ulrich Drepper <drepper@redhat.com>
7168 Implement handling of restartable conversion functions according to
7170 * iconv/gconv.h (__gconv_fct): Add additional parameter.
7171 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
7172 * iconv/gconv.c: Pass additional parameter to conversion function.
7173 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
7174 (internal_ucs4le_loop_single): New function.
7175 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
7176 (__gconv_transform_internal_ascii): Likewise.
7177 (__gconv_transform_internal_utf8): Likewise.
7178 (__gconv_transform_utf8_internal): Likewise.
7179 (__gconv_transform_ucs2_internal): Likewise.
7180 (__gconv_transform_internal_ucs2): Likewise.
7181 (__gconv_transform_ucs2reverse_internal): Likewise.
7182 (__gconv_transform_internal_ucs2reverse): Likewise.
7183 (internal_ucs4le_loop_unaligned): Before return
7184 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
7185 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
7186 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
7187 * iconv/loop.c: Fit in definition of function to convert one character
7188 for processing of left-over bytes from the state object.
7189 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
7190 inend to match names in loop functions.
7191 (RESET_INPUT_BUFFER): Change apprpriately.
7192 (gconv): If needed, call function to process bytes from the state
7193 object. Similar at the end: store left over bytes if input is
7195 Take extra argument and add new argument to all calls of the
7196 conversion function.
7197 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
7198 information in the state object to not conflict with length count.
7199 * iconvdata/iso-2022-jp.c: Likewise.
7200 * iconvdata/iso-2022-kr.c: Likewise.
7201 * iconvdata/unicode.c: Adjust for change change in parameters of
7203 * iconvdata/utf-16.c: Likewise.
7204 * libio/iofwide.c: Add new parameter to all calls of conversion
7206 * wcsmbs/btowc.c: Likewise.
7207 * wcsmbs/mbrtowc.c: Likewise.
7208 * wcsmbs/mbsnrtowcs.c: Likewise.
7209 * wcsmbs/mbsrtowcs.c: Likewise.
7210 * wcsmbs/wcrtomb.c: Likewise.
7211 * wcsmbs/wcsnrtombs.c: Likewise.
7212 * wcsmbs/wcsrtombs.c: Likewise.
7213 * wcsmbs/wctob.c: Likewise.
7215 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
7218 2000-04-07 Andreas Jaeger <aj@suse.de>
7220 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
7223 2000-04-07 Ulrich Drepper <drepper@redhat.com>
7225 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
7226 element a union to allow byte access.
7227 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
7229 * iconvdata/iso-2022-jp.c: Likewise.
7230 * iconvdata/iso-2022-kr.c: Likewise.
7231 * wcsmbs/mbsinit.c: Likewise.
7232 * stdlib/mblen.c: Likewise.
7233 * stdio-common/printf-parse.h: Likewise.
7235 2000-04-06 Ulrich Drepper <drepper@redhat.com>
7237 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
7238 kernel does not allow relative seeks on descriptors associated
7239 with directories. Go back to get the position in the directory
7240 every time we enter the function. Return -1 and set errno if one
7241 entry could be read from the kernel but does not fit into the
7242 buffer passed in by the user.
7244 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
7245 Support ..(2).. ellipsis.
7246 (parse_charmap): Recognize ..(2).. etc and pass step down.
7247 Correctly generate names for UCS4 characters.
7249 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
7250 (ctype_finish): We know the wide character value for <SP>,
7252 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
7253 (charclass_ucs4_ellipsis): Likewise.
7254 (read_translit_ignore_entry): Store ellipsis step.
7255 (ctype_read): Recognize ..(2).. etc and pass step down.
7257 * locale/programs/linereader.c (lr_token): When seeing comment
7258 character ignore only rest of line in sources but stop at escaped
7260 Recognize ..(2).. and ....(2).....
7262 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
7263 and tok_ellipsis4_2.
7265 2000-04-06 Andreas Jaeger <aj@suse.de>
7267 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
7268 removed, remove it here also.
7269 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
7270 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
7271 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
7272 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
7274 2000-04-06 Jakub Jelinek <jakub@redhat.com>
7276 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
7277 include bits/sigcontext.h.
7278 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7280 2000-04-06 Ulrich Drepper <drepper@redhat.com>
7282 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
7283 collation symbol definition. Value in quivalence definition must
7284 be defined, don't check that it is not.
7286 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
7287 values as character names.
7289 * locale/programs/ld-ctype.c (get_character): Handle missing
7290 repertoire map correctly.
7292 2000-04-05 Cristian Gafton <gafton@redhat.com>
7294 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
7295 because it is used in generic code.
7296 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
7297 * wcsmbs/wcwidth.h: Declare __ctype32_b.
7298 * intl/gettext.c: Include <locale.h>.
7299 * intl/ngettext.c: Likewise.
7301 2000-04-05 Jakub Jelinek <jakub@redhat.com>
7303 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
7304 socklen_t type for size.
7305 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
7306 init function interface.
7307 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
7310 (__jmp_buf): Declare the whole type structure here, don't use
7313 2000-04-05 Ulrich Drepper <drepper@redhat.com>
7315 * iconv/skeleton.c (put16u): Fix typo.
7316 Reported by Bruno Haible <haible@ilog.fr>.
7318 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
7319 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
7320 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
7321 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
7322 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
7323 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
7325 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
7326 * Makefile (distribute): Add abi-versions.awk and
7328 Patches by Torsten Duwe <duwe@caldera.de>.
7330 2000-04-05 Andreas Schwab <schwab@suse.de>
7332 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
7334 2000-04-05 Andreas Schwab <schwab@suse.de>
7336 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
7337 entry point, used on Hurd.
7339 2000-04-04 Andreas Jaeger <aj@suse.de>
7341 * intl/Makefile: Only run the gettext test with shared libraries.
7343 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7345 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7346 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7348 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
7350 * Makeconfig: Undo last change.
7351 * configure.in: If --disable-shared was given, don't set VERSIONING,
7352 don't define DO_VERSIONING, and don't give scare warning for no
7354 * configure: Regenerated.
7356 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
7358 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
7360 2000-04-04 Andreas Jaeger <aj@suse.de>
7362 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
7364 2000-04-04 Ulrich Drepper <drepper@redhat.com>
7366 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
7367 STV_HIDDEN and STV_INTERNAL during lookup.
7368 (profile_fixup): Likewise.
7369 * elf/dl-reloc.c (RESOLVE): Likewise.
7371 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
7372 unaligned so that it compiles for system which need unaligned
7375 2000-04-04 Andreas Schwab <schwab@suse.de>
7377 * elf/cache.c (print_entry): Only look at the type field when
7380 2000-04-04 Andreas Schwab <schwab@suse.de>
7382 * iconvdata/big5.c (BODY): Fix typo.
7384 2000-04-04 Andreas Schwab <schwab@suse.de>
7386 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
7387 function interface. Remove unused _dl_start_user entry point.
7389 2000-04-03 Andreas Jaeger <aj@suse.de>
7391 * include/arpa/inet.h (__inet_aton): Add protoype.
7393 2000-04-01 Andreas Jaeger <aj@suse.de>
7395 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
7397 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
7398 * sysdeps/mach/mips/thread_state.h: Likewise.
7400 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
7401 * sysdeps/generic/fegetenv.c: Likewise.
7402 * sysdeps/generic/fesetenv.c: Likewise.
7403 * sysdeps/generic/feupdateenv.c: Likewise.
7404 * sysdeps/generic/fraiseexcpt.c: Likewise.
7405 * sysdeps/generic/fsetexcptflg.c: Likewise.
7406 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
7407 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
7408 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7409 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7411 2000-04-02 H.J. Lu <hjl@gnu.org>
7413 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
7415 2000-04-03 Ulrich Drepper <drepper@redhat.com>
7417 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
7418 (add_name_to_object): Add cast in malloc call.
7419 (fillin_rpath): Optimize loop to initialize ->status a bit.
7421 * sysdeps/i386/dl-machine.h: Undo last change.
7422 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
7423 Restore %edx register after call here.
7425 * sysdeps/arm/atomicity.h: New file.
7426 Contributed by Jesper Skov <jskov@redhat.com>.
7428 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
7430 * Makeconfig (preprocess-versions): Undo last change.
7431 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
7433 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
7434 here, before we might move the stack.
7435 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
7436 (init1): And not here.
7438 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
7439 change, to restore argc value in call-clobbered register after
7440 RTLD_START_SPECIAL_INIT, which will contain a call.
7442 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
7443 allocating and initializing L->l_initfini.
7445 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
7447 2000-04-03 Ulrich Drepper <drepper@redhat.com>
7449 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
7450 RUNPATH, RPATH, and LD_LIBRARY_PATH.
7451 (open_path): Change type of fourth parameter. Make pointer to array
7452 of pointers. Create variable dirs with original type.
7453 Track whether any directory for the object exists and if not,
7454 change *DIRSP to (void*) -1 to signal there is no such search path.
7455 (_dl_map_object): Change all calls of open_path.
7456 Rewrite decompose_rpath calls.
7458 2000-03-31 Andreas Schwab <schwab@suse.de>
7460 * string/strfry.c: Declare STATE as array of char instead of int
7461 and do not initialize it (done by initstate_r). Pass correct
7464 2000-04-03 Ulrich Drepper <drepper@redhat.com>
7466 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
7468 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
7469 instruction out of the code.
7471 2000-04-02 Ulrich Drepper <drepper@redhat.com>
7473 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
7474 element at this position.
7476 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
7477 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
7479 * elf/dl-lookup.c (add_dependency): New function.
7480 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
7481 dynamically loaded object.
7482 (_dl_lookup_symbol_skip): Likewise.
7483 (_dl_lookup_versioned_symbol): Likewise.
7484 (_dl_lookup_versioned_symbol_skip): Likewise.
7485 * elf/dl-open.c: Don't define _dl_load_lock here...
7486 * elf/rtld.c: ...but here...
7487 * elf/dl-support.c: ...and here.
7488 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
7490 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
7492 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
7494 * dlfcn/glrefmain.c: Add one more debug message.
7496 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
7498 * Makerules (sysd-versions): Use ( ) instead of { }.
7500 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
7501 optimize for the non-debugging case.
7502 * elf/dl-lookup.c: Likewise.
7503 * sysdeps/generic/libc-start.c: Likewise.
7505 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
7507 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
7508 (init1): Don't initialize __environ here, since init already does it.
7509 (first_init): New function, broken out of _init.
7510 (_hurd_stack_setup): Use it.
7511 [SHARED] (_dl_init_first): New function, renamed from old _init.
7512 (init1) [SHARED]: Don't call posixland_init here.
7513 (posixland_init): Take ENVP arg, so signature is usual for initializer.
7514 [SHARED] (_init): Define as alias for posixland_init.
7515 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
7516 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
7517 RTLD_START_SPECIAL_INIT before calling initializers.
7518 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
7519 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
7520 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
7521 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
7523 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
7524 since we define the function with the name `tmpfile'.
7526 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
7527 * hurd/Versions: Likewise.
7529 2000-04-02 Ulrich Drepper <drepper@redhat.com>
7531 * elf/dl-runtime.c (fixup): Fix typo in comment.
7533 * resolv/netdb.h (getnameinfo): All length parameters are of type
7535 * inet/getnameinfo.c: Likewise.
7537 2000-04-01 Ulrich Drepper <drepper@redhat.com>
7539 * posix/unistd.h (socklen_t): Define if it has not yet happened.
7540 (gethostname): Change type of second parameter to socklen_t.
7541 * include/unistd.h (__gethostname): Change type of second
7542 parameter to socklen_t.
7543 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
7544 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7545 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
7546 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
7548 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
7549 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
7550 Allow definition elsewhere.
7551 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
7552 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7553 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
7554 * sysdeps/generic/bits/types.h: Define __socklen_t.
7555 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
7556 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
7557 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7558 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7559 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7560 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7561 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7563 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
7564 (inet_lnaof): Likewise.
7565 (inet_netof): Likewise.
7566 (inet_network): Likewise.
7567 (inet_aton): Likewise.
7568 (inet_makeaddr): Change parameter types to in_addr_t.
7569 (inet_neta): Likewise.
7570 (inet_ntop): Change type of last parameter to socklen_t.
7571 (inet_aton): Only make available if __USE_MISC.
7572 (inet_neta): Likewise.
7573 (inet_net_ntop): Likewise.
7574 (inet_net_pton): Likewise.
7575 (inet_nsap_ntoa): Likewise.
7577 * inet/in.h: Define in_port_t type.
7578 Define in_addr_t type.
7579 (struct in_addr): Use in_addr_t in definition.
7580 (IN_CLASSA): Use cast to in_addr_t.
7581 (IN_CLASSB): Likewise.
7582 (IN_CLASSC): Likewise.
7583 (IN_CLASSD): Likewise.
7584 (IN_EXPERIMENTAL): Likewise.
7585 (IN_BADCLASS): Likewise.
7586 (INADDR_ANY): Likewise.
7587 (INADDR_BROADCAST): Likewise.
7588 (INADDR_NONE): Likewise.
7589 (INADDR_LOOPBACK): Likewise.
7590 (INADDR_UNSPEC_GROUP): Likewise.
7591 (INADDR_ALLHOSTS_GROUP): Likewise.
7592 (INADDR_ALLRTRS_GROUP): Likewise.
7593 (INADDR_MAX_LOCAL_GROUP): Likewise.
7594 (struct sockaddr_in): Use in_port_t for sin_port element.
7595 (struct sockaddr_in6): Use in_port_t for sin6_port element.
7596 Use uint8_t instead of u_int8_t.
7598 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
7599 Call __inet_aton instead of inet_aton.
7600 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
7602 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
7603 (innetgr): Likewise.
7604 (struct addrinfo): Use socklen_t for ai_addrlen element.
7606 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
7607 IPV6_RECVERR): New defines.
7609 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
7610 * inet/getnetbyad.c: Likewise.
7611 * inet/getnetbyad_r.c: Likewise.
7612 * nis/nss_nis/nis-network.c: Likewise.
7613 * nis/nssplus_nis/nisplus-network.c: Likewise.
7614 * nss/nss_files/files-network.c: Likewise.
7615 * resolv/netdb.h: Define uint32_t if not already happened.
7616 Include bits/netdb.h. Remove definition of struct netent.
7617 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
7618 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
7619 * sysdeps/generic/bits/netdb.h: New file.
7620 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
7622 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
7623 (tests): Add glrefmain.
7624 Add rules to build modules and run tests. Ignore result of glrefmain
7625 for now since it fails.
7626 * dlfcn/glrefmain.c: New file.
7627 * dlfcn/glreflib1.c: New file.
7628 * dlfcn/glreflib2.c: New file.
7630 * test-skeleton.c: Include <string.h> for strsignal prototype.
7632 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
7635 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
7636 former init-first.h. Initialize __libc_multiple_libcs.
7638 2000-03-31 Ulrich Drepper <drepper@redhat.com>
7640 * iconv/skeleton.c: Define access macros with u suffix. Adjust
7641 #if expression for use of unaligned function to the one used in
7642 the definition of these functions.
7643 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
7644 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
7645 (internal_ucs4le_loop_unaligned): New function.
7647 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
7649 (module-names): Add dep1, dep2, dep3, and dep4.
7650 Add dependencies for dep* modules and order.
7651 Define rule for order.out which checks the result.
7652 * elf/dep1.c: New file.
7653 * elf/dep2.c: New file.
7654 * elf/dep3.c: New file.
7655 * elf/dep4.c: New file.
7656 * elf/order.c: New file.
7658 * elf/dl-init.c: Fix typo in comment.
7660 2000-03-31 Andreas Jaeger <aj@suse.de>
7662 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
7663 init function interface.
7664 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
7666 2000-03-31 Andreas Jaeger <aj@suse.de>
7668 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
7669 * sysdeps/mips/fpu/fegetenv.c: Likewise.
7670 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
7671 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
7672 * sysdeps/mips/fpu/fesetenv.c: Likewise.
7674 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
7675 anymore, update comment.
7677 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7679 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
7680 SHLIB_COMPAT - the struct is always needed.
7682 2000-03-31 Ulrich Drepper <drepper@redhat.com>
7684 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
7685 * elf/dl-support.c: Define _dl_starting_up.
7687 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7689 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
7690 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
7692 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
7694 * elf/Makefile (dl-routines): Remove preinit.
7695 * elf/Versions: Remove _dl_preinit.
7696 * elf/dl-preinit.c: Removed. Move content into...
7697 * elf/dl-init.c: ...here.
7698 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
7700 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
7703 2000-03-29 Geoff Clare <gwc@unisoft.com>
7705 * stdlib/strfmon.c: Corrected problems with the code that
7706 sets default values for [np]_sep_by_space and
7707 [np]_sign_posn; also the new positive/negative alignment
7708 code from the previous patch was not quite right for
7711 * localedata/tst-fmon.data: Changes corresponding to the
7712 two sets of fixes made to stdlib/strfmon.c.
7714 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
7716 * malloc/malloc.c: Declare bit flags UL so that they will not
7717 default to int size when being inverted.
7719 2000-03-29 Andreas Jaeger <aj@suse.de>
7721 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
7722 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
7724 2000-03-29 Andreas Jaeger <aj@suse.de>,
7725 Ralf Baechle <ralf@uni-koblenz.de>
7727 * Makeconfig: Introduce new variable SHARED to mark code used in
7729 * elf/dl-close.c: Use it instead of PIC.
7730 * elf/dl-load.c: Likewise.
7731 * elf/dl-open.c: Likewise.
7732 * hurd/geteuids.c: Likewise.
7733 * include/libc-symbols.h: Likewise.
7734 * include/shlib-compat.h: Likewise.
7735 * libio/freopen.c: Likewise.
7736 * linuxthreads/cancel.c: Likewise.
7737 * linuxthreads/pthread.c: Likewise.
7738 * linuxthreads/wrapsyscall.c: Likewise.
7739 * nss/nsswitch.c: Likewise.
7740 * stdio-common/vfprintf.c: Likewise.
7741 * sysdeps/arm/init-first.c: Likewise.
7742 * sysdeps/i386/init-first.c: Likewise
7743 * sysdeps/generic/init-first.c: Likewise.
7744 * sysdeps/generic/libc-start.c: Likewise.
7745 * sysdeps/mips/init-first.c: Likewise.
7746 * sysdeps/powerpc/elf/libc-start.c: Likewise.
7747 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7748 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
7749 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
7750 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7752 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
7754 2000-03-29 Andreas Jaeger <aj@suse.de>
7756 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
7757 Use D_PTR to access relocated entries in l_info.
7758 (elf_machine_rela): Likewise.
7760 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
7762 (elf_machine_rela): Likewise.
7764 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
7766 (__elf_machine_fixup_plt): Likewise.
7767 (__process_machine_rela): Likewise.
7769 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
7770 (elf_machine_rela): Likewise.
7772 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
7773 (elf_machine_rel): Likewise.
7775 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
7776 (elf_machine_fixup_plt): Likewise.
7777 (elf_machine_rela): Likewise.
7779 2000-03-29 Andreas Jaeger <aj@suse.de>
7781 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
7782 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7783 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7784 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
7785 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7786 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
7787 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7788 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
7789 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7790 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
7791 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
7792 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
7793 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
7794 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7795 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7797 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
7798 macros, remove K&R prototypes.
7800 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7802 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
7803 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
7806 2000-03-30 Andreas Jaeger <aj@suse.de>
7808 * misc/sys/cdefs.h: Remove K&R support.
7810 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7812 * iconv/skeleton.c: Avoid compiling unaligned versions in some
7814 * iconv/loop.c: Likewise.
7816 2000-03-29 Bruno Haible <haible@clisp.cons.org>
7818 * iconv/loop.c (put16): Remove __const. Fix access index.
7819 (put32): Remove __const. Use uint32_t instead of uint16_t.
7820 * iconv/skeleton.c: Likewise.
7822 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
7824 * mach/Versions (libc: GLIBC_2.0)
7825 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
7826 __vm_allocate on this.
7827 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
7828 mutex- and spinlock-related symbols on this.
7829 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
7830 New version set. Lock-related symbols go here instead in this case.
7831 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
7832 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
7833 cthread_getspecific, cthread_setspecific, __libc_getspecific.
7835 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
7836 Put them here instead.
7837 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
7838 New version set. Those cthreads symbols go here instead in this case.
7839 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
7841 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7843 * elf/dl-init.c (_dl_init): We don't need to call constructors
7844 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
7846 Implement dynamic determination of constructor/destructor order in
7848 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
7849 (GLIBC_2.2): Add _dl_init.
7850 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
7851 r_duplist is not anymore allocated separately. l_initfini is and
7852 therefore free it if necessary.
7853 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
7854 malloc block. Otherwise allocate l_initfini list only.
7855 Put dependencies for the object in l_initfini list.
7856 Sort dependencies for the object to be loaded topologically.
7857 * elf/dl-fini.c: Before running the destructors sort the topologically.
7858 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
7859 call constructors instead of iterating over the pointers. Get list of
7860 objects for which to run constructors from l_initfini element. Accept
7861 argc, argv, and env as parameters and pass them to the constructors.
7862 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
7863 with size of dynamic section.
7864 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
7865 _dl_init_next and calling constructors ourself.
7866 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
7867 Take argc, argv, and env as parameters and pass them to the
7868 constructors. Rewrite to call all constructors and not iterate over
7870 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
7871 precompute l_initcount and l_preinitcount.
7872 * elf/link.h (struct link_map): Add l_ldnum member.
7873 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
7874 l_initcount, and l_preinitcount. Add l_initfini.
7875 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
7877 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
7879 * sysdeps/unix/sysv/linux/init-first.h: Removed.
7880 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
7881 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
7882 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
7883 conventions now match.
7885 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
7886 effect for shared objects. Don't emit message and call only for
7889 2000-03-29 Ulrich Drepper <drepper@redhat.com>
7891 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
7892 CSA_Z243.4-1985-1..UCS2.
7893 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
7896 2000-03-29 Andreas Jaeger <aj@suse.de>
7898 * include/unistd.h: Remove duplicate entry for __rmdir.
7899 Remove declaration of __mkdir since __mkdir is declared in
7902 * manual/creature.texi (Feature Test Macros): Fix typo, reported
7903 by Michael Deutschmann <michael@talamasca.ocis.net>.
7905 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
7906 * sysdeps/mips/fpu/fegetenv.c: Likewise.
7907 * sysdeps/mips/fpu/fesetenv.c: Likewise.
7908 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
7909 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
7911 2000-03-28 Andreas Jaeger <aj@suse.de>
7913 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
7914 declaration, the prototype is defined via bits/mathcalls.h.
7915 (__sincosf): Likewise.
7916 (__sincosl): Likewise.
7920 (__finite): Likewise.
7921 (__inline_mathcodeNP): New macro without prototype
7923 (__inline_mathcodeNP2): Likewise.
7924 (__inline_mathcodeNP3): Likewise.
7925 (__inline_mathcodeNP_): Likewise.
7926 (__inline_mathcodeNP2_): Likewise.
7927 (__inline_mathcodeNP3_): Likewise.
7928 (__inline_mathopNP): Likewise.
7929 (__inline_mathop_declNP): Likewise.
7930 (__inline_mathop_declNP_): Likewise.
7931 (__inline_mathcode_): Use __inline_mathcodeNP_.
7932 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
7933 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
7934 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
7935 (__expm1l): Don't define prototype, the prototype is defined via
7941 (__atan2l): Likewise.
7946 (__fabsl): Likewise.
7964 (__sqrtl): Likewise.
7974 2000-03-28 Ulrich Drepper <drepper@redhat.com>
7976 * Makerules: If make variable md5 is defined to yes after
7977 generating dependencies generate MD5 sum for the object.
7979 * iconv/gconv_builtin.h: Fix length in transformation definition
7982 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
7984 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
7985 allow as well reading from/writing to unaligned addresses on machines
7986 which don't support this in hardware. Use FCTNAME macro to define
7987 function name. Include the file a second time for platforms which
7988 need special unaligned handling.
7989 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
7990 to access potentially unaligned addresses. These macros are intended
7991 to be used only outside the loops.
7992 (unaligned): New definition. In case the machine can handle unaligned
7993 access define as zero. Otherwise as a variable which is initialized
7994 as nonzero in case the buffer passed in at runtime is unaligned with
7995 respect to the character set encoding involved.
7996 Call aligned or unaligned looop functions according to unaligned
7998 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
7999 of direct casting pointer to potentially handle unaligned memory
8001 * iconvdata/8bit-generic.c: Likewise.
8002 * iconvdata/ansi_x3.110.c: Likewise.
8003 * iconvdata/big5.c: Likewise.
8004 * iconvdata/euc-cn.c: Likewise.
8005 * iconvdata/euc-jp.c: Likewise.
8006 * iconvdata/euc-kr.c: Likewise.
8007 * iconvdata/euc-tw.c: Likewise.
8008 * iconvdata/gbk.c: Likewise.
8009 * iconvdata/iso-2022-cn.c: Likewise.
8010 * iconvdata/iso-2022-jp.c: Likewise.
8011 * iconvdata/iso-2022-kr.c: Likewise.
8012 * iconvdata/iso646.c: Likewise.
8013 * iconvdata/iso_6937-2.c: Likewise.
8014 * iconvdata/iso_6937.c: Likewise.
8015 * iconvdata/johab.c: Likewise.
8016 * iconvdata/sjis.c: Likewise.
8017 * iconvdata/t.61.c: Likewise.
8018 * iconvdata/uhc.c: Likewise.
8019 * iconvdata/unicode.c: Likewise.
8020 * iconvdata/utf-16.c: Likewise.
8022 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
8025 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
8026 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
8028 * malloc/mcheck.h (mcheck_check_all): Declare.
8030 * stdio-common/Makefile (tests): Add tst-obprintf.
8032 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
8034 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
8035 Declare pthread_sigmask.
8037 * csu/version.c: Add 2000 to copyright years.
8038 Remove Emacs local variables section.
8040 2000-03-23 Bruno Haible <haible@clisp.cons.org>
8042 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
8043 __gconv_transform_internal_ucs2little): Remove declarations.
8044 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
8045 __gconv_transform_internal_ucs2): Never need to bswap_16.
8046 (__gconv_transform_ucs2reverse_internal,
8047 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
8049 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8051 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
8052 obsoleting version not being defined at all, in which case the
8053 result is always true.
8055 * Makeconfig (preprocess-versions): New canned sequence for running
8056 cpp on shlib-versions and the like.
8057 (soversions.i): Use it.
8058 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
8059 Versions.def and Versions files.
8061 2000-03-27 Ulrich Drepper <drepper@redhat.com>
8063 * stdio-common/tst-obprintf.c (main): Add another check to see
8064 obstack_printf handling all possible beginnings of the block
8065 inside an obstack chunk.
8067 * locale/programs/localedef.c: Use __malloc_initialize_hook to
8068 install mcheck handler.
8070 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
8073 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8075 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
8077 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
8078 on [HAVE_ELF && DO_VERSIONING].
8080 2000-03-27 Ulrich Drepper <drepper@redhat.com>
8082 * stdio-common/tst-obprintf.c: New file.
8084 2000-03-26 Ulrich Drepper <drepper@redhat.com>
8086 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
8087 _IO_OVERFLOW directly instead through __overflow.
8089 * locale/programs/localedef.c (construct_output_path): If path
8090 contains a / compute the end of the directory name correctly.
8092 * include/features.h: Undef and document __USE_XOPEN2K.
8094 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
8095 whenever a function is called. Initiated by calling mcheck_pedantic
8097 * malloc/mcheck.h: Declare mcheck_pedantic.
8098 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
8099 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
8102 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8104 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
8105 * dlfcn/dlopenold.c: Likewise.
8106 * nss/getXXbyYY_r.c: Likewise.
8107 * nss/getXXent_r.c: Likewise.
8108 * hurd/hurdinit.c: Likewise.
8109 * hurd/compat-20.c: Likewise.
8110 * libio/oldiofopen.c: Likewise.
8111 * libio/oldiofclose.c: Likewise.
8112 * libio/oldiofdopen.c: Likewise.
8113 * libio/oldfileops.c: Likewise.
8114 * libio/oldstdfiles.c: Likewise.
8115 * libio/oldiofsetpos.c: Likewise.
8116 * libio/oldiofgetpos.c: Likewise.
8117 * libio/oldiofgetpos64.c: Likewise.
8118 * libio/oldiofsetpos64.c: Likewise.
8119 * libio/oldiopopen.c: Likewise.
8120 * libio/oldpclose.c: Likewise.
8121 * libio/oldtmpfile.c: Likewise.
8122 * libio/freopen.c (freopen): Likewise.
8123 * libio/iofclose.c (_IO_new_fclose): Likewise.
8125 * sysdeps/mach/sys/reboot.h: Include <features.h>.
8126 (reboot): Declare it.
8128 * libio/Makefile (headers): Add bits/stdio-lock.h here.
8130 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
8132 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
8134 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
8135 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
8136 We need this for the sbrk decl, which can be included without Unix98.
8138 2000-03-20 Richard Henderson <rth@cygnus.com>
8140 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
8141 argument to yperr2nss is an int, not size_t.
8142 * posix/regex.c (print_partial_compiled_pattern): Cast all
8143 ptrdiff_t to long for printing.
8144 (print_compiled_pattern): Use Z for printing size_t.
8145 * posix/testfnm.c (tests): Avoid trigraphs.
8146 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8147 Use a C comment, not an assembly comment.
8149 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
8150 of __ASSUME_32BITUIDS.
8152 2000-03-26 Ulrich Drepper <drepper@redhat.com>
8154 * libio/iofopncook.c: Remove K&R prototypes.
8156 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8158 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
8159 an initial value of 1024 instead of RLIM_INFINITY.
8161 * Versions.def (libmachuser, libhurduser): Remove these sections,
8162 since these libraries do not presently use symbol versions.
8164 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
8165 is RLIM_INFINITY, return -1 instead.
8167 2000-03-24 Andreas Jaeger <aj@suse.de>
8169 * Makefile (postclean): Added soversions.i.
8171 2000-03-24 Scott Bambrough <scottb@netwinder.org>
8173 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
8174 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
8175 and _FPU_IEEE. Change _FPU_RESERVED.
8177 2000-03-24 Scott Bambrough <scottb@netwinder.org>
8179 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
8181 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
8183 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
8184 (gaih_inet): Remove unused duplicate variable.
8186 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
8187 Don't use __libc_sa_len, which only exists for Linux. Just handle
8188 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
8189 only flavors supported by this function anyway.
8191 2000-03-24 Geoff Clare <gwc@unisoft.com>
8193 * stdlib/strfmon.c: Corrected problems with missing signs and
8194 missing or extra spaces; allow for sign strings longer than
8195 one character; add padding to ensure positive and negative
8196 formats are aligned when a left precision is used.
8198 2000-03-26 Ulrich Drepper <drepper@redhat.com>
8200 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
8201 Patch by John Mizel <John.Mizel@msdw.com>.
8203 2000-03-25 Ulrich Drepper <drepper@redhat.com>
8205 * manual/install.texi: Remove references to crypt add-on.
8207 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
8209 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
8210 section while taking the _hurd_rlimit_lock.
8211 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8213 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
8215 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
8218 * sysdeps/mach/hurd/if_index.c: New file.
8220 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
8221 * sysdeps/gnu/net/if.h: here.
8222 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
8223 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
8224 * sysdeps/generic/net/if.h: New file. Declares just the standard
8225 functions and `struct if_nameindex' type.
8226 * socket/Makefile (headers): Add net/if.h here.
8227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
8228 * sysdeps/mach/hurd/Dist: Remove it here.
8229 * sysdeps/unix/sysv/linux/Dist: And here.
8230 * sysdeps/generic/if_index.c: Include <net/if.h>.
8232 2000-03-24 Andreas Jaeger <aj@suse.de>
8234 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
8235 access relocated entries in l_info.
8236 (elf_machine_got_rel): Likewise.
8237 (elf_machine_runtime_setup): Likewise.
8238 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
8239 (elf_machine_runtime_setup): Likewise.
8240 (__dl_runtime_resolve): Likewise.
8242 2000-03-23 Ulrich Drepper <drepper@redhat.com>
8244 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
8245 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
8246 according to RFC 2553.
8247 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
8248 * inet/getnameinfo.c: Likewise.
8249 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
8251 2000-03-23 Bruno Haible <haible@clisp.cons.org>
8253 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
8254 Remove no-op pointer increment.
8256 2000-03-23 Andreas Jaeger <aj@suse.de>
8258 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
8259 follow change for libio.h from 2000-03-10.
8261 2000-03-23 Andreas Jaeger <aj@suse.de>
8263 * elf/dl-addr.c: Adjust include paths for ldsodefs location
8265 * elf/dl-debug.c: Likewise.
8266 * elf/dl-deps.c: Likewise.
8267 * elf/dl-error.c: Likewise.
8268 * elf/dl-fini.c: Likewise.
8269 * elf/dl-init.c: Likewise.
8270 * elf/dl-load.c: Likewise.
8271 * elf/dl-lookup.c: Likewise.
8272 * elf/dl-minimal.c: Likewise.
8273 * elf/dl-object.c: Likewise.
8274 * elf/dl-open.c: Likewise.
8275 * elf/dl-preinit.c: Likewise.
8276 * elf/dl-profile.c: Likewise.
8277 * elf/dl-profstub.c: Likewise.
8278 * elf/dl-reloc.c: Likewise.
8279 * elf/dl-runtime.c: Likewise.
8280 * elf/dl-support.c: Likewise.
8281 * elf/dl-symbol.c: Likewise.
8282 * elf/dl-version.c: Likewise.
8283 * elf/rtld.c: Likewise.
8284 * elf/sprof.c: Likewise.
8285 * sysdeps/generic/dl-cache.c: Likewise.
8286 * sysdeps/generic/dl-origin.c: Likewise.
8287 * sysdeps/generic/dl-sysdep.c: Likewise.
8288 * sysdeps/generic/elf/backtracesyms.c: Likewise.
8289 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8290 * sysdeps/generic/libc-start.c: Likewise.
8291 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8292 * sysdeps/powerpc/dl-machine.c: Likewise.
8293 * sysdeps/powerpc/elf/libc-start.c: Likewise.
8294 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8295 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8296 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
8298 * elf/ldsodefs.h: Move file to ...
8299 * sysdeps/generic/ldsodefs.h: ... here.
8301 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
8303 * sysdeps/mips/elf/ldsodefs.h: New file.
8305 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
8307 (_dl_check_map_versions): Likewise.
8308 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8309 * elf/dl-load.c (_dl_init_paths): Likewise.
8310 (_dl_map_object): Likewise.
8311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
8312 (elf_get_dynamic_info): Likewise.
8313 * elf/do-lookup.h (FCT): Likewise.
8314 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
8315 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8316 * elf/dl-addr.c (_dl_addr): Likewise.
8317 * elf/dl-runtime.c (profile_fixup): Likewise.
8319 * elf/dl-init.c (_dl_init_next): Likewise.
8320 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
8321 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
8322 (DISTINGUISH_LIB_VERSIONS): Likewise.
8323 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
8324 (elf_machine_rel): Likewise.
8326 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
8327 for writable dynamic section.
8329 2000-03-22 Ulrich Drepper <drepper@redhat.com>
8331 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
8332 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
8334 2000-03-22 Andreas Jaeger <aj@suse.de>
8336 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
8337 from latest Linux kernel.
8339 2000-03-21 Andreas Jaeger <aj@suse.de>
8341 * Versions.def: Add version 2.1.4.
8343 2000-03-21 Ulrich Drepper <drepper@redhat.com>
8345 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
8346 * libio/oldiofopen.c: Likewise.
8347 * libio/oldiofclose.c: Likewise.
8348 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
8350 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
8352 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
8353 indicating the first version set to obsolete the conditionalized code.
8354 (compat_symbol): New macro.
8355 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
8356 rhs be the ABI_* macro for the subsuming version. Assign increasing
8357 integer values to the ABI_* macros for supported versions.
8358 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
8359 compat_symbol macro.
8361 2000-03-21 Ulrich Drepper <drepper@redhat.com>
8363 * nscd/connections.c (nscd_run): Pretty print.
8364 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
8366 * manual/charset.texi: Fix typos. Rephrase.
8367 * manual/process.texi: Likewise.
8368 * manual/signal.texi: Likewise.
8369 Patches by Mike Coleman <mkc@kc.net>.
8371 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
8373 * libio/iofdopen.c: Likewise.
8374 * libio/iofgetpos.c: Likewise.
8375 * libio/iofgetpos64.c: Likewise.
8376 * libio/iofopen.c: Likewise.
8377 * libio/iofsetpos.c: Likewise.
8378 * libio/iofsetpos64.c: Likewise.
8379 * libio/iopopen.c: Likewise.
8380 * libio/oldiofopen.c: Likewise.
8381 * libio/pclose.c: Likewise.
8382 * sysdeps/gnu/siglist.c: Likewise.
8383 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
8385 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
8386 chance to expand VERSION_##lib##_##version.
8388 * libio/fileops.c: Use new macros from shlib-compat.h to define
8390 * libio/iofclose.c: Likewise.
8391 * libio/oldiofclose.c: Likewise.
8392 Patch by Roland McGrath <roland@frob.com>.
8394 2000-03-21 Jakub Jelinek <jakub@redhat.com>
8396 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
8397 Lay out struct sigcontext according to what really gets passed on
8399 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
8400 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
8401 (prgregset_t, prfpregset_t): Define to elf_* types.
8402 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
8403 Define to correct value.
8404 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
8406 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
8408 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
8410 * scripts/firstversions.awk: Allow multiple version sets in the
8411 "earliest version" specification, meaning that version sets in the
8412 gaps between listed versions should be folded into the earliest later
8413 version that is explicitly listed.
8414 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
8415 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
8417 2000-03-21 Ulrich Drepper <drepper@redhat.com>
8419 * iconv/gconv_builtin.c: Include <endian.h>.
8420 * iconv/gconv_builtin.h: Add UCS-BE aliases.
8421 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
8422 according to current platform.
8423 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
8424 __gconv_transform_internal_ucs2reverse, and
8425 __gconv_transform_internal_ucs4le.
8426 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
8427 __gconv_transform_ucs2reverse_internal and
8428 __gconv_transform_internal_ucs2reverse.
8429 * iconvdata/Makefile (modules): Add UNICODE.
8430 (distribute): Add unicode.c.
8431 * iconvdata/gconv-modules: Add definitions for UNICODE module.
8432 * iconvdata/unicode.c: New file.
8434 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
8435 determine byte order of input and convert accordingly.
8437 * iconvdata/utf-16.c (gconv_init): Fix typo.
8439 2000-03-20 Ulrich Drepper <drepper@redhat.com>
8441 * iconvdata/gconv-modules: Fix typo.
8443 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
8446 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
8448 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
8450 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
8452 2000-03-20 Ulrich Drepper <drepper@redhat.com>
8454 * misc/Makefile (routines): Add mincore.
8456 2000-03-20 Andreas Jaeger <aj@suse.de>
8458 * sysdeps/generic/mincore.c: New stub file.
8460 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
8461 from latest Linux kernel.
8463 2000-03-20 Ulrich Drepper <drepper@redhat.com>
8465 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
8466 _SC_GETPW_R_SIZE_MAX.
8468 2000-03-20 Richard Henderson <rth@cygnus.com>
8470 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
8473 2000-03-20 Richard Henderson <rth@cygnus.com>
8475 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
8476 of arithmetic instructions.
8478 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
8479 with the fpcr. Protect from INV exception.
8480 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
8481 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
8482 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
8484 * sysdeps/alpha/fpu/s_copysign.c: New.
8485 * sysdeps/alpha/fpu/s_copysignf.c: New.
8486 * sysdeps/alpha/fpu/s_fabs.c: New.
8487 * sysdeps/alpha/fpu/s_fabsf.c: New.
8488 * sysdeps/alpha/fpu/s_rint.c: New.
8489 * sysdeps/alpha/fpu/s_rintf.c: New.
8491 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
8493 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
8495 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
8496 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
8497 Use physical addresses not KSEG addresses.
8498 (io_system): Add PYXIS.
8499 (io): Remove hae.reg, sys, hae_shift.
8500 (stb_mb, stw_mb, stl_mb, __sethae): New.
8501 (inline_outb, inline_outw, inline_outl): Don't set hae.
8502 (inline_inb, inline_inw, inline_inl): Likewise.
8503 (dense_sethae): New null function.
8504 (struct cpuinfo_data): New.
8505 (process_cpuinfo): Use local and stack variables, not static.
8506 Move readlink check here from init_iosys.
8507 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
8509 (_hae_shift): Calculate it here.
8510 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
8511 add pciconfig_iobase.
8513 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
8515 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
8516 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
8518 * scripts/versions.awk: Fixed version renaming code to distinguish
8521 2000-03-19 Ulrich Drepper <drepper@redhat.com>
8523 * include/stdlib.h: Add prototype for __cxa_atexit.
8525 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
8526 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
8528 2000-03-17 Cristian Gafton <gafton@redhat.com>
8530 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
8531 existing rtld-installed-name.
8532 ($(rtld-installed-name)): Request libc-$(version) be installed too.
8533 replace existing rtld-installed-name using $(symbolic-link-prog).
8535 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
8537 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
8538 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
8539 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
8542 2000-03-19 Ulrich Drepper <drepper@redhat.com>
8544 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
8545 glob64. Since there is no glob64 in the LFS proposal applications
8546 can assume that glob handles LFS situations. glob64 is only needed
8547 if alternative filesystem functions are used.
8549 2000-03-19 Geoff Clare <gwc@unisoft.com>
8551 * sysdeps/generic/glob.c: Correct gl_pathc value returned
8552 when GLOB_DOOFFS is set; correct handling of patterns
8553 containing escaped wildcards (and no unescaped ones);
8554 GLOB_ERR flag was being ignored in some situations.
8556 * posix/globtest.c, posix/globtest.sh: Updated to include
8557 tests for the problems fixed by the above changes to glob.c.
8559 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
8561 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
8563 * Makeconfig (soversion.i): Use only first match for each lib.
8565 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
8567 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
8568 rather than $(sysd-dirs-done) to protect these rules.
8570 * Makerules (version-renames.def): Target removed.
8571 (Versions.all): Depend on soversions.i directly and parse it.
8573 * Makeconfig (soversions.i): New target, input-reading parts of
8574 soversions.mk generation moved here; result is a canonicalized
8575 list "LIB VERSION [SET]" for this configuration.
8576 (soversions.mk): Use that as input. Don't emit map-firstversions.
8577 * Makerules (version-renames.def): New target, generated from
8578 soversions.i with contents that was in $(map-firstversions).
8579 (Versions.all): Don't depend on soversions.mk, depend on
8580 version-renames.def instead; just cat it into the input.
8582 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
8583 for $(map-firstversions), which better handles it being empty.
8585 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
8586 supported version for libc 0.2.90.libio to GLIBC_2.2.
8588 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
8589 and use it to emit new variable `map-firstversions'.
8590 * scripts/firstversions.awk: New file.
8591 * Makerules (Versions.all): Use scripts/firstversions.awk and
8592 the $(map-firstversions) value to generate a modified versions list
8593 that includes renames in "A = B" syntax for each version set earlier
8594 than the "earliest symbol version" named in shlib-versions.
8595 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
8596 rename version set A to B in the output to the intermediate file.
8597 * scripts/abi-versions.awk: New file.
8598 * Makerules (abi-versions.h): New target, generated by that script.
8599 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
8600 * include/shlib-compat.h: New file, uses that generated header.
8602 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
8604 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
8605 after stripping # comments, and then run it through cpp.
8606 This allows things like "%ifdef FOO" based on config.h settings.
8607 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
8609 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
8610 and other errors that indicate a pseudo-receive happened, grok through
8611 the message buffer for port rights that need references fixed up.
8613 2000-03-16 Andreas Jaeger <aj@suse.de>
8615 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
8617 * sysdeps/unix/sysv/linux/madvise.c: Remove.
8619 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
8620 from latest Linux kernel.
8621 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
8623 * misc/sys/mman.h: Add prototype for mincore.
8625 2000-03-17 Ulrich Drepper <drepper@redhat.com>
8627 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
8628 entry for GLIBC_2.0 version of setrlimit.
8629 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8631 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
8633 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
8634 * nis/nss_compat/compat-initgroups.c: Likewise.
8635 * nis/nss_nis/nis-initgroups.c: Likewise.
8636 * nis/nss_nis/nis-netgrp.c: Likewise.
8637 * nis/nss_nis/nis-proto.c: Likewise.
8638 * nis/nss_nis/nis-rpc.c: Likewise.
8639 * nis/nss_nis/nis-service.c: Likewise.
8640 * nis/ypclnt.c: Likewise.
8642 2000-03-16 Andreas Jaeger <aj@suse.de>
8644 * manual/Makefile: MAKEINFO is set to `:' from configure if it
8645 doesn't exist, correct checks. Fixes PR libc/1649.
8647 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
8649 * nscd/hstcache.c: Restore correct UID.
8650 * nscd/pwdcache.c: Likewise.
8651 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
8653 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
8655 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
8656 macros for register names, in line with 2000-03-14 linux change.
8658 * sysdeps/mach/sched_yield.c: New file.
8660 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
8662 * sysdeps/generic/lockfile.c: Include <stdio.h>
8663 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
8664 case <libio.h> defined them.
8665 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
8667 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
8668 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
8670 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
8671 for more pleasing parse error.
8673 2000-03-16 Ulrich Drepper <drepper@redhat.com>
8675 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
8677 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8679 * elf/Makefile: Add rules to compile and run constload1 test.
8680 * elf/constload1.c: New file.
8681 * elf/constload2.c: New file.
8682 * elf/constload3.c: New file.
8684 2000-03-15 Ulrich Drepper <drepper@redhat.com>
8686 * sysdeps/posix/open64.c: Make __open64 weak alias.
8687 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
8688 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8689 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
8690 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8691 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
8692 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
8693 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8694 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8695 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8696 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
8698 2000-03-14 Ulrich Drepper <drepper@redhat.com>
8700 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
8701 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
8703 2000-03-16 Mark Kettenis <kettenis@gnu.org>
8705 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
8706 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
8708 2000-03-08 Andreas Jaeger <aj@suse.de>
8710 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
8712 2000-03-14 Ulrich Drepper <drepper@redhat.com>
8714 * timezone/africa: Update from tzdata2000d.
8715 * timezone/asia: Likewise.
8716 * timezone/australasia: Likewise.
8717 * timezone/europe: Likewise.
8718 * timezone/northamerica: Likewise.
8719 * timezone/southamerica: Likewise.
8721 * po/fr.po: Update from translation team.
8722 * po/de.po: Likewise.
8724 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
8725 last parameter. Move code to add map to global scope from here...
8726 * elf/dl-open.c (dl_open_worker): ...here.
8727 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
8728 * elf/rtld.c: Adjust call to _dl_map_object_deps.
8730 * locale/programs/ld-collate.c (collate_read): Fix warning.
8732 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
8733 values and macros for register names.
8735 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
8736 returned by seek cookie function is -1.
8738 2000-03-14 Andreas Jaeger <aj@suse.de>
8740 * locale/localeconv.c (localeconv): Fix typo.
8741 Reported by Andre Charbonneau <andrec@corel.com>.
8743 2000-03-14 Ulrich Drepper <drepper@redhat.com>
8745 * iconv/skeleton.c: Increment __invocation_counter in inner loop
8746 since modules depend on it counting the number of times the conversion
8747 function got called.
8749 * iconv/gconv_open.c: Optimize loop to setup step data structure.
8751 * iconv/gconv.h: Pretty print.
8753 2000-03-04 Ulrich Drepper <drepper@redhat.com>
8755 * posix/wordexp-test.c: Correct one of the tests added in the last
8756 change. Really get the root passwd entry to check again ~root.
8758 2000-03-10 Andreas Jaeger <aj@suse.de>
8760 * manual/filesys.texi (Working Directory): Fix last patch.
8761 Patch by Martin Buchholz <martin@xemacs.org>.
8763 2000-03-10 Andreas Jaeger <aj@suse.de>
8765 * manual/creature.texi (Feature Test Macros): Fix language.
8767 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
8769 * mach/devstream.c (devstream_write, devstream_read): New functions.
8770 (input, output): Functions removed.
8771 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
8772 using only the vanilla fopencookie interface.
8774 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
8775 as macro for __io_functions.
8776 (funcsio): Use cookie_io_functions_t type name.
8777 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
8779 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
8781 (fopencookie): Use it.
8782 * libio/libio.h: Declare _IO_cookie_init.
8783 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
8786 * libio/libio.h (__io_seek_fn): Fix second argument type
8787 to be a pointer, in line with the manual and the old stdio.
8788 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
8790 * sysdeps/generic/bits/stdio-lock.h: New file.
8791 This is a stub with #error, but that's better than no file at all.
8793 2000-03-09 Martin Buchholz <martin@xemacs.org>
8795 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
8796 * manual/message.texi (Using gettextized software): Doc Fixes.
8797 * manual/message.texi (Message Translation): Doc Fixes.
8798 * manual/filesys.texi (File Size): Doc Fixes.
8799 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
8800 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
8801 * iconv/gconv_db.c (find_derivation): Doc Fixes.
8802 * manual/install.texi: Doc Fixes.
8803 * manual/search.texi (Hash Search Function): Doc Fixes.
8804 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
8805 * FAQ.in: Doc Fixes.
8806 * config.h.in: Doc Fixes.
8807 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
8808 Doc Fixes. `allows to' is not correct English.
8810 * elf/rtld.c: Doc fixes.
8811 * manual/creature.texi (Feature Test Macros): Doc fixes.
8812 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
8814 * manual/filesys.texi (Working Directory): Check for ERANGE to
8817 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
8819 * string/argz-stringify.c (__argz_stringify): Fix loop termination
8820 conditions so as not to clobber the final '\0' when there is only one
8821 element in the vector.
8823 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
8825 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
8826 broken by 2000-02-27 change.
8828 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
8830 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
8832 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
8833 argument type, for 2000-02-22 change in signal/signal.h declaration.
8835 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
8837 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
8838 to getdirentries64 (no __), since the Linux implementation
8839 has no __ name, and there is no declaration for the __ name.
8841 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
8843 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
8844 sed regexp so as not to break directory names including /../ within.
8846 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
8847 The sysdeps/generic file is right for BSD. This file was in fact the
8848 Hurd file, but the only difference was the WNOREAP flag that was never
8849 actually implemented or used anywhere.
8851 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
8852 since AC_PATH_PROG already does it for us.
8853 (PERL): Rewrite check added in 2000-02-29 change for syntactic
8854 correctness and sh portability. I replaced the broken check
8855 with a more sensible implementation of the apparently intended
8856 semantics, which might still be questionable. Using expr causes
8857 a non-numeric value for `perl -V:apiversion` to be accepted,
8858 refusing to use only a perl that reports a number less than 5;
8859 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
8860 * configure: Regenerated.
8862 2000-03-08 Andreas Jaeger <aj@suse.de>
8864 * manual/crypt.texi: Fix paths.
8866 2000-03-07 Andreas Jaeger <aj@suse.de>
8868 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
8870 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
8873 2000-03-06 Andreas Jaeger <aj@suse.de>
8875 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
8876 in __sgn1l, otherwise g++ fails to parse this.
8877 Reported by Sean Chen <sean.chen@turbolinux.com>.
8879 2000-03-03 Geoff Keating <geoffk@cygnus.com>
8881 * configure.in: Compute sizeof-long-double.
8882 * configure: Regenerated.
8883 * config.make.in: Make sizeof-long-double available to sub-makes.
8885 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
8887 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8890 2000-03-03 Geoff Keating <geoffk@cygnus.com>
8892 * Makeconfig (rpath-dirs): Add crypt.
8893 (all-subdirs): Remove md5crypt.
8894 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
8895 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
8896 * sysdeps/generic/crypt-entry.c: Delete.
8897 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
8898 * sysdeps/generic/crypt.h: Delete.
8899 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
8900 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
8901 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
8902 * sysdeps/generic/des_impl.c: Delete.
8903 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
8904 * crypt/sysdeps: Delete.
8905 * crypt/crypt_util.c: Don't use `patchlevel.h'.
8906 * md5-crypt/Versions: Move to crypt/.
8907 * md5-crypt/md5-crypt.c: Move to crypt/.
8908 * md5-crypt/md5.c: Move to crypt/.
8909 * md5-crypt/md5c-test.c: Move to crypt/.
8910 * md5-crypt/md5test.c: Move to crypt/.
8911 * md5-crypt: Delete.
8912 * crypt/Makefile: Adjust for new structure.
8914 2000-03-03 Paul Eggert <eggert@twinsun.com>
8916 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
8917 define to 1 if not defined.
8919 2000-03-03 Andreas Jaeger <aj@suse.de>
8921 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
8923 2000-03-03 Andreas Jaeger <aj@suse.de>
8925 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
8927 (xdr_int64_t): Correctly handle lower half.
8928 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
8930 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
8932 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8935 2000-03-02 Andreas Jaeger <aj@suse.de>
8937 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
8940 2000-03-02 Andreas Jaeger <aj@suse.de>
8942 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
8944 2000-03-01 Andreas Jaeger <aj@suse.de>
8946 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
8947 (tests): Added tst-getdate.
8949 * time/tst-getdate.c: New file.
8951 * time/datemsk: New file, needed for tst-getdate.
8953 2000-02-29 Cristian Gafton <gafton@redhat.com>
8955 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
8957 2000-02-17 H.J. Lu <hjl@gnu.org>
8959 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
8961 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
8963 (svcudp_recv): Set up message with the new "xp_pad" field for
8965 (svcudp_reply): Support IP_PKTINFO if available.
8967 2000-03-01 Andreas Jaeger <aj@suse.de>
8969 * time/getdate.c (check_mday): Fix check for february.
8970 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
8971 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
8973 2000-03-02 Andreas Jaeger <aj@suse.de>
8975 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
8976 g++ fails to parse this.
8977 Reported by Sean Chen <sean.chen@turbolinux.com>.
8979 2000-02-28 Ulrich Drepper <drepper@redhat.com>
8981 * io/creat.c: Moved to...
8982 * sysdeps/generic/creat.c: ...here.
8983 * io/creat64.c: Moved to...
8984 * sysdeps/generic/creat64.c: ...here.
8985 * io/lockf.c: Moved to...
8986 * sysdeps/generic/lockf.c: ...here.
8988 * crypt/crypt.texi: Moved to...
8989 * manual/crypt.texi: ...here.
8990 * crypt/examples/genpass.c: Moved to...
8991 * manual/examples/genpass.c: ...here.
8992 * crypt/examples/mygenpass.c: Moved to...
8993 * manual/examples/mygenpass.c: ...here.
8994 * crypt/examples/testpass.c: Moved to...
8995 * manual/examples/testpass.c: ...here.
8997 * manual/Makefile (chapters): Add crypt.
8998 * manual/conf.texi: Add usual header for not-last chapter.
8999 * manual/crypt.texi: Add special header for last chapter.
9001 2000-02-28 Geoff Keating <geoffk@cygnus.com>
9003 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
9004 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
9005 complain if there is no crypt add-on.
9006 * crypt/configure: Removed.
9008 * crypt/crypt.texi: Update documentation of US export restrictions
9009 to match the 14 Jan 2000 regulations.
9011 2000-02-28 Geoff Keating <geoffk@cygnus.com>
9013 * crypt: New subdirectory, merged in from the crypt add-on.
9015 2000-02-28 Ulrich Drepper <drepper@redhat.com>
9017 * include/unistd.h: Add __rmdir and __mkdir prototypes.
9020 See ChangeLog.10 for earlier changes.