1 2000-08-19 Andreas Jaeger <aj@suse.de>
3 * malloc/mtrace.pl (usage): Inform about --help.
5 2000-08-19 Wolfram Gloger <wg@malloc.de>
7 * malloc/malloc.c (new_heap): try harder to get an aligned chunk of
10 2000-08-19 Andreas Jaeger <aj@suse.de>
12 * shlib-versions: Remove libnss_db, libdb and libdb1.
14 2000-08-19 Jakub Jelinek <jakub@redhat.com>
16 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
17 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
18 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
19 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
20 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
21 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
22 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
23 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
24 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
25 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
27 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
28 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
30 2000-08-18 Jakub Jelinek <jakub@redhat.com>
32 * include/glob.h (__glob64): Add prototype.
33 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
34 define glob and glob_in_dir.
35 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
36 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
37 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
38 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
39 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
40 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
41 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
42 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
44 2000-08-18 Jakub Jelinek <jakub@redhat.com>
46 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
48 2000-08-17 Andreas Jaeger <aj@suse.de>
50 * math/test-fenv.c (fe_single_test): New function.
51 (fe_env_tests): Use fe_single_test.
52 (feenable_test): New tests for feenable/fedisable and
54 (feexcp_mask_test): New function.
55 (feexcp_nomask_test): New function.
57 2000-08-19 Richard Henderson <rth@cygnus.com>
59 * sysdeps/alpha/fpu/fenv_libc.h: New file.
60 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
61 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
62 * sysdeps/alpha/fpu/fesetround.c: Likewise.
63 * sysdeps/alpha/fpu/fegetround.c: Likewise.
64 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
65 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
66 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
67 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
68 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
69 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
70 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
71 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
72 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
73 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
74 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
75 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
77 2000-08-19 Andreas Jaeger <aj@suse.de>
79 * elf/constload1.c: Include <stdio.h> for puts prototype.
81 2000-08-19 Ulrich Drepper <drepper@redhat.com>
83 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
84 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
85 a dynamically loaded object remove old l_initfini list.
86 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
87 remove some dynamically allocated memory blocks in the dynamic
88 loading data structures.
89 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
90 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
91 Instead call _dl_check_map_versions only for the dependencies.
92 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
93 information of initial objects as not free-able.
94 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
97 * elf/filter.c: Call mtrace.
98 * elf/restest1.c: Likewise. Close the objects.
99 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
102 * elf/constload1.c: Add comment explaining not freed memory.
104 2000-08-18 Andreas Jaeger <aj@suse.de>
106 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
107 alignment for structs stat and stat64.
108 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
110 2000-08-17 Ulrich Drepper <drepper@redhat.com>
112 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
113 handling. Patch by Richard Henderson <rth@twiddle.net>.
115 * nss/Versions: Remove libnss_db information.
117 2000-08-16 Jakub Jelinek <jakub@redhat.com>
119 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
120 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
121 * sysdeps/sparc/fpu/fegetexcept.c: New file.
122 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
124 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
127 2000-08-17 Ulrich Drepper <drepper@redhat.com>
129 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
130 (_FPU_SETCW): Likewise.
131 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
133 * stdio-common/printf_fp.c: Fix chars_needed computation.
134 Patch by Greg McGary <greg@mcgary.org>.
136 2000-08-17 Jakub Jelinek <jakub@redhat.com>
138 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
141 2000-08-17 Jakub Jelinek <jakub@redhat.com>
143 * manual/arith.texi (feholdexcept): Returns 0 on success.
145 2000-08-17 Andreas Jaeger <aj@suse.de>
147 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
149 Reported by Andi Kleen <ak@suse.de>.
151 2000-08-17 Jakub Jelinek <jakub@redhat.com>
153 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
154 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
155 * sysdeps/alpha/fpu/fegetexcept.c: New file.
157 2000-08-16 Jakub Jelinek <jakub@redhat.com>
159 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
160 of buf->st_ino and kbuf->st_ino, not __st_ino.
161 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
162 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
163 directive so that only linux/getdents.c is used, not some
164 architecture specific one.
166 2000-08-16 Jakub Jelinek <jakub@redhat.com>
168 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
169 enabled, not disabled exceptions.
170 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
171 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
173 2000-08-17 Greg McGary <greg@mcgary.org>
175 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
176 from test program name when constructing suffix for $(LDLIBS-*).
177 (bounded-thread-library): New variable.
179 [build-shared, build-static] (libcrypt-dep): Remove variable.
180 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
181 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
182 * linuxthreads/Makefile (libpthread, librt): Remove variables.
183 (librt-tests): Add variable. (tests): Use it.
184 [build-shared, build-static]
185 ($(addprefix $(objpfx),$(tests)),
186 $(addprefix $(objpfx),$(librt-tests))):
187 Consolidate individual dependencies.
189 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
191 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
192 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
194 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
196 [build-shared, build-static]
197 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
198 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
200 2000-08-17 Greg McGary <greg@mcgary.org>
202 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
203 * sysdeps/unix/make-syscalls.sh: Likewise.
204 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
205 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
206 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
207 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
208 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
210 2000-08-17 Greg McGary <greg@mcgary.org>
212 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
213 Wrap extern symbols in BP_SYM ().
214 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
215 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
216 * sysdeps/i386/fpu/s_remquo.S: Likewise.
217 * sysdeps/i386/fpu/s_remquof.S: Likewise.
218 * sysdeps/i386/fpu/s_remquol.S: Likewise.
219 * sysdeps/i386/fpu/s_sincos.S: Likewise.
220 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
221 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
222 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
223 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
225 2000-08-16 Andreas Schwab <schwab@suse.de>
227 * sysdeps/m68k/fpu/fegetexcept.c: New file.
228 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
229 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
231 2000-08-15 Ulrich Drepper <drepper@redhat.com>
233 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
234 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
235 * elf/dl-support.c: Define _nl_nloaded.
236 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
237 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
238 object to global list.
239 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
240 from _dl_loaded list.
241 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
242 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
245 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
247 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
249 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
251 2000-08-16 Andreas Jaeger <aj@suse.de>
253 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
255 2000-08-15 Marko Myllynen <myllynen@lut.fi>
257 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
259 2000-08-15 Ulrich Drepper <drepper@redhat.com>
261 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
262 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
263 (sysdep_routines): Add oldgetrlimit64.
264 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
265 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
267 * include/link.h: Undo last patches. Hurd now has stat64.
268 * elf/Makefile: Likewise.
269 * elf/dl-load.c: Likewise.
270 * elf/dl-misc.c: Likewise.
271 * elf/dl-profile.c: Likewise.
272 * sysdeps/generic/sysd-link.h: Removed.
273 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
275 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
276 thread event callback function.
277 (__aio_notify_only): Use function above.
278 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
280 2000-08-16 Mark Kettenis <kettenis@gnu.org>
282 * sysdeps/mach/hurd/lseek64.c: New file.
284 2000-08-15 Mark Kettenis <kettenis@gnu.org>
286 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
288 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
290 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
292 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
294 2000-08-15 Mark Kettenis <kettenis@gnu.org>
296 * sysdeps/mach/hurd/xstatconv.c: New file.
297 * sysdeps/mach/hurd/fxstat64.c: New file.
298 * sysdeps/mach/hurd/lxstat64.c: New file.
299 * sysdeps/mach/hurd/xstat64.c: New file.
300 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
302 2000-08-15 Mark Kettenis <kettenis@gnu.org>
304 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
305 Initialize, needed for change in common symbol handling in newer
306 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
308 2000-08-15 Ulrich Drepper <drepper@redhat.com>
310 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
311 * elf/constload2.c: Add destructor to unload constload3.
313 * include/link.h: Include sysd-link.h.
314 * sysdeps/generic/sysd-link.h: New file.
315 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
316 * elf/Makefile (distribute): Add sysd-link.h.
317 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
318 types and functions directly.
319 * elf/dl-misc.c: Likewise.
320 * elf/dl-profile.c: Likewise.
322 * elf/loadfail.c (main): Close all successfully loaded objects.
324 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
326 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
327 there is already one.
329 * elf/dl-close.c: Pretty print.
331 2000-08-14 Ulrich Drepper <drepper@redhat.com>
333 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
334 global (with file scope). Add __libc_subfreeres function to free the
336 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
339 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
341 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
343 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
344 mapping them to /x5c and /x7e respectively.
346 * locale/programs/ld-ctype.c: Add support for more definitions after
349 2000-08-14 Jakub Jelinek <jakub@redhat.com>
351 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
352 * sysdeps/unix/sysv/linux/kernel-features.h
353 (__ASSUME_GETDENTS64_SYSCALL): Define.
354 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
355 syscall if available to get d_type fields.
356 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
357 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
358 __lxstat64): Export at GLIBC_2.2.
359 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
361 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
362 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
363 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
364 getdirentries64, versionsort64): Remove.
365 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
366 getdirentries64, versionsort64): Remove.
368 2000-08-13 Ulrich Drepper <drepper@redhat.com>
370 * posix/Makefile: Remove rules to generate glob package.
372 * posix/Makefile (tests): Add tst-regexloc.
373 (tst-regexloc-ENV): Add LOCPATH.
374 * posix/tst-regexloc.c: New file.
376 2000-08-12 Andreas Jaeger <aj@suse.de>
378 * include/features.h (__STDC_ISO_10646__): Define.
379 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
381 2000-08-13 Ulrich Drepper <drepper@redhat.com>
383 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
385 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
386 for revision 6 and up).
388 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
390 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
391 to get definitions of just these types.
393 * signal/signal.h: Define thread signal handling functions also for
396 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
398 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
399 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
400 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
401 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
403 * sysvipc/sys/shm.h: Define pid_t for XPG.
405 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
406 they are not anymore required here.
408 * wcsmbs/wchar.h: Make the various wide char string and stream
409 functions available for the respective XPG versions.
411 * nss/Makefile: Remove rules to build and distribute nss_db.
413 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
414 * sysdeps/generic/scandir64.c: Likewise.
415 * sysdeps/generic/versionsort64.c: Likewise.
417 2000-08-13 Ulrich Drepper <drepper@redhat.com>
418 Benjamin Koznik <bkoz@redhat.com>
420 * libio/fileops.c: Merge with libstdc++-v3.
421 * libio/genops.c: Likewise.
422 * libio/iofclose.c: Likewise.
423 * libio/iofopen.c: Likewise.
424 * libio/iofwide.c: Likewise.
425 * libio/libio.h: Likewise.
426 * libio/libioP.h: Likewise.
427 * libio/stdfiles.c: Likewise.
428 * libio/stdio.c: Likewise.
429 * libio/wfileops.c: Likewise.
430 * libio/wgenops.c: Likewise.
432 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
434 2000-08-12 Ulrich Drepper <drepper@redhat.com>
436 * locale/programs/localedef.c: Implement --prefix option to allow
437 writing in standard places of alternative install directories.
439 * posix/regex.c (compile_range): Implement collation sequence
440 handling for glibc. Use simple character ordering otherwise and
443 2000-08-12 Mark Kettenis <kettenis@gnu.org>
445 * sysdeps/generic/scandir64.c: Include <dirent.h>.
447 2000-08-12 Andreas Jaeger <aj@suse.de>
449 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
450 __USE_FILE_OFFSET64 correctly for locking.
451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
453 2000-08-12 Jakub Jelinek <jakub@redhat.com>
455 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
456 Define for 2.4.1 on sparc as well.
457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
458 for F_GETLK64, F_SETLK64, and F_SETLKW64.
459 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
460 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
462 2000-08-12 Ulrich Drepper <drepper@redhat.com>
464 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
467 2000-08-12 Andreas Jaeger <aj@suse.de>
469 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
470 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
472 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
475 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
476 if fnctl64 is not available for F_*LK*64.
478 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
480 2000-08-12 Ulrich Drepper <drepper@redhat.com>
482 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
483 Define for 2.4.1 on x86.
484 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
485 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
486 for F_GETLK64, F_SETLK64, and F_SETLKW64.
488 * dirent/dirent.h: Define DT_WHT.
490 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
491 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
492 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
493 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
494 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
495 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
497 2000-08-11 Ulrich Drepper <drepper@redhat.com>
499 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
500 lookup, pass pointer to array with NULL pointer [PR libc/1858].
501 * inet/Makefile (tests): Add tst-gethnm.
502 * inet/tst-gethnm.c: New file.
504 * rt/aio_cancel.c: If canceling a specific request which is running
506 * rt/aio_misc.h: Add `done' to states of a request.
507 * rt/aio_misc.c: Add several tests for the correct state.
508 Simplify request table memory handling.
510 2000-08-10 Jakub Jelinek <jakub@redhat.com>
512 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
513 * dirent/scandir64.c: Move...
514 * sysdeps/generic/scandir64.c: ...here.
515 * dirent/alphasort64.c: Move...
516 * sysdeps/generic/alphasort64.c: ...here.
517 * dirent/versionsort64.c: Move...
518 * sysdeps/generic/versionsort64.c: ...here.
519 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
520 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
521 Export symbols at GLIBC_2.2.
522 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
523 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
524 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
525 __versionsort64): Add prototypes.
526 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
527 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
529 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
531 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
532 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
533 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
534 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
536 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
537 Adjust for kernel-2.4.0-test6 layout.
538 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
539 GLIBC_2.1 and GLIBC_2.2.
540 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
541 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
542 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
543 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
544 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
545 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
546 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
547 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
548 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
549 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
550 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
551 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
552 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
553 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
555 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
556 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
557 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
558 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
559 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
560 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
561 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
563 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
564 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
566 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
567 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
568 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
569 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
570 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
572 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
574 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
576 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
577 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
578 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
579 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
580 st_ino from __st_ino.
581 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
582 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
583 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
584 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
585 set __st_ino in addition to st_ino.
586 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
587 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
588 __old_getdents64 as well.
589 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
590 getdirentries64 and old_getdirentries64 as well.
591 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
593 (GETDENTS64): Remove.
594 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
596 (GETDENTS64): Remove.
597 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
598 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
599 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
601 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
602 __old_readdir64_r as well.
603 * sysdeps/unix/sysv/linux/kernel-features.h: Define
604 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
606 2000-08-08 Jes Sorensen <jes@linuxcare.com>
608 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
609 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
610 define of the kernel.
611 Add missing __SEG_PSTKOVF definition.
612 Adjust the padding of struct siginfo and struct sigevent to
613 match the fact that sigval_t is 64 bit.
615 2000-08-10 Ulrich Drepper <drepper@redhat.com>
617 * timezone/zic.c: Update from tzcode2000f.
618 * timezone/australasia: Update from tzdata2000f.
619 * timezone/europe: Likewise.
620 * timezone/southamerica: Likewise.
621 * timezone/yearistype: Likewise.
623 2000-08-10 Andreas Jaeger <aj@suse.de>
625 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
626 stat with current MIPS kernel.
628 2000-08-01 Mark Kettenis <kettenis@gnu.org>
630 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
631 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
632 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
633 Remove the junk that's only relevant in the Linux kernel itself.
634 Add a warning saying that this file is now obsolete, and include
636 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
637 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
638 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
639 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
640 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
641 and add the notice that the file is primarily there for GDB.
642 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
644 2000-08-09 Jakub Jelinek <jakub@redhat.com>
646 * time/tzfile.c (__tzfile_compute): __tzstring zones
649 2000-08-09 Jakub Jelinek <jakub@redhat.com>
651 * resolv/resolv.h (__res_state): Surround prototype with
652 __BEGIN_DECLS/__END_DECLS.
653 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
655 2000-08-04 Jes Sorensen <jes@linuxcare.com>
657 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
658 Make independant of asm/resource.h from the Linux kernel.
660 2000-08-06 Bruno Haible <haible@clisp.cons.org>
662 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
664 2000-08-06 Bruno Haible <haible@clisp.cons.org>
666 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
667 * locale/Makefile (locale-CPPFLAGS): Likewise.
669 2000-08-09 Ulrich Drepper <drepper@redhat.com>
671 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
674 2000-08-03 Jakub Jelinek <jakub@redhat.com>
676 * misc/Versions (mincore): Export at GLIBC_2.2.
678 2000-08-03 Bruno Haible <haible@clisp.cons.org>
680 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
682 2000-08-02 Mark Kettenis <kettenis@gnu.org>
684 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
685 socketpair. Made socketpair a weak alias.
686 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
687 __socketpair. Use S_IFIFO protocol to make pipes POSIX
688 conforming, but fall back on the old protocol if the socket server
690 * include/sys/socket.h: Add prototype for __socketpair.
692 2000-08-09 Andreas Schwab <schwab@suse.de>
694 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
695 long long modifier is seen.
697 * elf/nodelete.c (do_test): Remove reference to undefined member
699 * rt/tst-aio4.c (do_test): Likewise.
701 * configure.in: Add `-lm' when checking for libgd.
702 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
705 2000-08-09 Andreas Jaeger <aj@suse.de>
707 * configure.in: Change required make versions.
709 * manual/install.texi (Tools for Compilation): Document required
711 (Supported Configurations): Update list of supported
714 2000-08-08 Ulrich Drepper <drepper@redhat.com>
716 * locale/linereader.c (get_string): Don't print an error is a string
717 contains an unknown character.
719 2000-08-06 Ulrich Drepper <drepper@redhat.com>
721 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
722 (new_symbol): Take new parameters with name of the symbol.
724 (handle_ellipsis): Don't only allow character symbols.
725 (collate_read): Allow string of collating elements contain invalid
726 characters; ignore entry in this case.
727 Handle ellipsis of collating symbols before first order_start.
728 Allow ellipsis in state 0.
730 2000-08-04 Ulrich Drepper <drepper@redhat.com>
732 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
734 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
736 2000-08-04 Greg McGary <greg@mcgary.org>
738 * posix/regex.c (SET_HIGH_BOUND): New macro.
739 (MOVE_BUFFER_POINTER): Use it.
740 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
741 (EXTEND_BUFFER): Use it.
743 2000-08-03 Ulrich Drepper <drepper@redhat.com>
745 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
746 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
747 _wide_data but from _IO_FILE directly.
748 * libio/iofclose.c: Likewise.
749 * libio/wfileops.c: Likewise.
751 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
752 * libio/libioP.h: Change prototypes.
754 2000-08-03 Greg McGary <greg@mcgary.org>
756 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
757 frame pointer early so that we save caller's frame pointer.
758 * sysdeps/i386/elf/setjmp.S: Likewise.
760 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
761 * io/test-utime.c: Test passing NULL as utimbuf* arg.
763 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
764 (MOVE_BUFFER_POINTER): Handle high_bound properly.
765 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
767 2000-08-03 Ulrich Drepper <drepper@redhat.com>
769 * iconvdata/big5.c: Updated.
770 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
772 2000-08-02 Ulrich Drepper <drepper@redhat.com>
774 * Makeconfig (all-subdirs): Add conform.
775 * conform/Makefile: Include ../Rules.
777 * Makefile (README): Add rules to generate here as well.
779 2000-08-02 Ulrich Drepper <drepper@redhat.com>
781 * version.h (VERSION): Bump to 2.1.92.
783 * sysdeps/ia64/Dist: Add _mcount.S.
785 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
787 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
789 * elf/Makefile (distribute): Add missing modules.
791 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
793 * posix/regex.c (compile_range): Translate range start and end
794 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
796 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
799 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
801 2000-08-02 Andreas Jaeger <aj@suse.de>
803 * elf/elf.h (EM_S390): Added.
804 (R_390_*): New relocs for S390.
806 * sysdeps/unix/sysv/linux/s390/Dist: New file.
807 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
808 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
809 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
810 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
811 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
812 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
813 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
814 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
815 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
816 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
817 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
818 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
819 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
820 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
821 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
822 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
823 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
824 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
825 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
826 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
827 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
828 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
829 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
830 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
831 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
832 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
833 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
834 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
835 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
836 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
837 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
838 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
839 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
840 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
841 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
842 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
843 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
844 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
845 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
846 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
847 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
848 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
849 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
850 * sysdeps/s390/sysdep.h: New file.
851 * sysdeps/s390/sys/ucontext.h: New file.
852 * sysdeps/s390/sub_n.S: New file.
853 * sysdeps/s390/strncpy.S: New file.
854 * sysdeps/s390/strcpy.S: New file.
855 * sysdeps/s390/stackinfo.h: New file.
856 * sysdeps/s390/setjmp.S: New file.
857 * sysdeps/s390/s390-mcount.S: New file.
858 * sysdeps/s390/mul_1.S: New file.
859 * sysdeps/s390/memusage.h: New file.
860 * sysdeps/s390/memset.S: New file.
861 * sysdeps/s390/memcpy.S: New file.
862 * sysdeps/s390/memchr.S: New file.
863 * sysdeps/s390/machine-gmon.h: New file.
864 * sysdeps/s390/ldbl2mpn.c: New file.
865 * sysdeps/s390/gmp-mparam.h: New file.
866 * sysdeps/s390/fpu/fpu_control.h: New file.
867 * sysdeps/s390/fpu/fesetround.c: New file.
868 * sysdeps/s390/fpu/fegetround.c: New file.
869 * sysdeps/s390/fpu/fclrexcpt.c: New file.
870 * sysdeps/s390/fpu/bits/fenv.h: New file.
871 * sysdeps/s390/ffs.c: New file.
872 * sysdeps/s390/elf/start.S: New file.
873 * sysdeps/s390/elf/setjmp.S: New file.
874 * sysdeps/s390/elf/bsd-setjmp.S: New file.
875 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
876 * sysdeps/s390/dl-machine.h: New file.
877 * sysdeps/s390/bzero.S: New file.
878 * sysdeps/s390/bsd-setjmp.S: New file.
879 * sysdeps/s390/bsd-_setjmp.S: New file.
880 * sysdeps/s390/bits/string.h: New file.
881 * sysdeps/s390/bits/setjmp.h: New file.
882 * sysdeps/s390/bits/huge_val.h: New file.
883 * sysdeps/s390/bits/endian.h: New file.
884 * sysdeps/s390/bits/byteswap.h: New file.
885 * sysdeps/s390/bcopy.S: New file.
886 * sysdeps/s390/backtrace.c: New file.
887 * sysdeps/s390/atomicity.h: New file.
888 * sysdeps/s390/asm-syntax.h: New file.
889 * sysdeps/s390/addmul_1.S: New file.
890 * sysdeps/s390/add_n.S: New file.
891 * sysdeps/s390/abort-instr.h: New file.
892 * sysdeps/s390/__longjmp.c: New file.
893 * sysdeps/s390/Makefile: New file.
894 * sysdeps/s390/Implies: New file.
895 * sysdeps/s390/Dist: New file.
896 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
898 2000-08-01 Ulrich Drepper <drepper@redhat.com>
900 Remove incompatible IPv6 extension of RPC.
901 * sunrpc/Makefile: Undo changes.
902 * sunrpc/rpc_main.c: Likewise.
903 * sunrpc/rpc/clnt.h: Likewise.
904 * sunrpc/rpc/svc.h: Likewise.
905 * sunrpc/bindrsvprt6.c: Removed.
906 * sunrpc/clnt_tcp6.c: Removed.
907 * sunrpc/clnt_udp6.c: Removed.
908 * sunrpc/svc_tcp6.c: Removed.
909 * sunrpc/svc_udp6.c: Removed.
911 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
912 dgettext, and dcgettetxt.
914 * intl/locale.alias: Update japanese aliases.
916 * sysdeps/ia64/bits/byteswap.h: New file.
917 Patch by Dan Pop <Dan.Pop@cern.ch>.
919 * misc/sys/cdefs.h: Define __attribute_format_arg__.
920 * intl/libintl.h: Use it here instead of using __attribute__ directly.
922 2000-07-13 H.J. Lu <hjl@gnu.org>
924 * posix/regex.c (re_max_failures): Set to 4000.
926 2000-08-01 Ulrich Drepper <drepper@redhat.com>
928 * gnulib/Makefile (tests): Add tst-gcc.
929 * gnulib/tst-gcc.c: New file.
931 * assert/Makefile (routines): Add __assert.
932 * assert/Versions: Export __assert for glibc 2.2.
933 * assert/__assert.c: New file.
934 * assert/assert.h: Declare __assert.
936 2000-07-27 Bruno Haible <haible@clisp.cons.org>
938 * locale/localeinfo.h (_ISCTYPE): New macro.
939 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
940 LC_CTYPE locale format.
941 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
942 (ctype_output): Output class_b[nr] right before class_3level[nr].
943 (allocate_arrays): Fill class_b, similarly to class_3level.
945 2000-08-01 Ulrich Drepper <drepper@redhat.com>
946 Joseph S. Myers <jsm28@cam.ac.uk>
948 * math/tgmath.h: Make standard compliant. Don't ask how.
950 2000-07-04 H.J. Lu <hjl@gnu.org>
952 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
953 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
954 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
956 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
958 * include/features.h (_XOPEN_SOURCE): Update the explanation.
959 (__USE_LARGEFILE): Add an explanation.
960 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
961 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
963 2000-08-01 Ulrich Drepper <drepper@redhat.com>
965 * libio/Makefile: Enable exception handling for genops, wgenops,
966 fileops, and wfileops.
968 2000-07-29 Mark Kettenis <kettenis@gnu.org>
970 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
971 acount that elf/rtld's main program might remove some varibales
972 from the environment if we're trying to be secure. Move the Hurd
973 startup data if necessary, or, if we there is no startup data,
974 make sure the magical convention that ARGV[0] is stored just after
975 the environment list.
977 2000-08-01 Philip Blundell <philb@gnu.org>
979 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
980 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
981 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
982 oldsetrlimit for GLIBC_2.0.
984 2000-08-01 Andreas Jaeger <aj@suse.de>
986 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
987 (LINE_PARSER): Allow any number of spaces between ip address and
988 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
990 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
992 * include/netdb.h: Remove getipnodebyaddr and friends, leave
995 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
996 _nss_nisplus_getipnodebyname_r.
998 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
999 now, getipnodebyname is deprecated.
1000 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
1003 * inet/Makefile (routines): Don't build getipnodebyaddr and
1006 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
1008 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
1010 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
1012 * wctype/Makefile (distribute): Add wchar-lookup.h.
1014 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
1016 * iconvdata/Makefile (distribute): Add isiri-3342.h.
1018 2000-08-01 Andreas Schwab <schwab@suse.de>
1020 * Make-dist (dist): Resolve `..' in file names.
1022 2000-08-01 Andreas Jaeger <aj@suse.de>
1024 * stdio-common/Makefile (distribute): Remove removed files, add
1027 * Makefile (distribute): Remove include/db_185.h and db.h.
1029 * include/db_185.h: Remove, it's not needed anymore.
1030 * include/db.h: Likewise.
1032 2000-07-31 Ulrich Drepper <drepper@redhat.com>
1034 * inet/Makefile (tests): Remove tst-ipnode.
1035 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
1038 2000-07-31 Jes Sorensen <jes@linuxcare.com>
1040 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
1041 endp statements have already been added.
1043 2000-04-18 David Mosberger <davidm@hpl.hp.com>
1045 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
1046 <sysdeps/ia64/sysdep.h>.
1048 * sysdeps/ia64/_mcount.S: New file.
1050 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
1051 __gmon_start__. Fix up extraneous whitespace.
1053 2000-01-12 H.J. Lu <hjl@gnu.org>
1055 * sysdeps/ia64/elf/initfini.c: New file.
1057 2000-07-31 Jes Sorensen <jes@linuxcare.com>
1059 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
1060 dependency between branch and ar.pfs write.
1062 2000-07-31 H.J. Lu <hjl@gnu.org>
1064 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
1065 handle the wchar_t array.
1067 2000-07-31 Ulrich Drepper <drepper@redhat.com>
1069 * iconvdata/gb18030.c: Don't map to and from positions in ISO
1070 10646 which are not yet assigned.
1071 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
1073 2000-07-31 Andreas Jaeger <aj@suse.de>
1075 * inet/Versions: Remove getipnodebyaddr and friends from
1078 * resolv/netdb.h: Remove getipnodebyaddr and friends.
1080 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1082 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
1083 ch >= 0x81 && ch2 < 0x40 as invalid.
1085 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1087 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
1088 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
1090 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1092 * iconvdata/johab.c (BODY for TO_LOOP): After calling
1093 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
1095 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1097 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
1099 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
1101 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1103 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
1105 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1107 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
1108 (from_ucs4): Change values of U+00A4 and U+00ED.
1109 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
1111 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1113 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
1114 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
1116 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1118 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
1119 * iconvdata/isiri-3342.h: New file.
1120 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
1121 treat 0x80 as a gap.
1123 2000-07-30 Bruno Haible <haible@clisp.cons.org>
1125 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
1126 (utf8_encode): Use simple shifts instead. Fix return value.
1128 2000-07-31 Ulrich Drepper <drepper@redhat.com>
1130 * timezone/private.h: Update from tzcode2000e.
1131 * timezone/asia: Update from tzdata2000e.
1132 * timezone/australasia: Likewise.
1133 * timezone/europe: Likewise.
1134 * timezone/northamerica: Likewise.
1135 * timezone/zone-tab: Likewise.
1137 2000-07-30 Ralf Baechle <ralf@gnu.org>
1139 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
1140 the order of struct sigaltstack members is different.
1142 2000-07-26 Philip Blundell <philb@gnu.org>
1144 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
1146 2000-07-29 Ulrich Drepper <drepper@redhat.com>
1148 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
1149 * locale/programs/ld-ctype.c: Adjust for this.
1151 * locale/programs/ld-collate.c: Add more alignment checks.
1152 * locale/string/strcoll.c: Likewise.
1154 2000-07-30 Mark Kettenis <kettenis@gnu.org>
1156 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
1157 outside USE_IN_LIBIO block.
1159 2000-07-26 Philip Blundell <philb@gnu.org>
1161 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
1162 (elf_machine_rel): Use it for out-of-range PC24 relocs.
1164 2000-07-28 Philip Blundell <philb@gnu.org>
1166 * math/test-fpucw.c: Ignore reserved bits in control word.
1168 2000-07-28 Philip Blundell <philb@gnu.org>
1170 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
1171 (ret): Redefine to PSEUDO_RET.
1172 (PSEUDO): Remove jump to syscall_error.
1174 2000-07-29 Mark Kettenis <kettenis@gnu.org>
1176 * resolv/README: Add some information about using the resolver in
1177 multi-threaded code and with C++. Spelling fixes.
1179 2000-07-29 Mark Kettenis <kettenis@gnu.org>
1181 * resolv/resolv.h (struct __sockaddr_in): Remove.
1182 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
1184 2000-07-29 Greg McGary <greg@mcgary.org>
1186 * Rules (test-bp-inputs, make-test-out): New variables.
1187 ($(objpfx)%-bp.out): New rule.
1188 ($(objpfx)%.out): Rewrite in terms of new variables.
1190 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
1191 internal function that uses vtable.
1192 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1193 * libio/vswprintf.c (_IO_vswprintf): Likewise.
1195 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
1196 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
1197 (chunk_align): Likewise.
1199 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
1200 in a way that conforms to decl, and avoids spurious bounds violation.
1202 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
1203 * sysdeps/generic/frame.h: Likewise.
1204 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
1205 around return value.
1206 (__backtrace): Qualify frame-pointer chain and return address
1207 pointers as __unbounded. Wrap bounds around variable `current'.
1208 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
1209 around return value.
1210 (catch_segfault): Qualify frame-pointer chain and return address
1211 pointers as __unbounded. Wrap bounds around variable `current'.
1212 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
1213 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
1214 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
1216 (__backtrace): Qualify frame-pointer chain and return address
1217 pointers as __unbounded. Wrap bounds around variable `current'.
1219 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
1220 * sysdeps/i386/mul_1.S: Likewise.
1221 * sysdeps/i386/submul_1.S: Likewise.
1222 * sysdeps/i386/i586/addmul_1.S: Likewise.
1223 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
1224 * sysdeps/i386/i586/submul_1.S: Likewise.
1226 2000-07-27 Andreas Jaeger <aj@suse.de>
1228 * libio/Depend: New file, libio needs localedata for tests.
1229 * posix/Depend: Likewise.
1231 2000-07-28 Ulrich Drepper <drepper@redhat.com>
1233 * stdio-common/_i18n_itoa.c: Removed.
1234 * stdio-common/_i18n_itoa.h: Removed.
1235 * stdio-common/_i18n_itowa.c: Removed.
1236 * stdio-common/_i18n_itowa.h: Removed.
1237 * stdio-common/_i18n_number.h: New file.
1238 * stdio-common/Depend: New file.
1239 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
1240 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
1241 printing. Change printing of numbers with locale specific digits to
1242 use new code in _i18n_number.h.
1243 * stdio-common/Makefile (routines): Remove _i18n_itoa and
1246 * stdio-common/bug13.c: Improve messages.
1248 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
1249 (set_class_defaults): Always search also for Uxxxx names.
1250 Detect insufficient number of outdigits.
1252 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
1254 2000-07-27 Bruno Haible <haible@clisp.cons.org>
1256 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
1257 _NL_CTYPE_MAP_NAMES.
1258 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
1259 * wctype/wcfuncs.c (towlower, towupper): Use them.
1260 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
1261 * wctype/wctrans.c (wctrans): Likewise.
1262 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1264 2000-07-27 Bruno Haible <haible@clisp.cons.org>
1266 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
1267 Use the optimized version of this function outside glibc as well.
1269 2000-07-27 Jakub Jelinek <jakub@redhat.com>
1271 * locale/indigits.h (indigit_value): Correct.
1272 * locale/indigitswc.h (indigitwc_value): Correct.
1273 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
1274 conversion, add GROUP checking for it, fix GROUP number
1275 conversion with strlen(thousands) > 1.
1276 Honour width correctly in the presence of floating
1277 decimal points and thousands separators.
1278 * stdio-common/tst-sscanf.c: New test.
1279 * stdio-common/Makefile: Add it to tests.
1280 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
1281 thousands separators and group argument is non-zero.
1283 2000-07-25 Bruno Haible <haible@clisp.cons.org>
1285 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
1286 starts at GLIBC_2.2.
1288 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1290 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
1291 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
1293 (headers): Add sys/tas.h.
1294 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
1295 GLIBC_2.2 from libc.
1296 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
1297 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
1300 2000-07-28 Andreas Jaeger <aj@suse.de>
1302 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
1304 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
1305 ($(objpfx)tst-dladdr.out): new.
1306 (tests): Add tst-dladdr.
1307 ($(objpfx)glrefmain): Use libdl.
1309 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
1312 2000-07-27 Jes Sorensen <jes@linuxcare.com>
1314 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
1315 ftruncate(64) calls.
1317 2000-07-27 Jes Sorensen <jes@linuxcare.com>
1319 * intl/tst-translit.c: Include string.h to get prototype for
1322 2000-07-27 Jes Sorensen <jes@linuxcare.com>
1324 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
1325 name and add weak alias for __fork.
1327 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
1328 & pwrite to use __libc_<name> as strong names instead of
1331 * include/sched.h: Add clone2 prototype.
1333 2000-07-26 Jes Sorensen <jes@linuxcare.com>
1335 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
1336 procedure name twice.
1338 2000-07-27 Philip Blundell <philb@gnu.org>
1340 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
1342 2000-07-27 Andreas Jaeger <aj@suse.de>
1344 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
1345 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
1346 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1347 Reported by Andi Kleen <ak@suse.de>.
1349 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
1350 (do_wait): Test requests with aio_return64.
1351 (do_test): Change callers of do_wait.
1353 2000-07-26 Andreas Jaeger <aj@suse.de>
1355 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
1356 (do_wait): Test requests with aio_return.
1357 (do_test): Change callers of do_wait.
1359 2000-07-27 Ulrich Drepper <drepper@redhat.com>
1361 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
1362 from request list. Don't do the list handling here, call
1363 __aio_remove_request.
1364 * rt/aio_misc.h: Add prototype for __aio_remove_request.
1365 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
1366 request might already be processed. Don't do the list handling
1367 here, call __aio_remove_request.
1369 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
1372 * rt/aio_misc.c: Add comment explaining why writer memory barriers
1375 2000-07-27 Greg McGary <greg@mcgary.org>
1377 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
1378 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
1379 in union init. Pass zero for ignored semnum arg to semctl.
1380 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
1382 2000-07-26 Greg McGary <greg@mcgary.org>
1384 * sysdeps/gnu/bits/msq.h: Qualify kernel's
1385 data structure pointers as __unbounded.
1386 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1387 * sysdeps/generic/bp-semctl.h: New file.
1388 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
1389 pointers as __unbounded. Check bounds of syscall args.
1390 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1391 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
1392 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1393 * sysdeps/unix/sysv/linux/semop.c: Likewise.
1394 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
1395 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1396 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
1397 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
1398 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
1399 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
1400 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
1401 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
1402 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
1403 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
1404 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1405 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
1407 2000-07-26 Ulrich Drepper <drepper@redhat.com>
1409 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
1411 * locale/C-ctype.c: Likewise.
1412 * wcsmbs/wcsmbsload.c: Likewise.
1414 2000-07-26 Greg McGary <greg@mcgary.org>
1416 * Makeconfig (+link-bounded, link-libc-bounded,
1417 link-extra-libs-bounded): New variables.
1418 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
1419 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
1420 * Rules (tests-bp.out): New variable.
1421 (tests): Conditionally add BP tests.
1422 (binaries-bounded): Add variable and associated rule.
1423 * csu/Makefile [build-bounded] (extra-objs, install-lib):
1424 Move conditional stuff after place where condition is defined.
1426 * malloc/malloc.c (bp-checks.h): Add #include.
1427 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
1428 (_bin_at): Add unbounded version of bin_at.
1429 (IAV, chunk_alloc): Use unbounded _bin_at.
1430 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
1431 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
1432 Wrap BOUNDED_N around return value.
1433 (chunk_realloc): Adjust oldsize once.
1435 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
1436 (__ubp_memchr): Add correct decl.
1437 (_CHECK_STRING): Use __ubp_memchr.
1438 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1439 New alias for unbounded-pointer __memchr.
1440 * sysdeps/i386/memchr.S: Likewise.
1441 * sysdeps/ia64/memchr.S: Likewise.
1442 * sysdeps/m68k/memchr.S: Likewise.
1443 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1444 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1445 * sysdeps/vax/memchr.s: Likewise.
1447 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
1448 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
1449 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
1450 * sysdeps/i386/i686/strtok.S: Likewise.
1451 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
1452 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
1454 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
1455 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
1457 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
1458 bounds of copy_result to mount_proc.
1460 2000-07-25 Bruno Haible <haible@clisp.cons.org>
1462 * wctype/wctype.h (__wctrans_l): New declaration.
1463 * wctype/wctrans_l.c: New file.
1464 * wctype/Makefile (routines): Add wctrans_l.
1466 2000-07-26 Ulrich Drepper <drepper@redhat.com>
1468 * posix/fnmatch_loop.c: Fixes for use outside glibc.
1469 Patch by MacGyver <macgyver@tos.net>.
1471 2000-07-26 Andreas Jaeger <aj@suse.de>
1473 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
1474 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
1475 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
1477 * rt/tst-aio.c (test_file): Fix typo.
1478 * rt/tst-aio64.c (test_file): Likewise.
1480 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
1481 * rt/Makefile: Add rules to build and run tst-aio3.
1483 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
1484 it's not needed and confuses only.
1486 2000-07-26 Ulrich Drepper <drepper@redhat.com>
1488 * resolv/res_init.c: Add support for nameserver communication with
1490 * resolv/res_send.c: Likewise.
1491 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
1493 Patch by <venaas@nvg.ntnu.no>.
1495 2000-07-25 Bruno Haible <haible@clisp.cons.org>
1497 * locale/programs/ld-ctype.c (wctype_table_get): New function.
1498 (wcwidth_table_get): New function.
1499 (wcwidth_table_add): Call it.
1500 (wctrans_table_get): New function.
1501 (wctrans_table_add): Call it.
1503 2000-07-25 Ulrich Drepper <drepper@redhat.com>
1505 * rt/lio_listio.c (lio_listio): Always disable individual
1507 * rt/Makefile: Add rules to build and run tst-aio2.
1508 * rt/tst-aio2.c: New file.
1510 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
1511 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
1513 2000-07-25 Mark Kettenis <kettenis@gnu.org>
1515 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
1516 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
1517 leading and trailing spaces from host, user and domain name.
1519 2000-07-25 Jes Sorensen <jes@linuxcare.com>
1521 * csu/defs.awk: Add support for need_endp.
1523 2000-07-25 Mark Kettenis <kettenis@gnu.org>
1525 * resolv/resolv.h: Remove __P from res_send_qhook and
1526 res_send_rhook typedefs.
1528 2000-07-25 Bruno Haible <haible@clisp.cons.org>
1530 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
1532 2000-07-25 Ulrich Drepper <drepper@redhat.com>
1534 * iconv/gconv_builtin.h: Add WCHAR_T alias.
1536 2000-07-25 Mark Kettenis <kettenis@gnu.org>
1538 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
1539 calling thread, set the cancellation flag and return success
1542 2000-07-25 Ulrich Drepper <drepper@redhat.com>
1544 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
1545 * libio/tst-widetext.c: New file.
1546 * libio/tst-widetext.input: New file.
1548 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
1550 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
1551 empty external buffer correctly.
1553 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1555 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
1556 __STRING(entry) and not #entry.
1557 (_RTLD_EPILOGUE): Likewise.
1558 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1560 2000-07-25 Andreas Jaeger <aj@suse.de>
1562 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
1563 according to changes in test program, run also with static only
1565 ($(objpfx)tst-printf.out): Likewise.
1567 * stdio-common/tst-unbputc.sh: Likewise.
1568 * stdio-common/tst-printf.sh: Likewise.
1570 2000-07-25 Ulrich Drepper <drepper@redhat.com>
1572 * libio/wfileops.c (_IO_wdo_write): Correct return value.
1574 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
1577 * libio/fileops.c: Pretty print.
1579 2000-07-23 Bruno Haible <haible@clisp.cons.org>
1581 * wctype/wchar-lookup.h: New file.
1582 * wctype/iswctype.c: Include "wchar-lookup.h".
1583 (__iswctype): Support alternate locale format with 3-level tables.
1584 * wctype/iswctype_l.c (__iswctype_l): Likewise.
1585 * wctype/towctrans.c (__towctrans): Likewise.
1586 * wctype/towctrans_l.c (__towctrans_l): Likewise.
1587 * wctype/wcfuncs.c: Include "wchar-lookup.h".
1588 (__ctype32_wctype, __ctype32_wctrans): Declare external.
1589 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
1590 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
1591 __iswxdigit, towlower, towupper): Support alternate locale format
1592 with 3-level tables.
1593 * wctype/wcextra.c (iswblank): Likewise.
1594 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
1595 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1596 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1597 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
1598 format with 3-level tables.
1599 * wctype/wcextra_l.c (__iswblank_l): Likewise.
1600 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
1601 format, return a 3-level table pointer.
1602 * wctype/wctype_l.c (__wctype_l): Likewise.
1603 * wctype/wctrans.c (wctrans): Likewise.
1604 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
1605 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
1606 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
1607 (iswctype): Remove macro definition.
1608 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
1609 (internal_wcwidth): Support alternate locale format with 3-level
1611 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
1613 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
1614 Define them as being type "word".
1615 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
1616 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
1617 __ctype32_width): New exported variables.
1618 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
1619 alternate locale format. Don't initialize __ctype_names and
1620 __ctype_width in the alternate locale format.
1621 * locale/programs/localedef.h (oldstyle_tables): New declaration.
1622 * locale/programs/localedef.c (oldstyle_tables): New variable.
1623 (OPT_OLDSTYLE): New macro.
1624 (options): Add --old-style option.
1625 (parse_opt): Handle --old-style option.
1626 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
1627 map_offset, class_3level, map_3level, width_3level members.
1628 (ctype_output): Support for alternate locale format: Computation of
1629 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
1630 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
1631 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
1632 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
1633 now contain both class and map tables.
1634 (struct wctype_table): New type.
1635 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
1637 (struct wcwidth_table): New type.
1638 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
1640 (struct wctrans_table): New type.
1641 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
1643 (allocate_arrays): Support for alternate locale format: Set
1644 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
1645 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
1646 to the first 256 characters. Compute ctype->map_3level. Set
1647 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
1648 instead of ctype->width.
1650 2000-07-24 Ulrich Drepper <drepper@redhat.com>
1652 * libio/iogetwline.c (_IO_getwline_info): Use wide character
1655 2000-07-24 Jakub Jelinek <jakub@redhat.com>
1657 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
1658 in wide characters, not bytes.
1659 * libio/tst_putwc.c (do_test): Add test for writing lots of data
1662 2000-07-22 Bruno Haible <haible@clisp.cons.org>
1664 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
1665 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
1666 LC_MEASUREMENT, LC_IDENTIFICATION.
1668 * locale/xlocale.h (struct __locale_struct): Increase size of
1670 * locale/duplocale.c (__duplocale): Copy newly added categories as
1672 * locale/freelocale.c (__freelocale): Free newly added categories.
1673 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
1674 If a base is given, use it, don't simply return it.
1676 2000-07-22 Bruno Haible <haible@clisp.cons.org>
1678 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
1679 variables, copied_key and copied_salt, instead of boolean variables.
1681 2000-07-24 Andreas Jaeger <aj@suse.de>
1683 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
1686 * grp/initgroups.c (initgroups_dyn_function): Renamed from
1687 initgroups_function, adopted prototype for change from 2000-07-23.
1688 (initgroups): Follow type change.
1690 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
1691 & PAGE_MASK case, reformat.
1693 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
1694 from stdin and setup environment.
1696 2000-07-24 Andreas Schwab <schwab@suse.de>
1698 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
1700 2000-07-23 Ulrich Drepper <drepper@redhat.com>
1702 * string/endian.h: Explain the _*_ENDIAN constant values a bit
1703 more. Patch by scarlet@mit.edu [PR libc/1799].
1705 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
1708 * argp/argp-parse.c (parser_finalize): Reverse order in which
1709 parsers are run for ARGP_KEY_END. [PR libc/1755].
1711 * grp/initgroups.c (initgroups): Don't limit the possible number
1712 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
1713 the setgroups call while the call fails and descrease the number
1714 of groups each round.
1715 The name of the initgroups function in the NSS modules changed.
1716 (compat_call): Adapt for dynamic resizing.
1717 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1718 Implement dynamic resizing.
1719 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1721 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
1722 * hesiod/Versions: Change exported interface name.
1723 * nis/Versions: Change exported interface name.
1725 2000-07-23 Ulrich Drepper <drepper@redhat.com>
1727 * locale/iso-639.def: Some errors corrected.
1728 Patch by Keld Simonsen.
1730 * include/limits.h: Update non-gcc portion.
1731 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1733 2000-07-22 Mark Kettenis <kettenis@gnu.org>
1735 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
1736 program's data space, reallocate only the space that was just
1737 deallocated to release its backing space.
1739 2000-07-23 Ulrich Drepper <drepper@redhat.com>
1741 * stdio-common/vfprintf.c (process_string_arg): For wide character
1742 version, handle precision also correctly.
1744 * nss/nss_files/files-hosts.c: Correct problem with three or more
1745 entries with the same name.
1747 * nss/nss_files/files-hosts.c: Implement multi handling.
1748 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
1750 2000-07-22 Ulrich Drepper <drepper@redhat.com>
1752 * nss/nss_files/files-parse.c: Don't pollute namespace by using
1755 * grp/Makefile: Change Makefiles and tests to run only when necessary.
1756 * malloc/Makefile: Likewise.
1757 * malloc/tst-mtrace.sh: Likewise.
1758 * posix/Makefile: Likewise.
1759 * posix/globtest.sh: Likewise.
1760 * posix/wordexp-tst.sh: Likewise.
1761 * string/Makefile: Likewise.
1763 2000-07-22 Mark Kettenis <kettenis@gnu.org>
1765 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
1766 size instead of LC_ALL to take into account the new locale
1769 2000-07-22 Ulrich Drepper <drepper@redhat.com>
1771 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
1772 remainders of hash table.
1773 * locale/categories.def: Remove remainders of transliteration
1775 * locale/langinfo.h: Likewise.
1776 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
1777 transliteration tables.
1779 * locale/gen-translit.pl: New file.
1780 * locale/C-translit.h.in: New file.
1781 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
1782 data pointers with data from this file.
1783 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
1784 and gen-translit.pl.
1785 Add rule to generate C-translit.h.
1786 * intl/tst-translit.c (main): Update for now performed
1789 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
1790 (it's no input error).
1791 * stdio-common/tstscanf.c: Add test case for format %f with input --.
1792 * stdio-common/scanf12.c: Correct expected result for first scanf.
1794 * stdio-common/vfprintf.c (process_string_arg): Correct handling
1795 of multibyte character strings in %s format with precision.
1797 2000-07-21 Ulrich Drepper <drepper@redhat.com>
1799 * locale/programs/ld-collate.c (collate_read): Allow collating
1800 symbols and elements be named in reorder-after instructions.
1801 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1803 * locale/programs/ld-collate.c (handle_ellipsis): Test for
1804 duplication with generated name, not the name of the first
1806 Patch by Yong Li <yong.li@asu.edu>.
1808 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
1809 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1811 2000-07-21 Wolfram Gloger <wg@malloc.de>
1813 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
1814 allocations only if a non-main arena cannot be extended.
1816 2000-07-21 Ulrich Drepper <drepper@redhat.com>
1818 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
1819 in DF_1_NODEFLIB handling.
1821 2000-07-21 Andreas Jaeger <aj@suse.de>
1823 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
1826 * libio/fwide.c: Include <wchar.h> for prototype.
1828 2000-07-21 Greg McGary <greg@mcgary.org>
1830 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
1831 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
1832 Define in terms of chunk_at_offset.
1833 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
1834 (next_bin, prev_bin): offset by size of real array elements.
1835 (chunk_align): Make `m' a scalar, since that's how it's used.
1837 2000-07-21 Greg McGary <greg@mcgary.org>
1839 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
1841 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
1842 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
1843 Wrap bounds around argv & envp and each of their string members.
1844 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
1845 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
1846 symbol in BP_SYM (). Discard bounds of address arg.
1847 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
1848 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
1849 Discard bounds on address arg, add bounds to return value.
1851 2000-07-20 Ulrich Drepper <drepper@redhat.com>
1853 * elf/Makefile (tests): Add filter. Add rules to generate filter.
1854 * elf/filter.c: New file.
1855 * elf/filtmod1.c: New file.
1856 * elf/filtmod2.c: New file.
1858 * elf/rtld.c: Define _dl_bind_not variable.
1859 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
1860 * elf/dl-support.c: Likewise.
1861 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
1862 * elf/dl-runtime.c (fixup): Don't remember looked up value if
1864 (profile_fixup): Likewise.
1866 * libio/Makefile (routines): Add fwide.
1867 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
1868 fwide now. Internal calls to _IO_fwide must do locking themselves
1869 or don't need locking.
1870 * libio/fwide.c: New file.
1872 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
1874 * elf/Makefile: Add no modules for nodelete test.
1875 * elf/nodelmod3.c: New file.
1876 * elf/nodelmod4.c: New file.
1877 * elf/nodelete.c: Also test case where dependency of dlopen() object
1880 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
1881 * elf/nodlopen.c: New file.
1882 * elf/nodlopenmod.c: New file.
1883 * include/dlfcn.h: Define __RTLD_DLOPEN.
1884 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
1885 and this is a dlopen() call, do not load the binary.
1886 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
1887 * dlfcn/dlopenold.c: Likewise.
1888 * configure.in: Add test for -z nodelete option.
1889 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1891 2000-07-20 Mark Kettenis <kettenis@gnu.org>
1893 Make Hesiod NSS module thread-safe.
1895 * hesiod/README.hesiod: Update.
1897 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
1898 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
1899 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
1900 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
1902 * hesiod/nss_hesiod/hesiod-init.c: New file.
1903 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
1904 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
1905 * hesiod/nss_hesiod/nss_hesiod.h: New file.
1906 * hesiod/nss_hesiod/hesiod-service.c
1907 (_nss_hesiod_getservbyport_r): New function. Provide support for
1908 looking up services by port number.
1909 * hesiod/nss_hesiod/hesiod-proto.c: New file.
1911 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
1912 * hesiod/hesiod.h: Likewise.
1913 * hesiod/hesiod_p.h: Likewise.
1915 2000-07-20 Mark Kettenis <kettenis@gnu.org>
1917 Fix problems with `struct __res_state' getting too big.
1918 * resolv/resolv.h (struct __sockaddr_in): New definition.
1919 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
1920 the private parts of the structure to save some space.
1921 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
1922 (struct sockaddr_in *) in call to sock_eq.
1923 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
1925 2000-07-20 Ulrich Drepper <drepper@redhat.com>
1927 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
1928 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
1930 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
1931 to _dl_map_object. Return immediately if no object loaded.
1932 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
1933 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
1934 if it exists into l_flags_1 word.
1935 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
1936 it to determine whether loading is wanted or not.
1937 (_dl_map_object): Likewise.
1938 Call _dl_map_object_from_fd with new parameter.
1939 * sysdeps/generic/ldsodefs.h: Update prototype.
1940 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
1941 * elf/rtld.c: Likewise.
1942 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1943 * elf/Makefile (tests): Add noload. Add rules to generate noload.
1944 * elf/noload.c: New file.
1945 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
1946 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
1947 * sysdeps/mips/bits/dlfcn.h: Likewise.
1948 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
1949 (tests-nodelete-yes): Define.
1950 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
1951 Add rules to build nodelete and modules.
1952 * elf/nodelete.c: New file.
1953 * elf/nodelmod1.c: New file.
1954 * elf/nodelmod2.c: New file.
1955 * configure.in: Add test for -z nodelete option.
1956 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1958 * libio/Makefile (tests): Add tst_wprintf2.
1959 (tst_wprintf2-ARGS): Define.
1960 * libio/tst_wprintf2.c: New file.
1961 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
1963 * libio/wfiledoalloc.c: Only allocate external buffer if this
1964 hasn't happened yet.
1966 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
1967 something in the buffer. gconv call can write up to end of the
1968 buffer, not only _IO_write_end.
1969 (_IO_wfile_overflow): Allocate also external buffer.
1971 2000-07-19 Ulrich Drepper <drepper@redhat.com>
1973 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
1974 strings with precision in vfwprintf correctly.
1975 * stdio-common/vfprintf.c: Fix completely broken handling of
1976 unbuffered wide character streams.
1977 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1979 * resolv/Makefile (distribute): Add README.
1981 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
1983 2000-07-18 Mark Kettenis <kettenis@gnu.org>
1985 Update resolver code to BIND 8.2.3-T5B.
1987 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
1989 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
1990 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
1992 * resolv/Banner: BIND-8.2.3-T5B.
1994 * resolv/base64.c: Update from BIND 8.2.3-T5B.
1995 * resolv/herror.c: Likewise.
1996 * resolv/inet_addr.c: Likewise.
1997 * resolv/inet_net_ntop.c: Likewise.
1998 * resolv/inet_net_pton.c: Likewise.
1999 * resolv/inet_neta.c: Likewise.
2000 * resolv/inet_ntop.c: Likewise.
2001 * resolv/nsap_addr.c: Likewise.
2002 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
2003 IPv6 addresses (ISC bug #520).
2005 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
2006 * resolv/ns_parse.c: Likewise.
2007 * resolv/ns_netint.c: Likewise.
2008 * resolv/ns_samedomain.c: Likewise.
2009 * resolv/ns_ttl.c: Likewise.
2010 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
2011 RCS ID in object file.
2013 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
2014 * resolv/res_mkquery.c: Likewise.
2015 * resolv/res_query.c: Likewise.
2016 * resolv/res_init.c: Likewise.
2017 (res_setoptions): Mark internal.
2018 * resolv/res_send.c: Likewise.
2019 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
2020 by using poll instead.
2021 * resolv/res_comp.c: Likewise.
2022 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
2023 weak alias for __dn_expand.
2024 * resolv/res_data.c: Likewise.
2025 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
2026 in _res.options. Avoids a potential security risk by avoiding a
2028 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
2029 res_mkquery, res_query, res_querydomain adn res_search weak
2030 aliases for __res_mkquery, __res_query, __res_querydomain and
2032 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
2033 instead to avoid close(0).
2034 (res_init): Always use the static resolver context.
2035 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
2036 alias for __res_init.
2038 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
2039 RES_SET_H_ERRNO and accompanying comment to...
2040 * include/resolv.h: ... here.
2042 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
2043 * resolv/arpa/nameser_compat.h: Likewise.
2045 2000-07-18 Ulrich Drepper <drepper@redhat.com>
2047 * nss/makedb.c (main): Compare result of load_db with
2048 NSS_STATUS_SUCCESS and not 0.
2049 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
2051 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
2053 2000-07-18 Greg McGary <greg@mcgary.org>
2055 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
2056 (EXTEND_BUFFER): Use it.
2058 2000-07-18 Ulrich Drepper <drepper@redhat.com>
2060 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
2061 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
2062 __builtin_return_address.
2063 * dlfcn/dlopenold.c: Likewise.
2064 * dlfcn/dlsym.c: Likewise.
2065 * dlfcn/dlvsym.c: Likewise.
2066 * elf/dl-profstub.c: Likewise.
2067 * malloc/malloc.c: Likewise.
2068 * sysdeps/generic/machine-gmon.h: Likewise.
2069 Based on a patch by schwidefsky@de.ibm.com.
2071 2000-07-18 Andreas Jaeger <aj@suse.de>
2073 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
2074 NULL to elf_machine_fixup_plt t argument to silence GCC.
2076 * include/string.h: Add prototype for __memchr.
2078 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
2080 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
2083 2000-07-18 Ulrich Drepper <drepper@redhat.com>
2085 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
2087 * locale/C-ctype.c: Add initializers for gap elements.
2088 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
2091 2000-07-16 Ulrich Drepper <drepper@redhat.com>
2093 * nscd/nscd.c (print_version): Update copyright year.
2095 2000-07-17 Greg McGary <greg@mcgary.org>
2097 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
2098 keyletters F, I, S, W. Remove unused keyletter V. Surround
2099 signature argnames with angle-brackets for use as word delimiters,
2100 and to induce syntax errors for any args not handled. Split
2101 multi-echo echoes and comment each stage.
2102 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
2103 * sysdeps/unix/inet/syscalls.list: Likewise.
2104 * sysdeps/unix/mman/syscalls.list: Likewise.
2105 * sysdeps/unix/syscalls.list: Likewise.
2106 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2107 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2108 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2109 * sysdeps/unix/sysv/syscalls.list: Likewise.
2110 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
2112 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
2113 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
2114 qualifiers. Don't check NULL-terminator of argv & envp.
2115 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
2116 unbounded pointer type in word-size assertion.
2117 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
2118 cases to stifle warnings.
2120 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
2122 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2124 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
2125 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
2128 * Makerules (o-objects): Supplement with $(o-objects$o).
2129 * string/Makefile (o-objects.ob): Add variable to pull
2130 unbounded versions of memcpy, memset and memchr into libc_b.
2132 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
2133 rather than non-existent __ubp_memchr.
2134 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
2135 (_CHECK_STRING, _CHECK_N): New macros.
2136 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
2137 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
2138 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
2139 Add weak alias "memchr".
2140 * sysdeps/generic/memchr.c: Likewise.
2141 * sysdeps/i386/memchr.S: Likewise.
2142 * sysdeps/ia64/memchr.S: Likewise.
2143 * sysdeps/m68k/memchr.S: Likewise.
2144 * sysdeps/sparc/sparc32/memchr.S: Likewise.
2145 * sysdeps/sparc/sparc64/memchr.S: Likewise.
2146 * sysdeps/vax/memchr.s: Likewise.
2148 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
2150 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
2151 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
2152 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
2153 __BOUNDED_POINTERS__.
2154 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
2155 for __BOUNDED_POINTERS__.
2157 2000-07-17 Bruno Haible <haible@clisp.cons.org>
2159 * iconv/gconv_open.c (__gconv_open): Initialize the __data
2160 field of struct __gconv_trans_data differently. Don't pass NULL to
2161 trans_init_fct. Simplify list append operation.
2163 2000-07-14 Bruno Haible <haible@clisp.cons.org>
2165 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
2166 not only those having tsearch.
2168 2000-07-17 Ulrich Drepper <drepper@redhat.com>
2170 * locale/langinfo.h: Add placeholder values in enum for removed
2173 2000-07-17 Jakub Jelinek <jakub@redhat.com>
2175 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
2176 chain if the PHDR check fails.
2178 2000-07-17 Mark Kettenis <kettenis@gnu.org>
2180 * nss/getent.c (print_hosts): Make sure we always print a space
2181 between numeric addresses and hostnames.
2183 2000-07-17 Wolfram Gloger <wg@malloc.de>
2185 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
2186 i.e. if n_mmaps_max>0.
2188 2000-07-16 Mark Kettenis <kettenis@gnu.org>
2190 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
2191 values to remove possible clash with other AI_* constants.
2192 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
2193 hexadecimal constants to stress the fact they're in fact
2196 2000-07-15 Mark Kettenis <kettenis@gnu.org>
2198 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
2199 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
2200 instead of res_init.
2202 2000-07-16 Ulrich Drepper <drepper@redhat.com>
2204 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
2205 parameters of memset calls to avoid warnings.
2207 2000-07-15 Ulrich Drepper <drepper@redhat.com>
2209 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
2212 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
2213 Patch by Greg McGary <greg@mcgary.org>.
2215 * io/Makefile (tests): Add tst-getcwd.
2216 * io/tst-getcwd.c: New file.
2218 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
2220 2000-07-15 Jakub Jelinek <jakub@redhat.com>
2222 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
2225 2000-07-13 Jakub Jelinek <jakub@redhat.com>
2227 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
2228 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
2230 2000-07-12 H.J. Lu <hjl@gnu.org>
2232 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
2234 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
2235 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
2236 (sysdep-routines): Add clone2.
2237 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
2239 2000-07-13 Jes Sorensen <jes@linuxcare.com>
2241 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
2242 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
2244 2000-06-05 David Mosberger <davidm@hpl.hp.com>
2246 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
2247 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
2248 Change type of si_band from "int" to "long".
2249 (si_imm) [USE_GNU]: Define
2250 (si_isr) [USE_GNU]: Ditto.
2251 (ILL_BREAK) [USE_GNU]: Ditto.
2252 (FPE_DECOVF) [USE_GNU]: Ditto.
2253 (FPE_DECDIV) [USE_GNU]: Ditto.
2254 (FPE_DECERR) [USE_GNU]: Ditto.
2255 (FPE_INVASC) [USE_GNU]: Ditto.
2256 (FPE_INVDEC) [USE_GNU]: Ditto.
2257 (TRAP_BRANCH) [USE_GNU]: Ditto.
2258 (TRAP_HWBKPT) [USE_GNU]: Ditto.
2260 2000-07-06 Jes Sorensen <jes@linuxcare.com>
2262 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2263 bits/sigcontext as struct mcontext does not depend on it.
2265 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
2267 2000-07-04 Jes Sorensen <jes@linuxcare.com>
2269 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
2271 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
2273 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
2275 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2277 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
2279 2000-07-15 Ulrich Drepper <drepper@redhat.com>
2281 * intl/Makefile (test-srcs): Add tst-translit.
2283 Add rules to build and run tst-translit.
2284 * intl/tst-translit.c: New file.
2285 * intl/tst-translit.sh: New file.
2286 * intl/translit.po: New file.
2288 2000-07-14 Ulrich Drepper <drepper@redhat.com>
2290 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
2291 transliteration function did its job, continue, don't stop.
2293 * iconvdata/iso646.c: Little optimizations in body for conversion
2296 2000-07-14 Mark Kettenis <kettenis@gnu.org>
2298 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
2300 2000-07-14 Mark Kettenis <kettenis@gnu.org>
2302 * configure.in: Check for pwd binary.
2303 * config.make.in: Add PWD_P to be subsituted.
2304 * Makerules: Use $(PWD_P) instead of /bin/pwd.
2306 2000-07-14 Ulrich Drepper <drepper@redhat.com>
2308 * iconvdata/Makefile (modules): Add GB18030.
2309 (distribute): Add gb18030.c.
2310 * iconvdata/gconv-modules: Add entries for GB18030 module.
2311 * iconvdata/gb18030.c: New file.
2312 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
2315 2000-07-13 Andreas Jaeger <aj@suse.de>
2317 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
2320 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
2321 * inet/getnetgrent.c (free_mem): Likewise.
2322 * misc/mntent.c (free_mem): Likewise.
2323 * nss/getXXbyYY.c (free_mem): Likewise.
2324 * nss/getXXent.c (free_mem): Likewise.
2325 * pwd/fgetpwent.c (free_mem): Likewise.
2326 * shadow/fgetspent.c (free_mem): Likewise.
2328 2000-07-14 Ulrich Drepper <drepper@redhat.com>
2330 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
2331 64-bit architecture correctly [PR libc/1794].
2333 2000-07-13 Ulrich Drepper <drepper@redhat.com>
2335 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
2336 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
2337 report that we are out of memory.
2338 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2339 * elf/dl-libc.c (dlerror_run): Likewise.
2340 * elf/dl-open.c (_dl_open): Likewise.
2341 * elf/rtld.c (dl_main): Likewise.
2342 * elf/dl-error.c: Define _dl_out_of_memory.
2343 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
2345 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
2348 * dlfcn/dlerror.c (free_key_mem): Also free error string.
2350 * iconv/loop.c: Fix comment.
2352 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
2354 2000-07-13 Andreas Jaeger <aj@suse.de>
2356 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
2357 getcwd (NULL, size) with size > 0.
2358 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
2360 2000-07-13 Andreas Jaeger <aj@suse.de>
2362 * posix/Makefile: Remove build rules for libposix.
2364 2000-07-13 Andreas Schwab <schwab@suse.de>
2366 * sysdeps/generic/glob.c (glob): Fix memory leak.
2367 [SHELL]: Remove reference to undefined variable `files'.
2370 2000-07-13 Andreas Jaeger <aj@suse.de>
2372 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
2375 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
2376 memory if it was allocated.
2378 2000-07-12 Ulrich Drepper <drepper@redhat.com>
2380 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
2383 * iconv/gconv_open.c (__gconv_open): Reapply
2384 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2386 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
2388 * iconv/gconv_open.c: Undo last two changes for now. They break
2391 2000-07-12 Andreas Jaeger <aj@suse.de>
2393 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
2395 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
2396 (CFLAGS-dl-cache.c): Likewise.
2397 (CFLAGS-ldconfig.c): Added, passes directory locations.
2399 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
2401 * elf/ldconfig.c (LD_SO_CONF): Likewise.
2402 (main): Use configured LIBDIR and SLIBDIR.
2404 2000-07-11 Jakub Jelinek <jakub@redhat.com>
2406 * math/bits/cmathcalls.h (cimag): Add __THROW.
2407 (creal, conj): Likewise.
2408 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
2411 2000-07-12 H.J. Lu <hjl@gnu.org>
2413 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
2414 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
2416 2000-07-12 Ulrich Drepper <drepper@redhat.com>
2418 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
2421 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2423 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
2425 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2427 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
2430 2000-07-12 Bruno Haible <haible@clisp.cons.org>
2432 * iconv/gconv_open.c (__gconv_open): Initialize
2433 result->__steps[cnt].__data.
2435 2000-07-12 Mark Kettenis <kettenis@gnu.org>
2437 * nss/getent.c (services_keys): Pass port number in network byte
2438 order in call to getservbyport.
2440 2000-07-11 Andreas Jaeger <aj@suse.de>
2442 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
2444 * intl/Makefile (do-gettext-test): Likewise.
2445 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
2447 2000-07-11 Andreas Schwab <schwab@suse.de>
2449 * Makeconfig (run-program-prefix): New rule.
2450 (built-program-cmd): Use run-program-prefix.
2452 2000-07-12 Ulrich Drepper <drepper@redhat.com>
2454 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
2455 and NOEXPR unconditionally available.
2457 2000-07-12 Greg McGary <greg@mcgary.org>
2459 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
2460 * sysdeps/posix/open64.c: Likewise.
2461 * sysdeps/generic/fegetenv.c: Likewise.
2462 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
2463 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2464 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2465 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
2466 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
2467 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2469 2000-07-11 Greg McGary <greg@mcgary.org>
2471 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
2472 Add extra level of macro expansion.
2473 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
2474 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
2475 is available at the time `select' prototype is declared.
2476 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
2477 Collect non-versioned weak aliases. Consider only non-versioned
2478 aliases for the user-visible systemcall name. Do checks inline with
2479 call to primitive system call.
2480 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
2481 stand-alone bounds checks to suppress unused value warnings.
2482 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2484 2000-07-10 Mark Kettenis <kettenis@gnu.org>
2486 * sysdeps/mach/hurd/check_fds.c: New file. Implements
2487 file descriptor checking in SUID programs for the Hurd.
2489 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
2490 res_hostalias instead of __hostalias for thread-safety.
2492 2000-07-09 Mark Kettenis <kettenis@gnu.org>
2494 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
2495 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
2497 2000-07-10 Ulrich Drepper <drepper@redhat.com>
2499 * include/features.h: Include ISO C99 features if the compiler used
2500 is an ISO C99 compiler.
2501 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2503 2000-07-08 Mark Kettenis <kettenis@gnu.org>
2505 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
2507 2000-07-10 Andreas Jaeger <aj@suse.de>
2509 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
2510 it's overridden by libpthreads.
2511 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2512 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2513 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2514 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2515 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2517 * malloc/Makefile: Run tst-mtrace only with shared libs.
2519 * stdio-common/Makefile: Run unbputc and tst-printf tests only
2522 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2524 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
2525 that gpreg really points to the GOT section of the calling object.
2526 Scan all PT_LOAD segments of objects for stub_pc, instead of only
2527 checking a start address of first one.
2529 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
2532 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
2534 2000-07-10 Andreas Jaeger <aj@suse.de>
2536 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
2537 (string_alias->strong_alias).
2539 2000-07-08 Mark Kettenis <kettenis@gnu.org>
2541 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
2543 2000-07-07 Greg McGary <greg@mcgary.org>
2545 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
2546 have no names without leading underscores.
2548 2000-07-07 Ulrich Drepper <drepper@redhat.com>
2550 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
2553 * stdio-common/Makefile (tests): Remove tst-printf here...
2554 (tests-srcs): ...and add it here.
2555 (distribute): Add tst-unbputc.sh and tst-printf.sh.
2556 Add rules to run tst-printf.sh.
2557 * stdio-common/tst-printf.c: Move code around so that there is really
2558 no further output where it's stated.
2559 * stdio-common/tst-printf.sh: New file.
2561 2000-07-07 Mark Kettenis <kettenis@gnu.org>
2563 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
2564 (do_write): Renamed from pwrite.
2565 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
2566 `struct _IO_cookie_file'.
2568 2000-07-07 Ulrich Drepper <drepper@redhat.com>
2570 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
2572 * malloc/tst-mtrace.sh: Run mtrace script.
2574 2000-07-07 Greg McGary <greg@mcgary.org>
2576 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
2577 Move all three components of a bounded pointer.
2579 2000-07-07 Ulrich Drepper <drepper@redhat.com>
2581 * locale/programs/locale.c (write_locales): Don't simply add all
2582 directories found in the subdir, test whether at least the
2583 LC_CTYPE file is in there.
2585 2000-07-06 Ulrich Drepper <drepper@redhat.com>
2587 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
2588 * iconvdata/euc-kr.c: Likewise.
2590 * stdio-common/vfprintf.c (process_string_arg): Check result of
2591 wcrtomb call and bail out if it failed.
2593 * malloc/Makefile (test-srcs): Add tst-mtrace.
2594 (distribute): Add tst-mtrace.sh.
2595 Add rule to run tst-mtrace.sh.
2596 * malloc/tst-mtrace.c: New file.
2597 * malloc/tst-mtrace.sh: New file.
2599 * include/signal.h: Declare __libc_sigaction.
2600 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
2601 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
2602 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2603 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2604 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2605 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2606 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2608 * configure.in: Fix CFLAGS-memprofstat.c definition after
2610 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
2612 2000-07-06 Jakub Jelinek <jakub@redhat.com>
2614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
2615 instead of NULL to elf_machine_fixup_plt t argument.
2616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2617 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
2620 2000-07-06 Andreas Jaeger <aj@suse.de>
2622 * crypt/Makefile (LDLIBS-cert): Removed.
2623 (LDLIBS-md5c-test): Removed.
2624 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
2625 ($(objpfx)md5c-test): Likewise for md5c-test.out.
2627 2000-07-06 Andreas Jaeger <aj@suse.de>
2629 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
2630 of the proc system is "proc".
2632 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
2633 thread library for static programs.
2635 2000-07-06 Greg McGary <greg@mcgary.org>
2637 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
2639 * sysdeps/generic/strcpy.c: Add bounds checks.
2640 * sysdeps/unix/fxstat.c: Likewise.
2641 * sysdeps/unix/xstat.c: Likewise.
2642 * sysdeps/unix/common/lxstat.c: Likewise.
2643 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2644 * sysdeps/unix/sysv/linux/execve.c: Likewise.
2645 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2646 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2647 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2648 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2649 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2650 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2651 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2652 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2653 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2654 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2655 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2656 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2657 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2658 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2659 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2660 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2661 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2662 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2663 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2664 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2665 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2666 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
2667 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2668 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
2669 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2670 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
2671 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2672 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2673 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2674 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
2675 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2676 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2677 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2678 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2679 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2680 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
2681 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2682 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2683 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2684 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2685 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2686 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2687 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
2688 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
2689 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2690 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
2691 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2692 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
2693 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
2694 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
2695 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2696 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2697 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2698 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2699 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2700 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
2701 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
2702 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
2703 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2704 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
2705 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2706 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
2708 * string/endian.h (__LONG_LONG_PAIR): New macro.
2709 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
2710 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2711 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2712 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2713 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2714 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2715 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
2716 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2717 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2718 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2719 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2720 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2722 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
2724 2000-07-06 Andreas Jaeger <aj@suse.de>
2726 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
2729 * math/test-fpucw.c: Include <stdio.h> for printf.
2731 2000-07-05 Greg McGary <greg@mcgary.org>
2733 * sysdeps/generic/bp-checks.h: New file.
2734 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
2735 with list of #include files.
2736 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
2737 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
2738 Don't generate BP thunk if `V' appears in signature.
2739 Generate thunks with complete bounds checks.
2740 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
2741 * sysdeps/unix/inet/syscalls.list: Likewise.
2742 * sysdeps/unix/mman/syscalls.list: Likewise.
2743 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2744 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2745 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2746 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2748 2000-07-05 Ulrich Drepper <drepper@redhat.com>
2750 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
2751 result. Search first in /etc/mtab (proc/mounts would be stupid).
2752 If mount not in the file fall back on /proc.
2754 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
2755 string got copied in.
2756 Patch by Solar Designer <solar@false.com>.
2758 2000-07-05 Andreas Jaeger <aj@suse.de>
2760 * manual/install.texi (Installation): Update information about
2762 (Configuring and compiling): Update for glibc 2.2.
2764 2000-07-04 Andreas Jaeger <aj@suse.de>
2766 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
2767 (_FPU_IEEE): Likewise.
2769 * math/Makefile (tests): Add test-fpucw.
2771 * math/test-fpucw.c (main): New file.
2773 2000-07-05 Ulrich Drepper <drepper@redhat.com>
2775 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
2777 * locale/programs/ld-collate.c (collate_output): Also write out the
2778 collation sequence values and the wide character string for the
2779 collation symbol table.
2781 * posix/fnmatch.c: Include "../locale/elem-hash.h".
2782 * posix/fnmatch_loop.c: Implement collating symbol handling.
2783 * posix/tst-fnmatch.input: Add more tests, especially for collating
2786 * posix/regex.c: Fix comment.
2788 2000-07-05 Andreas Jaeger <aj@suse.de>
2790 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
2791 (_FPU_GETCW): Remove extra colon.
2792 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2794 * posix/fnmatch_loop.c (FCT): Only declare len if
2795 !WIDE_CHAR_VERSION to silence GCC.
2797 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
2799 * sysdeps/generic/strchrnul.c: Likewise.
2800 * sysdeps/generic/strlen.c: Likewise.
2801 * sysdeps/generic/strchr.c: Likewise.
2802 * sysdeps/generic/memchr.c: Likewise.
2804 2000-07-04 Ulrich Drepper <drepper@redhat.com>
2806 * posix/fnmatch_loop.c: Implement equivalence class handling.
2807 * posix/tst-fnmatch.input: Add tests for equivalence class
2810 * posix/fnmatch_loop.c: Improve performance for single-byte
2811 character sets by not using btowc.
2813 * posix/tst-fnmatch.input: Add tests for locale dependent
2815 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
2817 * posix/tst-fnmatch.input: Add more test cases.
2819 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
2820 are not aligned to alignof(md5_uint32) do it before calling
2821 __md5_process_bytes.
2822 * crypt/md5.c: Make sure buffers are aligned.
2823 * crypt/md5.h: Likewise.
2824 Reported by Solar Designer <solar@false.com>.
2826 * crypt/Makefile: Add dependencies for test programs.
2828 * Rules: Define LC_ALL=C in environments of all programs we run.
2830 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
2832 2000-07-03 H.J. Lu <hjl@gnu.org>
2834 * locale/programs/ld-ctype.c (ctype_output): The size of iov
2835 is 2 + elem + offset, not 2 + elem + offset + 2.
2837 2000-07-04 Ulrich Drepper <drepper@redhat.com>
2839 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
2841 * posix/Makefile (tests): Add tst-fnmatch.
2842 (tst-fnmatch-ENV): Define.
2843 * posix/tst-fnmatch.c: New file.
2844 * posix/tst-fnmatch.sh: New file.
2846 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
2848 * locale/programs/charmap.c (charmap_read): Prepend
2849 the condition filename == NULL.
2851 2000-07-03 Greg McGary <greg@mcgary.org>
2853 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
2855 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
2856 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
2858 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
2859 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
2860 (FILEBUF_LITERAL): Add cast for CHAIN init.
2861 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
2862 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2863 Revert type of `fp' to _IO_FILE*.
2864 (_IO_iter_file): Remove cast.
2865 (_IO_iter_next): Elide intermediate member reference.
2867 * sysdeps/powerpc/strchr.S: Check bounds.
2868 Wrap extern symbols in BP_SYM ().
2870 2000-07-03 Andreas Jaeger <aj@suse.de>
2872 * dlfcn/Makefile (generated): New.
2874 2000-07-03 Ulrich Drepper <drepper@redhat.com>
2876 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
2877 (__uflow): Likewise.
2878 (__underflow): Likewise.
2879 * libio/wgenops.c (__wunderflow): Likewise.
2880 * stdio-common/tst-unbputc.c: New file.
2881 * stdio-common/tst-unbputc.sh: New file.
2882 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
2884 * po/en_GB.po: New file.
2885 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
2887 2000-07-01 Andreas Jaeger <aj@suse.de>
2889 * intl/Makefile (generated-dirs): New.
2891 * elf/Makefile (generated): trusted-dirs.h is always generated,
2892 move out of build-shared condition.
2893 (generated): Merge the two entries for build-shared.
2895 2000-07-01 Ulrich Drepper <drepper@redhat.com>
2897 * debug/Makefile (distribute): Add xtrace.sh.
2899 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2901 * version.h (VERSION): Bump to 2.1.91.
2903 * configure.in: Update warning comment. glibc should not be
2906 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
2907 ioperm.c, sys/procfs.h, and sys/io.h.
2909 * sysdeps/powerpc/Dist: Add bp-asm.h.
2911 * assert/Depend: Add localedata.
2912 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
2913 (test-assert-perr-ENV): New. Define LANGUAGE=C.
2915 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
2916 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
2917 relocation address to prevent unaligned trap.
2918 Suggested by Richard Henderson <rth@cygnus.com>.
2920 2000-06-30 Jakub Jelinek <jakub@redhat.com>
2922 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
2923 if redirecting and either redirection is done using defines or
2926 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2928 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
2929 generated expressions.
2930 Patch by Darren McClelland <dmcclell@zetec.com>.
2932 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
2933 since zic uses setlocale and gettext but we cannot make it use the
2934 new locale data since zic calls a shell which might not use the
2937 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
2938 handling the internation currency symbol. POSIX says that the
2939 fourth character is used to separate the currency symbol from the
2940 value. Therefore it does not have to be printed. But we cannot
2941 remove the space if the currency symbol is printed before the
2942 number since this is what many locales expect.
2944 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
2945 whether this information is available.
2947 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
2948 buffers in case the translation is too large. Remember allocated
2949 memory blocks in a list.
2950 (free_mem): Free memory for translations.
2952 * intl/tst-gettext.c: Use correct locale. Improve error messages.
2954 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
2955 information is available set the string length to zero.
2957 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
2959 2000-06-30 Greg McGary <greg@mcgary.org>
2961 * sysdeps/powerpc/bp-asm.h: New file.
2962 * sysdeps/powerpc/__longjmp.S: Check bounds.
2963 Wrap extern symbols in BP_SYM ().
2964 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
2965 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
2966 * sysdeps/powerpc/setjmp.S: Likewise.
2967 * sysdeps/powerpc/add_n.S: Likewise.
2968 * sysdeps/powerpc/addmul_1.S: Likewise.
2969 * sysdeps/powerpc/lshift.S: Likewise.
2970 * sysdeps/powerpc/rshift.S: Likewise.
2971 * sysdeps/powerpc/mul_1.S: Likewise.
2972 * sysdeps/powerpc/sub_n.S: Likewise.
2973 * sysdeps/powerpc/submul_1.S: Likewise.
2974 * sysdeps/powerpc/strlen.S: Likewise.
2975 * sysdeps/powerpc/memset.S: Likewise.
2976 * sysdeps/powerpc/stpcpy.S: Likewise.
2977 * sysdeps/powerpc/strcmp.S: Likewise.
2978 * sysdeps/powerpc/strcpy.S: Likewise.
2979 * sysdeps/powerpc/elf/bzero.S: Likewise.
2981 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
2982 Line up operands column with tabs.
2984 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2986 * elf/Makefile (LDFLAGS-origtest): Actually add it.
2988 * sysdeps/ia64/htonl.S: New file.
2989 * sysdeps/ia64/htons.S: New file.
2990 * sysdeps/ia64/memcpy.S: Replace with version which does not use
2991 floating point registers.
2992 Patches by Dan Pop <Dan.Pop@cern.ch>.
2994 2000-06-30 Andreas Jaeger <aj@suse.de>
2996 * posix/Makefile (tests): tst-exec and tst-spawn only work with
2999 * io/Makefile (CFLAGS-test-lfs.c): New.
3000 (tests): Add test-lfs.
3002 * io/test-lfs.c: New file.
3004 2000-06-30 Jakub Jelinek <jakub@redhat.com>
3006 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
3009 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
3011 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
3013 2000-06-29 Jes Sorensen <jes@linuxcare.com>
3015 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
3016 alias to the fstatfs call.
3018 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
3019 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
3021 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
3022 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
3024 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
3025 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
3026 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
3027 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
3029 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
3030 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
3032 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
3033 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
3035 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
3036 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
3038 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
3040 2000-06-29 Andreas Jaeger <aj@suse.de>
3042 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
3044 (print_err_message): Likewise.
3045 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
3047 2000-06-29 Ulrich Drepper <drepper@redhat.com>
3049 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
3050 used as words is properly aligned.
3052 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
3055 2000-06-29 Greg McGary <greg@mcgary.org>
3057 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
3058 * sysdeps/unix/make-syscalls.sh: Handle signatures of
3059 length 7..9, just in case...
3060 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
3062 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
3063 (POP_ERRNO_LOCATION_RETURN): Fold insns.
3064 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
3065 (PUSH_SIGNAL_MASK): New macro.
3066 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
3067 LEAVE is unnecessary. Check bounds of jmp_buf.
3068 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
3069 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
3070 immediately before tail-call.
3071 * sysdeps/i386/setjmp.S: Likewise.
3072 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3073 * sysdeps/i386/bsd-setjmp.S: Likewise.
3075 2000-06-29 Jakub Jelinek <jakub@redhat.com>
3077 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
3079 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
3080 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
3081 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
3082 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3083 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
3084 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
3085 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
3086 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
3088 2000-06-29 Ulrich Drepper <drepper@redhat.com>
3090 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
3091 we later need to calling free().
3092 Patch by Matt Wilson <msw@redhat.com>.
3094 * stdio-common/tst-printf.c: Add test for above problem.
3096 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
3098 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
3099 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
3101 2000-06-28 Jes Sorensen <jes@linuxcare.com>
3103 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
3104 prototype for abs().
3105 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
3107 2000-06-23 Andreas Jaeger <aj@suse.de>
3109 * config.h.in: Don't use regparm with bounded pointers.
3111 2000-06-29 Ulrich Drepper <drepper@redhat.com>
3113 * stdlib/grouping.h: Correctly handle multibyte thousands
3114 separator and decimal point.
3115 * stdlib/stdtod.c: Likewise.
3116 * sysdeps/generic/strtol.c: Likewise.
3118 * locale/categories.def: Add entries for wide character decimal point
3119 and thousands separator in numeric and monetary category.
3121 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3123 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
3124 second definition and initialization of decimal.
3126 2000-06-28 Greg McGary <greg@mcgary.org>
3128 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
3130 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
3131 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
3133 (_IO_JUMPS): Don't cast THIS--expect arg to be a
3134 (struct _IO_FILE_plus *).
3135 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
3136 THIS, since _IO_JUMPS no longer does it implicitly.
3137 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
3138 arg type as (struct _IO_FILE_plus *).
3139 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
3140 arg as (_IO_strfile *).
3141 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
3142 Declare 1st arg as (_IO_strfile *).
3143 * libio/fileops.c (_IO_new_file_init): Declare
3144 arg type as (struct _IO_FILE_plus *).
3145 * libio/oldfileops.c (_IO_old_file_init): Likewise.
3146 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
3147 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
3148 Declare iteration pointer as (struct _IO_FILE_plus *).
3149 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
3150 (struct _IO_FILE_plus *).
3151 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
3152 * libio/oldstdfiles.c (_IO_list_all): Likewise.
3153 (_IO_check_libio): Set user-visible handles to
3154 (struct _IO_FILE_plus *).
3155 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
3156 to (struct _IO_FILE_plus *).
3158 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
3159 whose high bound includes vtable to all functions that will use
3160 vtable. For streambufs, pass pointer whose bounds include struct
3162 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
3163 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3164 * libio/iofopen.c (_IO_new_fopen): Likewise.
3165 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3166 * libio/iofopen64.c (_IO_fopen64): Likewise.
3167 * libio/iopopen.c (_IO_new_popen): Likewise.
3168 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3169 * libio/memstream.c (open_memstream): Likewise.
3170 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3171 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
3172 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3173 * libio/iofopncook.c (_IO_cookie_init): Likewise.
3174 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
3175 * libio/vasprintf.c (_IO_vasprintf): Likewise.
3176 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3177 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3178 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
3179 * stdlib/strfmon.c (__strfmon_l): Likewise.
3180 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
3181 (vfprintf): Qualify computed-goto targets as unbounded.
3183 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3185 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
3186 thousands separator correctly.
3188 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
3189 * stdio-common/vfwscanf.c: Likewise.
3191 2000-06-27 Jes Sorensen <jes@linuxcare.com>
3193 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
3194 count into signatures for most calls.
3196 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3198 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
3199 the generic parser now.
3201 2000-06-28 Jes Sorensen <jes@linuxcare.com>
3203 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
3204 table entries are 32 bit on the ia64 (as specified by the ABI),
3205 not 64 bit as on the Alpha.
3207 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
3208 change of objects to use 32 bit hash table indices (see above).
3210 2000-06-28 Jes Sorensen <jes@linuxcare.com>
3212 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
3213 prototype for abs().
3215 2000-06-28 Wolfram Gloger <wg@malloc.de>
3217 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
3218 fails, try mmap_chunk() as a last resort even though n_mmaps_max
3219 may have been reached.
3221 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3223 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
3224 symbols in multi-character weights correctly.
3226 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
3227 depending on whether the input string is empty or not.
3229 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
3230 given state and not avoiding this by modifying a local object.
3231 * wcsmbs/wcrtomb.c: Likewise.
3233 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
3234 object since some incomplete characters might be in there.
3236 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
3237 sequences with first byte 0x8e correctly.
3239 * iconvdata/jis0208.h: Remove redundant test.
3241 2000-06-27 Ulrich Drepper <drepper@redhat.com>
3243 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
3244 Add it where it is needed now.
3246 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
3247 the input charset into account when generating the hash table.
3248 (allocate_arrays): Correct setting default width. Not all empty slots
3249 in the table are filled, only those not covert explicitly by the
3250 locale description and in the charset.
3252 * wctype/towctrans.c (__towctrans): Be graceful and accept error
3253 return values from the wctrans function.
3255 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
3256 wide character version.
3257 For %C handling, test correct pointer variable for NULL.
3259 * wcsmbs/wctob.c: Handle WEOF special.
3261 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
3263 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
3264 always-true test to avoid warning.
3266 2000-06-27 Greg McGary <greg@mcgary.org>
3268 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
3269 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
3270 (symbol_version, default_symbol_version): Factor redundant
3271 definitions out of conditional.
3273 2000-06-27 Jakub Jelinek <jakub@redhat.com>
3275 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
3278 2000-06-26 Ulrich Drepper <drepper@redhat.com>
3280 * include/libc-symbols.h (symbol_version): Add extra level of
3282 (default_symbol_version): Likewise.
3284 2000-06-26 Greg McGary <greg@mcgary.org>
3286 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
3287 for BP return value & push implicit struct-return pointer to
3289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3290 (SYSCALL_ERROR_HANDLER): Likewise.
3291 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
3292 (SYSCALL_ERROR_HANDLER): Likewise.
3294 * Makeconfig: Add missing comment.
3295 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
3296 BP-flavored startup object.
3297 ($(objpfx)b$(start-installed-name)): New rule.
3298 * include/libc-symbols.h (symbol_set_declare): Change type
3299 of `__start_##set' and `__stop_##set' to pointer-to-function.
3300 (symbol_set_declare): Change type of `set' to array of
3301 pointer-to-function.
3302 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
3303 pointer-to-function.
3305 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
3307 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
3308 Remove clock_* and timer_* entries.
3309 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
3310 arg-count with signatures.
3312 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
3313 Check bounds of arguments.
3314 * sysdeps/i386/addmul_1.S: Likewise.
3315 * sysdeps/i386/lshift.S: Likewise.
3316 * sysdeps/i386/mul_1.S: Likewise.
3317 * sysdeps/i386/rshift.S: Likewise.
3318 * sysdeps/i386/sub_n.S: Likewise.
3319 * sysdeps/i386/submul_1.S: Likewise.
3320 * sysdeps/i386/i586/add_n.S: Likewise.
3321 * sysdeps/i386/i586/addmul_1.S: Likewise.
3322 * sysdeps/i386/i586/lshift.S: Likewise.
3323 * sysdeps/i386/i586/rshift.S: Likewise.
3324 * sysdeps/i386/i586/sub_n.S: Likewise.
3325 * sysdeps/i386/i686/add_n.S: Likewise.
3327 * sysdeps/i386/memchr.S: Likewise.
3328 * sysdeps/i386/memcmp.S: Likewise.
3329 * sysdeps/i386/rawmemchr.S: Likewise.
3330 * sysdeps/i386/i586/bzero.S: Likewise.
3331 * sysdeps/i386/i586/memcpy.S: Likewise.
3332 * sysdeps/i386/i586/mempcpy.S: Likewise.
3333 * sysdeps/i386/i586/memset.S: Likewise.
3334 * sysdeps/i386/i686/bzero.S: Likewise.
3335 * sysdeps/i386/i686/memcpy.S: Likewise.
3336 * sysdeps/i386/i686/mempcpy.S: Likewise.
3337 * sysdeps/i386/i686/memset.S: Likewise.
3339 * sysdeps/i386/stpcpy.S: Likewise.
3340 * sysdeps/i386/stpncpy.S: Likewise.
3341 * sysdeps/i386/strchr.S: Likewise.
3342 * sysdeps/i386/strchrnul.S: Likewise.
3343 * sysdeps/i386/strcspn.S: Likewise.
3344 * sysdeps/i386/strpbrk.S: Likewise.
3345 * sysdeps/i386/strrchr.S: Likewise.
3346 * sysdeps/i386/strspn.S: Likewise.
3347 * sysdeps/i386/strtok.S: Likewise.
3348 * sysdeps/i386/strtok_r.S: Likewise.
3349 * sysdeps/i386/i486/strcat.S: Likewise.
3350 * sysdeps/i386/i486/strlen.S: Likewise.
3351 * sysdeps/i386/i586/strchr.S: Likewise.
3352 * sysdeps/i386/i586/strcpy.S: Likewise.
3353 * sysdeps/i386/i586/strlen.S: Likewise.
3354 * sysdeps/i386/i686/strcmp.S: Likewise.
3355 * sysdeps/i386/i686/strtok.S: Likewise.
3356 * sysdeps/i386/i686/strtok_r.S: Likewise.
3358 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
3359 * sysdeps/i386/fpu/fesetenv.c: Likewise.
3360 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
3361 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
3362 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
3364 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
3365 * sysdeps/i386/mul_1.S: Likewise.
3366 * sysdeps/i386/submul_1.S: Likewise.
3367 * sysdeps/i386/i586/add_n.S: Likewise.
3368 * sysdeps/i386/i586/addmul_1.S: Likewise.
3369 * sysdeps/i386/i586/lshift.S: Likewise.
3370 * sysdeps/i386/i586/mul_1.S: Likewise.
3371 * sysdeps/i386/i586/rshift.S: Likewise.
3372 * sysdeps/i386/i586/sub_n.S: Likewise.
3373 * sysdeps/i386/i586/submul_1.S: Likewise.
3375 2000-06-26 Ulrich Drepper <drepper@redhat.com>
3377 * rt/Makefile (librt-routines): Add clock_nanosleep.
3378 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
3379 * sysdeps/generic/clock_nanosleep.c: New file.
3380 * sysdeps/unix/clock_nanosleep.c: New file.
3381 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
3382 * time/time.h: Declare clock_nanosleep.
3384 2000-06-26 Greg McGary <greg@mcgary.org>
3386 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
3387 INSN1, INSN2, TEXT, GLOBL): Remove macros.
3388 (ALIGN): Cleanup surrounding conditionals.
3390 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
3391 Call ENTER/LEAVE macros.
3392 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
3393 * sysdeps/i386/submul_1.S: Likewise.
3395 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
3396 syntax. Define & use symbolic argument stack offsets. Call
3398 * sysdeps/i386/i586/mul_1.S: Likewise.
3399 * sysdeps/i386/i586/submul_1.S: Likewise.
3401 2000-06-25 Greg McGary <greg@mcgary.org>
3403 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
3406 2000-06-25 Ulrich Drepper <drepper@redhat.com>
3408 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
3409 * iconvdata/gen-8bit-gap.sh: Likewise.
3410 * iconvdata/gen-8bit.sh: Likewise.
3412 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
3414 * locale/programs/ld-collate.c (collate_read): Don't actually read
3415 the copy locale if we are ignoring the content.
3417 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
3420 * locale/programs/ld-collate.c: Correct handling of different
3422 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
3423 as extra parameter from which to copy category information.
3425 (load_locale): Likewise.
3426 * locale/programs/localedef.h: Update prototypes of add_to_readlist
3428 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
3429 * locale/programs/locfile.h: Likewise.
3430 * locale/programs/locfile-kw.gperf: Add entry for script.
3431 * locale/programs/locfile-token.h: Add tok_script.
3433 * locale/programs/locale.c: Update copyright year.
3434 * locale/programs/localedef.c: Likewise.
3436 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
3438 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
3439 Jens Moeller <jens.moeller@waii.com>.
3441 2000-06-24 Ulrich Drepper <drepper@redhat.com>
3443 * locale/programs/ld-name.c (name_finish): Add missing format
3444 specifier to test for name_fmt.
3446 * locale/programs/ld-address.c (iso639): Correct length of string
3448 (iso3166): Likewise.
3450 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
3452 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
3455 * elf/elf.h (NT_PRFPXREG): Define.
3457 2000-06-23 Ulrich Drepper <drepper@redhat.com>
3459 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
3460 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
3462 2000-06-23 Andreas Schwab <schwab@suse.de>
3464 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
3467 2000-06-23 Andreas Jaeger <aj@suse.de>
3469 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
3471 * io/test-stat.c: Add copyright header, mention Maciej.
3473 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
3474 SYS_mincore, SYS_madvise): Added.
3476 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
3479 2000-06-22 Ulrich Drepper <drepper@redhat.com>
3481 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
3482 (CFLAGS-tst_putwc.c): New definition.
3483 * libio/tst_getwc.c: New file.
3484 * libio/tst_getwc.input: New file.
3485 * libio/tst_putwc.c: New file.
3487 * include/string.h: Add prototype for __strdup.
3489 2000-06-22 Greg McGary <greg@mcgary.org>
3491 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
3492 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
3495 2000-06-23 Jes Sorensen <jes@linuxcare.com>
3497 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
3499 2000-06-22 Jes Sorensen <jes@linuxcare.com>
3501 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
3503 2000-06-22 Jes Sorensen <jes@linuxcare.com>
3505 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
3506 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
3508 2000-06-22 Ulrich Drepper <drepper@redhat.com>
3510 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
3511 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
3513 * sysdeps/mach/hurd/bits/stat.h: Likewise.
3514 * sysdeps/unix/bsd/bits/stat.h: Likewise.
3515 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
3516 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3517 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
3518 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
3519 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3520 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
3521 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3522 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3523 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
3524 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
3525 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
3526 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
3529 2000-06-22 Andreas Jaeger <aj@suse.de>
3531 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
3534 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
3536 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
3538 2000-06-21 Ulrich Drepper <drepper@redhat.com>
3540 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
3543 2000-06-21 Greg McGary <greg@mcgary.org>
3545 * Makerules (elide-routines.*, elide-bp-thunks):
3546 Define unconditionally.
3548 2000-06-21 Jes Sorensen <jes@linuxcare.com>
3550 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
3552 2000-06-21 Andreas Jaeger <aj@suse.de>
3554 * io/Makefile (tests): Add test-stat.
3555 (CFLAGS-test-stat.c): New.
3557 * io/test-stat.c: New file from Maciej W. Rozycki
3558 <macro@ds2.pg.gda.pl>.
3560 2000-06-21 Jes Sorensen <jes@linuxcare.com>
3562 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
3563 in __rlimit_resource to make them match the kernel order.
3564 rlim_t is always 64 bit, use __rlim64_t to declare it
3567 2000-05-04 Jes Sorensen <jes@linuxcare.com>
3569 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
3570 RLIM_INFINITY before defining it to avoid clash with kernel header
3572 2000-05-03 Jes Sorensen <jes@linuxcare.com>
3574 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
3576 2000-06-21 Ulrich Drepper <drepper@redhat.com>
3578 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
3580 2000-06-21 Andreas Jaeger <aj@suse.de>
3582 * stdio-common/temptest.c: Include <stdlib.h>.
3583 * stdio-common/tst-fileno.c: Likewise.
3584 * stdio-common/scanf4.c: Likewise.
3585 * stdio-common/scanf5.c: Likewise.
3586 * time/clocktest.c: Likewise.
3587 * posix/test-vfork.c: Likewise.
3588 * posix/globtest.c: Likewise.
3589 * io/test-utime.c: Likewise.
3590 * wctype/test_wcfuncs.c: Likewise.
3591 * crypt/cert.c: Likewise.
3593 * stdio-common/tst-printfsz.c: Include <string.h>.
3594 * libio/tst_swscanf.c: Likewise.
3595 * libio/tst_wscanf.c: Likewise.
3596 * posix/runtests.c: Likewise.
3597 * posix/tst-getaddrinfo.c: Likewise.
3598 * posix/wordexp-test.c: Likewise.
3599 * misc/tst-efgcvt.c: Likewise.
3601 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
3602 * nss/test-netdb.c: Likewise.
3604 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
3605 supported kernel for MIPS.
3607 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
3608 * rt/aio_suspend.c: Likewise.
3610 2000-06-20 Ulrich Drepper <drepper@redhat.com>
3612 * math/libm-test.inc: Include <string.h>.
3614 2000-06-20 Jes Sorensen <jes@linuxcare.com>
3616 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
3618 2000-06-20 Jes Sorensen <jes@linuxcare.com>
3620 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
3621 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
3623 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
3625 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
3627 2000-06-20 Jes Sorensen <jes@linuxcare.com>
3629 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
3631 2000-06-20 Ulrich Drepper <drepper@redhat.com>
3633 * locale/programs/ld-collate.c (insert_value): Now take string and
3634 length instead of struct token* parameter. Adjust use of token.
3635 (handle_ellipsis): Likewise.
3636 (collate_read): Allow <Uxxxx> names and transform them into names
3637 to be passed to insert_value and handle_ellipsis.
3639 * locale/programs/ld-ctype.c (uninames): New array with names of
3640 digits in <Uxxxxxxxx> format.
3641 (ctype_finish): Correct search for space character value. Likewise
3642 for default outdigits values.
3644 2000-06-20 Greg McGary <greg@mcgary.org>
3646 * Makerules (objects): Add BP thunks.
3648 2000-06-20 Ulrich Drepper <drepper@redhat.com>
3650 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
3651 in width definitions.
3653 2000-06-20 Andreas Jaeger <aj@suse.de>
3655 * sysdeps/mips/fpu/libm-test-ulps: New file.
3657 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
3660 * sysdeps/mips/fpu/feholdexcpt.c: New file.
3662 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
3664 2000-06-19 Ulrich Drepper <drepper@redhat.com>
3666 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
3667 change in gconv_builtin.h.
3669 * malloc/Makefile: Change all references to memprof into memusage.
3670 * malloc/memprof.c: Rename to...
3671 * malloc/memusage.c: ...this. New file.
3672 * malloc/memprof.sh: Rename to...
3673 * malloc/memusage.sh: ...this. New file.
3674 * malloc/memprofstat.c: Rename to...
3675 * malloc/memusagestat.c: ...this. New file.
3676 * sysdeps/alpha/memprof.h: Rename to..
3677 * sysdeps/alpha/memusage.h: ...this. New file.
3678 * sysdeps/arm/memprof.h: Rename to..
3679 * sysdeps/arm/memusage.h: ...this. New file.
3680 * sysdeps/generic/memprof.h: Rename to..
3681 * sysdeps/generic/memusage.h: ...this. New file.
3682 * sysdeps/i386/memprof.h: Rename to..
3683 * sysdeps/i386/memusage.h: ...this. New file.
3684 * sysdeps/ia64/memprof.h: Rename to..
3685 * sysdeps/ia64/memusage.h: ...this. New file.
3686 * sysdeps/m68k/memprof.h: Rename to..
3687 * sysdeps/m68k/memusage.h: ...this. New file.
3688 * sysdeps/mips/memprof.h: Rename to..
3689 * sysdeps/mips/memusage.h: ...this. New file.
3690 * sysdeps/powerpc/memprof.h: Rename to..
3691 * sysdeps/powerpc/memusage.h: ...this. New file.
3692 * sysdeps/sparc/memprof.h: Rename to..
3693 * sysdeps/sparc/memusage.h: ...this. New file.
3694 * sysdeps/sh/memprof.h: Rename to..
3695 * sysdeps/sh/memusage.h: ...this. New file.
3697 * elf/sprof.c (print_version): Update year.
3699 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
3700 table entry values. Use D_PTR.
3701 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
3702 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
3704 2000-06-20 Jes Sorensen <jes@linuxcare.com>
3706 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
3707 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
3708 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
3709 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
3711 2000-05-05 Jes Sorensen <jes@linuxcare.com>
3713 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
3715 2000-06-16 Jes Sorensen <jes@linuxcare.com>
3717 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
3718 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
3719 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
3721 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
3723 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
3726 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
3727 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
3729 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
3732 2000-06-15 Jes Sorensen <jes@linuxcare.com>
3734 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
3736 2000-06-08 Jes Sorensen <jes@linuxcare.com>
3738 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
3740 2000-06-19 Ulrich Drepper <drepper@redhat.com>
3742 * iconv/gconv_int.h (strict gconv_module): Remove all members
3743 associated with regular expressions. Use a simple string as the
3745 * iconv/gconv_db.c: Remove code handling regular expressions.
3746 * iconv/gconv_conf.c: Likewise.
3747 * iconv/iconv_prog.c: Likewise.
3748 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
3750 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
3751 General namespace cleanup.
3752 (struct __gconv_trans_data): Add next field.
3753 (struct __gconv_step_data): Make __trans a pointer.
3754 * iconv/gconv_conf.c: Split out code to find gconv directories from
3755 __gconv_read_conf in new functions.
3756 * iconv/gconv_int.h: Define new data structure and declare new
3757 functions for handling of gconv directory list.
3758 * iconv/gconv_open.c: Allow more than one error handling step being
3759 used. Call function to load error handling module if it is none
3760 of the builtin transformations.
3761 * iconv/gconv_close.c: Add code to free transliteration data.
3762 * iconv/gconv_trans.c: Add functions to load and unload modules
3763 implementing transliteration etc.
3764 * iconv/skeleton.c: Call all context functions now that more than
3765 one module is allowed.
3766 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
3767 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
3768 where the full error handling using transliteration is needed.
3769 * iconvdata/8bit-gap.c: Likewise.
3770 * iconvdata/8bit-generic.c: Likewise.
3771 * iconvdata/ansi_x3.110.c: Likewise.
3772 * iconvdata/big5.c: Likewise.
3773 * iconvdata/big5hkscs.c: Likewise.
3774 * iconvdata/euc-cn.c: Likewise.
3775 * iconvdata/euc-jp.c: Likewise.
3776 * iconvdata/euc-kr.c: Likewise.
3777 * iconvdata/euc-tw.c: Likewise.
3778 * iconvdata/gbgbk.c: Likewise.
3779 * iconvdata/gbk.c: Likewise.
3780 * iconvdata/iso-2022-cn.c: Likewise.
3781 * iconvdata/iso-2022-jp.c: Likewise.
3782 * iconvdata/iso-2022-kr.c: Likewise.
3783 * iconvdata/iso646.c: Likewise.
3784 * iconvdata/iso8859-1.c: Likewise.
3785 * iconvdata/iso_6937-2.c: Likewise.
3786 * iconvdata/iso_6937.c: Likewise.
3787 * iconvdata/johab.c: Likewise.
3788 * iconvdata/sjis.c: Likewise.
3789 * iconvdata/t.61.c: Likewise.
3790 * iconvdata/uhc.c: Likewise.
3791 * iconvdata/unicode.c: Likewise.
3792 * iconvdata/utf-16.c: Likewise.
3793 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
3794 structure correctly after last change.
3795 * wcsmbs/btowc.c: Likewise.
3796 * wcsmbs/mbrtowc.c: Likewise.
3797 * wcsmbs/mbsnrtowcs.c: Likewise.
3798 * wcsmbs/mbsrtowcs.c: Likewise.
3799 * wcsmbs/wcrtomb.c: Likewise.
3800 * wcsmbs/wcsnrtombs.c: Likewise.
3801 * wcsmbs/wcsrtombs.c: Likewise.
3802 * wcsmbs/wctob.c: Likewise.
3804 * localedata/Makefile: Set -Wno-format for some files since gcc does
3805 not know all the format specifiers.
3807 2000-06-18 Ulrich Drepper <drepper@redhat.com>
3809 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
3811 * locale/lc-time.c (_nl_init_era_entries): Likewise.
3813 2000-06-18 Andreas Jaeger <aj@suse.de>
3815 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
3816 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
3818 2000-06-17 Ulrich Drepper <drepper@redhat.com>
3820 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
3822 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
3824 * locale/programs/ld-ctype.c (ctype_output): Really write out
3825 mboutdigits information.
3826 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
3827 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
3828 * localedata/tests/trans.def: Add outdigit information.
3830 * localedata/tst-mbswcs3.c: Remove comment.
3832 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
3833 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
3834 * libio/tst_wprintf.c (main): Add test for I flag.
3836 * iconv/gconv_trans.c: Implement handling if translit_ignore.
3837 * locale/langinfo.h: Add entries for translit_ignore information.
3838 * locale/categories.def: Add entries for new LC_CTYPE elements.
3839 * locale/C-ctype.c: Add initializers for new fields. Use NULL
3840 pointer instead of "" where possible.
3841 * locale/programs/ld-ctype.c: Write out translit_ignore information.
3842 * intl/Depend: Add localedata.
3843 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
3844 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
3846 2000-06-16 Ulrich Drepper <drepper@redhat.com>
3848 * locale/langinfo.h: Add entries for default_missing information.
3849 * locale/C-ctype.c: Add initializers for new fields.
3850 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
3852 * locale/categories.h: Add entries for all LC_CTYPE values.
3853 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
3856 * localedata/tst-trans.c: Write out an error message if class is
3859 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
3860 * iconv/gconv_open.c: Remove error handling specification from `from'
3862 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
3863 new parameter to always enable transliteration.
3864 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
3866 (struct locale_data): Add new members use_translit and options.
3867 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
3868 character set name contained modifier TRANSLIT.
3869 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
3871 (_nl_unload_locale): Free options string if necessary.
3872 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
3873 the locale names suggested this.
3874 * locale/C-address.c: Add two new initialilzers to adjust data
3875 structure for new format.
3876 * locale/C-collate.c: Likewise.
3877 * locale/C-ctype.c: Likewise.
3878 * locale/C-identification.c: Likewise.
3879 * locale/C-measurement.c: Likewise.
3880 * locale/C-messages.c: Likewise.
3881 * locale/C-monetary.c: Likewise.
3882 * locale/C-name.c: Likewise.
3883 * locale/C-numeric.c: Likewise.
3884 * locale/C-paper.c: Likewise.
3885 * locale/C-telephone.c: Likewise.
3886 * locale/C-time.c: Likewise.
3888 * locale/setlocale.c: Add some more __builtin_expect.
3890 2000-06-15 Ulrich Drepper <drepper@redhat.com>
3892 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
3894 (__gconv_init_fct): Remove two parameters.
3895 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
3896 gconv_transliterate. Remove two parameters.
3897 Change prototypes of builtin functions according to __gconv_fct change.
3898 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
3899 != NULL only during error handling. Stop in this case after the
3901 * iconv/gconv_trans.c: Replace with real implementation for
3902 __gconv_transliterate.
3903 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
3904 * iconv/gconv.c: Change calls to downstream functions once again.
3905 Use NULL for the fifth parameter instead of pointer to output buffer.
3906 * libio/iofwide.c: Likewise.
3907 * wcsmbs/btowc.c: Likewise.
3908 * wcsmbs/mbrtowc.c: Likewise.
3909 * wcsmbs/mbsnrtowcs.c: Likewise.
3910 * wcsmbs/mbsrtowcs.c: Likewise.
3911 * wcsmbs/wcrtomb.c: Likewise.
3912 * wcsmbs/wcsnrtombs.c: Likewise.
3913 * wcsmbs/wcsrtombs.c: Likewise.
3914 * wcsmbs/wctob.c: Likewise.
3915 * iconv/gconv_simple.c: Remove two parameters from error handling
3917 * iconvdata/8bit-gap.c: Likewise.
3918 * iconvdata/8bit-generic.c: Likewise.
3919 * iconvdata/ansi_x3.110.c: Likewise.
3920 * iconvdata/big5.c: Likewise.
3921 * iconvdata/big5hkscs.c: Likewise.
3922 * iconvdata/euc-cn.c: Likewise.
3923 * iconvdata/euc-jp.c: Likewise.
3924 * iconvdata/euc-kr.c: Likewise.
3925 * iconvdata/euc-tw.c: Likewise.
3926 * iconvdata/gbgbk.c: Likewise.
3927 * iconvdata/gbk.c: Likewise.
3928 * iconvdata/iso-2022-cn.c: Likewise.
3929 * iconvdata/iso-2022-jp.c: Likewise.
3930 * iconvdata/iso-2022-kr.c: Likewise.
3931 * iconvdata/iso646.c: Likewise.
3932 * iconvdata/iso8859-1.c: Likewise.
3933 * iconvdata/iso_6937-2.c: Likewise.
3934 * iconvdata/iso_6937.c: Likewise.
3935 * iconvdata/johab.c: Likewise.
3936 * iconvdata/sjis.c: Likewise.
3937 * iconvdata/t.61.c: Likewise.
3938 * iconvdata/uhc.c: Likewise.
3939 * iconvdata/unicode.c: Likewise.
3940 * iconvdata/utf-16.c: Likewise.
3942 2000-06-15 Greg McGary <greg@mcgary.org>
3944 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
3945 of callnum assignment. Tolerate callnum expressions containing
3948 2000-06-14 Ulrich Drepper <drepper@redhat.com>
3950 * login/Makefile (utmpd): Remove rule to build utmpd.
3952 * csu/Versions: Move libgcc frame handling functions from here...
3953 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
3954 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
3955 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
3956 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
3957 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
3958 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
3960 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
3962 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
3964 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
3966 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3968 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
3970 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
3971 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
3972 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
3973 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
3975 2000-06-14 Jakub Jelinek <jakub@redhat.com>
3977 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
3978 defined, terminate quotes and read them after the comment char.
3979 * configure.in (HAVE_SECTION_QUOTES): Test whether
3980 __attribute__((section ("x"))) puts quotes around x or not.
3981 * config.h.in (HAVE_SECTION_QUOTES): Add.
3982 * configure: Rebuilt.
3984 2000-06-14 Andreas Jaeger <aj@suse.de>
3986 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
3987 depending on the configure option --sysconfdir.
3988 Closes PR libc/1762.
3989 Patch by Andreas Schwab <schwab@suse.de>.
3991 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
3993 Reported by Jim Pick <jim@jimpick.com>.
3995 2000-06-14 Ulrich Drepper <drepper@redhat.com>
3997 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
3998 crashing the application. Emit some simple error message.
3999 Reported by mju@panasas.com [PR libc/1769].
4001 2000-06-13 Ulrich Drepper <drepper@redhat.com>
4003 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
4005 * crypt/Makefile (distribute): Add md5.h.
4007 * Makefile (distribute): Add include/shlib-compat.h.
4009 * Make-dist: Search for tests also in sysdeps hierachy.
4011 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
4012 ufc.c, speeds.c, README.ufc-crypt, and Banner.
4014 * sysdeps/sparc/Subdirs: New file.
4016 * locale/Makefile (distribute): Add weightwc.h and
4017 programs/localedef.h.
4019 * time/Makefile (distribute): Add datemsk.
4021 * sysdeps/ia64/Dist: Add softpipe.h.
4023 * sysdeps/unix/sysv/aix/Dist: New file.
4025 * posix/setpgrp.c: Moved to...
4026 * sysdeps/generic/setpgrp.c: ...here. New file.
4027 * io/mknod.c: Moved to...
4028 * sysdeps/generic/mknod.c: ...here. New file.
4030 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
4032 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
4034 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
4036 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
4037 gprsave0.S, gprrest1.S, and gprrest0.S.
4039 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
4041 * posix/Makefile (routines): Add spawnattr_getsigmask,
4042 spawnattr_getschedpolicy, spawnattr_getschedparam,
4043 spawnattr_setsigmask, spawnattr_setschedpolicy, and
4044 spawnattr_setschedparam.
4045 * posix/Versions: Add posix_spawnattr_getschedpolicy,
4046 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
4047 posix_spawnattr_setschedparam.
4049 * posix/spawnattr_setschedparam.c: Fix typo.
4051 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
4054 * login/programs/utmpd.c: Removed.
4055 * login/programs/utmpd.h: Removed.
4056 * login/programs/utmpd-private.h: Removed.
4058 * Makefile (distribute): Add include/db_185.h and include/db.h.
4060 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
4063 * elf/Makefile (distribute): Add missing files.
4065 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
4066 * elf/eval.c: Moved to...
4067 * dlfcn/eval.c: ...here. New file.
4069 * Makefile (distribute): Also distribute ChangeLog.1?.
4071 * Make-dist (+tsrcs): Remove .args handling here as well.
4073 * rt/Makefile (tests): Add tst-timer.
4074 * sysdeps/generic/tst-timer.c: New file.
4076 * Makerules (sources): Don't add BP sources here.
4078 * login/Makefile (distribute): Remove xtmp.h.
4080 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
4081 is true. Reported by Bruno Haible <haible@ilog.fr>.
4083 2000-06-13 Andreas Jaeger <aj@suse.de>
4085 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
4086 Patch by Ralf Baechle <ralf@gnu.org>.
4088 2000-06-13 Ulrich Drepper <drepper@redhat.com>
4090 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
4091 for mincore syscall.
4093 * misc/sys/cdefs.h: Define __bounded and __unbounded if
4094 __BOUNDED_POINTERS__ is not defined.
4096 2000-06-07 Greg McGary <greg@mcgary.org>
4098 * sysdeps/generic/bp-sym.h: New file.
4099 * sysdeps/generic/bp-start.h: New file.
4100 * sysdeps/i386/elf/start.S: Designate BP symbols.
4101 * sysdeps/generic/libc-start.c: Wrap bounds around
4102 argv & envp and each of their string members.
4104 2000-06-07 Greg McGary <greg@mcgary.org>
4106 * sysdeps/unix/make-syscalls.sh: Add comments to
4107 output that aid debugging & comprehension.
4108 Map simple syscall signatures to number of args.
4109 Generate BP syscall thunk definitions.
4110 * sysdeps/generic/bp-thunks.h: New file.
4111 * sysdeps/unix/syscalls.list: Replace arg-count with
4112 simple return+arg signature.
4113 * sysdeps/unix/common/syscalls.list: Likewise.
4114 * sysdeps/unix/inet/syscalls.list: Likewise.
4115 * sysdeps/unix/mman/syscalls.list: Likewise.
4116 * sysdeps/unix/sysv/syscalls.list: Likewise.
4117 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4118 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4120 2000-06-07 Greg McGary <greg@mcgary.org>
4122 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
4123 for all files *.[cS].
4124 (CFLAGS-.ob): Don't optimize sibling calls.
4125 (bppfx): New variable.
4126 * Makerules (elide-bp-thunks): New variable.
4127 (elide-routines.*): Elide BP-* files for all but *.ob.
4128 (sources): Include bp-thunks.
4130 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4132 * iconv/gconv_simple.c: Remove unnecessary prototype.
4134 * iconv/gconv_trans.c: Pretty print.
4136 * elf/elf.h (R_SH_NUM): Got accidently dropped.
4138 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
4139 minimal kernel versions. Add information about IA-64 kernel.
4141 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
4142 specific minimal supported kernel versions to be specified.
4144 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
4145 step data structure.
4146 * wcsmbs/btowc.c: Likewise.
4147 * wcsmbs/mbrtowc.c: Likewise.
4148 * wcsmbs/mbsnrtowcs.c: Likewise.
4149 * wcsmbs/mbsrtowcs.c: Likewise.
4150 * wcsmbs/wcrtomb.c: Likewise.
4151 * wcsmbs/wcsnrtombs.c: Likewise.
4152 * wcsmbs/wcsrtombs.c: Likewise.
4153 * wcsmbs/wctob.c: Likewise.
4155 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
4156 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
4158 * shlib-versions: Earliest backward compatible version for SH is 2.2.
4160 * misc/sys/cdefs.h: Remove one more __P.
4162 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
4165 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
4166 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
4167 * sysdeps/sh/bits/setjmp.h: ...here. New file.
4169 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4170 Yutaka Niibe <gniibe@chroot.org>
4172 * configure.in: Add machine sh3, sh4.
4173 * elf/elf.h: Add SH specific declarations of relocations.
4174 * shlib-versions: Add sh*-*-linux* cases.
4176 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4178 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
4179 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
4180 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
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.
4185 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
4186 instead of KERNEL_MATH_EMULATION.
4187 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
4188 KERNEL_MATH_EMULATION.
4190 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
4191 * sysdeps/sh/sh3/dl-machine.h: Moved to...
4192 * sysdeps/sh/dl-machine.h: ...here. New file.
4193 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
4194 and include generic SH version.
4195 * sysdeps/sh/sh3/bits/endian.h: Move to...
4196 * sysdeps/sh/bits/endian.h: ...here. New file.
4197 * sysdeps/sh/sh4/bits/endian.h: Removed.
4198 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
4199 * sysdeps/sh/bits/huge_val.h: ...here. New file.
4200 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
4202 * include/libc-symbols.h (link_warning): Work around a change in
4203 GAS which warns about changing section attributes.
4204 Proposed by Nick Clifton <nickc@redhat.com>.
4206 2000-06-12 H.J. Lu <hjl@gnu.org>
4208 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
4210 2000-06-11 H.J. Lu <hjl@gnu.org>
4212 * sysdeps/i386/fpu/Versions: New file.
4214 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4216 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
4218 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
4221 2000-06-12 Jes Sorensen <jes@linuxcare.com>
4223 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
4224 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
4225 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
4227 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
4228 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
4229 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
4231 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
4232 Yutaka Niibe <gniibe@chroot.org>
4234 * sysdeps/sh/Dist: New file.
4235 * sysdeps/sh/Implies: New file.
4236 * sysdeps/sh/elf/initfini.c: New file.
4237 * sysdeps/sh/gmp-mparam.h: New file.
4238 * sysdeps/sh/init-first.c: New file.
4239 * sysdeps/sh/machine-gmon.h: New file.
4240 * sysdeps/sh/memcpy.S: New file.
4241 * sysdeps/sh/memprof.h: New file.
4242 * sysdeps/sh/memset.S: New file.
4243 * sysdeps/sh/sh3/__longjmp.S: New file.
4244 * sysdeps/sh/sh3/bits/endian.h: New file.
4245 * sysdeps/sh/sh3/bits/huge_val.h: New file.
4246 * sysdeps/sh/sh3/bits/setjmp.h: New file.
4247 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
4248 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
4249 * sysdeps/sh/sh3/dl-machine.h: New file.
4250 * sysdeps/sh/sh3/setjmp.S: New file.
4251 * sysdeps/sh/sh4/__longjmp.S: New file.
4252 * sysdeps/sh/sh4/bits/endian.h: New file.
4253 * sysdeps/sh/sh4/bits/huge_val.h: New file.
4254 * sysdeps/sh/sh4/bits/setjmp.h: New file.
4255 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
4256 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
4257 * sysdeps/sh/sh4/dl-machine.h: New file.
4258 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
4259 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
4260 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
4261 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
4262 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
4263 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
4264 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
4265 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
4266 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
4267 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
4268 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
4269 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
4270 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
4271 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
4272 * sysdeps/sh/sh4/setjmp.S: New file.
4273 * sysdeps/sh/elf/start.S: New file.
4274 * sysdeps/sh/sys/ucontext.h: New file.
4275 * sysdeps/sh/strlen.S: New file.
4276 * sysdeps/sh/sysdep.h: New file.
4277 * sysdeps/unix/sh/sysdep.S: New file.
4278 * sysdeps/unix/sh/sysdep.h: New file.
4279 * sysdeps/unix/sysv/linux/sh/Dist: New file.
4280 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
4281 * sysdeps/unix/sysv/linux/sh/Versions: New file.
4282 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
4283 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
4284 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
4285 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
4286 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
4287 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
4288 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
4289 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
4290 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
4291 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
4292 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
4293 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
4294 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
4295 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
4296 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
4297 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
4298 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
4299 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
4300 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
4301 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
4302 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
4303 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
4304 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
4305 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
4306 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
4307 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
4308 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
4309 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
4310 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
4311 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
4312 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
4313 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
4314 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
4315 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
4316 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
4317 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
4318 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
4319 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
4320 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
4321 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
4322 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4323 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
4324 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
4325 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
4326 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
4327 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
4328 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
4330 2000-06-12 Ulrich Drepper <drepper@redhat.com>
4332 * Rules (%.out): Define GCONV_PATH in the environment.
4333 * assert/Depend: New file.
4334 * iconvdata/Depend: New file.
4335 * intl/Depend: New file.
4336 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
4337 * intl/tst-gettext.sh: Likewise.
4338 * iconv/Makefile (routines): Add gconv_trans.
4339 * iconv/gconv_trans.c: New file.
4340 * iconv/gconv.h (struct __gconv_trans_data): New type.
4341 (__gconv_fct): New parameter with starting position in output buffer.
4342 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
4343 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
4344 (struct __gconv_step): Add new member __trans.
4345 * iconv/gconv_int.h: Pretty print prototypes.
4346 (gconv_transliterate): New prototype.
4347 (__BUILTIN_TRANS): Update for new conversion function interface.
4348 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
4349 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
4350 in names, find appropriate function, and install in the conversion
4351 steps it can be used.
4352 * iconv/skeleton.c: Add additional parameter for beginning of output
4353 buffer. Change calls of downstream functions.
4354 * iconv/loop.c: Change loop function interface completely. Pass in
4355 step and step_data structure. Remove optimization for BODY with
4356 NEED_LENGTH_TEST == 0.
4357 * iconv/gconv_simple.c: Update interfaces of functions. Insert
4358 appropriate error handling code to use transliteration steps. Remove
4359 optimization for BODY with NEED_LENGTH_TEST == 0.
4360 * iconvdata/8bit-gap.c: Likewise.
4361 * iconvdata/8bit-generic.c: Likewise.
4362 * iconvdata/ansi_x3.110.c: Likewise.
4363 * iconvdata/big5.c: Likewise.
4364 * iconvdata/big5hkscs.c: Likewise.
4365 * iconvdata/euc-cn.c: Likewise.
4366 * iconvdata/euc-jp.c: Likewise.
4367 * iconvdata/euc-kr.c: Likewise.
4368 * iconvdata/euc-tw.c: Likewise.
4369 * iconvdata/gbgbk.c: Likewise.
4370 * iconvdata/gbk.c: Likewise.
4371 * iconvdata/iso-2022-cn.c: Likewise.
4372 * iconvdata/iso-2022-jp.c: Likewise.
4373 * iconvdata/iso-2022-kr.c: Likewise.
4374 * iconvdata/iso646.c: Likewise.
4375 * iconvdata/iso8859-1.c: Likewise.
4376 * iconvdata/iso_6937-2.c: Likewise.
4377 * iconvdata/iso_6937.c: Likewise.
4378 * iconvdata/johab.c: Likewise.
4379 * iconvdata/sjis.c: Likewise.
4380 * iconvdata/t.61.c: Likewise.
4381 * iconvdata/uhc.c: Likewise.
4382 * iconvdata/unicode.c: Likewise.
4383 * iconvdata/utf-16.c: Likewise.
4384 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
4386 * wcsmbs/btowc.c: Likewise.
4387 * wcsmbs/mbrtowc.c: Likewise.
4388 * wcsmbs/mbsnrtowcs.c: Likewise.
4389 * wcsmbs/mbsrtowcs.c: Likewise.
4390 * wcsmbs/wcrtomb.c: Likewise.
4391 * wcsmbs/wcsnrtombs.c: Likewise.
4392 * wcsmbs/wcsrtombs.c: Likewise.
4393 * wcsmbs/wctob.c: Likewise.
4395 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4397 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
4398 other header files. Mention about 128-byte cache line sizes.
4399 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
4400 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
4401 for current calling sequence.
4402 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
4404 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
4405 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4407 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
4408 and setrlimit syscalls for backwards compatibility.
4410 2000-06-10 Ulrich Drepper <drepper@redhat.com>
4412 * iconv/skeleton.c: Rename converted written to correcter name
4414 * iconv/gconv.c: Rename converted variable to correcter name
4416 * iconv/gconv_int.h: Likewise.
4417 * iconv/gconv_simple.c: Likewise.
4418 * iconv/iconv.c: Likewise.
4419 * iconv/loop.c: Likewise.
4420 * iconvdata/8bit-gap.c: Likewise.
4421 * iconvdata/8bit-generic.c: Likewise.
4422 * iconvdata/ansi_x3.110.c: Likewise.
4423 * iconvdata/big5.c: Likewise.
4424 * iconvdata/big5hkscs.c: Likewise.
4425 * iconvdata/euc-cn.c: Likewise.
4426 * iconvdata/euc-jp.c: Likewise.
4427 * iconvdata/euc-kr.c: Likewise.
4428 * iconvdata/gbgbk.c: Likewise.
4429 * iconvdata/gbk.c: Likewise.
4430 * iconvdata/iso-2022-cn.c: Likewise.
4431 * iconvdata/iso-2022-jp.c: Likewise.
4432 * iconvdata/iso-2022-kr.c: Likewise.
4433 * iconvdata/iso646.c: Likewise.
4434 * iconvdata/iso8859-1.c: Likewise.
4435 * iconvdata/iso_6937-2.c: Likewise.
4436 * iconvdata/iso_6937.c: Likewise.
4437 * iconvdata/johab.c: Likewise.
4438 * iconvdata/sjis.c: Likewise.
4439 * iconvdata/t.61.c: Likewise.
4440 * iconvdata/uhc.c: Likewise.
4441 * iconvdata/unicode.c: Likewise.
4442 * iconvdata/utf-16.c: Likewise.
4444 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
4445 __cmsg_data field with __extension__.
4447 2000-06-10 David Mosberger <davidm@hpl.hp.com>
4449 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
4451 2000-06-10 Ulrich Drepper <drepper@redhat.com>
4453 * iconv/gconv_simple.c: Fix various small bugs in several
4456 * iconv/loop.c: Fix comment.
4458 2000-06-10 Jakub Jelinek <jakub@redhat.com>
4460 * elf/link.h: Remove libc internal declarations.
4461 * include/link.h: Move them here.
4463 2000-06-09 Ulrich Drepper <drepper@redhat.com>
4465 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
4466 Patch by Dan Pop <Dan.Pop@cern.ch>.
4468 Rewrite error message handling.
4469 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
4471 * elf/dl-error (struct catch): Add objname member.
4472 (_dl_signal_error): Take new parameter with object name. When
4473 passing message on simply store object name and duplicate error
4475 (_dl_catch_error): Take new parameter. Store object name in the
4477 * include/dlfcn.h: Adjust _dl_catch_error prototype.
4478 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
4479 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
4480 (dlerror): Add objname to asprintf() parameters.
4481 (_dl_error_run): Pass new parameter to _dl_catch_error.
4482 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
4483 * elf/dl-open.c (_dl_open): Likewise.
4484 * elf/rtld.c (dl_main): Likewise.
4485 * elf/dl-close.c: Mark error messages with N_().
4486 * elf/dl-deps.c: Likewise.
4487 * elf/dl-error.c: Likewise.
4488 * elf/dl-load.c: Likewise.
4489 * elf/dl-open.c: Likewise.
4490 * elf/dl-reloc.c: Likewise.
4491 * elf/dl-support.c: Likewise.
4492 * elf/dl-sym.c: Likewise.
4493 * elf/dl-version.c: Likewise.
4494 * elf/dl-lookup.c: Add comments about problems with error message
4496 * elf/dl-reloc.c: Likewise.
4497 * elf/dl-version.c: Likewise.
4499 2000-06-09 H.J. Lu <hjl@gnu.org>
4501 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
4504 * dlfcn/Makefile (distribute): Add failtestmod.c.
4505 (tests): Add failtest.
4506 Add rules to build and run failtest.
4507 * dlfcn/failtest.c: New file.
4508 * dlfcn/failtestmod.c: New file.
4510 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
4512 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
4513 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
4514 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
4515 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
4516 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
4518 2000-06-09 Jes Sorensen <jes@linuxcare.com>
4520 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
4521 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
4523 2000-06-09 Jes Sorensen <jes@linuxcare.com>
4524 Ulrich Drepper <drepper@redhat.com>
4526 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
4527 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
4528 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
4529 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
4530 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
4531 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
4533 2000-06-09 Ulrich Drepper <drepper@redhat.com>
4535 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
4536 to find correct mount point despite wrong information from the
4539 2000-06-09 Jes Sorensen <jes@linuxcare.com>
4541 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
4542 the address of a symbol so function pointers are handled properly.
4544 2000-06-08 Ulrich Drepper <drepper@redhat.com>
4546 * sysdeps/i386/Dist: Add bp-asm.h.
4548 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
4549 defaultdir variable instead of "/var/shm" everywhere.
4550 (defaultdir): Change to /dev/shm/.
4552 2000-06-08 Greg McGary <greg@mcgary.org>
4554 * sysdeps/i386/bp-asm.h: New file.
4555 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
4556 offsets. Add ENTER/LEAVE macros for optionally maintaining
4557 frame-pointer chain when debugging.
4558 * sysdeps/i386/add_n.S: Likewise.
4559 * sysdeps/i386/addmul_1.S: Likewise.
4560 * sysdeps/i386/lshift.S: Likewise.
4561 * sysdeps/i386/memchr.S: Likewise.
4562 * sysdeps/i386/memcmp.S: Likewise.
4563 * sysdeps/i386/mul_1.S: Likewise.
4564 * sysdeps/i386/rawmemchr.S: Likewise.
4565 * sysdeps/i386/rshift.S: Likewise.
4566 * sysdeps/i386/stpcpy.S: Likewise.
4567 * sysdeps/i386/stpncpy.S: Likewise.
4568 * sysdeps/i386/strchr.S: Likewise.
4569 * sysdeps/i386/strchrnul.S: Likewise.
4570 * sysdeps/i386/strcspn.S: Likewise.
4571 * sysdeps/i386/strpbrk.S: Likewise.
4572 * sysdeps/i386/strrchr.S: Likewise.
4573 * sysdeps/i386/strspn.S: Likewise.
4574 * sysdeps/i386/strtok.S: Likewise.
4575 * sysdeps/i386/sub_n.S: Likewise.
4576 * sysdeps/i386/submul_1.S: Likewise.
4577 * sysdeps/i386/elf/setjmp.S: Likewise.
4578 * sysdeps/i386/i486/strcat.S: Likewise.
4579 * sysdeps/i386/i486/strlen.S: Likewise.
4580 * sysdeps/i386/i586/add_n.S: Likewise.
4581 * sysdeps/i386/i586/lshift.S: Likewise.
4582 * sysdeps/i386/i586/memcpy.S: Likewise.
4583 * sysdeps/i386/i586/memset.S: Likewise.
4584 * sysdeps/i386/i586/rshift.S: Likewise.
4585 * sysdeps/i386/i586/strchr.S: Likewise.
4586 * sysdeps/i386/i586/strcpy.S: Likewise.
4587 * sysdeps/i386/i586/strlen.S: Likewise.
4588 * sysdeps/i386/i586/sub_n.S: Likewise.
4589 * sysdeps/i386/i686/add_n.S: Likewise.
4590 * sysdeps/i386/i686/memcpy.S: Likewise.
4591 * sysdeps/i386/i686/mempcpy.S: Likewise.
4592 * sysdeps/i386/i686/memset.S: Likewise.
4593 * sysdeps/i386/i686/strcmp.S: Likewise.
4595 2000-06-08 Ulrich Drepper <drepper@redhat.com>
4597 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
4599 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
4600 256 and don't use OPEN_MAX.
4602 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
4603 use it instead of LINK_MAX.
4604 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
4606 2000-06-08 Andreas Jaeger <aj@suse.de>
4608 * libio/genops.c (_IO_list_lock): Only compile body if we're
4610 (_IO_list_unlock): Likewise.
4611 (_IO_list_resetlock): Likewise.
4613 2000-06-07 Ulrich Drepper <drepper@redhat.com>
4615 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
4616 unless user defined it.
4618 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
4619 if not defined by the user.
4621 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
4622 * libio/iofwrite.c (_IO_fwrite): Likewise.
4624 * time/time.h: Add missing __THROW for clock_getcpuclockid
4627 * elf/Makefile (distribute): Add dl-dtprocnum.h.
4628 * include/elf.h: Include also <dl-dtprocnum.h>.
4629 * elf/dl-deps.c: Likewise.
4630 * elf/dl-lookup.c: Likewise.
4631 * elf/dl-runtime.c: Likewise.
4632 * elf/dl-version.c: Likewise.
4633 * elf/do-rel.h: Likewise.
4634 * elf/dynamic-link.h: Likewise.
4635 * elf/link.h: Likewise.
4636 * elf/rtld.c: Likewise.
4637 * sysdeps/generic/dl-dtprocnum.h: New file.
4638 * sysdeps/ia64/dl-dtprocnum.h: New file.
4639 * sysdeps/mips/dl-dtprocnum.h: New file.
4640 * sysdeps/sparc/dl-dtprocnum.h: New file.
4642 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
4644 * elf/do-lookup.h: Add some __builtin_expect.
4646 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
4648 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
4649 (_dl_dynamic_weak): New variable.
4650 * elf/dl-support.c: Likewise.
4651 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
4652 * elf/do-lookup.h: If we find a weak definition treat it like a
4653 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
4654 case treat it like before.
4656 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
4658 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
4660 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
4661 using l_map_start and l_map_end.
4663 * elf/dl-version.c: Add __builtin_expect in many places.
4665 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
4668 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
4670 Lock for stdio stream list becomes global, for use in LinuxThreads.
4672 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
4673 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
4674 _IO_list_resetlock): New interface for iterating global list of
4675 streams without accessing the _IO_list_all global variable,
4676 and for manipulating the lock which protects this list.
4677 * libio/libioP.h: Likewise.
4678 * libio/Version: Add entries for the new functions.
4680 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
4681 pointer to _IO_FILE.
4683 2000-06-07 Ulrich Drepper <drepper@redhat.com>
4685 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
4686 BIT() must actually be BITw().
4688 * locale/programs/ld-ctype.c: Handle SP and space consistently.
4690 * locale/programs/charmap.c: Allow string arguments for
4691 code_set_name and repertoiremap.
4693 2000-06-07 Andreas Jaeger <aj@suse.de>
4695 * elf/Makefile: Build ldconfig only when building shared libraries.
4697 2000-06-07 Jakub Jelinek <jakub@redhat.com>
4699 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
4701 (fdimf, __fdim, fdim): Likewise.
4703 2000-06-07 Ulrich Drepper <drepper@redhat.com>
4705 * locale/findlocale.c: Add __builtin_expect in many places.
4706 * locale/loadlocale.c: Likewise.
4708 2000-06-06 Greg McGary <greg@mcgary.org>
4710 * sysdeps/mips/elf/start.S: Trim redundant code.
4712 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
4713 Use C comments throughout. Line up operands column with tabs.
4714 * sysdeps/powerpc/strchr.S: Likewise.
4715 * sysdeps/powerpc/strcmp.S: Likewise.
4716 * sysdeps/powerpc/strcpy.S: Likewise.
4717 * sysdeps/powerpc/strlen.S: Likewise.
4719 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
4720 Get low part of &__curbrk with @l.
4722 2000-06-06 Ulrich Drepper <drepper@redhat.com>
4724 * iconvdata/utf-16.c: Add __builtin_expect in many places.
4725 * iconvdata/unicode.c: Likewise.
4726 * iconvdata/uhc.c: Likewise.
4727 * iconvdata/t.61.c: Likewise.
4728 * iconvdata/sjis.c: Likewise.
4729 * iconvdata/johab.c: Likewise.
4730 * iconvdata/iso_6937.c: Likewise.
4731 * iconvdata/iso_6937-2.c: Likewise.
4732 * iconvdata/iso8859-1.c: Likewise.
4733 * iconvdata/iso646.c: Likewise.
4734 * iconvdata/iso-2022-kr.c: Likewise.
4735 * iconvdata/iso-2022-jp.c: Likewise.
4736 * iconvdata/iso-2022-cn.c: Likewise.
4737 * iconvdata/gbgbk.c: Likewise.
4738 * iconvdata/gbk.c: Likewise.
4739 * iconvdata/euc-kr.c: Likewise.
4740 * iconvdata/euc-jp.c: Likewise.
4741 * iconvdata/euc-cn.c: Likewise.
4743 2000-06-05 Ulrich Drepper <drepper@redhat.com>
4745 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
4746 * iconvdata/big5.c: Likewise.
4747 * iconvdata/ansi_x3.110.c: Likewise.
4748 * iconvdata/8bit-generic.c: Likewise.
4749 * iconvdata/8bit-gap.c: Likewise.
4750 * iconv/loop.c: Likewise.
4751 * iconv/gconv_db.c: Likewise.
4752 * iconv/gconv_dl.c: Likewise.
4753 * iconv/gconv_simple.c: Likewise.
4754 * iconv/skeleton.c: Likewise.
4756 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
4757 (struct __gconv_step_data): Rename __is_last to __flags.
4758 * iconv/gconv_close.c: Change all uses of __is_last.
4759 * iconv/skeleton.c: Likewise.
4760 * iconvdata/iso-2022-cn.c: Likewise.
4761 * iconvdata/iso-2022-jp.c: Likewise.
4762 * iconvdata/iso-2022-kr.c: Likewise.
4763 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
4764 Recognize IGNORE error handling, set flag, and remove from name.
4765 * iconv/loop.c (ignore_errors_p): Define.
4766 Add flags parameter to both functions.
4767 * iconv/skeleton.c: Pass flags to all conversion functions.
4768 * iconv/gconv_simple.c: Add flags parameter to all functions.
4769 Don't return error for invald error if ignore flag is set.
4770 (ucs4_internal_loop_single): Add missing pointer increment.
4771 (internal_ucs4le_loop_single): Likewise.
4772 * iconv/iconv_prog.c: Implement handling of -c parameter.
4773 * iconvdata/8bit-gap.c: Don't return error for invald error if
4775 * iconvdata/8bit-generic.c: Likewise.
4776 * iconvdata/ansi_x3.110.c: Likewise.
4777 * iconvdata/big5.c: Likewise.
4778 * iconvdata/big5hkscs.c: Likewise.
4779 * iconvdata/euc-cn.c: Likewise.
4780 * iconvdata/euc-jp.c: Likewise.
4781 * iconvdata/euc-kr.c: Likewise.
4782 * iconvdata/gbgbk.c: Likewise.
4783 * iconvdata/gbk.c: Likewise.
4784 * iconvdata/iso-2022-cn.c: Likewise.
4785 * iconvdata/iso-2022-jp.c: Likewise.
4786 * iconvdata/iso-2022-kr.c: Likewise.
4787 * iconvdata/iso646.c: Likewise.
4788 * iconvdata/iso8859-1.c: Likewise.
4789 * iconvdata/iso_6937-2.c: Likewise.
4790 * iconvdata/iso_6937.c: Likewise.
4791 * iconvdata/johab.c: Likewise.
4792 * iconvdata/sjis.c: Likewise.
4793 * iconvdata/t.61.c: Likewise.
4794 * iconvdata/uhc.c: Likewise.
4795 * iconvdata/unicode.c: Likewise.
4796 * iconvdata/utf-16.c: Likewise.
4797 * libio/fileops.c: Likewise.
4798 * libio/iofwide.c: Likewise.
4799 * wcsmbs/btowc.c: Likewise.
4800 * wcsmbs/mbrtowc.c: Likewise.
4801 * wcsmbs/mbsnrtowcs.c: Likewise.
4802 * wcsmbs/mbsrtowcs.c: Likewise.
4803 * wcsmbs/wcrtomb.c: Likewise.
4804 * wcsmbs/wcsnrtombs.c: Likewise.
4805 * wcsmbs/wcsrtombs.c: Likewise.
4806 * wcsmbs/wctob.c: Likewise.
4808 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
4811 2000-06-04 Ulrich Drepper <drepper@redhat.com>
4813 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
4814 counter for the object we are releasing, just decrement it.
4815 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
4817 2000-06-04 Jakub Jelinek <jakub@redhat.com>
4819 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
4822 2000-06-04 Ulrich Drepper <drepper@redhat.com>
4824 * iconvdata/big5hkscs.c: New file.
4825 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
4827 * iconvdata/gconv-modules: Add entry for new module.
4828 * iconvdata/Makefile (modules): Add BIG5HKSCS.
4829 (distribute): Add big5hkscs.c.
4831 2000-06-01 Jakub Jelinek <jakub@redhat.com>
4833 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
4834 inlines to match prototypes in mathcalls.h.
4835 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
4836 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
4837 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
4838 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4840 2000-06-03 Ulrich Drepper <drepper@redhat.com>
4842 * elf/elf.h (SHT_SUNW_move): Define.
4844 * elf/elf.h: Add more Solaris compatiblity definitions.
4846 2000-06-03 Andreas Jaeger <aj@suse.de>
4848 * sysdeps/powerpc/dl-start.S: Close open comment.
4850 2000-06-03 Jakub Jelinek <jakub@redhat.com>
4852 * inet/Versions: Fix typo in rresvport_af export.
4854 2000-06-02 Ulrich Drepper <drepper@redhat.com>
4856 * math/tgmath.h: Pretty print.
4858 2000-06-02 Andreas Jaeger <aj@suse.de>
4860 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
4861 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4863 2000-06-02 Ulrich Drepper <drepper@redhat.com>
4865 * elf/rtld.c (process_envvars): Test for = after variable name.
4867 2000-06-01 Ulrich Drepper <drepper@redhat.com>
4869 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
4870 have extra call to __gmon_start__, use the pointer we already have.
4872 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
4875 * sysdeps/i386/elf/setjmp.S: Work around change is recent
4876 binutils. gas now emits a jump through the PLT instead of a
4877 relative jump if the jump target is an exported symbol.
4879 2000-05-31 Ulrich Drepper <drepper@redhat.com>
4881 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
4883 2000-05-31 Andreas Jaeger <aj@suse.de>
4885 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
4888 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
4889 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4891 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
4893 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4895 2000-05-30 Ulrich Drepper <drepper@redhat.com>
4897 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
4899 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
4900 * locale/localeconv.c: Make function versioned (with same definition).
4902 * elf/Makefile (modules-names): Strip before using it.
4904 2000-05-30 Andreas Jaeger <aj@suse.de>
4906 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
4907 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
4908 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
4909 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
4910 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
4911 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
4913 2000-05-29 Ulrich Drepper <drepper@redhat.com>
4915 * Makefile: Add GNU make magic.
4917 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
4919 * inet/rcmd.c: Remove __P. Remove unused variables.
4920 (iruserfopen): Make first parameter const.
4921 (ruserok_sa): Return result of ruserok2_sa.
4922 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
4923 * inet/rexec.c: Remove unused variables. Other small cleanups.
4924 * inet/ruserpass.c: Remove __P. Remove unused variables.
4925 (ruserpass): Check results of memory allocation.
4926 * include/netdb.h: Add prototype for ruserpass.
4928 2000-05-29 Andreas Jaeger <aj@suse.de>
4930 * elf/readlib.c (interpreters): Use LD_SO since this is supported
4933 2000-05-29 Jakub Jelinek <jakub@redhat.com>
4935 * inet/rcmd.c (rresvport_af): Use correct port number.
4937 2000-05-26 Andreas Schwab <schwab@suse.de>
4939 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
4940 entries in all-sonames.
4941 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
4942 preserving the old name if different for compatibility.
4944 2000-05-29 Ulrich Drepper <drepper@redhat.com>
4946 * posix/Makefile (tests): Add tst-spawn.
4947 (tst-spawn-ARGS): New variable.
4948 * posix/tst-spawn.c: New file.
4950 * posix/spawn_faction_addclose.c: Correctly account for new entry.
4951 * posix/spawn_faction_adddup2.c: Likewise.
4952 * posix/spawn_faction_addopen.c: Likewise.
4953 * posix/spawni.c: Correctly test for success of dup2 calls.
4955 * posix/tst-preadwrite.c: Check success of malloc call.
4957 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4959 * posix/Makefile (tests): Add tst-exec.
4960 (tst-exec-ARGS): New variable.
4961 * posix/tst-exec.c: New file.
4963 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
4965 2000-05-04 Andreas Jaeger <aj@suse.de>
4967 * string/string.h: Remove __strdup prototype, it's not needed in
4970 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4972 * posix/Makefile (tests): Add tst-fork.
4973 * posix/tst-fork.c: New file.
4975 * resolv/inet_pton.c: Loose __P.
4977 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4979 * libio/libioP.h (_IO_CHECK_WIDE): Define.
4980 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
4981 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4982 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
4983 _IO_CHECK_WIDE fails.
4985 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4987 * po/da.po: New file.
4989 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
4990 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
4992 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
4993 (Other iconv Implementations): Fix typo.
4994 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
4996 2000-05-27 Andreas Jaeger <aj@suse.de>
4998 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
5000 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
5001 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
5002 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5003 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5004 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
5005 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
5007 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
5008 endianness to decide how to pass arguments.
5009 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5011 * elf/vismain.c: Use test-skeleton interface.
5012 (TEST_FUNCTION): New macro.
5013 (do_test): Renamed from main.
5015 2000-05-27 Ulrich Drepper <drepper@redhat.com>
5017 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
5018 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
5020 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
5021 handling of AI_V4MAPPED flag.
5023 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
5024 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
5025 perform lookup for T_A type and tell getanswer_r to convert the
5026 result with new argument.
5027 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
5028 Don't convert addresses from IPv4 to IPv6 here.
5029 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
5030 IPv6 is wanted. Allow qtype and type from reply to disagree if
5031 IPv4 mapping has to be done. Perform mappings if required by the
5032 caller and not if RES_USE_INET6 bit in _res.options is set.
5033 Add several __builtin_expect.
5035 2000-05-26 Ulrich Drepper <drepper@redhat.com>
5037 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
5039 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
5042 * posix/tst-preadwrite.c: Allow parallel execution of
5043 tst-preadwrite and tst-preadwrite64.
5045 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
5046 * posix/tst-truncate.c: New file.
5047 * posix/tst-truncate64.c: New file.
5049 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
5052 * posix/Makefile (tests): Add tst-preadwrite64.
5053 * posix/tst-preadwrite.c: Alloc file being used also for testing
5054 pread64 and pwrite64.
5055 * posix/tst-preadwrite64.c: New file.
5057 2000-05-26 Andreas Jaeger <aj@suse.de>
5059 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
5060 of arguments dependend on endianness.
5061 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5063 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
5065 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5066 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5067 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5068 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5070 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
5071 endianness to check how to pass argument.
5072 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5074 * elf/ldconfig.h: Update parameter list for process_elf_file.
5076 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
5077 Add parameter file_length and pass it ot process_elf*file.
5079 * sysdeps/generic/readelflib.c (check_ptr): New.
5080 (process_elf_file): Use check_ptr to check all accesses to the
5081 mmapped file. Add parameter file_length.
5083 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
5086 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
5087 Closes PR libc/1573, reported by Bradley White
5088 <bww@laurelnetworks.com>.
5090 2000-05-25 Ulrich Drepper <drepper@redhat.com>
5092 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
5093 __FAST_MATH__ is defined.
5095 2000-05-22 Andreas Jaeger <aj@suse.de>
5097 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
5098 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
5100 * manual/math.texi (FP Function Optimizations): Document gcc
5101 -ffast-math behaviour with mathinlines.
5103 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
5104 functions unless -ffast-math is given to gcc.
5106 2000-05-23 Jakub Jelinek <jakub@redhat.com>
5108 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
5109 __sincosl): Guard with __USE_GNU.
5111 2000-05-24 Ulrich Drepper <drepper@redhat.com>
5113 * csu/Makefile (routines): Add check_fds.
5114 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
5115 binaries. Add various __builtin_expect.
5116 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
5117 * sysdeps/generic/check_fds.c: ...here. New file.
5119 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
5120 binaries if file /etc/suid-debug is available.
5122 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
5123 and wcseqorder members.
5124 (struct locale_collate_t): Likewise.
5125 (collate_finish): Assign collation sequence value to each character.
5126 Create tables for output.
5127 (collate_output): Write out tables with collation sequence information.
5128 * locale/C-collate.c: Provide C locale data for collation sequence
5130 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
5131 _NL_COLLATE_COLLSEQWC.
5132 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
5133 _NL_COLLATE_COLLSEQWC.
5134 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
5135 include fnmatch_loop.c.
5136 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
5137 character is matched by range expression. Use collation sequence
5138 table. Outside glibc fall back on simple character value comparison.
5140 2000-05-24 Andreas Jaeger <aj@suse.de>
5142 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
5145 * intl/Makefile: Run gettext-test only if msgfmt is available.
5147 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
5148 Define it for newer kernels.
5150 2000-05-23 Ulrich Drepper <drepper@redhat.com>
5152 * elf/dl-sym.c: Minor cleanups.
5154 * configure.in: Add test for .protected.
5155 * config.make.in: Add have-protected variable.
5156 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
5157 (tests-vis-yes): Add vismain.
5158 (modules-names): Add $(modules-vis-$(have-protected)).
5159 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
5160 Add rules to generate and run vismain.
5161 * elf/vismain.c: New file.
5162 * elf/vismod1.c: New file.
5163 * elf/vismod2.c: New file.
5164 * elf/vismod3.c: New file.
5166 2000-05-23 Andreas Jaeger <aj@suse.de>
5168 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
5170 * manual/search.texi (Array Sort Function): Document that qsort is
5171 not necessarily in-place.
5173 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
5174 Closes PR libc/1731.
5176 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
5177 * dirent/scandir64.c: Likewise.
5178 * pwd/getpw.c: Likewise.
5179 * stdlib/bsearch.c (bsearch): Likewise.
5180 * stdlib/tst-strtoll.c: Likewise.
5181 * localedata/collate-test.c: Likewise.
5182 * localedata/xfrm-test.c: Likewise.
5183 * posix/bsd-getpgrp.c: Likewise.
5184 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
5185 * sysdeps/generic/bits/siginfo.h: Likewise.
5186 * sysdeps/generic/bits/sockaddr.h: Likewise.
5187 * sysdeps/generic/sys/swap.h: Likewise.
5188 * sysdeps/generic/sys/sysinfo.h: Likewise.
5189 * sysdeps/generic/vfork.c: Likewise.
5190 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
5191 * sysdeps/mach/hurd/fdopen.c: Likewise.
5192 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
5193 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5194 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5195 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5196 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5197 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5198 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
5200 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
5201 * shadow/lckpwdf.c: Likewise.
5202 * stdlib/tst-strtol.c: Likewise.
5203 * sysdeps/generic/tcsetattr.c: Likewise.
5204 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5205 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5207 2000-05-22 Jakub Jelinek <jakub@redhat.com>
5209 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
5210 free it and set to (void *) -1.
5212 2000-05-22 Jakub Jelinek <jakub@redhat.com>
5214 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
5215 not the second character in the range.
5216 * stdio-common/tstscanf.c (main): Add testcase for the above.
5217 Reported by jik@kamens.brookline.ma.us.
5219 2000-05-21 H.J. Lu <hjl@gnu.org>
5221 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
5222 with noexec and noplt parameter.
5223 (do_lookup): Likewise.
5225 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
5226 do_lookup. Support STV_PROTECTED.
5227 (_dl_lookup_symbol_skip): Likewise.
5228 (_dl_lookup_versioned_symbol): Likewise.
5229 (_dl_lookup_versioned_symbol_skip): Likewise.
5231 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
5233 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
5235 2000-05-21 Jakub Jelinek <jakub@redhat.com>
5237 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
5238 * sysdeps/i386/bits/huge_val.h: Likewise.
5239 * sysdeps/ieee754/bits/huge_val.h: Likewise.
5240 * sysdeps/m68k/bits/huge_val.h: Likewise.
5241 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
5242 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
5244 2000-05-22 Andreas Jaeger <aj@suse.de>
5246 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
5249 2000-05-19 Andreas Jaeger <aj@suse.de>
5251 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5252 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
5253 breaks compilation without linuxthreads.
5255 2000-05-21 Ulrich Drepper <drepper@redhat.com>
5257 * sysdeps/ia64/memccpy.S: New file.
5258 * sysdeps/ia64/memchr.S: New file.
5259 * sysdeps/ia64/memcmp.S: New file.
5260 * sysdeps/ia64/memcpy.S: New file.
5261 * sysdeps/ia64/memmove.S: New file.
5262 * sysdeps/ia64/memset.S: New file.
5263 * sysdeps/ia64/strcat.S: New file.
5264 * sysdeps/ia64/strchr.S: New file.
5265 * sysdeps/ia64/strcmp.S: New file.
5266 * sysdeps/ia64/strcpy.S: New file.
5267 * sysdeps/ia64/strlen.S: New file.
5268 * sysdeps/ia64/strncmp.S: New file.
5269 * sysdeps/ia64/strncpy.S: New file.
5270 * sysdeps/ia64/softpipe.h: New file.
5271 Patches by Dan Pop <Dan.Pop@cern.ch>.
5273 * manual/memory.texi: Document memory handling functions (mlock,
5274 munlock, mlockall, munlockall, brk, and sbrk)
5275 * manual/time.texi: Document timespec and friends.
5276 * manual/conf.texi: Fix references.
5277 * manual/ctype.texi: Likewise.
5278 * manual/errno.texi: Likewise.
5279 * manual/intro.texi: Likewise.
5280 * manual/locale.texi: Likewise.
5281 * manual/sysinfo.texi: Likewise.
5282 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5284 2000-05-09 Jes Sorensen <jes@linuxcare.com>
5286 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
5287 * sysdeps/ia64/dl-lookupcfg.h: ...here.
5289 2000-05-21 Jakub Jelinek <jakub@redhat.com>
5291 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
5294 2000-05-21 Ulrich Drepper <drepper@redhat.com>
5296 * locale/locale.h (struct lconv): Add new elements from ISO C99.
5297 * locale/localeconv.c: Initialize new elements from ISO C99.
5298 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
5299 new standard elements.
5300 * locale/categories.def: Adjust accordingly.
5302 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
5303 * iconv/iconv.c: Likewise.
5304 * conform/data/iconv.h-data: Likewise.
5305 * iconv/iconv_prog.c (process_block): Remove const from second
5307 (main): Remove const from addr definition.
5308 * manual/charset.texi (Generic Conversion Interface): Remove from
5309 inbuf parameter of iconv.
5311 * intl/dcigettext.c: Fix typo in comment.
5313 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
5315 * resolv/res_libc.c (_res): Initialize _sock to -1.
5317 2000-05-18 Jakub Jelinek <jakub@redhat.com>
5319 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
5320 (fopencookie@@GLIBC_2.2): New.
5321 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
5322 (fopencookie@GLIBC_2.0): New.
5323 * libio/Versions: Add fopencookie to GLIBC_2.2.
5325 2000-05-18 Andreas Jaeger <aj@suse.de>
5327 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
5328 Closes PR libc/1731.
5330 * manual/arith.texi (Parsing of Integers): Fix typo.
5331 Closes PR libc/1744, reported by blp@gnu.org.
5333 2000-05-17 Jakub Jelinek <jakub@redhat.com>
5335 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
5336 __extension__ to hexadecimal floating constant notation.
5337 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
5339 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
5340 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
5342 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
5343 HUGE_VALL): Likewise.
5344 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
5345 HUGE_VALL): Likewise.
5346 (HUGE_VALL): Set to HUGE_VAL on sparc32.
5348 2000-05-17 Andreas Jaeger <aj@suse.de>
5350 * string/envz.h: Add pure attributes if possible.
5352 * string/argz.h: argz_count is a pure function.
5354 * string/strings.h: Add pure and const attributes if possible.
5356 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
5357 possibly searching through the whole memory.
5358 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
5360 2000-05-17 Jakub Jelinek <jakub@redhat.com>
5362 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
5364 (_dl_cache_check_flags): Likewise.
5365 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
5368 2000-05-17 Andreas Jaeger <aj@suse.de>
5370 * manual/creature.texi (Feature Test Macros): Remove paragraph
5371 since the description is wrong.
5372 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
5374 * scripts/config.sub: New version.
5375 * scripts/config.guess: Likewise.
5376 * manual/texinfo.tex: Likewise.
5378 * time/test_time.args: Removed.
5379 * time/Makefile (test_time-ARGS): Added contents here instead.
5381 * posix/tstgetopt.args: Removed.
5382 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
5384 * Rules: Allow arguments for test files to be specified in
5385 Makefile with testname-ARGS; remove rules with .args in it.
5387 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
5388 remove old bogus rule for opendir-tst1.args.
5390 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
5392 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
5393 into objdir. This allows a readonly sourcetree.
5394 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
5396 2000-05-16 Andreas Jaeger <aj@suse.de>,
5397 David Huggins-Daines <dhd@linuxcare.com>
5399 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
5400 cache_data in case of only new cache format correctly.
5402 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
5405 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
5406 struct cache_file_new.
5408 * elf/cache.c (save_cache): Fix str_offset if only new cache is
5411 * elf/cache.c (save_cache): Align struct new_file_cache.
5412 (print_cache): Likewise.
5414 2000-05-13 Jakub Jelinek <jakub@redhat.com>
5416 * elf/soinit.c (__libc_global_ctors): Move
5417 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
5418 * resolv/resolv.h (__res_state): Added __attribute__((const)).
5419 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
5420 variable, don't define it to __res_state call.
5422 2000-05-13 Andreas Jaeger <aj@suse.de>
5424 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
5426 (AF_PPPOX): Likewise.
5427 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
5428 (AF_PPPOX): Likewise.
5430 2000-05-12 Andreas Jaeger <aj@suse.de>
5432 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
5433 Reported by tmoestl@gmx.net, closes PR libc/1732.
5435 2000-05-11 Jan Hubicka <jh@suse.cz>
5437 * misc/sys/cdefs.h: Add support for pure attribute.
5439 * include/string.h: Add __attribute_pure__ to various functions.
5440 * string/string.h: Likewise.
5442 2000-05-10 Jakub Jelinek <jakub@redhat.com>
5444 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
5446 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5448 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
5450 2000-05-10 Jakub Jelinek <jakub@redhat.com>
5452 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
5453 at proper place. Compute the high nibble correctly.
5455 2000-05-09 Jakub Jelinek <jakub@redhat.com>
5457 * elf/ldconfig.c: Include elf.h.
5459 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
5460 (_dl_vsym): Likewise.
5461 Reported by Owen Taylor <otaylor@redhat.com>.
5463 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
5466 2000-05-08 Andreas Jaeger <aj@suse.de>
5468 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
5470 * intl/bindtextdom.c (set_binding_values): Add prototype.
5472 2000-05-08 Jakub Jelinek <jakub@redhat.com>
5474 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
5475 call to elf_machine_fixup_plt.
5476 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5477 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5479 2000-05-08 Jakub Jelinek <jakub@redhat.com>
5481 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
5482 they are not dlclose'd from underneath us.
5484 2000-05-08 Andreas Schwab <schwab@suse.de>
5486 * posix/execle.c: Fix size parameter of memcpy.
5488 2000-05-08 Andreas Schwab <schwab@suse.de>
5490 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
5491 getpagesize syscall if available.
5493 2000-05-08 Andreas Jaeger <aj@suse.de>
5495 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
5498 2000-05-08 Jakub Jelinek <jakub@redhat.com>
5500 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
5501 sizeof(struct link_map *) chunks, not in bytes.
5503 2000-05-07 Ulrich Drepper <drepper@redhat.com>
5505 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
5506 only needed for locale.
5507 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
5508 It's only needed for catgets.
5509 Patches by Greg McGary <gkm@eng.ascend.com>.
5511 2000-05-07 Mark Kettenis <kettenis@gnu.org>
5513 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
5514 Remove duplicate <errno.h> include. Remove inclusion of
5515 <libintl.h> and "nsswitch.h".
5516 (set_cloexec_flag): New function, broken out of dbopen.
5517 (dbopen): Changed return type to `enum
5518 nss_status'. Mostly rewritten to make sure that we do not report
5519 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
5520 (internal_setent): Change return type to nss_status.
5521 Document, and make sure that the function
5522 behaves accordingly. Make dynamically loading the database
5523 library really thread-safe and return NSS_STATUS_UNAVAIL if it
5525 (db_cursor): Return ENOMEM is memory allocation failed. Remove
5527 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
5529 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
5530 c_get function member.
5531 * nss/nss_db/nss_db.h: Add and tweak some comments.
5532 (DBT): Move typedef before NSS_DBC typedef.
5533 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
5535 2000-05-07 H.J. Lu <hjl@gnu.org>
5537 * csu/initfini.c: Moved to ....
5538 * sysdeps/generic/initfini.c: ...here.
5540 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
5542 2000-05-07 Ulrich Drepper <drepper@redhat.com>
5544 * manual/resource.texi: Document POSIX scheduling functions.
5545 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5547 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
5548 reading anything. Reported by Andries.Brouwer@cwi.nl.
5550 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
5551 for x since promotion in comparison might leads to unexpected
5552 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
5554 * iconv/Makefile (tests): Add tst-iconv1.
5555 * iconv/tst-iconv1.c: New file.
5556 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
5557 empty input buffer over full output buffer.
5558 (ucs4_internal_loop): Likewise.
5559 (ucs4_internal_loop_unaligned): Likewise.
5560 (internal_ucs4le_loop): Likewise.
5561 (internal_ucs4le_loop_unaligned): Likewise.
5562 (ucs4le_internal_loop): Likewise.
5563 (ucs4le_internal_loop_unaligned): Likewise.
5564 Reported by yaoz@nih.gov.
5566 2000-05-06 Bruno Haible <haible@clisp.cons.org>
5568 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
5569 returned != __GCONV_OK, there is nothing to clean up.
5571 2000-05-06 Bruno Haible <haible@clisp.cons.org>
5573 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
5574 OUTPUT_CHARSET environment variables.
5576 2000-05-06 Andreas Jaeger <aj@suse.de>
5578 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
5579 (struct cache_file_new): New.
5580 (struct file_entry): New (moved from cache.c).
5581 (struct cache_file): New (moved from cache.c).
5583 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
5584 from _dl_load_cache_lookup.
5585 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
5586 the different cache formats.
5587 New variable cache_new for new format.
5589 * elf/ldconfig.h: Change according to changes in cache.c and
5590 ldconfig.c; remove cache_libcmp; add opt_format.
5592 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
5593 stuff that's defined in those headers.
5594 Add hwcap to struct lib_entry.
5595 (opt_format): New variable to select cache format.
5596 (options): Add format parameter.
5597 (is_hwcap): New function.
5598 (path_hwcap): New function.
5599 (parse_opt): Handle new format parameter.
5600 (search_dir): Handle hwcap, search also subdirectories with hwcap.
5602 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
5603 ldconfig is part of glibc.
5604 Include dl-cache.h and remove stuff that's defined there.
5605 (struct cache_entry): Add new member hwcap.
5606 (print_entry): Print hwcap, cleanup a bit.
5607 (print_cache): Print new and old formats.
5608 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
5609 (save_cache): Save new and old formats.
5610 (add_to_cache): Handle hwcap.
5612 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
5613 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
5614 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
5615 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
5616 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
5617 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
5619 2000-05-05 Bruno Haible <haible@clisp.cons.org>
5621 * intl/dcigettext.c (alignof): New macro.
5622 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
5623 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
5626 2000-05-05 Bruno Haible <haible@clisp.cons.org>
5628 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
5631 2000-05-06 Ulrich Drepper <drepper@redhat.com>
5633 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
5634 (mempcpy): Correct typo is parameter list.
5636 2000-05-06 Andreas Jaeger <aj@suse.de>
5638 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
5639 functions unless -ffast-math is given to gcc.
5641 2000-05-06 Ulrich Drepper <drepper@redhat.com>
5643 * po/ko.po: Update from translation team.
5645 2000-05-05 Ulrich Drepper <drepper@redhat.com>
5647 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
5648 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
5649 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
5650 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
5651 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
5652 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
5654 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
5655 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
5656 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
5658 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
5659 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
5660 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
5661 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
5663 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
5664 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
5666 2000-05-05 Jes Sorensen <jes@linuxcare.com>
5668 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
5669 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
5671 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
5672 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
5674 * sysdeps/ia64/Implies: New file.
5675 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
5676 * sysdeps/ia64/Makefile: New file.
5677 * sysdeps/ia64/gmp-mparam.h: New file,
5679 * sysdeps/ia64/elf/start.S: New file.
5681 * sysdeps/ia64/bits/fenv.h: New file.
5683 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
5685 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
5687 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
5689 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
5690 ia64 has 64 bit .hash entries just as the Alpha.
5692 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
5694 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
5696 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
5698 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
5699 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
5700 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
5701 * sysdeps/ia64/fpu/fegetenv.c: New file.
5702 * sysdeps/ia64/fpu/fegetexcept.c: New file.
5703 * sysdeps/ia64/fpu/fegetround.c: New file.
5704 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
5705 * sysdeps/ia64/fpu/fesetenv.c: New file.
5706 * sysdeps/ia64/fpu/fesetround.c: New file.
5707 * sysdeps/ia64/fpu/feupdateenv.c: New file.
5708 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
5709 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
5710 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
5711 * sysdeps/ia64/fpu/ftestexcept.c: New file.
5713 2000-05-05 Andreas Jaeger <aj@suse.de>
5715 * misc/tst-tsearch.c (main): Correct type for initstate argument.
5717 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5718 (_dl_string_hwcap): New, does nothing.
5720 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5721 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
5722 (_dl_string_hwcap): New function, converts from string to hwcap
5724 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
5725 (_DL_HWCAP_COUNT): New.
5726 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
5727 (_dl_string_hwcap): New function, converts from string to hwcap
5729 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
5730 (_DL_HWCAP_COUNT): New.
5731 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
5732 (_dl_string_hwcap): New function, converts from string to hwcap
5735 2000-05-05 Ulrich Drepper <drepper@redhat.com>
5737 * elf/Makefile (distribute): Add dl-lookupcfg.h.
5738 * sysdeps/ia64/Dist: New file.
5740 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
5741 parameter to mprotect and for variable assignments.
5743 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5745 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
5746 validity of map before dereferencing it.
5748 * elf/dl-reloc.c (RESOLVE_MAP): Define.
5750 2000-05-02 Jes Sorensen <jes@linuxcare.com>
5752 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
5753 lookup to the arguments to elf_machine_fixup_plt().
5755 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
5756 of the symbol being resolved to input argument list and make the
5757 function return the pointer to the reloc.
5759 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
5760 return valuie to lookup_t and return the value.
5761 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
5762 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
5763 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
5764 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
5765 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
5766 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
5768 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
5769 Make it an inline function returning value after calling
5770 __elf_machine_fixup_plt().
5772 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
5775 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
5776 obtain the symbol address.
5778 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
5779 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
5781 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
5782 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
5785 2000-04-28 Jes Sorensen <jes@linuxcare.com>
5787 * elf/dl-runtime.c (fixup): Use the portable macros to get the
5788 symbol address of an object.
5790 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
5791 the symbol address of an object.
5793 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
5794 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
5795 (_dl_lookup_symbol_skip): Likewise.
5796 (_dl_lookup_versioned_symbol): Likewise.
5797 (_dl_lookup_versioned_symbol_skip): Likewise.
5799 2000-04-27 Jes Sorensen <jes@linuxcare.com>
5801 * elf/rtld.c (_dl_start): Get the function pointer return address
5802 via _dl_start_address for architectures that need a function
5803 pointer descriptor rather than just a pointer (ia64).
5805 * sysdeps/generic/dl-lookupcfg.h: New file.
5806 * sysdeps/ia64/dl-lookupcfg.h: New file.
5807 * sysdeps/ia64/dl-machine.h: New file.
5808 * sysdeps/ia64/dl-symaddr.c: New file.
5809 * sysdeps/ia64/dl-fptr.c: New file.
5811 * elf/elf.h: Add IA-64 specific definitions.
5813 2000-05-04 Jakub Jelinek <jakub@redhat.com>
5815 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
5818 2000-05-04 Jakub Jelinek <jakub@redhat.com>
5820 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
5823 2000-04-11 Geoff Keating <geoffk@cygnus.com>
5825 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
5826 symbol. Call _dl_init rather than the old way.
5828 2000-05-04 Ulrich Drepper <drepper@redhat.com>
5830 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
5831 test for pointer in range of DSO address space.
5833 2000-05-04 Andreas Jaeger <aj@suse.de>
5835 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
5837 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5839 * locale/findlocale.c (_nl_find_locale): Add new parameter to
5840 calls of _nl_make_l10nflist.
5842 * libio/stdio.h: Make fseeko and ftello prototypes available is
5843 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
5845 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
5846 real unsetenv implementation from 1999-07-29 [PR libc/1714].
5848 2000-05-03 Bruno Haible <haible@clisp.cons.org>
5850 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
5851 before calling tfind.
5853 2000-03-05 Jakub Jelinek <jakub@redhat.com>
5855 * resolv/resolv.h (res_querydomain): Remove redefinition to
5856 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
5858 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5860 * po/gl.po: Update from translation team.
5862 * manual/intro.texi (Program Basics): Change section title.
5863 * manual/process.texi: Fix reference.
5864 (Executing a File): Add reference exec in other section.
5865 * manual/signal.texi: Fix reference.
5866 * manual/startup.texi: Document syscall function.
5867 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5869 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5871 * intl/libintl.h (bind_textdomain_codeset): New declaration.
5872 * intl/bindtextdom.c (set_binding_values): New function.
5873 (bindtextdomain): Call it.
5874 (bind_textdomain_codeset): New function.
5875 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
5876 (free_mem): Free each binding's codeset.
5877 * intl/gettextP.h (struct binding): Add codeset field.
5878 (_nl_find_domain): Add domainbinding argument.
5879 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
5880 Pass it to _nl_make_l10nflist.
5881 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
5882 (_nl_make_l10nflist): Add domainbinding argument.
5883 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
5884 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
5885 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
5887 * manual/message.texi: New node "Charset conversion in gettext".
5889 2000-04-30 Bruno Haible <haible@clisp.cons.org>
5891 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
5892 appropriate. Handle possible __read error.
5894 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5896 * intl/gettextP.h (__builtin_expect): Define as empty if not a
5898 * intl/loadinfo.h (__builtin_expect): Likewise.
5899 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
5900 __builtin_expect where appropriate.
5901 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5902 * intl/localealias.c (extend_alias_table): Return an error indicator.
5903 (read_alias_file): Bail out if extend_alias_table fails.
5905 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5907 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
5908 * intl/localealias.c: Likewise.
5910 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5912 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
5913 Initialize domain->plural and domain->nplurals even if there is no
5916 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5918 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
5919 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
5920 In case of failure, goto converted.
5922 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5924 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
5925 * iconv/gconv_int.h (norm_add_slashes): Move to here.
5926 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
5929 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5931 * intl/dcigettext.c (transcmp): Compare the domains as well.
5932 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
5934 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
5937 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5939 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
5940 Reported by Bruno Haible.
5942 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5944 * manual/arith.texi: Remove @w from @itemize.
5946 2000-05-02 Andreas Jaeger <aj@suse.de>
5948 * conform/data/tar.h-data: Add some checks for specific values.
5950 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
5953 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
5956 * conform/data/netinet/in.h-data: Add exact checks for the values
5957 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
5959 * conform/data/float.h-data: Add some minimal values.
5961 * conform/conformtest.pl: Test for macros with string constants,
5962 check for minimum and maximum values.
5963 Add limits.h to headers.
5965 * conform/data/cpio.h-data: Test for value of MAGIC.
5967 * conform/data/limits.h-data: New file.
5969 2000-04-30 Bruno Haible <haible@clisp.cons.org>
5971 * math/Makefile (headers): Add bits/fenvinline.h.
5973 2000-05-01 Ulrich Drepper <drepper@redhat.com>
5975 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
5976 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
5978 * posix/Versions: Change posix_spawnattr_getdefault and
5979 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
5980 and posix_spawnattr_setsigdefault respectively.
5981 * posix/spawn.h: Likewise.
5982 * posix/spawnattr_getdefault.h: Likewise.
5983 * posix/spawnattr_setdefault.h: Likewise.
5984 * conform/data/spawn.h-data: Likewise.
5986 2000-05-01 Andreas Jaeger <aj@suse.de>
5988 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
5990 2000-04-30 Ulrich Drepper <drepper@redhat.com>
5992 * manual/sysinfo.texi: Document getdomainname, setdomainname
5994 * manual/string.texi: Fix typo.
5995 * manual/terminal.texi: Document gtty and stty.
5996 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5998 2000-04-30 Andreas Jaeger <aj@suse.de>
6000 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
6001 accordance with Austin Draft.
6003 2000-04-30 Ulrich Drepper <drepper@redhat.com>
6005 * catgets/gencat.c (read_input_file): Use isblank and not isspace
6006 to recognize second character in comment line.
6008 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
6009 ENOBUFS if we are out of memory.
6011 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
6012 available if __USE_XOPEN2K.
6013 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
6014 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6015 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
6016 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6017 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6018 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6019 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
6020 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6022 2000-04-29 Ulrich Drepper <drepper@redhat.com>
6024 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
6025 Recognize option -s, -c, and -l.
6027 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
6029 * nscd/nscd.c: Start new session for nscd, drop privilegs
6030 to configured user if requested and no -S parameter are used.
6031 * nscd/nscd.conf: Add new option "server-user".
6032 * nscd/nscd_conf.c: Add support for new "server-user" option.
6033 * nscd/nscd.h: Add declaration for server_user variable.
6034 Based on patch by Chris Wing <wingc@engin.umich.edu>
6036 2000-04-29 Mark Kettenis <kettenis@gnu.org>
6038 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
6039 that changing the __restore and __restore_rt signal return code
6042 2000-04-29 Mark Kettenis <kettenis@gnu.org>
6044 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
6047 2000-04-29 Mark Kettenis <kettenis@gnu.org>
6049 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
6051 2000-04-29 Ulrich Drepper <drepper@redhat.com>
6053 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
6054 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
6056 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
6057 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
6058 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
6059 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
6060 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
6061 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
6062 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
6063 posix_fallocate, and posix_madvise.
6064 * conform/data/netdb.h-data: New file.
6065 * conform/data/pthread.h-data: Add pthread_barrier_t,
6066 pthread_barrierattr_t, pthread_barrier_destroy,
6067 pthread_barrier_init, pthread_barrier_wait,
6068 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
6069 pthread_barrierattr_init, pthread_barrierattr_setpshared,
6070 pthread_condattr_getclock, pthread_condattr_setclock,
6071 pthread_getcpuclockid, pthread_mutex_timedlock,
6072 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
6073 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
6074 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
6075 * conform/data/sched.h-data: Add sched_ss_low_priority,
6076 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
6078 * conform/data/semaphore.h-data: Add sem_timedwait.
6079 * conform/data/signal.h-data: Add SIGIO.
6080 * conform/data/spawn.h-data: New file.
6081 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
6082 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
6083 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
6084 Fix typo in gmtime_r definition.
6085 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
6086 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
6087 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
6088 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
6089 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
6090 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
6091 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
6092 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
6093 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
6094 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
6095 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
6096 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
6097 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
6098 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
6099 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
6100 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
6101 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
6102 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
6103 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6104 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
6105 typo in off_t definition.
6106 * conform/data/net/if.h-data: New file.
6107 * conform/data/netinet/in.h-data: New file.
6108 * conform/data/netinet/tcp.h-data: New file.
6109 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
6110 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
6111 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
6112 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
6113 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
6114 and posix_typed_mem_open.
6115 * conform/data/sys/socket.h-data: New file.
6116 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
6117 * conform/data/sys/types.h-data: Add pthread_barrier_t,
6118 pthread_barrierattr_t, and pthread_spinlock_t.
6119 * conform/data/sys/un.h-data: New file.
6120 * conform/data/sys/utsname.h-data: New file.
6122 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
6124 * inet/gethstbyad.c (gethostbyname): Likewise.
6125 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
6126 * inet/getipnodebyad.c (getipnodebyad): Likewise.
6127 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
6128 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
6130 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
6131 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
6132 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
6133 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
6134 * resolv/gethnamaddr.c (gethostbyname): Likewise.
6135 * resolv/netdb.h (struct hostent): Fix type of h_length member.
6136 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
6137 and second parameter.
6139 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
6142 2000-04-29 Andreas Jaeger <aj@suse.de>
6144 * conform/data/arpa/inet.h-data: New file.
6146 2000-04-28 Geoff Clare <gwc@unisoft.com>
6148 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
6149 path passed to ftw() or nftw() is an empty string.
6150 Closes PR libc/1710.
6152 2000-04-27 Ulrich Drepper <drepper@redhat.com>
6154 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
6155 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
6156 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
6157 * localedata/tst-mbswcs4.c: New file.
6158 * localedata/tst-mbswcs5.c: New file.
6160 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
6161 == NULL. Little optimization.
6163 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
6164 DT_PREINIT_ARRAYSZ).
6165 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
6167 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
6168 overflows in conversion from ASCII.
6170 2000-04-26 Jakub Jelinek <jakub@redhat.com>
6172 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
6173 * Makerules (full_config_sysdirs): Likewise.
6174 * MakeTAGS (full_config_sysdirs): Likewise.
6176 2000-04-26 Jakub Jelinek <jakub@redhat.com>
6178 * .cvsignore: Remove linuxthreads.
6179 * po/.cvsignore: Remove *.pot.
6180 * posix/glob/.cvsignore: Removed.
6181 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
6183 2000-04-25 Andreas Jaeger <aj@suse.de>
6185 * conform/Makefile (distribute): Also distribute contents of
6188 * Makerules (no_deps): Remove abi-versions.h.
6190 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
6192 2000-04-25 Jakub Jelinek <jakub@redhat.com>
6194 * sysdeps/sparc/sparc64/elf/Dist: Remove.
6195 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
6196 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
6197 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
6198 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
6199 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
6202 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
6204 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
6206 2000-04-23 Bruno Haible <haible@clisp.cons.org>
6208 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
6209 * intl/l10nflist.c: Likewise.
6211 2000-04-23 Bruno Haible <haible@clisp.cons.org>
6213 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
6214 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
6215 * intl/textdomain.c [!_LIBC]: Likewise.
6216 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
6217 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
6218 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
6221 2000-04-23 Bruno Haible <haible@clisp.cons.org>
6223 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
6224 character set conversion also in the case the translation was found
6225 after a hash collision or through binary search. Store the maximum
6226 index together with the converted message. Use iconv() when available.
6227 In case of out of memory during conversion, return the unconverted
6228 translated string, not NULL.
6230 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
6232 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
6233 to avoid name clashes with the ia32 linker.
6235 2000-04-25 Jakub Jelinek <jakub@redhat.com>
6237 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
6240 2000-04-27 Ulrich Drepper <drepper@redhat.com>
6242 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
6243 strtoumax, strfry, and memfrob.
6244 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
6245 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6247 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
6248 if this function is available.
6250 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
6253 2000-04-27 Jakub Jelinek <jakub@redhat.com>
6255 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
6257 2000-04-27 Ulrich Drepper <drepper@redhat.com>
6259 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
6260 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
6261 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
6262 * localedata/tst-mbswcs3.c: New file.
6264 2000-04-26 Ulrich Drepper <drepper@redhat.com>
6266 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
6267 characters. Don't handle incomplete characters as errors.
6268 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
6269 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
6270 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
6271 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
6272 * localedata/tst-mbswcs2.c: New file.
6274 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
6275 stored character in state in UNPACK_BYTES macro.
6276 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
6277 test for available characters, handle result of BODY code correctly.
6278 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
6279 (distribute): Add tst-mbswcs.sh.
6280 Add rule to run tst-mbswcs.sh.
6281 * localedata/tst-mbswcs.sh: New file.
6282 * localedata/tst-mbswcs1.c: New file.
6284 2000-04-26 Jakub Jelinek <jakub@redhat.com>
6286 * nis/nis_callback.c (__nis_create_callback): Do failed memory
6287 allocation fixups centrally, fix __builtin_expect call, return NULL
6288 on failure, not NIS_NOMEMORY.
6290 2000-04-27 Bruno Haible <haible@clisp.cons.org>
6292 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
6294 * intl/loadinfo.h (internal_function): Define if not already defined.
6296 2000-04-27 Andreas Jaeger <aj@suse.de>
6298 * intl/libintl.h: Fix typo, reported by Bruno Haible
6299 <haible@clisp.cons.org>.
6301 2000-04-25 Ulrich Drepper <drepper@redhat.com>
6303 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
6304 setting the state to GMON_PROF_BUSY.
6306 2000-04-24 Ulrich Drepper <drepper@redhat.com>
6308 * elf/dl-profile.c (_dl_start_profile): define all variables which
6309 do not have to be global as local variables.
6311 * nis/nis_callback.c (__nis_create_callback): Partially undo last
6312 patch. Keep needed tests for failed memory allocation.
6314 * elf/dl-reloc.c (_dl_relocate_object): Add one more
6315 __builtin_expect saying that we don't normally expect to profile.
6317 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
6318 __builtin_expect where desirable.
6320 2000-04-23 Ulrich Drepper <drepper@redhat.com>
6322 * manual/Makefile (chapters): Add syslog.
6323 * manual/syslog.texi: New file.
6324 * manual/math.texi: Fix references.
6325 * manual/terminal.texi: Likewise.
6326 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6328 2000-04-18 Jakub Jelinek <jakub@redhat.com>
6330 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
6331 stdlib.h was not included or __USE_XOPEN not defined.
6333 2000-04-23 Ulrich Drepper <drepper@redhat.com>
6335 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
6336 Patch by Zack Weinberg <zack@wolery.cumb.org>.
6338 2000-04-22 Ulrich Drepper <drepper@redhat.com>
6340 * manual/examples/subopt.c (mount_opts): Add missing terminating
6342 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6344 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
6345 * libio/ftello.c: Likewise.
6346 * libio/ftello64.c: Likewise.
6347 * libio/ioftell.c: Likewise.
6348 * sysdeps/generic/memrchr.c: Likewise.
6349 * sysdeps/posix/libc_fatal.c: Likewise.
6350 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6351 * misc/fstab.c: Include <string.h> for strcmp prototype.
6352 * sysdeps/generic/ldsodefs.h: Likewise.
6353 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6354 Patch by Kurt Roeckx <Q@ping.be>.
6356 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
6357 Remove db-open. Change all uses.
6358 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
6360 2000-04-21 Jakub Jelinek <jakub@redhat.com>
6362 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
6363 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
6364 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
6365 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
6366 with .set noat/at to shut up warnings.
6367 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
6368 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
6369 compilation if __NR_pciconfig_iobase is not defined.
6370 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
6373 2000-04-21 Ulrich Drepper <drepper@redhat.com>
6375 * manual/sysinfo.texi: Fix typo.
6376 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
6377 Replace "high precision time" with "high accuracy clock".
6379 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
6381 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
6382 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
6384 * nis/nis_subr.c: Use __builtin_expect.
6385 * nis/ypclnt.c: Likewise.
6386 * nis/nis_getservlist.c: Likewise.
6387 * nis/nis_creategroup.c: Likewise.
6389 * nis/nis_callback.c (__nis_create_callback): Check result of
6390 memory allocation. Fix memory leaks. Use __builtin_expect.
6391 (__nis_destroy_callback): Fix memory leaks.
6393 2000-04-21 Andreas Jaeger <aj@suse.de>
6395 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
6396 * sysdeps/mips/mips64/add_n.S: Likewise.
6397 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
6398 * sysdeps/mips/mips64/lshift.S: Likewise.
6399 * sysdeps/mips/mips64/mul_1.S: Likewise.
6400 * sysdeps/mips/mips64/rshift.S: Likewise.
6401 * sysdeps/mips/mips64/setjmp.S: Likewise.
6402 * sysdeps/mips/mips64/sub_n.S: Likewise.
6403 * sysdeps/mips/mips64/submul_1.S: Likewise
6404 * sysdeps/unix/mips/sysdep.S: Likewise.
6406 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
6407 and update comment. The strtab from _dl_relocate_object can be
6410 2000-04-21 Ulrich Drepper <drepper@redhat.com>
6412 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
6413 * iconv/iconv_close.c (iconv_close): Likewise.
6414 * iconv/iconv_open.c (iconv_open): Likewise.
6416 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
6417 __builtin_expect where useful.
6419 * grp/initgroups.c (initgroups): Test for result of memory
6420 allocation and punt if it fails.
6422 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
6423 * grp/fgetgrent.c (fgetfrent): Likewise.
6424 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
6426 2000-04-21 Jakub Jelinek <jakub@redhat.com>
6428 * libio/vasprintf.c: Include string.h to get memcpy prototype.
6430 2000-04-20 Ulrich Drepper <drepper@redhat.com>
6432 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
6433 don't search for NUL byte to decrement counter.
6434 Reported by Ulrich.Brink@sap.com.
6436 * iconv/gconv_simple.c: Define separate functions to convert from
6437 UCS4/UCS4-LE to the internal encoding.
6438 * iconv/gconv_builtin.h: Use separate functions to convert from
6439 UCS4/UCS4-LE to the internal encoding.
6440 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
6441 __gconv_transform_ucs4le_internal.
6443 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
6444 output buffer overflow. Reported by Ulrich.Brink@sap.com.
6446 * iconv/skeleton.c: Add some more __builtin_expect.
6447 * iconv/loop.c: Likewise.
6449 2000-03-08 H.J. Lu <hjl@gnu.org>
6451 * posix/regex.c (regex_compile): Correctly handle "\{" when
6452 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
6454 2000-04-20 Ulrich Drepper <drepper@redhat.com>
6456 * manual/stdio.texi: Give advise about handling error when using
6458 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
6460 2000-04-19 Jakub Jelinek <jakub@redhat.com>
6462 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
6463 field to nelems * sizeof (uint32_t).
6464 * locale/programs/ld-address.c (address_output): Align word fields
6466 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6467 Don't restart idx pointers to idx end at the duo_int_curr_symbol
6469 Avoid giving arbitrary garbage in the crncystr field.
6470 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
6471 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
6473 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6474 Don't restart idx pointers to idx end at the decimal_point_wc field.
6475 * locale/programs/ld-time.c (time_output): week_1stday should be
6476 word, not byte. Align it properly.
6478 2000-04-19 H.J. Lu <hjl@gnu.org>
6480 * csu/gmon-start.c (_start): Declared as "extern void".
6483 2000-04-18 Andreas Jaeger <aj@suse.de>
6485 * manual/install.texi (Running make install): Don't mention utmpd
6488 2000-04-18 Andreas Jaeger <aj@suse.de>
6490 * linuxthreads/Versions: Use ld instead of ld.so.
6492 * elf/Makefile (ld-map): Use ld.map.
6494 * Versions.def: Use ld instead of ld.so.
6495 * elf/Versions: Likewise.
6496 * sysdeps/mach/hurd/Versions: Likewise.
6498 2000-04-20 Andreas Jaeger <aj@suse.de>
6500 * elf/rtld.c (print_statistics): Move ifndef further up.
6501 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
6502 (dl_main): Likewise.
6504 2000-04-18 Ulrich Drepper <drepper@redhat.com>
6506 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
6507 * gmon/Versions: Move moncontrol to GLIBC_2.2.
6509 * po/cs.po: Update from translation team.
6511 * sysdeps/generic/updwtmp.c: Remove daemon support.
6513 * login/Makefile (routines): Remove utmp_daemon.
6515 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
6516 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
6517 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
6518 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
6520 * elf/rtld.c: Display statitics option also if hp timing is not
6523 * login/programs/connection.c: Removed.
6524 * login/programs/database.c Removed.
6525 * login/programs/error.c: Removed.
6526 * login/programs/request.c: Removed.
6527 * login/programs/xtmp.c: Removed.
6528 * login/programs/xtmp.h: Removed.
6529 * login/Makefile: Remove rules for utmpd.
6530 * login/README.utmpd: Removed.
6531 * login/utmp_daemon.c: Removed.
6532 * login/getutent_r.c: Remove references to daemon functions.
6533 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
6536 2000-04-18 Andreas Jaeger <aj@suse.de>
6538 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
6539 2.2 for libnsl, libresolv, librt, libnss_*.
6541 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
6543 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
6545 2000-04-18 Ulrich Drepper <drepper@redhat.com>
6547 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
6548 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
6549 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
6550 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
6551 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
6552 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
6553 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
6554 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
6555 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
6556 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
6557 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
6558 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
6559 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
6561 * sysdeps/unix/sysv/aix/msync.c: New file.
6562 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
6563 * sysdeps/unix/sysv/aix/net/if.h: New file.
6564 * sysdeps/unix/sysv/aix/pipe.c: New file.
6565 * sysdeps/unix/sysv/aix/poll.c: New file.
6566 * sysdeps/unix/sysv/aix/rename.c: New file.
6567 * sysdeps/unix/sysv/aix/rmdir.c: New file.
6568 * sysdeps/unix/sysv/aix/select.c: New file.
6569 * sysdeps/unix/sysv/aix/semctl.c: New file.
6570 * sysdeps/unix/sysv/aix/semget.c: New file.
6571 * sysdeps/unix/sysv/aix/semop.c: New file.
6572 * sysdeps/unix/sysv/aix/sendto.c: New file.
6573 * sysdeps/unix/sysv/aix/setgroups.c: New file.
6574 * sysdeps/unix/sysv/aix/setpgid.c: New file.
6575 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
6576 * sysdeps/unix/sysv/aix/setpriority.c: New file.
6577 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
6578 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
6579 * sysdeps/unix/sysv/aix/setsid.c: New file.
6580 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
6581 * sysdeps/unix/sysv/aix/shmat.c: New file.
6582 * sysdeps/unix/sysv/aix/shmctl.c: New file.
6583 * sysdeps/unix/sysv/aix/shmdt.c: New file.
6584 * sysdeps/unix/sysv/aix/shmget.c: New file.
6585 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
6586 * sysdeps/unix/sysv/aix/sigstack.c: New file.
6587 * sysdeps/unix/sysv/aix/socket.c: New file.
6588 * sysdeps/unix/sysv/aix/socketpair.c: New file.
6589 * sysdeps/unix/sysv/aix/speed.c: New file.
6590 * sysdeps/unix/sysv/aix/symlink.c: New file.
6591 * sysdeps/unix/sysv/aix/sync.c: New file.
6592 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
6593 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
6594 * sysdeps/unix/sysv/aix/times.c: New file.
6595 * sysdeps/unix/sysv/aix/ulimit.c: New file.
6596 * sysdeps/unix/sysv/aix/umask.c: New file.
6597 * sysdeps/unix/sysv/aix/unlink.c: New file.
6598 * sysdeps/unix/sysv/aix/ustat.c: New file.
6599 * sysdeps/unix/sysv/aix/utimes.c: New file.
6601 2000-04-18 Andreas Jaeger <aj@suse.de>
6603 * manual/startup.texi (Environment Access): Fix putenv prototype
6604 according to recent changes.
6605 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
6608 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
6611 2000-04-18 Ulrich Drepper <drepper@redhat.com>
6613 * posix/Makefile (tests): Add tst-getaddrinfo.
6614 * posix/tst-getaddrinfo.c: New file.
6616 2000-04-17 Ulrich Drepper <drepper@redhat.com>
6618 * manual/sysinfo.texi: Document that umount2 is not widely available.
6620 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
6621 signal timing is not really implemented.
6623 2000-04-17 Andreas Jaeger <aj@suse.de>
6625 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
6627 2000-04-17 Jakub Jelinek <jakub@redhat.com>
6629 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
6632 2000-04-17 Ulrich Drepper <drepper@redhat.com>
6634 * manual/intro.texi: Change reference from System Information to
6636 * manual/users.texi: Likewise.
6637 * manual/conf.texi: Likewise.
6638 * manual/sysinfo.texi: Document mount, umount, and umount2.
6639 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6641 2000-04-17 Jakub Jelinek <jakub@redhat.com>
6643 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
6644 Create wnumstr as well as numstr to support wide character output
6647 2000-04-15 Jakub Jelinek <jakub@redhat.com>
6649 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
6650 modification and move it...
6651 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
6652 Add -melf64_sparc switch to $(LD) on sparc64-linux.
6653 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
6654 switch to $(LD) on sparc-linux.
6656 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
6658 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
6659 and setresuid from sysdep_routines.
6661 2000-04-17 Ulrich Drepper <drepper@redhat.com>
6663 * manual/Makefile (chapters): Add resource.
6665 * manual/time.texi: Move section on resources to...
6666 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
6668 * manual/setjmp.texi: Adjust back reference.
6669 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6671 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
6673 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
6674 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
6675 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
6676 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
6677 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
6678 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
6679 * sysdeps/unix/sysv/aix/close.c: Add copyright.
6680 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
6681 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
6682 * sysdeps/unix/sysv/aix/access.c: Add copyright.
6683 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
6684 * sysdeps/unix/sysv/aix/Implies: New file.
6685 * sysdeps/unix/sysv/aix/Versions: New file.
6686 * sysdeps/unix/sysv/aix/bind.c: New file.
6687 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
6688 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
6689 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
6690 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
6691 * sysdeps/unix/sysv/aix/chdir.c: New file.
6692 * sysdeps/unix/sysv/aix/chmod.c: New file.
6693 * sysdeps/unix/sysv/aix/chroot.c: New file.
6694 * sysdeps/unix/sysv/aix/creat.c: New file.
6695 * sysdeps/unix/sysv/aix/dl-close.c: New file.
6696 * sysdeps/unix/sysv/aix/dl-open.c: New file.
6697 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
6698 * sysdeps/unix/sysv/aix/fchdir.c: New file.
6699 * sysdeps/unix/sysv/aix/fchmod.c: New file.
6700 * sysdeps/unix/sysv/aix/getgroups.c: New file.
6701 * sysdeps/unix/sysv/aix/gethostname.c: New file.
6702 * sysdeps/unix/sysv/aix/getpriority.c: New file.
6703 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
6704 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
6705 * sysdeps/unix/sysv/aix/getrusage.c: New file.
6706 * sysdeps/unix/sysv/aix/link.c: New file.
6707 * sysdeps/unix/sysv/aix/madvise.c: New file.
6708 * sysdeps/unix/sysv/aix/mkdir.c: New file.
6709 * sysdeps/unix/sysv/aix/mknod.c: New file.
6710 * sysdeps/unix/sysv/aix/mprotect.c: New file.
6711 * sysdeps/unix/sysv/aix/msgctl.c: New file.
6712 * sysdeps/unix/sysv/aix/msgget.c: New file.
6713 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
6715 2000-04-17 Andreas Jaeger <aj@suse.de>
6717 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
6718 as suggested by Ulrich Drepper.
6719 (__dl_runtime_resolve): Remove unused variable, initialize sym
6721 (RTLD_START): Document OFFSET_GP_GOT.
6722 (OFFSET_GP_GOT): New magic value.
6723 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
6724 (elf_machine_got_rel): Only declare strtab if needed.
6725 (elf_machine_relplt): Removed, it's not needed.
6726 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
6728 * sysdeps/mips/add_n.S: Add newline at EOF.
6729 * sysdeps/mips/rshift.S: Likewise.
6730 * sysdeps/mips/mul_1.S: Likewise.
6731 * sysdeps/mips/lshift.S: Likewise.
6732 * sysdeps/mips/addmul_1.S: Likewise.
6734 2000-04-17 Ulrich Drepper <drepper@redhat.com>
6736 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
6738 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
6739 * elf/dl-lookup.c: Likewise.
6740 * elf/dl-init.c (_dl_init): Likewise.
6741 * elf/dl-fini.c (_dl_fini): Likewise.
6742 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6743 * elf/dl-close.c (_dl_close): Likewise.
6744 * elf/rtld.c (_dl_start_final): Likewise.
6746 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
6748 2000-04-15 Ulrich Drepper <drepper@redhat.com>
6750 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
6751 only fall back on using Linux.
6753 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
6754 Before testing versions check that we actually loaded the object
6755 and whether we are in trace mode. If not loaded during tracing don't
6756 test versions in this object.
6757 (_dl_check_all_versions): Take new parameter and pass to
6758 _dl_check_map_versions.
6759 * sysdeps/generic/ldsodefs.h: Update prototypes for
6760 _dl_check_all_versions and _dl_check_map_versions.
6761 * elf/rtld.c (struct version_check_args): Add dotrace.
6762 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
6763 (dl_main): Pass info about trace mode to version_check_doit.
6764 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
6765 _dl_check_all_versions.
6767 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
6769 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
6771 * manual/argp.texi: Document index parameter of argp_parse.
6773 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
6775 2000-04-14 Andreas Jaeger <aj@suse.de>
6777 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
6778 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
6780 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
6782 2000-04-15 Ulrich Drepper <drepper@redhat.com>
6784 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
6785 compat_symbol call for old adjtime.
6787 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
6788 function interface. Patch by Richard Henderson <rth@cygnus.com>.
6790 * posix/Makefile (headers): Add spawn.h.
6791 (distribute): Add spawn_int.h.
6792 (routines): Add spawn_faction_init, spawn_faction_destroy,
6793 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
6794 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
6795 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
6796 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
6797 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
6798 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
6799 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
6800 posix_spawnattr_init, posix_spawnattr_destroy,
6801 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
6802 posix_spawnattr_getflags, posix_spawnattr_setflags,
6803 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
6805 * posix/spawn.c: New file.
6806 * posix/spawn.h: New file.
6807 * posix/spawn_faction_addclose.c: New file.
6808 * posix/spawn_faction_adddup2.c: New file.
6809 * posix/spawn_faction_addopen.c: New file.
6810 * posix/spawn_faction_destroy.c: New file.
6811 * posix/spawn_faction_init.c: New file.
6812 * posix/spawn_int.h: New file.
6813 * posix/spawnattr_destroy.c: New file.
6814 * posix/spawnattr_getdefault.c: New file.
6815 * posix/spawnattr_getflags.c: New file.
6816 * posix/spawnattr_getpgroup.c: New file.
6817 * posix/spawnattr_getschedparam.c: New file.
6818 * posix/spawnattr_getschedpolicy.c: New file.
6819 * posix/spawnattr_getsigmask.c: New file.
6820 * posix/spawnattr_init.c: New file.
6821 * posix/spawnattr_setdefault.c: New file.
6822 * posix/spawnattr_setflags.c: New file.
6823 * posix/spawnattr_setpgroup.c: New file.
6824 * posix/spawnattr_setschedparam.c: New file.
6825 * posix/spawnattr_setschedpolicy.c: New file.
6826 * posix/spawnattr_setsigmask.c: New file.
6827 * posix/spawni.c: New file.
6828 * posix/spawnp.c: New file.
6830 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
6831 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6833 2000-04-14 Ulrich Drepper <drepper@redhat.com>
6835 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
6836 * malloc/malloc.c: Implement posix_memalign for glibc.
6837 * include/stdlib.h: Add prototype for __posix_memalign.
6838 * stdlib/stdlib.h: Add prototype for posix_memalign.
6840 2000-04-14 Andreas Jaeger <aj@suse.de>
6842 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
6844 (elf_machine_got_rel): Cast sym correctly.
6846 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
6847 * sysdeps/mips/addmul_1.S: Likewise.
6848 * sysdeps/mips/lshift.S: Likewise.
6849 * sysdeps/mips/mul_1.S: Likewise.
6850 * sysdeps/mips/rshift.S: Likewise.
6851 * sysdeps/mips/sub_n.S: Likewise.
6852 * sysdeps/mips/submul_1.S: Likewise.
6854 * stdlib/stdlib.h: Fix typo in comment.
6856 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
6857 2.2 for libdl, ld and libm.
6859 * sysdeps/generic/madvise.c: Fix typos.
6861 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
6863 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
6865 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
6868 2000-04-14 Ulrich Drepper <drepper@redhat.com>
6870 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
6871 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
6872 Make old name weak alias.
6873 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
6874 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
6875 Make old name weak alias.
6876 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
6878 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
6879 posix_fallocate, and posix_fallocate64.
6880 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
6881 posix_fallocate, and posix_fallocate64.
6882 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
6883 posix_fallocate, and posix_fallocate64.
6884 * sysdeps/generic/fadvise.c: New file.
6885 * sysdeps/generic/fadvise64.c: New file.
6886 * sysdeps/generic/fallocate.c: New file.
6887 * sysdeps/generic/fallocate64.c: New file.
6888 * sysdeps/posix/fallocate.c: New file.
6889 * sysdeps/posix/fallocate64.c: New file.
6890 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
6891 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
6892 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
6893 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
6894 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
6895 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
6896 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6897 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
6898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6900 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
6901 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6903 2000-04-13 Ulrich Drepper <drepper@redhat.com>
6905 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
6906 * misc/sys/mman.h (posix_madvise): Add prototype.
6907 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
6908 old name and posix_madvise weak aliases.
6909 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6910 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
6911 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
6912 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6913 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
6914 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6915 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6917 2000-04-13 Andreas Jaeger <aj@suse.de>
6919 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
6921 (elf_machine_got_rel): Only add runtime display if needed.
6922 (elf_machine_got_rel): Handle symbol versioning.
6924 2000-04-13 Andreas Jaeger <aj@suse.de>
6926 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
6928 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
6931 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
6932 with some applications.
6933 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
6935 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
6936 * sysdeps/mips/bsd-_setjmp.S: Likewise.
6937 * sysdeps/mips/setjmp.S: Likewise.
6939 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
6941 2000-04-13 Ulrich Drepper <drepper@redhat.com>
6943 * posix/globtest.sh: Work around inconsistency with expanding ~/
6944 in shell (PR libc/1690). Reported by patsmith@pobox.com.
6946 2000-04-12 Ulrich Drepper <drepper@redhat.com>
6948 * posix/getconf.c: Add support for many more POSIX options.
6949 * sysdeps/posix/sysconf.c: Likewise.
6950 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
6951 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
6953 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6954 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
6955 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
6956 CLOCK_THREAD_CPUTIME_ID.
6957 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
6958 CLOCK_PROCESS_CPUTIME_ID.
6959 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
6960 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
6961 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
6962 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6964 * malloc/Makefile (tests): Add tst-calloc.
6965 * malloc/tst-calloc.c: New file.
6967 * sysdeps/arm/libm-test-ulps: New file.
6969 * malloc/malloc.c: Undo all of today's changes.
6971 * locale/programs/locale.c (show_info): Don't try to look into
6972 data for LC_ALL (there is none).
6974 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
6975 avoid writing over boundary.
6976 Patch by Greg McGary <gkm@eng.ascend.com>.
6978 * sysdeps/arm/memprof.h: New file.
6980 2000-04-12 Andreas Jaeger <aj@suse.de>
6982 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
6984 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
6985 for memmem declaration.
6987 2000-04-12 Ulrich Drepper <drepper@redhat.com>
6989 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
6991 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6993 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
6995 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6996 Patch by Bart Veer <bartv@redhat.com>.
6998 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
7001 2000-04-11 Andreas Jaeger <aj@suse.de>
7003 * sysdeps/mips/dl-machine.h: Update some comments.
7004 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
7006 2000-04-11 Ulrich Drepper <drepper@redhat.com>
7008 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
7009 _POSIX_SHARED_MEMORY_OBJECTS.
7011 * rt/Makefile (tests): Add tst-shm.
7012 Add rules to generate tst-shm.
7013 * rt/tst-shm.c: New file.
7015 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
7018 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
7019 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
7020 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
7021 * sysdeps/generic/shm_open.c: New file.
7022 * sysdeps/generic/shm_unlink.c: New file.
7023 * sysdeps/unix/sysv/linux/shm_open.c: New file.
7024 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
7025 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
7026 __endmntent, __getmntent_r, __setmntent, and __statfs.
7028 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
7029 fragmentation by allocating new memory at the end instead of
7032 * posix/globtest.sh: Fix last change.
7034 2000-04-10 Philip Blundell <philb@gnu.org>
7036 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
7037 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
7038 IPV6_DROP_MEMBERSHIP.
7039 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
7042 2000-04-11 Ulrich Drepper <drepper@redhat.com>
7044 * elf/readlib (process_file): Close streams in case of an error.
7046 2000-04-09 Andreas Jaeger <aj@suse.de>
7048 * elf/readlib.c (process_file): Check if file is big enough to
7049 contain aout and ELF headers.
7050 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
7052 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
7054 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
7056 2000-04-11 Ulrich Drepper <drepper@redhat.com>
7058 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
7060 * rt/Makefile (tests): Add tst-clock.
7061 Add rules to build tst-clock.
7062 * rt/tst-clock.c: New file.
7063 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
7064 about initialization of nsec.
7065 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
7066 about initialization of freq. Set retval to zero if successful.
7067 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
7069 2000-04-10 Ulrich Drepper <drepper@redhat.com>
7071 * Versions.def (librt): Add GLIBC_2.2.
7072 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
7073 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
7074 timer_getoverr, timer_gettime, and timer_settime.
7075 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
7076 clock_settime, timer_create, timer_delete, timer_getoverrun,
7077 timer_gettime, and timer_settime.
7078 * sysdeps/generic/clock_getcpuclockid.c: New file.
7079 * sysdeps/generic/get_clockfreq.c: New file.
7080 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
7081 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
7082 * sysdeps/mach/hurd/i386/bits/time.h: New file.
7083 * sysdeps/unix/i386/i586/clock_getres.c: New file.
7084 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
7085 * sysdeps/unix/i386/i686/Implies: New file.
7086 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
7087 * time/Makefile (routines): Move clock_getres, clock_gettime,
7088 clock_settime, timer_create, timer_delete, timer_getoverr,
7089 timer_gettime, and timer_settime to rt/Makefile.
7090 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
7091 clock_settime, timer_create, timer_delete, timer_getoverrun,
7092 timer_gettime, and timer_settime.
7093 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
7095 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
7096 and not const as attribute name.
7098 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
7100 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
7102 2000-04-10 Andreas Schwab <schwab@suse.de>
7104 * posix/globtest.sh: Skip tests that depend on unreadable
7105 directories if run as root.
7107 2000-04-10 Ulrich Drepper <drepper@redhat.com>
7109 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
7110 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
7112 2000-04-09 Ulrich Drepper <drepper@redhat.com>
7114 * sysdeps/unix/clock_gettime.c: New file.
7115 * sysdeps/unix/clock_settime.c: New file.
7116 * sysdeps/posix/clock_getres.c: New file.
7118 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
7120 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
7121 lseek call be passing in a buffer which never allow a successful
7122 first getdents syscall if not at leas the initial entry can be
7123 stored in the user buffer.
7125 * localedata/Makefile: Add rules to clean up directories created by
7128 2000-04-09 Geoff Clare <gwc@unisoft.com>
7130 * localedata/tst-fmon.data: Added new tests for strfmon()
7131 using test locales with all combinations of cs_precedes,
7132 sign_posn and sep_by_space.
7133 * localedata/tst-fmon.sh: Updated to support the new tests.
7134 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
7135 the localedef source for the new strfmon() test locale.
7136 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
7137 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
7138 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
7139 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
7140 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
7141 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
7142 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
7143 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
7144 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
7145 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
7146 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
7147 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
7148 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
7149 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
7151 * stdlib/strfmon.c: Correct problems with missing or extra
7152 spaces for unusual combinations of sign_posn and sep_by_space.
7153 Improved left-precision alignment code.
7155 2000-04-07 Andreas Jaeger <aj@suse.de>
7157 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
7159 2000-04-10 Andreas Jaeger <aj@suse.de>
7161 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
7163 2000-04-09 Ulrich Drepper <drepper@redhat.com>
7165 Implement handling of restartable conversion functions according to
7167 * iconv/gconv.h (__gconv_fct): Add additional parameter.
7168 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
7169 * iconv/gconv.c: Pass additional parameter to conversion function.
7170 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
7171 (internal_ucs4le_loop_single): New function.
7172 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
7173 (__gconv_transform_internal_ascii): Likewise.
7174 (__gconv_transform_internal_utf8): Likewise.
7175 (__gconv_transform_utf8_internal): Likewise.
7176 (__gconv_transform_ucs2_internal): Likewise.
7177 (__gconv_transform_internal_ucs2): Likewise.
7178 (__gconv_transform_ucs2reverse_internal): Likewise.
7179 (__gconv_transform_internal_ucs2reverse): Likewise.
7180 (internal_ucs4le_loop_unaligned): Before return
7181 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
7182 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
7183 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
7184 * iconv/loop.c: Fit in definition of function to convert one character
7185 for processing of left-over bytes from the state object.
7186 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
7187 inend to match names in loop functions.
7188 (RESET_INPUT_BUFFER): Change apprpriately.
7189 (gconv): If needed, call function to process bytes from the state
7190 object. Similar at the end: store left over bytes if input is
7192 Take extra argument and add new argument to all calls of the
7193 conversion function.
7194 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
7195 information in the state object to not conflict with length count.
7196 * iconvdata/iso-2022-jp.c: Likewise.
7197 * iconvdata/iso-2022-kr.c: Likewise.
7198 * iconvdata/unicode.c: Adjust for change change in parameters of
7200 * iconvdata/utf-16.c: Likewise.
7201 * libio/iofwide.c: Add new parameter to all calls of conversion
7203 * wcsmbs/btowc.c: Likewise.
7204 * wcsmbs/mbrtowc.c: Likewise.
7205 * wcsmbs/mbsnrtowcs.c: Likewise.
7206 * wcsmbs/mbsrtowcs.c: Likewise.
7207 * wcsmbs/wcrtomb.c: Likewise.
7208 * wcsmbs/wcsnrtombs.c: Likewise.
7209 * wcsmbs/wcsrtombs.c: Likewise.
7210 * wcsmbs/wctob.c: Likewise.
7212 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
7215 2000-04-07 Andreas Jaeger <aj@suse.de>
7217 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
7220 2000-04-07 Ulrich Drepper <drepper@redhat.com>
7222 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
7223 element a union to allow byte access.
7224 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
7226 * iconvdata/iso-2022-jp.c: Likewise.
7227 * iconvdata/iso-2022-kr.c: Likewise.
7228 * wcsmbs/mbsinit.c: Likewise.
7229 * stdlib/mblen.c: Likewise.
7230 * stdio-common/printf-parse.h: Likewise.
7232 2000-04-06 Ulrich Drepper <drepper@redhat.com>
7234 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
7235 kernel does not allow relative seeks on descriptors associated
7236 with directories. Go back to get the position in the directory
7237 every time we enter the function. Return -1 and set errno if one
7238 entry could be read from the kernel but does not fit into the
7239 buffer passed in by the user.
7241 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
7242 Support ..(2).. ellipsis.
7243 (parse_charmap): Recognize ..(2).. etc and pass step down.
7244 Correctly generate names for UCS4 characters.
7246 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
7247 (ctype_finish): We know the wide character value for <SP>,
7249 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
7250 (charclass_ucs4_ellipsis): Likewise.
7251 (read_translit_ignore_entry): Store ellipsis step.
7252 (ctype_read): Recognize ..(2).. etc and pass step down.
7254 * locale/programs/linereader.c (lr_token): When seeing comment
7255 character ignore only rest of line in sources but stop at escaped
7257 Recognize ..(2).. and ....(2).....
7259 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
7260 and tok_ellipsis4_2.
7262 2000-04-06 Andreas Jaeger <aj@suse.de>
7264 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
7265 removed, remove it here also.
7266 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
7267 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
7268 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
7269 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
7271 2000-04-06 Jakub Jelinek <jakub@redhat.com>
7273 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
7274 include bits/sigcontext.h.
7275 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7277 2000-04-06 Ulrich Drepper <drepper@redhat.com>
7279 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
7280 collation symbol definition. Value in quivalence definition must
7281 be defined, don't check that it is not.
7283 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
7284 values as character names.
7286 * locale/programs/ld-ctype.c (get_character): Handle missing
7287 repertoire map correctly.
7289 2000-04-05 Cristian Gafton <gafton@redhat.com>
7291 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
7292 because it is used in generic code.
7293 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
7294 * wcsmbs/wcwidth.h: Declare __ctype32_b.
7295 * intl/gettext.c: Include <locale.h>.
7296 * intl/ngettext.c: Likewise.
7298 2000-04-05 Jakub Jelinek <jakub@redhat.com>
7300 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
7301 socklen_t type for size.
7302 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
7303 init function interface.
7304 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7305 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
7307 (__jmp_buf): Declare the whole type structure here, don't use
7310 2000-04-05 Ulrich Drepper <drepper@redhat.com>
7312 * iconv/skeleton.c (put16u): Fix typo.
7313 Reported by Bruno Haible <haible@ilog.fr>.
7315 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
7316 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
7317 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
7318 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
7319 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
7320 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
7322 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
7323 * Makefile (distribute): Add abi-versions.awk and
7325 Patches by Torsten Duwe <duwe@caldera.de>.
7327 2000-04-05 Andreas Schwab <schwab@suse.de>
7329 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
7331 2000-04-05 Andreas Schwab <schwab@suse.de>
7333 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
7334 entry point, used on Hurd.
7336 2000-04-04 Andreas Jaeger <aj@suse.de>
7338 * intl/Makefile: Only run the gettext test with shared libraries.
7340 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7342 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7343 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7345 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
7347 * Makeconfig: Undo last change.
7348 * configure.in: If --disable-shared was given, don't set VERSIONING,
7349 don't define DO_VERSIONING, and don't give scare warning for no
7351 * configure: Regenerated.
7353 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
7355 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
7357 2000-04-04 Andreas Jaeger <aj@suse.de>
7359 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
7361 2000-04-04 Ulrich Drepper <drepper@redhat.com>
7363 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
7364 STV_HIDDEN and STV_INTERNAL during lookup.
7365 (profile_fixup): Likewise.
7366 * elf/dl-reloc.c (RESOLVE): Likewise.
7368 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
7369 unaligned so that it compiles for system which need unaligned
7372 2000-04-04 Andreas Schwab <schwab@suse.de>
7374 * elf/cache.c (print_entry): Only look at the type field when
7377 2000-04-04 Andreas Schwab <schwab@suse.de>
7379 * iconvdata/big5.c (BODY): Fix typo.
7381 2000-04-04 Andreas Schwab <schwab@suse.de>
7383 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
7384 function interface. Remove unused _dl_start_user entry point.
7386 2000-04-03 Andreas Jaeger <aj@suse.de>
7388 * include/arpa/inet.h (__inet_aton): Add protoype.
7390 2000-04-01 Andreas Jaeger <aj@suse.de>
7392 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
7394 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
7395 * sysdeps/mach/mips/thread_state.h: Likewise.
7397 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
7398 * sysdeps/generic/fegetenv.c: Likewise.
7399 * sysdeps/generic/fesetenv.c: Likewise.
7400 * sysdeps/generic/feupdateenv.c: Likewise.
7401 * sysdeps/generic/fraiseexcpt.c: Likewise.
7402 * sysdeps/generic/fsetexcptflg.c: Likewise.
7403 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
7404 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
7405 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7406 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7408 2000-04-02 H.J. Lu <hjl@gnu.org>
7410 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
7412 2000-04-03 Ulrich Drepper <drepper@redhat.com>
7414 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
7415 (add_name_to_object): Add cast in malloc call.
7416 (fillin_rpath): Optimize loop to initialize ->status a bit.
7418 * sysdeps/i386/dl-machine.h: Undo last change.
7419 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
7420 Restore %edx register after call here.
7422 * sysdeps/arm/atomicity.h: New file.
7423 Contributed by Jesper Skov <jskov@redhat.com>.
7425 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
7427 * Makeconfig (preprocess-versions): Undo last change.
7428 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
7430 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
7431 here, before we might move the stack.
7432 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
7433 (init1): And not here.
7435 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
7436 change, to restore argc value in call-clobbered register after
7437 RTLD_START_SPECIAL_INIT, which will contain a call.
7439 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
7440 allocating and initializing L->l_initfini.
7442 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
7444 2000-04-03 Ulrich Drepper <drepper@redhat.com>
7446 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
7447 RUNPATH, RPATH, and LD_LIBRARY_PATH.
7448 (open_path): Change type of fourth parameter. Make pointer to array
7449 of pointers. Create variable dirs with original type.
7450 Track whether any directory for the object exists and if not,
7451 change *DIRSP to (void*) -1 to signal there is no such search path.
7452 (_dl_map_object): Change all calls of open_path.
7453 Rewrite decompose_rpath calls.
7455 2000-03-31 Andreas Schwab <schwab@suse.de>
7457 * string/strfry.c: Declare STATE as array of char instead of int
7458 and do not initialize it (done by initstate_r). Pass correct
7461 2000-04-03 Ulrich Drepper <drepper@redhat.com>
7463 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
7465 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
7466 instruction out of the code.
7468 2000-04-02 Ulrich Drepper <drepper@redhat.com>
7470 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
7471 element at this position.
7473 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
7474 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
7476 * elf/dl-lookup.c (add_dependency): New function.
7477 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
7478 dynamically loaded object.
7479 (_dl_lookup_symbol_skip): Likewise.
7480 (_dl_lookup_versioned_symbol): Likewise.
7481 (_dl_lookup_versioned_symbol_skip): Likewise.
7482 * elf/dl-open.c: Don't define _dl_load_lock here...
7483 * elf/rtld.c: ...but here...
7484 * elf/dl-support.c: ...and here.
7485 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
7487 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
7489 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
7491 * dlfcn/glrefmain.c: Add one more debug message.
7493 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
7495 * Makerules (sysd-versions): Use ( ) instead of { }.
7497 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
7498 optimize for the non-debugging case.
7499 * elf/dl-lookup.c: Likewise.
7500 * sysdeps/generic/libc-start.c: Likewise.
7502 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
7504 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
7505 (init1): Don't initialize __environ here, since init already does it.
7506 (first_init): New function, broken out of _init.
7507 (_hurd_stack_setup): Use it.
7508 [SHARED] (_dl_init_first): New function, renamed from old _init.
7509 (init1) [SHARED]: Don't call posixland_init here.
7510 (posixland_init): Take ENVP arg, so signature is usual for initializer.
7511 [SHARED] (_init): Define as alias for posixland_init.
7512 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
7513 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
7514 RTLD_START_SPECIAL_INIT before calling initializers.
7515 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
7516 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
7517 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
7518 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
7520 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
7521 since we define the function with the name `tmpfile'.
7523 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
7524 * hurd/Versions: Likewise.
7526 2000-04-02 Ulrich Drepper <drepper@redhat.com>
7528 * elf/dl-runtime.c (fixup): Fix typo in comment.
7530 * resolv/netdb.h (getnameinfo): All length parameters are of type
7532 * inet/getnameinfo.c: Likewise.
7534 2000-04-01 Ulrich Drepper <drepper@redhat.com>
7536 * posix/unistd.h (socklen_t): Define if it has not yet happened.
7537 (gethostname): Change type of second parameter to socklen_t.
7538 * include/unistd.h (__gethostname): Change type of second
7539 parameter to socklen_t.
7540 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
7541 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7542 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
7543 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
7545 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
7546 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
7547 Allow definition elsewhere.
7548 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
7549 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7550 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
7551 * sysdeps/generic/bits/types.h: Define __socklen_t.
7552 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
7553 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
7554 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7555 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7556 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7557 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
7558 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
7560 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
7561 (inet_lnaof): Likewise.
7562 (inet_netof): Likewise.
7563 (inet_network): Likewise.
7564 (inet_aton): Likewise.
7565 (inet_makeaddr): Change parameter types to in_addr_t.
7566 (inet_neta): Likewise.
7567 (inet_ntop): Change type of last parameter to socklen_t.
7568 (inet_aton): Only make available if __USE_MISC.
7569 (inet_neta): Likewise.
7570 (inet_net_ntop): Likewise.
7571 (inet_net_pton): Likewise.
7572 (inet_nsap_ntoa): Likewise.
7574 * inet/in.h: Define in_port_t type.
7575 Define in_addr_t type.
7576 (struct in_addr): Use in_addr_t in definition.
7577 (IN_CLASSA): Use cast to in_addr_t.
7578 (IN_CLASSB): Likewise.
7579 (IN_CLASSC): Likewise.
7580 (IN_CLASSD): Likewise.
7581 (IN_EXPERIMENTAL): Likewise.
7582 (IN_BADCLASS): Likewise.
7583 (INADDR_ANY): Likewise.
7584 (INADDR_BROADCAST): Likewise.
7585 (INADDR_NONE): Likewise.
7586 (INADDR_LOOPBACK): Likewise.
7587 (INADDR_UNSPEC_GROUP): Likewise.
7588 (INADDR_ALLHOSTS_GROUP): Likewise.
7589 (INADDR_ALLRTRS_GROUP): Likewise.
7590 (INADDR_MAX_LOCAL_GROUP): Likewise.
7591 (struct sockaddr_in): Use in_port_t for sin_port element.
7592 (struct sockaddr_in6): Use in_port_t for sin6_port element.
7593 Use uint8_t instead of u_int8_t.
7595 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
7596 Call __inet_aton instead of inet_aton.
7597 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
7599 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
7600 (innetgr): Likewise.
7601 (struct addrinfo): Use socklen_t for ai_addrlen element.
7603 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
7604 IPV6_RECVERR): New defines.
7606 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
7607 * inet/getnetbyad.c: Likewise.
7608 * inet/getnetbyad_r.c: Likewise.
7609 * nis/nss_nis/nis-network.c: Likewise.
7610 * nis/nssplus_nis/nisplus-network.c: Likewise.
7611 * nss/nss_files/files-network.c: Likewise.
7612 * resolv/netdb.h: Define uint32_t if not already happened.
7613 Include bits/netdb.h. Remove definition of struct netent.
7614 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
7615 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
7616 * sysdeps/generic/bits/netdb.h: New file.
7617 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
7619 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
7620 (tests): Add glrefmain.
7621 Add rules to build modules and run tests. Ignore result of glrefmain
7622 for now since it fails.
7623 * dlfcn/glrefmain.c: New file.
7624 * dlfcn/glreflib1.c: New file.
7625 * dlfcn/glreflib2.c: New file.
7627 * test-skeleton.c: Include <string.h> for strsignal prototype.
7629 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
7632 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
7633 former init-first.h. Initialize __libc_multiple_libcs.
7635 2000-03-31 Ulrich Drepper <drepper@redhat.com>
7637 * iconv/skeleton.c: Define access macros with u suffix. Adjust
7638 #if expression for use of unaligned function to the one used in
7639 the definition of these functions.
7640 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
7641 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
7642 (internal_ucs4le_loop_unaligned): New function.
7644 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
7646 (module-names): Add dep1, dep2, dep3, and dep4.
7647 Add dependencies for dep* modules and order.
7648 Define rule for order.out which checks the result.
7649 * elf/dep1.c: New file.
7650 * elf/dep2.c: New file.
7651 * elf/dep3.c: New file.
7652 * elf/dep4.c: New file.
7653 * elf/order.c: New file.
7655 * elf/dl-init.c: Fix typo in comment.
7657 2000-03-31 Andreas Jaeger <aj@suse.de>
7659 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
7660 init function interface.
7661 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
7663 2000-03-31 Andreas Jaeger <aj@suse.de>
7665 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
7666 * sysdeps/mips/fpu/fegetenv.c: Likewise.
7667 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
7668 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
7669 * sysdeps/mips/fpu/fesetenv.c: Likewise.
7671 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
7672 anymore, update comment.
7674 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7676 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
7677 SHLIB_COMPAT - the struct is always needed.
7679 2000-03-31 Ulrich Drepper <drepper@redhat.com>
7681 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
7682 * elf/dl-support.c: Define _dl_starting_up.
7684 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7686 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
7687 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
7689 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
7691 * elf/Makefile (dl-routines): Remove preinit.
7692 * elf/Versions: Remove _dl_preinit.
7693 * elf/dl-preinit.c: Removed. Move content into...
7694 * elf/dl-init.c: ...here.
7695 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
7697 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
7700 2000-03-29 Geoff Clare <gwc@unisoft.com>
7702 * stdlib/strfmon.c: Corrected problems with the code that
7703 sets default values for [np]_sep_by_space and
7704 [np]_sign_posn; also the new positive/negative alignment
7705 code from the previous patch was not quite right for
7708 * localedata/tst-fmon.data: Changes corresponding to the
7709 two sets of fixes made to stdlib/strfmon.c.
7711 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
7713 * malloc/malloc.c: Declare bit flags UL so that they will not
7714 default to int size when being inverted.
7716 2000-03-29 Andreas Jaeger <aj@suse.de>
7718 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
7719 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
7721 2000-03-29 Andreas Jaeger <aj@suse.de>,
7722 Ralf Baechle <ralf@uni-koblenz.de>
7724 * Makeconfig: Introduce new variable SHARED to mark code used in
7726 * elf/dl-close.c: Use it instead of PIC.
7727 * elf/dl-load.c: Likewise.
7728 * elf/dl-open.c: Likewise.
7729 * hurd/geteuids.c: Likewise.
7730 * include/libc-symbols.h: Likewise.
7731 * include/shlib-compat.h: Likewise.
7732 * libio/freopen.c: Likewise.
7733 * linuxthreads/cancel.c: Likewise.
7734 * linuxthreads/pthread.c: Likewise.
7735 * linuxthreads/wrapsyscall.c: Likewise.
7736 * nss/nsswitch.c: Likewise.
7737 * stdio-common/vfprintf.c: Likewise.
7738 * sysdeps/arm/init-first.c: Likewise.
7739 * sysdeps/i386/init-first.c: Likewise
7740 * sysdeps/generic/init-first.c: Likewise.
7741 * sysdeps/generic/libc-start.c: Likewise.
7742 * sysdeps/mips/init-first.c: Likewise.
7743 * sysdeps/powerpc/elf/libc-start.c: Likewise.
7744 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7745 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
7746 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
7747 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7749 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
7751 2000-03-29 Andreas Jaeger <aj@suse.de>
7753 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
7754 Use D_PTR to access relocated entries in l_info.
7755 (elf_machine_rela): Likewise.
7757 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
7759 (elf_machine_rela): Likewise.
7761 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
7763 (__elf_machine_fixup_plt): Likewise.
7764 (__process_machine_rela): Likewise.
7766 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
7767 (elf_machine_rela): Likewise.
7769 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
7770 (elf_machine_rel): Likewise.
7772 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
7773 (elf_machine_fixup_plt): Likewise.
7774 (elf_machine_rela): Likewise.
7776 2000-03-29 Andreas Jaeger <aj@suse.de>
7778 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
7779 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7780 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7781 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
7782 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7783 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
7784 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7785 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
7786 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7787 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
7788 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
7789 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
7790 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
7791 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7792 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7794 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
7795 macros, remove K&R prototypes.
7797 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7799 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
7800 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
7803 2000-03-30 Andreas Jaeger <aj@suse.de>
7805 * misc/sys/cdefs.h: Remove K&R support.
7807 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7809 * iconv/skeleton.c: Avoid compiling unaligned versions in some
7811 * iconv/loop.c: Likewise.
7813 2000-03-29 Bruno Haible <haible@clisp.cons.org>
7815 * iconv/loop.c (put16): Remove __const. Fix access index.
7816 (put32): Remove __const. Use uint32_t instead of uint16_t.
7817 * iconv/skeleton.c: Likewise.
7819 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
7821 * mach/Versions (libc: GLIBC_2.0)
7822 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
7823 __vm_allocate on this.
7824 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
7825 mutex- and spinlock-related symbols on this.
7826 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
7827 New version set. Lock-related symbols go here instead in this case.
7828 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
7829 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
7830 cthread_getspecific, cthread_setspecific, __libc_getspecific.
7832 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
7833 Put them here instead.
7834 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
7835 New version set. Those cthreads symbols go here instead in this case.
7836 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
7838 2000-03-30 Ulrich Drepper <drepper@redhat.com>
7840 * elf/dl-init.c (_dl_init): We don't need to call constructors
7841 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
7843 Implement dynamic determination of constructor/destructor order in
7845 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
7846 (GLIBC_2.2): Add _dl_init.
7847 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
7848 r_duplist is not anymore allocated separately. l_initfini is and
7849 therefore free it if necessary.
7850 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
7851 malloc block. Otherwise allocate l_initfini list only.
7852 Put dependencies for the object in l_initfini list.
7853 Sort dependencies for the object to be loaded topologically.
7854 * elf/dl-fini.c: Before running the destructors sort the topologically.
7855 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
7856 call constructors instead of iterating over the pointers. Get list of
7857 objects for which to run constructors from l_initfini element. Accept
7858 argc, argv, and env as parameters and pass them to the constructors.
7859 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
7860 with size of dynamic section.
7861 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
7862 _dl_init_next and calling constructors ourself.
7863 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
7864 Take argc, argv, and env as parameters and pass them to the
7865 constructors. Rewrite to call all constructors and not iterate over
7867 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
7868 precompute l_initcount and l_preinitcount.
7869 * elf/link.h (struct link_map): Add l_ldnum member.
7870 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
7871 l_initcount, and l_preinitcount. Add l_initfini.
7872 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
7874 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
7876 * sysdeps/unix/sysv/linux/init-first.h: Removed.
7877 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
7878 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
7879 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
7880 conventions now match.
7882 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
7883 effect for shared objects. Don't emit message and call only for
7886 2000-03-29 Ulrich Drepper <drepper@redhat.com>
7888 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
7889 CSA_Z243.4-1985-1..UCS2.
7890 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
7893 2000-03-29 Andreas Jaeger <aj@suse.de>
7895 * include/unistd.h: Remove duplicate entry for __rmdir.
7896 Remove declaration of __mkdir since __mkdir is declared in
7899 * manual/creature.texi (Feature Test Macros): Fix typo, reported
7900 by Michael Deutschmann <michael@talamasca.ocis.net>.
7902 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
7903 * sysdeps/mips/fpu/fegetenv.c: Likewise.
7904 * sysdeps/mips/fpu/fesetenv.c: Likewise.
7905 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
7906 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
7908 2000-03-28 Andreas Jaeger <aj@suse.de>
7910 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
7911 declaration, the prototype is defined via bits/mathcalls.h.
7912 (__sincosf): Likewise.
7913 (__sincosl): Likewise.
7917 (__finite): Likewise.
7918 (__inline_mathcodeNP): New macro without prototype
7920 (__inline_mathcodeNP2): Likewise.
7921 (__inline_mathcodeNP3): Likewise.
7922 (__inline_mathcodeNP_): Likewise.
7923 (__inline_mathcodeNP2_): Likewise.
7924 (__inline_mathcodeNP3_): Likewise.
7925 (__inline_mathopNP): Likewise.
7926 (__inline_mathop_declNP): Likewise.
7927 (__inline_mathop_declNP_): Likewise.
7928 (__inline_mathcode_): Use __inline_mathcodeNP_.
7929 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
7930 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
7931 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
7932 (__expm1l): Don't define prototype, the prototype is defined via
7938 (__atan2l): Likewise.
7943 (__fabsl): Likewise.
7961 (__sqrtl): Likewise.
7971 2000-03-28 Ulrich Drepper <drepper@redhat.com>
7973 * Makerules: If make variable md5 is defined to yes after
7974 generating dependencies generate MD5 sum for the object.
7976 * iconv/gconv_builtin.h: Fix length in transformation definition
7979 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
7981 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
7982 allow as well reading from/writing to unaligned addresses on machines
7983 which don't support this in hardware. Use FCTNAME macro to define
7984 function name. Include the file a second time for platforms which
7985 need special unaligned handling.
7986 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
7987 to access potentially unaligned addresses. These macros are intended
7988 to be used only outside the loops.
7989 (unaligned): New definition. In case the machine can handle unaligned
7990 access define as zero. Otherwise as a variable which is initialized
7991 as nonzero in case the buffer passed in at runtime is unaligned with
7992 respect to the character set encoding involved.
7993 Call aligned or unaligned looop functions according to unaligned
7995 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
7996 of direct casting pointer to potentially handle unaligned memory
7998 * iconvdata/8bit-generic.c: Likewise.
7999 * iconvdata/ansi_x3.110.c: Likewise.
8000 * iconvdata/big5.c: Likewise.
8001 * iconvdata/euc-cn.c: Likewise.
8002 * iconvdata/euc-jp.c: Likewise.
8003 * iconvdata/euc-kr.c: Likewise.
8004 * iconvdata/euc-tw.c: Likewise.
8005 * iconvdata/gbk.c: Likewise.
8006 * iconvdata/iso-2022-cn.c: Likewise.
8007 * iconvdata/iso-2022-jp.c: Likewise.
8008 * iconvdata/iso-2022-kr.c: Likewise.
8009 * iconvdata/iso646.c: Likewise.
8010 * iconvdata/iso_6937-2.c: Likewise.
8011 * iconvdata/iso_6937.c: Likewise.
8012 * iconvdata/johab.c: Likewise.
8013 * iconvdata/sjis.c: Likewise.
8014 * iconvdata/t.61.c: Likewise.
8015 * iconvdata/uhc.c: Likewise.
8016 * iconvdata/unicode.c: Likewise.
8017 * iconvdata/utf-16.c: Likewise.
8019 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
8022 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
8023 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
8025 * malloc/mcheck.h (mcheck_check_all): Declare.
8027 * stdio-common/Makefile (tests): Add tst-obprintf.
8029 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
8031 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
8032 Declare pthread_sigmask.
8034 * csu/version.c: Add 2000 to copyright years.
8035 Remove Emacs local variables section.
8037 2000-03-23 Bruno Haible <haible@clisp.cons.org>
8039 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
8040 __gconv_transform_internal_ucs2little): Remove declarations.
8041 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
8042 __gconv_transform_internal_ucs2): Never need to bswap_16.
8043 (__gconv_transform_ucs2reverse_internal,
8044 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
8046 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8048 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
8049 obsoleting version not being defined at all, in which case the
8050 result is always true.
8052 * Makeconfig (preprocess-versions): New canned sequence for running
8053 cpp on shlib-versions and the like.
8054 (soversions.i): Use it.
8055 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
8056 Versions.def and Versions files.
8058 2000-03-27 Ulrich Drepper <drepper@redhat.com>
8060 * stdio-common/tst-obprintf.c (main): Add another check to see
8061 obstack_printf handling all possible beginnings of the block
8062 inside an obstack chunk.
8064 * locale/programs/localedef.c: Use __malloc_initialize_hook to
8065 install mcheck handler.
8067 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
8070 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
8072 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
8074 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
8075 on [HAVE_ELF && DO_VERSIONING].
8077 2000-03-27 Ulrich Drepper <drepper@redhat.com>
8079 * stdio-common/tst-obprintf.c: New file.
8081 2000-03-26 Ulrich Drepper <drepper@redhat.com>
8083 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
8084 _IO_OVERFLOW directly instead through __overflow.
8086 * locale/programs/localedef.c (construct_output_path): If path
8087 contains a / compute the end of the directory name correctly.
8089 * include/features.h: Undef and document __USE_XOPEN2K.
8091 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
8092 whenever a function is called. Initiated by calling mcheck_pedantic
8094 * malloc/mcheck.h: Declare mcheck_pedantic.
8095 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
8096 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
8099 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8101 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
8102 * dlfcn/dlopenold.c: Likewise.
8103 * nss/getXXbyYY_r.c: Likewise.
8104 * nss/getXXent_r.c: Likewise.
8105 * hurd/hurdinit.c: Likewise.
8106 * hurd/compat-20.c: Likewise.
8107 * libio/oldiofopen.c: Likewise.
8108 * libio/oldiofclose.c: Likewise.
8109 * libio/oldiofdopen.c: Likewise.
8110 * libio/oldfileops.c: Likewise.
8111 * libio/oldstdfiles.c: Likewise.
8112 * libio/oldiofsetpos.c: Likewise.
8113 * libio/oldiofgetpos.c: Likewise.
8114 * libio/oldiofgetpos64.c: Likewise.
8115 * libio/oldiofsetpos64.c: Likewise.
8116 * libio/oldiopopen.c: Likewise.
8117 * libio/oldpclose.c: Likewise.
8118 * libio/oldtmpfile.c: Likewise.
8119 * libio/freopen.c (freopen): Likewise.
8120 * libio/iofclose.c (_IO_new_fclose): Likewise.
8122 * sysdeps/mach/sys/reboot.h: Include <features.h>.
8123 (reboot): Declare it.
8125 * libio/Makefile (headers): Add bits/stdio-lock.h here.
8127 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
8129 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
8131 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
8132 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
8133 We need this for the sbrk decl, which can be included without Unix98.
8135 2000-03-20 Richard Henderson <rth@cygnus.com>
8137 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
8138 argument to yperr2nss is an int, not size_t.
8139 * posix/regex.c (print_partial_compiled_pattern): Cast all
8140 ptrdiff_t to long for printing.
8141 (print_compiled_pattern): Use Z for printing size_t.
8142 * posix/testfnm.c (tests): Avoid trigraphs.
8143 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8144 Use a C comment, not an assembly comment.
8146 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
8147 of __ASSUME_32BITUIDS.
8149 2000-03-26 Ulrich Drepper <drepper@redhat.com>
8151 * libio/iofopncook.c: Remove K&R prototypes.
8153 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
8155 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
8156 an initial value of 1024 instead of RLIM_INFINITY.
8158 * Versions.def (libmachuser, libhurduser): Remove these sections,
8159 since these libraries do not presently use symbol versions.
8161 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
8162 is RLIM_INFINITY, return -1 instead.
8164 2000-03-24 Andreas Jaeger <aj@suse.de>
8166 * Makefile (postclean): Added soversions.i.
8168 2000-03-24 Scott Bambrough <scottb@netwinder.org>
8170 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
8171 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
8172 and _FPU_IEEE. Change _FPU_RESERVED.
8174 2000-03-24 Scott Bambrough <scottb@netwinder.org>
8176 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
8178 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
8180 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
8181 (gaih_inet): Remove unused duplicate variable.
8183 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
8184 Don't use __libc_sa_len, which only exists for Linux. Just handle
8185 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
8186 only flavors supported by this function anyway.
8188 2000-03-24 Geoff Clare <gwc@unisoft.com>
8190 * stdlib/strfmon.c: Corrected problems with missing signs and
8191 missing or extra spaces; allow for sign strings longer than
8192 one character; add padding to ensure positive and negative
8193 formats are aligned when a left precision is used.
8195 2000-03-26 Ulrich Drepper <drepper@redhat.com>
8197 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
8198 Patch by John Mizel <John.Mizel@msdw.com>.
8200 2000-03-25 Ulrich Drepper <drepper@redhat.com>
8202 * manual/install.texi: Remove references to crypt add-on.
8204 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
8206 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
8207 section while taking the _hurd_rlimit_lock.
8208 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8210 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
8212 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
8215 * sysdeps/mach/hurd/if_index.c: New file.
8217 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
8218 * sysdeps/gnu/net/if.h: here.
8219 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
8220 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
8221 * sysdeps/generic/net/if.h: New file. Declares just the standard
8222 functions and `struct if_nameindex' type.
8223 * socket/Makefile (headers): Add net/if.h here.
8224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
8225 * sysdeps/mach/hurd/Dist: Remove it here.
8226 * sysdeps/unix/sysv/linux/Dist: And here.
8227 * sysdeps/generic/if_index.c: Include <net/if.h>.
8229 2000-03-24 Andreas Jaeger <aj@suse.de>
8231 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
8232 access relocated entries in l_info.
8233 (elf_machine_got_rel): Likewise.
8234 (elf_machine_runtime_setup): Likewise.
8235 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
8236 (elf_machine_runtime_setup): Likewise.
8237 (__dl_runtime_resolve): Likewise.
8239 2000-03-23 Ulrich Drepper <drepper@redhat.com>
8241 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
8242 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
8243 according to RFC 2553.
8244 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
8245 * inet/getnameinfo.c: Likewise.
8246 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
8248 2000-03-23 Bruno Haible <haible@clisp.cons.org>
8250 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
8251 Remove no-op pointer increment.
8253 2000-03-23 Andreas Jaeger <aj@suse.de>
8255 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
8256 follow change for libio.h from 2000-03-10.
8258 2000-03-23 Andreas Jaeger <aj@suse.de>
8260 * elf/dl-addr.c: Adjust include paths for ldsodefs location
8262 * elf/dl-debug.c: Likewise.
8263 * elf/dl-deps.c: Likewise.
8264 * elf/dl-error.c: Likewise.
8265 * elf/dl-fini.c: Likewise.
8266 * elf/dl-init.c: Likewise.
8267 * elf/dl-load.c: Likewise.
8268 * elf/dl-lookup.c: Likewise.
8269 * elf/dl-minimal.c: Likewise.
8270 * elf/dl-object.c: Likewise.
8271 * elf/dl-open.c: Likewise.
8272 * elf/dl-preinit.c: Likewise.
8273 * elf/dl-profile.c: Likewise.
8274 * elf/dl-profstub.c: Likewise.
8275 * elf/dl-reloc.c: Likewise.
8276 * elf/dl-runtime.c: Likewise.
8277 * elf/dl-support.c: Likewise.
8278 * elf/dl-symbol.c: Likewise.
8279 * elf/dl-version.c: Likewise.
8280 * elf/rtld.c: Likewise.
8281 * elf/sprof.c: Likewise.
8282 * sysdeps/generic/dl-cache.c: Likewise.
8283 * sysdeps/generic/dl-origin.c: Likewise.
8284 * sysdeps/generic/dl-sysdep.c: Likewise.
8285 * sysdeps/generic/elf/backtracesyms.c: Likewise.
8286 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8287 * sysdeps/generic/libc-start.c: Likewise.
8288 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8289 * sysdeps/powerpc/dl-machine.c: Likewise.
8290 * sysdeps/powerpc/elf/libc-start.c: Likewise.
8291 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8292 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8293 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
8295 * elf/ldsodefs.h: Move file to ...
8296 * sysdeps/generic/ldsodefs.h: ... here.
8298 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
8300 * sysdeps/mips/elf/ldsodefs.h: New file.
8302 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
8304 (_dl_check_map_versions): Likewise.
8305 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8306 * elf/dl-load.c (_dl_init_paths): Likewise.
8307 (_dl_map_object): Likewise.
8308 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
8309 (elf_get_dynamic_info): Likewise.
8310 * elf/do-lookup.h (FCT): Likewise.
8311 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
8312 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8313 * elf/dl-addr.c (_dl_addr): Likewise.
8314 * elf/dl-runtime.c (profile_fixup): Likewise.
8316 * elf/dl-init.c (_dl_init_next): Likewise.
8317 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
8318 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
8319 (DISTINGUISH_LIB_VERSIONS): Likewise.
8320 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
8321 (elf_machine_rel): Likewise.
8323 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
8324 for writable dynamic section.
8326 2000-03-22 Ulrich Drepper <drepper@redhat.com>
8328 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
8329 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
8331 2000-03-22 Andreas Jaeger <aj@suse.de>
8333 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
8334 from latest Linux kernel.
8336 2000-03-21 Andreas Jaeger <aj@suse.de>
8338 * Versions.def: Add version 2.1.4.
8340 2000-03-21 Ulrich Drepper <drepper@redhat.com>
8342 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
8343 * libio/oldiofopen.c: Likewise.
8344 * libio/oldiofclose.c: Likewise.
8345 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
8347 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
8349 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
8350 indicating the first version set to obsolete the conditionalized code.
8351 (compat_symbol): New macro.
8352 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
8353 rhs be the ABI_* macro for the subsuming version. Assign increasing
8354 integer values to the ABI_* macros for supported versions.
8355 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
8356 compat_symbol macro.
8358 2000-03-21 Ulrich Drepper <drepper@redhat.com>
8360 * nscd/connections.c (nscd_run): Pretty print.
8361 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
8363 * manual/charset.texi: Fix typos. Rephrase.
8364 * manual/process.texi: Likewise.
8365 * manual/signal.texi: Likewise.
8366 Patches by Mike Coleman <mkc@kc.net>.
8368 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
8370 * libio/iofdopen.c: Likewise.
8371 * libio/iofgetpos.c: Likewise.
8372 * libio/iofgetpos64.c: Likewise.
8373 * libio/iofopen.c: Likewise.
8374 * libio/iofsetpos.c: Likewise.
8375 * libio/iofsetpos64.c: Likewise.
8376 * libio/iopopen.c: Likewise.
8377 * libio/oldiofopen.c: Likewise.
8378 * libio/pclose.c: Likewise.
8379 * sysdeps/gnu/siglist.c: Likewise.
8380 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
8382 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
8383 chance to expand VERSION_##lib##_##version.
8385 * libio/fileops.c: Use new macros from shlib-compat.h to define
8387 * libio/iofclose.c: Likewise.
8388 * libio/oldiofclose.c: Likewise.
8389 Patch by Roland McGrath <roland@frob.com>.
8391 2000-03-21 Jakub Jelinek <jakub@redhat.com>
8393 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
8394 Lay out struct sigcontext according to what really gets passed on
8396 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
8397 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
8398 (prgregset_t, prfpregset_t): Define to elf_* types.
8399 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
8400 Define to correct value.
8401 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
8403 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
8405 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
8407 * scripts/firstversions.awk: Allow multiple version sets in the
8408 "earliest version" specification, meaning that version sets in the
8409 gaps between listed versions should be folded into the earliest later
8410 version that is explicitly listed.
8411 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
8412 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
8414 2000-03-21 Ulrich Drepper <drepper@redhat.com>
8416 * iconv/gconv_builtin.c: Include <endian.h>.
8417 * iconv/gconv_builtin.h: Add UCS-BE aliases.
8418 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
8419 according to current platform.
8420 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
8421 __gconv_transform_internal_ucs2reverse, and
8422 __gconv_transform_internal_ucs4le.
8423 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
8424 __gconv_transform_ucs2reverse_internal and
8425 __gconv_transform_internal_ucs2reverse.
8426 * iconvdata/Makefile (modules): Add UNICODE.
8427 (distribute): Add unicode.c.
8428 * iconvdata/gconv-modules: Add definitions for UNICODE module.
8429 * iconvdata/unicode.c: New file.
8431 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
8432 determine byte order of input and convert accordingly.
8434 * iconvdata/utf-16.c (gconv_init): Fix typo.
8436 2000-03-20 Ulrich Drepper <drepper@redhat.com>
8438 * iconvdata/gconv-modules: Fix typo.
8440 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
8443 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
8445 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
8447 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
8449 2000-03-20 Ulrich Drepper <drepper@redhat.com>
8451 * misc/Makefile (routines): Add mincore.
8453 2000-03-20 Andreas Jaeger <aj@suse.de>
8455 * sysdeps/generic/mincore.c: New stub file.
8457 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
8458 from latest Linux kernel.
8460 2000-03-20 Ulrich Drepper <drepper@redhat.com>
8462 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
8463 _SC_GETPW_R_SIZE_MAX.
8465 2000-03-20 Richard Henderson <rth@cygnus.com>
8467 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
8470 2000-03-20 Richard Henderson <rth@cygnus.com>
8472 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
8473 of arithmetic instructions.
8475 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
8476 with the fpcr. Protect from INV exception.
8477 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
8478 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
8479 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
8481 * sysdeps/alpha/fpu/s_copysign.c: New.
8482 * sysdeps/alpha/fpu/s_copysignf.c: New.
8483 * sysdeps/alpha/fpu/s_fabs.c: New.
8484 * sysdeps/alpha/fpu/s_fabsf.c: New.
8485 * sysdeps/alpha/fpu/s_rint.c: New.
8486 * sysdeps/alpha/fpu/s_rintf.c: New.
8488 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
8490 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
8492 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
8493 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
8494 Use physical addresses not KSEG addresses.
8495 (io_system): Add PYXIS.
8496 (io): Remove hae.reg, sys, hae_shift.
8497 (stb_mb, stw_mb, stl_mb, __sethae): New.
8498 (inline_outb, inline_outw, inline_outl): Don't set hae.
8499 (inline_inb, inline_inw, inline_inl): Likewise.
8500 (dense_sethae): New null function.
8501 (struct cpuinfo_data): New.
8502 (process_cpuinfo): Use local and stack variables, not static.
8503 Move readlink check here from init_iosys.
8504 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
8506 (_hae_shift): Calculate it here.
8507 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
8508 add pciconfig_iobase.
8510 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
8512 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
8513 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
8515 * scripts/versions.awk: Fixed version renaming code to distinguish
8518 2000-03-19 Ulrich Drepper <drepper@redhat.com>
8520 * include/stdlib.h: Add prototype for __cxa_atexit.
8522 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
8523 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
8525 2000-03-17 Cristian Gafton <gafton@redhat.com>
8527 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
8528 existing rtld-installed-name.
8529 ($(rtld-installed-name)): Request libc-$(version) be installed too.
8530 replace existing rtld-installed-name using $(symbolic-link-prog).
8532 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
8534 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
8535 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
8536 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
8539 2000-03-19 Ulrich Drepper <drepper@redhat.com>
8541 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
8542 glob64. Since there is no glob64 in the LFS proposal applications
8543 can assume that glob handles LFS situations. glob64 is only needed
8544 if alternative filesystem functions are used.
8546 2000-03-19 Geoff Clare <gwc@unisoft.com>
8548 * sysdeps/generic/glob.c: Correct gl_pathc value returned
8549 when GLOB_DOOFFS is set; correct handling of patterns
8550 containing escaped wildcards (and no unescaped ones);
8551 GLOB_ERR flag was being ignored in some situations.
8553 * posix/globtest.c, posix/globtest.sh: Updated to include
8554 tests for the problems fixed by the above changes to glob.c.
8556 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
8558 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
8560 * Makeconfig (soversion.i): Use only first match for each lib.
8562 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
8564 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
8565 rather than $(sysd-dirs-done) to protect these rules.
8567 * Makerules (version-renames.def): Target removed.
8568 (Versions.all): Depend on soversions.i directly and parse it.
8570 * Makeconfig (soversions.i): New target, input-reading parts of
8571 soversions.mk generation moved here; result is a canonicalized
8572 list "LIB VERSION [SET]" for this configuration.
8573 (soversions.mk): Use that as input. Don't emit map-firstversions.
8574 * Makerules (version-renames.def): New target, generated from
8575 soversions.i with contents that was in $(map-firstversions).
8576 (Versions.all): Don't depend on soversions.mk, depend on
8577 version-renames.def instead; just cat it into the input.
8579 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
8580 for $(map-firstversions), which better handles it being empty.
8582 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
8583 supported version for libc 0.2.90.libio to GLIBC_2.2.
8585 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
8586 and use it to emit new variable `map-firstversions'.
8587 * scripts/firstversions.awk: New file.
8588 * Makerules (Versions.all): Use scripts/firstversions.awk and
8589 the $(map-firstversions) value to generate a modified versions list
8590 that includes renames in "A = B" syntax for each version set earlier
8591 than the "earliest symbol version" named in shlib-versions.
8592 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
8593 rename version set A to B in the output to the intermediate file.
8594 * scripts/abi-versions.awk: New file.
8595 * Makerules (abi-versions.h): New target, generated by that script.
8596 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
8597 * include/shlib-compat.h: New file, uses that generated header.
8599 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
8601 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
8602 after stripping # comments, and then run it through cpp.
8603 This allows things like "%ifdef FOO" based on config.h settings.
8604 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
8606 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
8607 and other errors that indicate a pseudo-receive happened, grok through
8608 the message buffer for port rights that need references fixed up.
8610 2000-03-16 Andreas Jaeger <aj@suse.de>
8612 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
8614 * sysdeps/unix/sysv/linux/madvise.c: Remove.
8616 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
8617 from latest Linux kernel.
8618 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
8620 * misc/sys/mman.h: Add prototype for mincore.
8622 2000-03-17 Ulrich Drepper <drepper@redhat.com>
8624 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
8625 entry for GLIBC_2.0 version of setrlimit.
8626 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8628 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
8630 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
8631 * nis/nss_compat/compat-initgroups.c: Likewise.
8632 * nis/nss_nis/nis-initgroups.c: Likewise.
8633 * nis/nss_nis/nis-netgrp.c: Likewise.
8634 * nis/nss_nis/nis-proto.c: Likewise.
8635 * nis/nss_nis/nis-rpc.c: Likewise.
8636 * nis/nss_nis/nis-service.c: Likewise.
8637 * nis/ypclnt.c: Likewise.
8639 2000-03-16 Andreas Jaeger <aj@suse.de>
8641 * manual/Makefile: MAKEINFO is set to `:' from configure if it
8642 doesn't exist, correct checks. Fixes PR libc/1649.
8644 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
8646 * nscd/hstcache.c: Restore correct UID.
8647 * nscd/pwdcache.c: Likewise.
8648 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
8650 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
8652 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
8653 macros for register names, in line with 2000-03-14 linux change.
8655 * sysdeps/mach/sched_yield.c: New file.
8657 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
8659 * sysdeps/generic/lockfile.c: Include <stdio.h>
8660 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
8661 case <libio.h> defined them.
8662 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
8664 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
8665 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
8667 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
8668 for more pleasing parse error.
8670 2000-03-16 Ulrich Drepper <drepper@redhat.com>
8672 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
8674 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8676 * elf/Makefile: Add rules to compile and run constload1 test.
8677 * elf/constload1.c: New file.
8678 * elf/constload2.c: New file.
8679 * elf/constload3.c: New file.
8681 2000-03-15 Ulrich Drepper <drepper@redhat.com>
8683 * sysdeps/posix/open64.c: Make __open64 weak alias.
8684 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
8685 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8686 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
8687 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8688 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
8689 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
8690 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8691 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8692 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8693 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
8695 2000-03-14 Ulrich Drepper <drepper@redhat.com>
8697 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
8698 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
8700 2000-03-16 Mark Kettenis <kettenis@gnu.org>
8702 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
8703 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
8705 2000-03-08 Andreas Jaeger <aj@suse.de>
8707 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
8709 2000-03-14 Ulrich Drepper <drepper@redhat.com>
8711 * timezone/africa: Update from tzdata2000d.
8712 * timezone/asia: Likewise.
8713 * timezone/australasia: Likewise.
8714 * timezone/europe: Likewise.
8715 * timezone/northamerica: Likewise.
8716 * timezone/southamerica: Likewise.
8718 * po/fr.po: Update from translation team.
8719 * po/de.po: Likewise.
8721 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
8722 last parameter. Move code to add map to global scope from here...
8723 * elf/dl-open.c (dl_open_worker): ...here.
8724 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
8725 * elf/rtld.c: Adjust call to _dl_map_object_deps.
8727 * locale/programs/ld-collate.c (collate_read): Fix warning.
8729 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
8730 values and macros for register names.
8732 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
8733 returned by seek cookie function is -1.
8735 2000-03-14 Andreas Jaeger <aj@suse.de>
8737 * locale/localeconv.c (localeconv): Fix typo.
8738 Reported by Andre Charbonneau <andrec@corel.com>.
8740 2000-03-14 Ulrich Drepper <drepper@redhat.com>
8742 * iconv/skeleton.c: Increment __invocation_counter in inner loop
8743 since modules depend on it counting the number of times the conversion
8744 function got called.
8746 * iconv/gconv_open.c: Optimize loop to setup step data structure.
8748 * iconv/gconv.h: Pretty print.
8750 2000-03-04 Ulrich Drepper <drepper@redhat.com>
8752 * posix/wordexp-test.c: Correct one of the tests added in the last
8753 change. Really get the root passwd entry to check again ~root.
8755 2000-03-10 Andreas Jaeger <aj@suse.de>
8757 * manual/filesys.texi (Working Directory): Fix last patch.
8758 Patch by Martin Buchholz <martin@xemacs.org>.
8760 2000-03-10 Andreas Jaeger <aj@suse.de>
8762 * manual/creature.texi (Feature Test Macros): Fix language.
8764 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
8766 * mach/devstream.c (devstream_write, devstream_read): New functions.
8767 (input, output): Functions removed.
8768 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
8769 using only the vanilla fopencookie interface.
8771 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
8772 as macro for __io_functions.
8773 (funcsio): Use cookie_io_functions_t type name.
8774 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
8776 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
8778 (fopencookie): Use it.
8779 * libio/libio.h: Declare _IO_cookie_init.
8780 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
8783 * libio/libio.h (__io_seek_fn): Fix second argument type
8784 to be a pointer, in line with the manual and the old stdio.
8785 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
8787 * sysdeps/generic/bits/stdio-lock.h: New file.
8788 This is a stub with #error, but that's better than no file at all.
8790 2000-03-09 Martin Buchholz <martin@xemacs.org>
8792 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
8793 * manual/message.texi (Using gettextized software): Doc Fixes.
8794 * manual/message.texi (Message Translation): Doc Fixes.
8795 * manual/filesys.texi (File Size): Doc Fixes.
8796 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
8797 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
8798 * iconv/gconv_db.c (find_derivation): Doc Fixes.
8799 * manual/install.texi: Doc Fixes.
8800 * manual/search.texi (Hash Search Function): Doc Fixes.
8801 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
8802 * FAQ.in: Doc Fixes.
8803 * config.h.in: Doc Fixes.
8804 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
8805 Doc Fixes. `allows to' is not correct English.
8807 * elf/rtld.c: Doc fixes.
8808 * manual/creature.texi (Feature Test Macros): Doc fixes.
8809 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
8811 * manual/filesys.texi (Working Directory): Check for ERANGE to
8814 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
8816 * string/argz-stringify.c (__argz_stringify): Fix loop termination
8817 conditions so as not to clobber the final '\0' when there is only one
8818 element in the vector.
8820 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
8822 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
8823 broken by 2000-02-27 change.
8825 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
8827 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
8829 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
8830 argument type, for 2000-02-22 change in signal/signal.h declaration.
8832 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
8834 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
8835 to getdirentries64 (no __), since the Linux implementation
8836 has no __ name, and there is no declaration for the __ name.
8838 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
8840 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
8841 sed regexp so as not to break directory names including /../ within.
8843 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
8844 The sysdeps/generic file is right for BSD. This file was in fact the
8845 Hurd file, but the only difference was the WNOREAP flag that was never
8846 actually implemented or used anywhere.
8848 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
8849 since AC_PATH_PROG already does it for us.
8850 (PERL): Rewrite check added in 2000-02-29 change for syntactic
8851 correctness and sh portability. I replaced the broken check
8852 with a more sensible implementation of the apparently intended
8853 semantics, which might still be questionable. Using expr causes
8854 a non-numeric value for `perl -V:apiversion` to be accepted,
8855 refusing to use only a perl that reports a number less than 5;
8856 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
8857 * configure: Regenerated.
8859 2000-03-08 Andreas Jaeger <aj@suse.de>
8861 * manual/crypt.texi: Fix paths.
8863 2000-03-07 Andreas Jaeger <aj@suse.de>
8865 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
8867 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
8870 2000-03-06 Andreas Jaeger <aj@suse.de>
8872 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
8873 in __sgn1l, otherwise g++ fails to parse this.
8874 Reported by Sean Chen <sean.chen@turbolinux.com>.
8876 2000-03-03 Geoff Keating <geoffk@cygnus.com>
8878 * configure.in: Compute sizeof-long-double.
8879 * configure: Regenerated.
8880 * config.make.in: Make sizeof-long-double available to sub-makes.
8882 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
8884 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8887 2000-03-03 Geoff Keating <geoffk@cygnus.com>
8889 * Makeconfig (rpath-dirs): Add crypt.
8890 (all-subdirs): Remove md5crypt.
8891 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
8892 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
8893 * sysdeps/generic/crypt-entry.c: Delete.
8894 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
8895 * sysdeps/generic/crypt.h: Delete.
8896 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
8897 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
8898 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
8899 * sysdeps/generic/des_impl.c: Delete.
8900 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
8901 * crypt/sysdeps: Delete.
8902 * crypt/crypt_util.c: Don't use `patchlevel.h'.
8903 * md5-crypt/Versions: Move to crypt/.
8904 * md5-crypt/md5-crypt.c: Move to crypt/.
8905 * md5-crypt/md5.c: Move to crypt/.
8906 * md5-crypt/md5c-test.c: Move to crypt/.
8907 * md5-crypt/md5test.c: Move to crypt/.
8908 * md5-crypt: Delete.
8909 * crypt/Makefile: Adjust for new structure.
8911 2000-03-03 Paul Eggert <eggert@twinsun.com>
8913 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
8914 define to 1 if not defined.
8916 2000-03-03 Andreas Jaeger <aj@suse.de>
8918 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
8920 2000-03-03 Andreas Jaeger <aj@suse.de>
8922 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
8924 (xdr_int64_t): Correctly handle lower half.
8925 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
8927 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
8929 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8932 2000-03-02 Andreas Jaeger <aj@suse.de>
8934 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
8937 2000-03-02 Andreas Jaeger <aj@suse.de>
8939 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
8941 2000-03-01 Andreas Jaeger <aj@suse.de>
8943 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
8944 (tests): Added tst-getdate.
8946 * time/tst-getdate.c: New file.
8948 * time/datemsk: New file, needed for tst-getdate.
8950 2000-02-29 Cristian Gafton <gafton@redhat.com>
8952 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
8954 2000-02-17 H.J. Lu <hjl@gnu.org>
8956 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
8958 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
8960 (svcudp_recv): Set up message with the new "xp_pad" field for
8962 (svcudp_reply): Support IP_PKTINFO if available.
8964 2000-03-01 Andreas Jaeger <aj@suse.de>
8966 * time/getdate.c (check_mday): Fix check for february.
8967 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
8968 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
8970 2000-03-02 Andreas Jaeger <aj@suse.de>
8972 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
8973 g++ fails to parse this.
8974 Reported by Sean Chen <sean.chen@turbolinux.com>.
8976 2000-02-28 Ulrich Drepper <drepper@redhat.com>
8978 * io/creat.c: Moved to...
8979 * sysdeps/generic/creat.c: ...here.
8980 * io/creat64.c: Moved to...
8981 * sysdeps/generic/creat64.c: ...here.
8982 * io/lockf.c: Moved to...
8983 * sysdeps/generic/lockf.c: ...here.
8985 * crypt/crypt.texi: Moved to...
8986 * manual/crypt.texi: ...here.
8987 * crypt/examples/genpass.c: Moved to...
8988 * manual/examples/genpass.c: ...here.
8989 * crypt/examples/mygenpass.c: Moved to...
8990 * manual/examples/mygenpass.c: ...here.
8991 * crypt/examples/testpass.c: Moved to...
8992 * manual/examples/testpass.c: ...here.
8994 * manual/Makefile (chapters): Add crypt.
8995 * manual/conf.texi: Add usual header for not-last chapter.
8996 * manual/crypt.texi: Add special header for last chapter.
8998 2000-02-28 Geoff Keating <geoffk@cygnus.com>
9000 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
9001 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
9002 complain if there is no crypt add-on.
9003 * crypt/configure: Removed.
9005 * crypt/crypt.texi: Update documentation of US export restrictions
9006 to match the 14 Jan 2000 regulations.
9008 2000-02-28 Geoff Keating <geoffk@cygnus.com>
9010 * crypt: New subdirectory, merged in from the crypt add-on.
9012 2000-02-28 Ulrich Drepper <drepper@redhat.com>
9014 * include/unistd.h: Add __rmdir and __mkdir prototypes.
9017 See ChangeLog.10 for earlier changes.