1 2001-10-14 Ulrich Drepper <drepper@redhat.com>
3 * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
4 to generate hexadecimal identifier.
5 Patch by Jungshik Shin <jungshik.shin@yale.edu>.
7 2001-10-09 Stephen L Moshier <moshier@mediaone.net>
9 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
11 2001-10-14 Ulrich Drepper <drepper@redhat.com>
13 * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
14 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
15 Contributed by Stephen L Moshier <moshier@mediaone.net>.
17 * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
18 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
20 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
21 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
22 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
24 * timezone/africa: Update from tzdata2001d.
25 * timezone/asia: Likewise.
26 * timezone/australasia: Likewise.
27 * timezone/backward: Likewise.
28 * timezone/europe: Likewise.
29 * timezone/leapseconds: Likewise.
30 * timezone/northamerica: Likewise.
31 * timezone/southamerica: Likewise.
32 * timezone/zone.tab: Likewise.
34 2001-10-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
36 * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
37 * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
39 2001-10-12 Ulrich Drepper <drepper@redhat.com>
41 * elf/elf.h (PT_TLS): New definition.
43 2001-10-10 Jeff Bailey <jbailey@nisa.net>
45 * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
48 2001-10-07 Roland McGrath <roland@frob.com>
50 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
52 2001-10-10 Ulrich Drepper <drepper@redhat.com>
54 * elf/elf.h: Add more ELFOSABI_* constants.
56 2001-10-04 Ben Collins <bcollins@debian.org>
58 * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
59 decleration of __need_wchar_t.
61 2001-10-03 Jakub Jelinek <jakub@redhat.com>
63 * string/bits/string2.h (__strsep_g): Add prototype.
65 * string/Versions (__strsep): Remove.
66 * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
68 2001-10-07 Ulrich Drepper <drepper@redhat.com>
70 * manua/llio.texi: Clarify file references added by mmap.
71 Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
73 2001-09-29 Jes Sorensen <jes@trained-monkey.org>
75 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
76 Add sc_loadrs and sc_rbs_bas to match current kernel.
78 2001-09-27 Jakub Jelinek <jakub@redhat.com>
80 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
82 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
84 2001-09-27 Jakub Jelinek <jakub@redhat.com>
86 * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
87 object has been bumped because of relocation dependency, avoid
88 duplicates in l_scope.
89 (show_scope): Fix typos.
90 * elf/Makefile: Add rules to build and run reldep6.
91 * elf/reldep6.c: New file.
92 * elf/reldep6mod0.c: New file.
93 * elf/reldep6mod1.c: New file.
94 * elf/reldep6mod2.c: New file.
95 * elf/reldep6mod3.c: New file.
96 * elf/reldep6mod4.c: New file.
98 2001-09-26 Jakub Jelinek <jakub@redhat.com>
100 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
102 (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
103 near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
104 for non-lazy binding. Fix .plt[32768+] handling.
105 (elf_machine_plt_value): Don't add addend.
106 (elf_machine_rela): Call sparc64_fixup_plt instead of
107 elf_machine_fixup_plt.
108 (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
109 dynamic linker at 0xfffff800XXXXXXXX.
111 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
113 2001-09-28 Ulrich Drepper <drepper@redhat.com>
115 * elf/elf.h: Define SHF_GROUP and SHF_TLS.
117 2001-09-25 Jakub Jelinek <jakub@redhat.com>
119 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
120 declare __cmsg_data field if its size would be bigger than 0.
121 (CMSG_DATA): Adjust accordingly.
122 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
123 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
124 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
125 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
126 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
127 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
130 2001-09-25 Ulrich Drepper <drepper@redhat.com>
132 * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
133 * iconvdata/testdata/IBM1160: New file.
134 * iconvdata/testdata/IBM1160..UTF8: New file.
135 * iconvdata/testdata/IBM1161: New file.
136 * iconvdata/testdata/IBM1161..UTF8: New file.
137 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
139 2001-09-24 Ulrich Drepper <drepper@redhat.com>
141 * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
142 UL_SETFSIZE computations better.
144 * rt/Makefile: Remove use of filter for librt again.
146 * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
147 UL_SETFSIZE computations better.
149 * string/Versions: Export __strsep for GLIBC_2.2.5.
150 * string/bits/string2.h: Define all __STRING_INLINE functions if
151 _FORCE_INLINES is defined.
152 Use int instead of char of parameter types.
153 (__strsep): Don't use __strsep_g. Don't define it.
154 (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
155 * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
157 (__stpcpy_a_small): Renamed from __stpcpy_small.
158 (__strcspn_c1): Don't define if _FORCE_INLINES.
159 (__strspn_c1): Likewise.
161 2001-09-22 Ben Collins <bcollins@debian.org>
163 * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
164 _UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h.
165 * sysdeps/ia64/bits/sigaction.h: Likewise.
166 * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
168 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
170 * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
172 2001-09-24 Jakub Jelinek <jakub@redhat.com>
174 * elf/dl-open.c (dl_open_worker): Update l_scope_max.
176 2001-09-24 Ulrich Drepper <drepper@redhat.com>
178 * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
180 2001-09-20 H.J. Lu <hjl@gnu.org>
182 * include/dlfcn.h (__RTLD_SPROF): New definiton.
183 * elf/dl-open.c (dl_open_worker): Return immediately after loading
185 * elf/sprof.c (main): Default to the filename if soname doesn't exist.
186 (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
188 2001-09-20 H.J. Lu <hjl@gnu.org>
190 * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
193 2001-09-22 Ulrich Drepper <drepper@redhat.com>
195 * nss/getent.c: Accept -s parameter to overwrite rules in
196 nsswitch.conf. Patch by Nalin Dahyabhai <nalin@redhat.com>.
198 * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
199 with as many ".0" as necessary to form a complete address
200 inet_network understands.
202 * nss/getent.c: Various cleanups. Use simpler and fewer function
205 2001-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
207 * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
209 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
211 2001-09-22 Ulrich Drepper <drepper@redhat.com>
213 * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
215 * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
216 * iconvdata/ibm1160.c: New file.
217 * iconvdata/ibm1160.h: New file.
218 * iconvdata/ibm1161.c: New file.
219 * iconvdata/ibm1161.h: New file.
220 Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
222 2001-09-19 Jakub Jelinek <jakub@redhat.com>
224 * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
225 difference between base address and first PT_LOAD's virtual address,
226 not the base address.
228 2001-09-11 Tom Rix <trix@redhat.com>
230 * sysdeps/unix/sysv/aix/init-first.c (init): Use USE_NONONPTION_FLAG
231 ifdef for __getopt_clean_environment.
232 * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
234 2001-09-22 Andreas Jaeger <aj@suse.de>
236 * elf/reldep4.c (main): Add proper prototype to fix warning.
238 * elf/reldep5.c (main): Remove unused variable.
240 * math/math_private.h: Add prototypes.
242 2001-09-21 Andreas Jaeger <aj@suse.de>
244 * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
245 * sysdeps/x86_64/Dist: New file.
246 * sysdeps/x86_64/soft-fp/Dist: New file.
248 * sysdeps/gnu/Dist: Remove eval.c.
250 2001-09-20 Ulrich Drepper <drepper@redhat.com>
252 * malloc/memusage.c (realloc): Don't count already allocated
254 (me): Always use dlsym() to find the real implementations.
256 * malloc/memusage.sh: Make -n option actually do something.
258 2001-09-20 Andreas Jaeger <aj@suse.de>
260 * elf/elf.h (R_390_NUM): Correct value.
262 * Versions.def: Add missing versions 2.2.3 for libthread_db and
265 * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
266 for x86-64, install x86-64 into */lib64.
268 * shlib-versions: Add x86-64.
270 * elf/elf.h: Add x86-64 relocations.
272 2001-09-19 Ulrich Drepper <drepper@redhat.com>
274 * po/fr.po: Update from translation team.
276 2001-09-19 Andreas Jaeger <aj@suse.de>
278 * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
279 * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
280 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
281 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
282 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
283 * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
284 * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
285 * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
286 * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
287 * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
288 * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
289 * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
290 * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
291 * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
292 * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
293 * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
294 * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
295 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
296 * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
297 * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
298 * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
299 * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
300 * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
301 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
302 * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
303 * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
304 * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
305 * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
306 * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
307 * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
308 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
309 * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
310 * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
311 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
312 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
313 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
314 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
315 * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
316 * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
317 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
318 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
319 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
320 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
321 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
322 * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
323 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
324 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
326 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
327 * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
328 * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
329 * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
330 * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
331 * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
332 * sysdeps/unix/x86_64/sysdep.S: New file.
333 * sysdeps/unix/x86_64/sysdep.h: New file.
334 * sysdeps/x86_64/Implies: New file.
335 * sysdeps/x86_64/Makefile: New file.
336 * sysdeps/x86_64/Versions: New file.
337 * sysdeps/x86_64/__longjmp.S: New file.
338 * sysdeps/x86_64/abort-instr.h: New file.
339 * sysdeps/x86_64/atomicity.h: New file.
340 * sysdeps/x86_64/bits/endian.h: New file.
341 * sysdeps/x86_64/bits/setjmp.h: New file.
342 * sysdeps/x86_64/bits/string.h: New file.
343 * sysdeps/x86_64/bp-asm.h: New file.
344 * sysdeps/x86_64/bsd-_setjmp.S: New file.
345 * sysdeps/x86_64/bsd-setjmp.S: New file.
346 * sysdeps/x86_64/dl-machine.h: New file.
347 * sysdeps/x86_64/elf/initfini.c: New file.
348 * sysdeps/x86_64/elf/start.S: New file.
349 * sysdeps/x86_64/ffs.c: New file.
350 * sysdeps/x86_64/ffsll.c: New file.
351 * sysdeps/x86_64/fpu/bits/fenv.h: New file.
352 * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
353 * sysdeps/x86_64/fpu/e_acosl.c: New file.
354 * sysdeps/x86_64/fpu/e_atan2l.c: New file.
355 * sysdeps/x86_64/fpu/e_exp2l.S: New file.
356 * sysdeps/x86_64/fpu/e_expl.c: New file.
357 * sysdeps/x86_64/fpu/e_fmodl.S: New file.
358 * sysdeps/x86_64/fpu/e_log10l.S: New file.
359 * sysdeps/x86_64/fpu/e_log2l.S: New file.
360 * sysdeps/x86_64/fpu/e_logl.S: New file.
361 * sysdeps/x86_64/fpu/e_powl.S: New file.
362 * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
363 * sysdeps/x86_64/fpu/e_scalbl.S: New file.
364 * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
365 * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
366 * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
367 * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
368 * sysdeps/x86_64/fpu/fegetenv.c: New file.
369 * sysdeps/x86_64/fpu/fegetexcept.c: New file.
370 * sysdeps/x86_64/fpu/fegetround.c: New file.
371 * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
372 * sysdeps/x86_64/fpu/fesetenv.c: New file.
373 * sysdeps/x86_64/fpu/fesetround.c: New file.
374 * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
375 * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
376 * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
377 * sysdeps/x86_64/fpu/ftestexcept.c: New file.
378 * sysdeps/x86_64/fpu/libm-test-ulps: New file.
379 * sysdeps/x86_64/fpu/math_ldbl.h: New file.
380 * sysdeps/x86_64/fpu/printf_fphex.c: New file.
381 * sysdeps/x86_64/fpu/s_atanl.c: New file.
382 * sysdeps/x86_64/fpu/s_cosl.S: New file.
383 * sysdeps/x86_64/fpu/s_expm1l.S: New file.
384 * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
385 * sysdeps/x86_64/fpu/s_isinfl.c: New file.
386 * sysdeps/x86_64/fpu/s_isnanl.c: New file.
387 * sysdeps/x86_64/fpu/s_log1pl.S: New file.
388 * sysdeps/x86_64/fpu/s_logbl.c: New file.
389 * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
390 * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
391 * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
392 * sysdeps/x86_64/fpu/s_rintl.c: New file.
393 * sysdeps/x86_64/fpu/s_significandl.c: New file.
394 * sysdeps/x86_64/fpu/s_sincosl.S: New file.
395 * sysdeps/x86_64/fpu/s_sinl.S: New file.
396 * sysdeps/x86_64/fpu/s_tanl.S: New file.
397 * sysdeps/x86_64/gmp-mparam.h: New file.
398 * sysdeps/x86_64/hp-timing.c: New file.
399 * sysdeps/x86_64/hp-timing.h: New file.
400 * sysdeps/x86_64/htonl.S: New file.
401 * sysdeps/x86_64/memusage.h: New file.
402 * sysdeps/x86_64/setjmp.S: New file.
403 * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
404 * sysdeps/x86_64/stackinfo.h: New file.
405 * sysdeps/x86_64/sysdep.h: New file.
406 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
408 * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
411 2001-09-18 Ulrich Drepper <drepper@redhat.com>
413 * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
414 Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
416 2001-09-18 Andreas Schwab <schwab@suse.de>
418 * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
419 list, now that l_scope is a pointer.
421 * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
424 2001-09-18 kaz Kojima <kkojima@rr.iij4u.or.jp>
426 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
427 (elf_machine_rela_relative): Add a missing declaration.
429 2001-09-18 Jakub Jelinek <jakub@redhat.com>
431 * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New.
432 * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New.
433 * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
436 2001-09-18 Ulrich Drepper <drepper@redhat.com>
438 * elf/ldd.bash.in: Update copyright message.
440 2001-09-17 H.J. Lu <hjl@gnu.org>
442 * hurd/hurdmalloc.c (bcopy): Removed.
443 (realloc): Replace bcopy with memcpy.
444 * hurd/path-lookup.c (file_name_path_scan): Likewise.
445 * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
446 * sunrpc/rpcinfo.c (pmapdump): Likewise.
448 * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
449 (gethostbyaddr): Likewise.
450 * sunrpc/rpcinfo.c (get_inet_address): Likewise.
452 2001-09-18 Ulrich Drepper <drepper@redhat.com>
454 * sysdeps/gnu/eval.c: Removed.
456 2001-09-18 Andreas Jaeger <aj@suse.de>
458 * sysdeps/i386/fpu/s_logbl.S: Move to ...
459 * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
461 * sysdeps/i386/fpu/s_rintl.S: Move to ...
462 * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
464 * sysdeps/i386/fpu/s_significandl.S: Move to ...
465 * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
467 2001-09-16 Ulrich Drepper <drepper@redhat.com>
469 * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
472 2001-09-14 H.J. Lu <hjl@gnu.org>
474 * sysdeps/mips/fpu/libm-test-ulps: Updated.
476 2001-09-14 Ulrich Drepper <drepper@redhat.com>
478 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
479 Patch by Florian La Roche <laroche@redhat.com>.
481 * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
483 * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
486 2001-09-14 Andreas Schwab <schwab@suse.de>
488 * posix/execl.c: Fix last argument of memcpy. Reported by Brian
489 Sumner <bls@sgi.com>.
490 * posix/execlp.c: Likewise.
492 2001-09-13 Jakub Jelinek <jakub@redhat.com>
494 * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
495 is already found earlier in the search scope.
497 2001-09-12 Jakub Jelinek <jakub@redhat.com>
499 * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
502 2001-09-13 Ulrich Drepper <drepper@redhat.com>
504 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
506 2001-09-12 Ulrich Drepper <drepper@redhat.com>
508 * config.h.in: Enforce optimization to be used.
509 * Makeconfig (preprocess-versions): Define ASSEMBLER.
510 * stdlib/Makefile (isomac-CFLAGS): Define to -O.
511 * posix/Makefile (annexc-CFLAGS): Define to -O.
512 * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
514 2001-09-11 Ulrich Drepper <drepper@redhat.com>
516 * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
517 Patch by Stephan Kulow.
519 2001-09-08 Ben Collins <bcollins@debian.org>
521 * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
522 usage of RESOLVE() (r_type, not reloc->r_type).
524 2001-09-08 Ulrich Drepper <drepper@redhat.com>
526 * elf/dl-object.c: Avoid allocating extra memory block for name.
527 * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
528 allocated separately.
529 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
531 2001-09-08 H.J. Lu <hjl@gnu.org>
533 * po/zh_TW.po: Fix a typo.
535 2001-09-07 Tom Rix <trix@redhat.com>
537 * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
539 2001-08-26 Tom Rix <trix@redhat.com>
541 * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
542 command line options.
543 * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
544 * sysdeps/unix/sysv/aix/start.c: Removed.
545 * sysdeps/unix/sysv/aix/start-libc.c: New file.
546 * sysdeps/unix/sysv/aix/init-first.c: New file.
547 * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
549 2001-09-08 Ben Collins <bcollins@debian.org>
551 * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
552 * sysdeps/generic/dl-machine.h: Likewise.
553 * sysdeps/hppa/dl-fptr.c: Likewise.
554 * sysdeps/ia64/dl-fptr.c: Likewise.
555 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
556 * sysdeps/mips/dl-machine.h: Likewise.
557 * sysdeps/mips/mips64/dl-machine.h: Likewise.
558 * sysdeps/powerpc/dl-machine.c: Likewise.
560 2001-09-07 Ben Collins <bcollins@debian.org>
562 * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
564 * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
566 2001-09-08 Ulrich Drepper <drepper@redhat.com>
568 * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
569 dependencies if necessary.
571 * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
572 loaded directly) determine length if l_initfini list by iterating
573 over its elements. Minor optimizations.
574 * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
575 for dependency objects.
576 If object was already loaded check whether any of the dependencies
577 is already on the relocation dependency list. If yes, remove the
578 latter. Minor optimizations.
579 * elf/dl-lookup.c (add_dependency): Add check for self reference of
580 maps here. Search l_initfini list only if the object was loaded
581 directly and not only as a dependency.
582 (_dl_lookup_symbol): Add relocation dependency also if object
583 is not in global scope. Remove test for self-reference here.
584 (_dl_lookup_versioned_symbol): Likewise.
585 * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free
586 element of first name record.
587 * elf/loadtest.c: Add some more test to recognize early if an object
589 * elf/Makefile: Add rules to build and run reldep5.
590 * elf/reldep5.c: New file.
591 * elf/reldepmod5.c: New file.
592 * elf/reldepmod6.c: New file.
594 * elf/reldep2.c: Fix typo.
596 2001-09-07 Ulrich Drepper <drepper@redhat.com>
598 * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
599 elements. Change l_scope to be a pointer only.
600 * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
601 * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
602 here add searchlist of newly open file to the dependency's scope.
603 * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
604 only searchlist from its scope. Free own scope array if necessary.
605 * elf/Makefile (tests): Add dblload and dblunload now.
607 2001-09-06 Andreas Jaeger <aj@suse.de>
609 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
612 2001-09-05 Ulrich Drepper <drepper@redhat.com>
614 * elf/Makefile: Add rules to build new tests. Don't run them yet since
616 * elf/dblload.c: New file.
617 * elf/dblloadmod1.c: New file.
618 * elf/dblloadmod2.c: New file.
619 * elf/dblloadmod3.c: New file.
620 * elf/dblunload.c: New file.
622 2001-09-04 Richard Henderson <rth@redhat.com>
624 * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
625 (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
627 2001-09-04 Ulrich Drepper <drepper@redhat.com>
629 Correct very misleading message for error in failed runtime relocation.
630 * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
632 (_dl_signal_cerror): Likewise.
633 * sysdeps/generic/ldsodefs.h: Adjust prototypes.
634 * elf/dl-close.c: Likewise.
635 * elf/dl-deps.c: Likewise.
636 * elf/dl-load.c: Likewise.
637 * elf/dl-lookup.c: Likewise.
638 * elf/dl-open.c: Likewise.
639 * elf/dl-reloc.c: Likewise.
640 * elf/dl-sym.c: Likewise.
641 * elf/dl-version.c: Likewise.
642 * sysdeps/generic/dl-sysdep.c: Likewise.
644 2001-09-04 Jakub Jelinek <jakub@redhat.com>
646 * iconv/strtab.c (strtabinit): Initialize null Strent.
647 (newstring): Move len == 0 handling...
648 (strtabadd): ...here.
649 If len == 1, return null Strent.
650 When inserting a suffix of an existing string, check if
651 it is not equal to some suffix already recorded.
652 Copy left and right members over if adding longer string.
654 2001-09-04 Jakub Jelinek <jakub@redhat.com>
656 * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
658 * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
659 (__syscall_gethostname): Add prototype.
661 2001-09-04 Ulrich Drepper <drepper@redhat.com>
663 * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
665 2001-09-02 Ulrich Drepper <drepper@redhat.com>
667 * elf/rtld.c (dl_main): Increment l_opencount for main binary.
669 2001-08-27 Roland McGrath <roland@frob.com>
671 * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
672 short, copy that much into NAME anyway before returning error.
674 2001-09-01 Richard Henderson <rth@redhat.com>
676 * sysdeps/alpha/elf/Dist: Remove file.
677 * sysdeps/alpha/elf/Makefile: Remove file.
678 * sysdeps/alpha/elf/crtbegin.S: Remove file.
679 * sysdeps/alpha/elf/crtend.S: Remove file.
680 * sysdeps/alpha/elf/initfini.c: New file.
682 2001-09-01 Mark Kettenis <kettenis@gnu.org>
684 * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
685 * iconv/tst-iconv3.c: Likewise.
687 2001-09-01 Jakub Jelinek <jakub@redhat.com>
689 * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
691 2001-09-01 Ulrich Drepper <drepper@redhat.com>
693 * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
695 * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
696 * iconv/iconv_prog.c (insert_cache): New function.
697 (print_known_names): If cache is used call insert_cache to use the
698 information from the cache [PR libc/2509].
700 2001-08-31 Ulrich Drepper <drepper@redhat.com>
702 * time/strptime.c (strptime_internal): Recognize 'l' format and
703 handle it like 'I' for symmetry with strftime.
705 2001-08-31 Richard Henderson <rth@redhat.com>
707 * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
708 (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
709 * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
710 (print_statistics): Make scalar unsigned long long.
711 * sysdeps/alpha/hp-timing.h: New file.
713 2001-08-31 Jakub Jelinek <jakub@redhat.com>
715 * stdio-common/perror.c (perror): Save errno early, pass it
716 down to perror_internal.
717 (perror_internal): Add errnum argument.
719 2001-08-31 Jakub Jelinek <jakub@redhat.com>
721 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
722 Don't add old memory content for R_ALPHA_REFQUAD.
724 2001-08-30 Ulrich Drepper <drepper@redhat.com>
726 * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
729 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
730 instead of open, __close instead of close, __getpagesize instead
733 * string/argz-stringify.c (__argz_stringify): Use __strnlen
735 * include/string.h (strndupa): Redefine here to use __strnlen
737 * string/strndup.c (__strndup): Use __strnlen not strnlen.
739 * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
742 2001-08-30 Jakub Jelinek <jakub@redhat.com>
744 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
745 R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check
746 for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
747 * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
748 * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
749 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
750 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
752 2001-08-30 Ulrich Drepper <drepper@redhat.com>
754 * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
756 2001-08-30 Andreas Jaeger <aj@suse.de>
758 * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
759 contributed Stephen L Moshier.
761 2001-08-30 Jakub Jelinek <jakub@redhat.com>
763 * sunrpc/etc.rpc (sgi_fam): Add.
765 2001-08-30 Ulrich Drepper <drepper@redhat.com>
767 * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
769 2001-08-29 Ulrich Drepper <drepper@redhat.com>
771 * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
772 first is from a previous call.
773 Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
775 2001-08-29 Andreas Schwab <schwab@suse.de>
777 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
779 2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
781 * config.make.in (INSTALL_SCRIPT): Define.
782 * Makeconfig (INSTALL_SCRIPT): Define.
783 * Makerules (do-install-script): New macro to install scripts using
785 (install-bin-script): New rule to install scripts with
787 (install-bin-script-nosubdir): New rule.
788 (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
789 (distinfo-vars): Add $(install-bin-script).
790 * Rules (others): Likewise.
791 * Makefile (glibcbug): Install with install-bin-script.
792 * debug/Makefile (xtrace): Likewise.
793 (catchsegv): Likewise.
794 * elf/Makefile (ldd): Likewise.
795 * malloc/Makefile (mtrace): Likewise.
796 * timezone/Makefile (tzselect): Likewise.
798 2001-08-29 H.J. Lu <hjl@gnu.org>
800 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
801 ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
802 _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
804 2001-08-29 Andreas Schwab <schwab@suse.de>
806 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
808 2001-08-28 H.J. Lu <hjl@gnu.org>
810 * Makeconfig (combreloc-LDFLAGS): New variable.
811 Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
812 * config.make.in (have-z-combreloc): New variable.
813 * configure.in: Substitute libc_cv_z_combreloc.
815 2001-08-29 Ulrich Drepper <drepper@redhat.com>
817 * po/sv.po: Update from translation team.
818 * po/fr.po: Likewise.
819 * po/da.po: Likewise.
821 2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
823 * Makerules: Fix a typo: MD% -> MD5.
825 2001-08-28 Ulrich Drepper <drepper@redhat.com>
827 * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
828 Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
830 2001-08-28 Andreas Jaeger <aj@suse.de>
832 * manual/libc-texinfo.sh: Add entry about free manuals.
834 * manual/contrib.texi (Contributors): Fix cross reference.
836 * manual/libc.texinfo (Copying): Include freemanuals.
838 * manual/Makefile (appendices): Add freemanuals.
840 * manual/freemanuals.texi: New file.
841 Patch by Brian Youmans <3diff@gnu.org>.
843 * manual/libm-err-tab.pl: Pretty print more platforms, print a
846 * manual/math.texi (Errors in Math Functions): Fix grammar, start
847 table on separate page.
848 Patch by Brian Youmans <3diff@gnu.org>.
850 2001-08-27 Ulrich Drepper <drepper@redhat.com>
852 * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If
853 the connection went down after we first used it try to connect
854 again and resend the message before printing to the console.
855 Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
857 2001-08-27 Jakub Jelinek <jakub@redhat.com>
859 * string/tst-strlen.c (main): Test strnlen (, -1) too.
860 * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
863 2001-08-27 Ulrich Drepper <drepper@redhat.com>
865 * iconv/strtab.c (searchstring): Use correct length for comparison.
866 (strtabadd): Account total size correct if new string has old string as
869 2001-08-27 Jakub Jelinek <jakub@redhat.com>
871 * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
873 2001-08-27 Andreas Jaeger <aj@suse.de>
875 * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
877 * math/libm-test.inc (j0_test): Add extra tests.
878 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
879 not x, in Hankel approximation.
880 Patches by Stephen L Moshier.
882 2001-08-26 Ulrich Drepper <drepper@redhat.com>
884 * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
887 * configure.in: Fix test for .rela.dyn section.
889 * elf/dl-runtime.c: Update calls to _dl_lookup_*.
891 2001-08-26 Jakub Jelinek <jakub@redhat.com>
893 * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
894 instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
895 Pass type_class to _dl_lookup_*.
896 * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
897 Pass around just type_class instead of noexec, noplt pair.
898 (_dl_lookup_versioned_symbol): Likewise.
899 (_dl_lookup_symbol_skip): Pass around just type_class instead of
901 (_dl_lookup_versioned_symbol_skip): Likewise.
902 (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
903 * elf/do-lookup.h (do_lookup): Likewise.
904 * include/link.h (struct link_map): Replace noexec and noplt fields
905 in l_lookup_cache with type_class field.
906 * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
907 ELF_RTYPE_CLASS_COPY): Define.
908 Adjust prototypes for _dl_lookup_symbol and
909 _dl_lookup_versioned_symbol.
910 * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
911 elf_machine_lookup_noexec_p): Remove.
912 (elf_machine_type_class): Define.
913 * sysdeps/arm/dl-machine.h: Likewise.
914 * sysdeps/hppa/dl-machine.h: Likewise.
915 * sysdeps/cris/dl-machine.h: Likewise.
916 * sysdeps/i386/dl-machine.h: Likewise.
917 * sysdeps/ia64/dl-machine.h: Likewise.
918 * sysdeps/m68k/dl-machine.h: Likewise.
919 * sysdeps/mips/mips64/dl-machine.h: Likewise.
920 * sysdeps/mips/dl-machine.h: Likewise.
921 * sysdeps/powerpc/dl-machine.h: Likewise.
922 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
923 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
924 * sysdeps/sh/dl-machine.h: Likewise.
925 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
926 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
928 2001-08-26 Ulrich Drepper <drepper@redhat.com>
930 * manual/message.texi (Advanced gettext functions): Change
931 description of plural forms for Slovak.
932 Reported by Marcel Telka <marcel@telka.sk>.
934 * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
935 %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
937 2001-08-26 Jakub Jelinek <jakub@redhat.com>
939 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
940 typo. Patch by Florian La Roche <laroche@redhat.com>.
942 2001-08-26 Ulrich Drepper <drepper@redhat.com>
944 * include/link.h (struct link_map): Add l_lookup_cache element.
945 * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
946 (RESOLVE_MAP): Likewise.
947 (_dl_relocate_object): Remove cache initialization.
948 * elf/dl-lookup.c: Rip out cache handling code.
949 * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
952 * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
953 remove some __builtin_expect.
954 (_dl_lookup_versioned_symbol): Likewise.
956 * config.h.in: Add HAVE_Z_COMBRELOC.
957 * configure.in: Add test for -z combreloc.
959 * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
960 optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of
961 R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP
962 case to almost no code.
964 2001-08-25 Ulrich Drepper <drepper@redhat.com>
966 * po/tr.po: Update from translation team.
968 2001-08-24 Andreas Jaeger <aj@suse.de>
970 * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
973 2001-08-24 Ulrich Drepper <drepper@redhat.com>
975 * elf/rtld.c (print_statistics): Printf % after percent values.
976 * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
978 * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
979 don't have to compute the hash value and initialize current_value.
980 Move reference_name variable to where it is needed.
981 (_dl_lookup_versioned_symbol): Likewise.
983 2001-08-24 Roland McGrath <roland@frob.com>
985 * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
986 Just test that strerror returns non-null for a few errno codes.
988 2001-08-23 Roland McGrath <roland@frob.com>
990 * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
991 _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
993 * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
995 * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
998 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1000 * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
1003 * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
1004 startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
1006 * elf/rtld.c: Include <sys/param.h>.
1007 * elf/dl-reloc.c: Likewise.
1009 2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1011 * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
1012 empty to prevent junk from being generated.
1013 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1015 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1017 * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
1018 records. Rename endrel to relative, initialize it to r, and use it
1019 in elf_machine_rel_relative calls. Point r after relative relocs.
1021 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1023 * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
1026 2001-08-24 Jakub Jelinek <jakub@redhat.com>
1028 * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
1029 necessary. Undefine newly defined macros at the end.
1030 * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
1031 Rename from elf_machine_rel_relative.
1032 * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
1033 * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
1034 * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
1035 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
1037 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
1039 * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
1041 * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
1043 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
1044 Likewise. Fix argument types.
1045 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
1046 Likewise. Fix argument types.
1047 * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
1049 * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
1050 ElfW(Rel) in argument.
1051 * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
1054 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
1056 * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
1058 2001-08-24 Andreas Jaeger <aj@suse.de>
1060 * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
1061 Stephen L Moshier <moshier@mediaone.net>.
1063 2001-08-24 Ulrich Drepper <drepper@redhat.com>
1065 * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
1066 first if RELCOUNT is set.
1068 * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
1069 call elf_machine_rel for the last DT_RELCOUNT relocations but instead
1070 elf_machine_rel_relative.
1071 * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
1072 Minor optimizations.
1073 * sysdeps/arm/dl-machine.h: Likewise.
1074 * sysdeps/cris/dl-machine.h: Likewise.
1075 * sysdeps/hppa/dl-machine.h: Likewise.
1076 * sysdeps/i386/dl-machine.h: Likewise.
1077 * sysdeps/ia64/dl-machine.h: Likewise.
1078 * sysdeps/m68k/dl-machine.h: Likewise.
1079 * sysdeps/mips/dl-machine.h: Likewise.
1080 * sysdeps/powerpc/dl-machine.h: Likewise.
1081 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1082 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1083 * sysdeps/sh/dl-machine.h: Likewise.
1084 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1085 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1087 2001-08-23 Roland McGrath <roland@frob.com>
1089 * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
1091 * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
1092 sysdeps/mach version. Implement counting ("recursive") mutexes
1093 on top of cthreads mutexes.
1094 * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
1096 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
1097 _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
1098 (__libc_cleanup_region_start, __libc_cleanup_region_end,
1099 __libc_clean_end): Define these to call the cleanup function after
1100 normal exit when they're supposed to.
1102 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
1103 Take new first arg DOIT, a boolean saying whether to really install
1104 any cleanup handler.
1105 (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
1106 (__libc_cleanup_end): Likewise.
1107 * sysdeps/generic/bits/libc-lock.h: Same changes.
1108 * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
1109 * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
1110 * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
1112 * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
1113 * sysdeps/generic/bits/stdio-lock.h
1114 (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
1116 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1118 * elf/ldconfig.c (search_dir): Remove stale symlinks.
1120 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1122 * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
1123 (_dl_lookup_symbol): Lookup relocations in cache and store successfull
1125 (_dl_lookup_versioned_symbol): Likewise.
1126 * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
1128 * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
1129 * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
1130 (lookup_cache, lookup_cache_versioned): Add declarations.
1132 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1134 * stdlib/tst-random.c (main): Swap parameters in fail call.
1135 Patch by Pete Bevin <pete@petebevin.com>.
1137 2001-08-23 Jakub Jelinek <jakub@redhat.com>
1139 * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
1141 2001-08-23 Ulrich Drepper <drepper@redhat.com>
1143 * malloc/obstack.c: Indent preprocessor directives.
1144 Patch by Jim Meyering <meyering@ascend.com>.
1146 * po/ja.po: Update from translation team.
1148 2001-08-23 Roland McGrath <roland@frob.com>
1150 * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
1152 * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
1153 Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
1155 2001-08-22 Roland McGrath <roland@frob.com>
1157 * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
1158 __libc_lock_define_recursive.
1159 * elf/dl-open.c: Don't declare it here any more.
1160 * elf/dl-close.c: Likewise.
1161 * elf/dl-lookup.c: Likewise.
1162 * elf/dl-iteratephdr.c: Likewise.
1163 * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
1164 __libc_lock_unlock_recursive.
1165 * elf/dl-close.c (_dl_close): Likewise
1166 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
1167 * elf/dl-open.c (_dl_open): Likewise
1169 * sysdeps/generic/bits/libc-lock.h
1170 (__libc_lock_define_recursive): New macro.
1171 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
1172 (_IO_lock_lock): Use __libc_lock_lock_recursive.
1173 (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
1175 * conform/conformtest.pl (checknamespace): Sort the output list.
1177 * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
1178 (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
1179 definitions conditional on [__USE_XOPEN].
1181 * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
1182 these unconditionally, not only use [__USE_BSD], so as to match
1183 the sysdeps/unix/sysv/linux files.
1185 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1187 * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
1190 * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
1193 2001-08-22 Roland McGrath <roland@frob.com>
1195 * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
1196 conditionalization of sa_handler/sa_sigaction member types to
1197 match the sysdeps/unix/sysv/linux file.
1199 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1201 * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
1202 symbol sizes a bit better.
1204 * sysdeps/ia64/strncpy.S: Complete rewrite.
1205 Contributed by Jakub Jelinek <jakub@redhat.com>.
1207 * string/stratcliff.c (main): Add strncpy test.
1209 2001-08-22 Roland McGrath <roland@frob.com>
1211 * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
1212 and don't declare unsetenv or _environ directly.
1213 (unsetenv): Return int, not void. Use __environ instead of _environ.
1215 2001-08-01 Mark Kettenis <kettenis@gnu.org>
1217 * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
1218 * sysdeps/unix/bsd/bsd4.4/Versions: New file.
1219 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
1220 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
1221 test for cmsg struct size.
1223 2001-04-23 Paul Eggert <eggert@twinsun.com>
1225 * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
1226 Rename __argc to ___argc in prototypes to avoid compatibility
1227 problems with systems that reserve the identifier "__argc".
1228 Similarly for __argv.
1230 2001-08-21 Roland McGrath <roland@frob.com>
1232 * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
1234 * mach/Makefile (tests): Removed.
1235 * mach/hello.c: File removed.
1237 2001-08-22 Ulrich Drepper <drepper@redhat.com>
1239 * po/sv.po: Update from translation team.
1241 * stdio-common/vfscanf.c: Fix handling of %l[].
1242 Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
1244 * libio/Makefile (tests): Add tst-sscanf.
1245 * libio/tst-sscanf.c: New file.
1247 * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
1248 * malloc/mtrace.c (tr_where): dli_sname always points to a
1249 non-empty string if != NULL.
1250 Reported by Tim Janik <timj@gtk.org>.
1252 2001-08-22 Jakub Jelinek <jakub@redhat.com>
1254 * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
1255 buf. Free resources on failure.
1256 * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
1257 (makefd_xprt): Likewise.
1258 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1259 * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
1260 * sunrpc/auth_unix.c (authunix_create): Likewise.
1262 2001-08-21 Jakub Jelinek <jakub@redhat.com>
1264 * string/strnlen.c: Remove.
1265 * sysdeps/generic/strnlen.c: New.
1266 * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
1268 2001-08-21 Roland McGrath <roland@frob.com>
1270 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
1271 as a macro, not an extern inline function.
1273 * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
1274 * Versions.def (libc): Add GLIBC_2.2.5 set.
1275 * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
1276 (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
1278 2001-08-20 Roland McGrath <roland@frob.com>
1280 * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
1281 (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
1283 2001-08-21 Ulrich Drepper <drepper@redhat.com>
1285 * string/bits/string2.h: Remove strnlen optimization here.
1286 * sysdeps/i386/i486/bits/string.h: Add it here.
1288 2001-08-21 Wolfram Gloger <wg@malloc.de>
1290 * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
1292 2001-08-21 Ulrich Drepper <drepper@redhat.com>
1294 * po/gl.po: Update from translation team.
1296 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1298 * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
1299 * misc/err.c (convert_and_print): Likewise.
1301 * malloc/obstack.c (print_and_abort): Use fprintf instead of two
1304 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1306 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
1307 change of the gregset_t type.
1308 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1310 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp>
1312 * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
1314 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1316 * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
1318 * string/strnlen.c: Fix the implementation. We cannot use memchr.
1320 2001-08-18 Mark Kettenis <kettenis@gnu.org>
1322 * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
1323 before calling the cthreads initialization code.
1325 2001-08-20 Ulrich Drepper <drepper@redhat.com>
1327 * argp/argp-help.c: Fix two problems introduced in last change.
1329 * include/dirent.h: Include <dirstream.h> first.
1331 2001-08-19 Ulrich Drepper <drepper@redhat.com>
1333 * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
1335 * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
1336 * sunrpc/xdr_rec.c: Likewise.
1337 * sunrpc/xdr_mem.c: Likewise.
1338 * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
1339 * sunrpc/rpc_cmsg.c: Likewise.
1340 * sunrpc/getrpcport.c (getrpcport): Likewise.
1341 * sunrpc/clnt_simp.c (callrpc): Likewise.
1342 * sunrpc/clnt_gen.c (clnt_create): Likewise.
1343 * string/envz.c: Likewise.
1345 * po/ko.po: Update from translation team.
1347 * argp/argp-help.c: Handle wide oriented stderr stream.
1349 2001-08-18 Ulrich Drepper <drepper@redhat.com>
1351 * sysdeps/generic/strtol.c: Little optimizations. Add some
1354 * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
1356 * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
1357 * wcsmbs/wcwidth.c (wcwdith): Likewise.
1358 * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
1360 * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
1362 * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
1364 * time/time.h (struct timespec): Use __time_t for tv_sec element.
1366 * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of
1367 wchar_t for function declarations and defintions.
1369 * misc/sys/select.h: Define __need_time_t before including <time.h>.
1370 Define suseconds_t if it hasn't happened yet.
1372 * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
1374 * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
1376 * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
1379 * conform/data/stddef.h-data: Remove wint_t.
1381 * conform/conformtest.pl: Change namespace test to take #undef
1384 * conform/data/netinet/in.h-data: Fix typo in allow-header line.
1386 * conform/data/sys/socket.h-data: Add sockatmark.
1388 2001-08-17 Ulrich Drepper <drepper@redhat.com>
1390 * io/fts.c: Update from recent BSD source.
1392 2001-08-17 Roland McGrath <roland@frob.com>
1394 * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
1395 * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
1398 2001-08-17 Ulrich Drepper <drepper@redhat.com>
1400 * locale/duplocale.c (__duplocale): Also initialize the special
1403 * conform/data/netdb.h-data: Adjust gai_strerror return type.
1405 2001-08-17 Andreas Jaeger <aj@suse.de>
1407 * misc/getpass.c: Include wchar.h for prototypes.
1408 * malloc/obstack.c: Likewise.
1410 2001-08-17 Ulrich Drepper <drepper@redhat.com>
1412 * sunrpc/svc_simple.c (universal): Use __write instead of write.
1414 * wcsmbs/wcscoll.c: Also define __wcscoll.
1415 * include/wchar.h: Declare __wcscoll.
1417 * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
1418 * libio/vwprintf.c: Likewise.
1419 * libio/wprintf.c: Likewise.
1421 * iconv/gconv_cache.c: Use __munmap instead of munmap.
1423 2001-08-16 Ulrich Drepper <drepper@redhat.com>
1425 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1427 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1428 wcslen, and __wcscoll instead of wcscoll.
1430 * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
1432 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
1433 __getuid instead of getuid.
1435 * stdio-common/perror.c (perror): Use __close instead of close.
1436 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1437 * libio/freopen.c (freopen): Likewise.
1438 * libio/freopen64.c (freopen64): Likewise.
1440 * libio/tst-ungetwc2.c (main): Define str const.
1442 * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
1443 * libio/fwprintf.c: Also define __fwprintf.
1444 * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
1445 * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
1446 * assert/assert-perr.c: Likewise.
1447 * assert/assert.c: Likewise.
1448 * gmon/gmon.c: Likewise.
1449 * inet/rcmd.c: Likewise.
1450 * malloc/obstack.c: Likewise.
1451 * misc/err.c: Likewise.
1452 * misc/error.c: Likewise.
1453 * misc/getpass.c: Likewise.
1454 * posix/getopt.c: Likewise.
1455 * resolv/res_hconf.c: Likewise.
1456 * stdio-common/perror.c: Likewise.
1457 * stdio-common/psignal.c: Likewise.
1458 * stdlib/fmtmsg.c: Likewise.
1459 * sunrpc/auth_unix.c: Likewise.
1460 * sunrpc/clnt_perr.c: Likewise.
1461 * sunrpc/clnt_tcp.c: Likewise.
1462 * sunrpc/clnt_udp.c: Likewise.
1463 * sunrpc/clnt_unix.c: Likewise.
1464 * sunrpc/svc_simple.c: Likewise.
1465 * sunrpc/svc_tcp.c: Likewise.
1466 * sunrpc/svc_udp.c: Likewise.
1467 * sunrpc/svc_unix.c: Likewise.
1468 * sunrpc/xdr.c: Likewise.
1469 * sunrpc/xdr_array.c: Likewise.
1470 * sunrpc/xdr_rec.c: Likewise.
1471 * sunrpc/xdr_ref.c: Likewise.
1472 * sysdeps/generic/wordexp.c: Likewise.
1474 * po/it.po: Update from translation team.
1476 * misc/err.c: Handle wide oriented stderr stream.
1478 2001-08-14 Tom Rix <trix@redhat.com>
1480 * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
1481 * iconv/Makefile: Fix gconv_cache.c CFLAGS.
1483 2001-08-13 Tom Rix <trix@redhat.com>
1485 * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
1486 * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
1489 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
1491 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
1492 Store the access registers to the ucontext structure.
1493 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
1496 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
1497 Load the access registers from the ucontext structure.
1498 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
1501 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
1502 offsets to the new ucontext layout.
1503 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
1505 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
1506 of the ucontext structure.
1507 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1509 2001-08-15 Ulrich Drepper <drepper@redhat.com>
1511 * misc/error.c (error): Handle wide oriented stderr stream correctly.
1512 (error_at_line): Likewise.
1514 * stdio-common/perror.c (perror): Implement according to standard.
1515 The stream orientation must not be changed if the stream was not
1516 oriented before the call.
1517 * stdio-common/Makefile (tests): Add tst-perror.
1518 * stdio-common/tst-perror.c: New file.
1521 See ChangeLog.12 for earlier changes.