]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
88263bc9
UD
11998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2
3 * login/openpty.c: Include pty-private.h instead of
4 pty-internal.h.
5
872ea854
UD
61998-09-09 Philip Blundell <pb@nexus.co.uk>
7
8 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
9
101998-09-07 Philip Blundell <pb@nexus.co.uk>
11
12 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
13 recent ld.so changes.
14 (elf_machine_runtime_setup): Correct behaviour when profiling.
15
9b3c7c3c
UD
161998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
17
18 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
19 Patch by John Tobey <jtobey@banta-im.com>.
20
211998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
22
23 * login/pty-internal.h: Removed. Moved constants related to the
24 `grantpt' helper program protocol to ...
25 * login/pty-private.h: ... here. New file.
26 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
27 to make the function work with kernels >= 2.1.115.
28 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
29 version if using the cloning device fails.
30 * sysdeps/unix/sysv/linux/grantpt.c: New file.
31 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
32 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
33 use by Linux specific code.
34 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
35 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
36 function. (grantpt): Use pts_name, check group and permission
37 mode in addition to owner. Try to set the owner, group and
38 permission mode first without invoking the helper program.
39 * login/programs/pt_chown.c: Largely rewritten. Add argp and
40 internationalization support. Use symbolic constants instead of
41 hardwired numbers for permission mode.
42 * sysdeps/unix/bsd/ptsname.c: New file.
43
441998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
45
46 * posix/wordexp-test.c: Undo last change.
47
48 * posix/wordexp.c: Undo last change.
49
d8f2b9ea
UD
501998-09-16 Ulrich Drepper <drepper@cygnus.com>
51
52 * nscd/grpcache.c (save_grp): Partly undo last change.
53
54 * nscd/pwdcache.c (save_pwd): Undo last change.
55
9c4c0024
UD
561998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
57
58 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
59 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
60
611998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
62
63 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
64 Add profiling support.
65 (TRAMPOLINE_TEMPLATE): New macro.
66 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
67 (RTLD_START): Prettify, and set __libc_stack_end properly.
68 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
69 and check for sym being NULL instead.
70 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
71 of stack space.
72 * sysdeps/sparc/sparc64/lshift.S: Likewise.
73 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
74 * sysdeps/sparc/sparc64/rshift.S: Likewise.
75 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
76 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
77 MEDANY code model %g4 usage.
78 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
79 MEDANY code model %g4 usage.
80 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
81 code model address formation.
82 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
83 include elf/ldsodefs.h
84 (DT_SPARC): Remove.
85 (elf_machine_matches_host): It is now EM_SPARCV9.
86 (elf_machine_dynamic): Clean up to remove ugly cast.
87 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
88 new PLT formats.
89 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
90 Prettify rest of function.
91 [R_SPARC_COPY]: Check for sym being NULL.
92 [R_SPARC_32]: Handle it.
93 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
94 MEDMID code model.
95 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
96 MEDANY code model.
97 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
98 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
99 Add profiling support.
100 (TRAMPOLINE_TEMPLATE): New macro.
101 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
102 (RTLD_START): Prettify and set __libc_stack_end.
103 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
104 Define.
105 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
106 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
107 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
108 unused variable scratch.
109 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
110 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
111 Declare.
112 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
113 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
114 old format kernel sigaction structures.
115 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
116 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
117 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
118 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
119 ucontext include.
120 (_JMPBUF_UNWINDS): Define.
121 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
122 statfs64 structure, which is exactly the same as the normal one.
123 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
124 of stack. Use correct syscall trap number. Add branch prediction
125 settings to branch instructions. Remove old MEDANY code model %g4
126 referneces for non-PIC.
127 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
128 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
129 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
130 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
131 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
132 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
133 __libc_longjmp and __libc_siglongjmp strong aliases.
134 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
135 Also define to __no__readdir64_decl around readdir.c inclusion.
136 (__readdir64): Add strong alias.
137 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
138 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
139 Set strong and weak names properly.
140
1411998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
142
143 * manual/Makefile (AWK): Default to gawk if standalone.
144
1451998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
146
147 * Makefile (distribute): Undo last change.
148 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
149 for sysdep headers.
150 (+subdir-headers): Removed, unused.
151
1521998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
153
154 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
155 $(do-install).
156
1571998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
158
159 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
160 absolute name in $(config-sysdirs), can never happen.
161 ($(+sysdir_pfx)sysd-rules): Likewise.
162 * Makeconfig (full-config-sysdirs): Likewise.
163 (all-Subdirs-files): Prepend $(..).
164
165 * configure.in: Don't check for absolute name in $add_ons_pfx, can
166 not happen. Let --enable-add-ons=yes work if no add-ons actually
167 exist.
168
1691998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
170
171 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
172 continuations in command.
173
1741998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
175
176 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
177
a8125d85
UD
1781998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
179
180 * posix/wordexp-test.c: If expansion or substitution occurs
181 anywhere in a word, the entire word is subject to field-splitting.
182
183 * posix/wordexp.c (parse_glob): Look for end of word instead of
184 end of field when deciding what to glob.
185 (field_split_word): New function, now the only place where
186 field-splitting is performed.
187 (parse_dollars): New parameter - tell the caller if
188 field-splitting should be performed on this word.
189
190 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
191 succeeded (or failed with WRDE_NOSPACE).
192
1931998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
194
195 * posix/wordexp.c (wordexp): Don't convert IFS characters to
196 blanks.
197
198 * posix/wordexp-test.c: Words not the result of expansion or
199 substitution should remain unchanged.
200
aa2bc6a3
UD
2011998-09-15 Ulrich Drepper <drepper@cygnus.com>
202
203 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
204 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
205
3a60301a
UD
2061998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
207
208 * stdio-common/Makefile: Include Makeconfig so that
209 $(inst_includedir) is defined.
210
77f0d179
UD
2111998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
212
213 * io/pwd.c: Include <mcheck.h>.
214
6beaac4d
UD
2151998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
216
217 * nscd/pwdcache.c (save_pwd): Correct copying.
218 * nscd/grpcache.c (save_grp): Likewise.
219
0ff0d59e
UD
2201998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
221
222 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
223 (free_pwd): Adjust for this change.
224 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
225 (free_grp): Adjust for this change.
226
d3f8acb3
UD
2271998-09-14 Ulrich Drepper <drepper@cygnus.com>
228
229 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
230
14eb5d5d
UD
2311998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
232
233 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
234 (install-others): Add bits/stdio_lim.h.
235 Add rule to install bits/stdio_lim.h.
236
237 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
238
239 * Makefile (distribute): Add include/sys/mman.h.
240
241 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
242 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
243 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
244
0a1590ba
UD
245 * grp/initgroups.c: Include stdlib.h.
246 Patch by Zack Weinberg.
247
1ffaaca2
UD
2481998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
249
250 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
251 for field-splitting :abc: is correct, and that two fields should
252 result. Revert tests to reflect this.
253
254 * posix/wordexp.c (w_emptyword): Remove function.
255 (exec_comm): Don't use w_emptyword.
256 (parse_param): Likewise.
257
4ca020f5
UD
2581998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
259
260 * sysdeps/arm/fpu/Dist: Moved to...
261 * sysdeps/arm/Dist: ...here.
262 * sysdeps/posix/Dist: Removed.
263 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
264 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
265
f624c216
UD
2661998-08-26 Geoff Keating <geoffk@ozemail.com.au>
267
268 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
269
7ef90c15
UD
2701998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
271
272 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
273
2741998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
275
276 * libc-work/nis/nss_nisplus/nisplus-service.c
277 (_nss_nisplus_parse_servent): Convert port in network byte order.
278
2791998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
280
281 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
282 to provide only malloc and calloc.
283 * include/stdlib.h: Support the above.
284 * string/bits/string2.h: Use __need_malloc_and_calloc when
285 including stdlib.h.
286 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
287
288 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
289 * iconvdata/iso646.c: Include <stdlib.h>.
290
2911998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
292
293 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
294 * sysdeps/libm-ieee754/w_pow.c: Likewise.
295 * sysdeps/libm-ieee754/w_powf.c: Likewise.
296 * sysdeps/libm-ieee754/w_powl.c: Likewise.
297
2981998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
299
300 * stdio-common/stdio_lim.h.in: New file. All parameters
301 are adjustable at build time.
302 * Rules: Add a rule to build bits/stdio_lim.h from
303 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
304 all subdirectories know how to make the file. It can't be
305 in Makerules because then it gets built at top level and the
306 dependencies are wrong.)
307
308 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
309 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
310 stdio_lim.h.
311 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
312 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
313 * sysdeps/posix/Makefile: Removed.
314 * sysdeps/posix/mk-stdiolim.c: Removed.
315 * sysdeps/generic/bits/stdio_lim.h: Removed.
316
3171998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
318
319 * argp/argp-help.c: Fixup indentation.
320 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
321 * resolv/nss_dns/dns-network.c: Likewise.
322 * resolv/res_send.c: Likewise.
323 * rt/aio_cancel.c: Likewise.
324 * rt/aio_misc.c: Likewise.
325
3261998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
327
328 * Makefile (install-symbolic-link): Remove the link list file at last.
329 * Makerules (install-clean-symbolic-link-list): Removed.
330
3311998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
332
333 * timezone/tst-timezone.c: Print time in UTC to get consistent
334 output.
335
3361998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
337
338 * elf/rtld.c (_dl_rpath): Removed.
339 * elf/dl-support.c (_dl_path): Removed.
340 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
341 (CFLAGS-dl-support.c): Removed.
342
343 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
344 uses changed.
345 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
346 instead of appending it to the main map's rpath info.
347 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
348 DT_RPATHs. This makes it effective again.
349 (decompose_rpath): Remove second parameter, callers changed.
350 (fillin_rpath): Allocate enough space in curwd.
351 (expand_dynamic_string_token): Cope with get_origin returning -1.
352
3531998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
354
355 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
356 passwd.adjunct.
357
358 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
359 invalid password.
360
3611998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
362
363 * locale/programs/locale.c: Update dates.
364
5d47ceca
UD
3651998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
366
367 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
368 size_t is defined. Some reordering of defenitions to make
369 maintaining this file in parallel with the linux-specific file easier.
370
bd31edf2
UD
3711998-09-13 Ulrich Drepper <drepper@cygnus.com>
372
373 * io/pwd.c (main): Add call to mtrace.
374
375 * malloc/mtrace.pl: Quote @ in string.
376
33c3e20e
UD
3771998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
378
379 * posix/wordexp.c (parse_arith): Fix memory leaks.
380 (exec_comm): Likewise.
381 (parse_param): Likewise.
382 (wordexp): Likewise.
383 (exec_comm): Reduce number of function return points.
384 (parse_param): Likewise.
385 (wordexp): Likewise.
386
1720f4d0
UD
3871998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
388
389 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
390 yield three fields, not two. Test both parameter expansion and
391 command substitution for correct field-splitting behaviour.
392
393 * posix/wordexp.c (w_emptyword): New function.
394 (parse_param): Use it.
395 (exec_comm): Likewise, for consistency with the way parse_param
396 splits fields.
397 (parse_param): Fix some memory leaks.
398
2d09b95d
UD
3991998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
400
401 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
402 Don't mark asm `volatile'.
403 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
404 from the data cache too. Assume it isn't in the instruction cache yet.
405 (__elf_machine_fixup_plt): Clear the modified address from the caches.
406
b39c6f8b
UD
4071998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
408
409 * sysdeps/generic/segfault.c (install_handler): Install signal
410 handler with SA_ONSTACK instead of setting the stack flags to
411 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
412 defined.
413
4141998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
415
416 * signal/signal.h: Fix multiple inclusion guard to cover the
417 entire file.
418 * wcsmbs/wchar.h: Remove prototype of internal function
419 __mbsrtowcs.
420 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
421 arithmetic on `void *'.
422
c06cc21c
UD
4231998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
424
425 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
426
427 * posix/wordexp.c (wordexp): Perform word-splitting instead of
428 field-splitting here.
429 (wordexp): If out of memory mid-word, free the word (but still
430 leave pwordexp alone for caller to see).
431 (parse_param): Allow for zero-length fields (smarter checking of
432 memory allocation failure).
433 (w_addword): Convert NULL words to "".
434 (wordexp): Convert left-over IFS characters to blanks (like bash).
435
81e0cb2d
UD
4361998-09-11 Ulrich Drepper <drepper@cygnus.com>
437
350eb336
UD
438 * configure.in: Use test -f instead of test -e.
439 Patch by John Tobey <jtobey@banta-im.com>.
440
441 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
442 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
443 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
444 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
445 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
446 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
447 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
448 Patches by John Tobey <jtobey@banta-im.com>.
449
81e0cb2d
UD
450 * time/strftime.c (my_strftime): Delay use of *tp values until
451 latest possible point to allow partly initialized structures
452 (e.g., from strptime).
453
514d9bca
UD
454 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
455 and NATS-SEFI.
456 Define *-routines variables for new modules.
457 (distribute): Add .c files for new modules.
458 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
459 and nats-sefi.h.
460 Add rules for header generation.
461 * iconvdata/gconv-modules: Add entries for new modules.
462 * iconvdata/iso_10367-box.c: New file.
463 * iconvdata/mac-is.c: New file.
464 * iconvdata/nats-dano.c: New file.
465 * iconvdata/nats-sefi.c: New file.
466
81e0cb2d
UD
4671998-04-30 18:20 H.J. Lu <hjl@gnu.org>
468
469 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
470 loader if PIC is not defined.
471
ec04e9ba
UD
4721998-09-11 Ulrich Drepper <drepper@cygnus.com>
473
474 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
475 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
476 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
477 and ISO_5428.
478 Define *-routines variables for new modules.
479 (distribute): Add .c files for new modules.
480 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
481 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
482 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
483 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
514d9bca 484 Add rules for header generation.
ec04e9ba
UD
485 * iconvdata/gconv-modules: Add entries for new modules.
486 * iconvdata/csn_369103.c: New file.
487 * iconvdata/cwi.c: New file.
488 * iconvdata/dec-mcs.c: New file.
489 * iconvdata/ecma-cyrillic.c: New file.
490 * iconvdata/gost_19768-74.c: New file.
491 * iconvdata/greek-ccitt.c: New file.
492 * iconvdata/greek7-old.c: New file.
493 * iconvdata/greek7.c: New file.
494 * iconvdata/inis-8.c: New file.
495 * iconvdata/inis-cyrillic.c: New file.
496 * iconvdata/inis.c: New file.
497 * iconvdata/iso6937-2.c: New file.
498 * iconvdata/iso_2033.c: New file.
499 * iconvdata/iso_5427-ext.c: New file.
500 * iconvdata/iso_5427.c: New file.
501 * iconvdata/iso_5428.c: New file.
502
503 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
504 entries.
505 Convert U02dd correctly.
506
25c849b1
RH
5071998-09-11 20:46 Richard Henderson <rth@cygnus.com>
508
509 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
510 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
511 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
512 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
513
04795ad9
UD
5141998-09-11 Ulrich Drepper <drepper@cygnus.com>
515
516 * resolv/res_init.c (res_init): Handle resolv.conf file with only
517 one nameserver correctly. Patch by HJ Lu.
518
519 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
520 and ANSI_X3.110.
521 Define *-routines variables for new modules.
522 (distribute): Add .c files for new modules.
523 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
524 Add rules for hedaer generation.
525 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
526 * iconvdata/ansi_x3.110.c: New file.
527 * iconvdata/asmo_449.c: New file.
528 * iconvdata/baltic.c: New file.
529 * iconvdata/iec_p27-1.c: New file.
530
531 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
532 entries.
533 Convert U02dc correctly.
534
535 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
536 * math/atest-exp2.c: Likewise.
537 * math/atest-sincos.c: Likewise.
538
539 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
540 is defined.
541
5421998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
543
544 * string/strcoll.c: Optimize a few expressions.
545 * string/strxfrm.c: Likewise.
546
5e0889da
UD
5471998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
548
549 * manual/locale.texi: Fix typos.
550
2c86b2bc
UD
5511998-09-10 Ulrich Drepper <drepper@cygnus.com>
552
26afaa63
UD
553 * stdlib/random_r.c (__setstate_r): Allow call with same state
554 array as currently used (PR libc/774).
555
6c79e60c
UD
556 * include/limits.h: Include gcc's header even if this file is
557 found more than once before it (PR libc/778)
558
ec04e9ba
UD
559 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
560 (sysdep_headers): Remove sys/debugreg.h.
561 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
562 (sysdep_headers): Add sys/debugreg.h.
39382b8b
UD
563 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
564 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
565
2c86b2bc
UD
566 * stdio-common/tmpnam.c: Move local static variable buf to
567 toplevel and rename to tmpnam_buffer to ease debugging.
568 Patch by Joe Keane <jgk@jgk.org>.
569 Optimize s == NULL case a bit.
570
8e9f53fc
UD
571 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
572 correction.
573
482a3be2
UD
5741998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
575
576 * resolv/res_init.c (res_init): Initialize _res.nscount and
577 _res.nsaddr.sin_port differently for the can when no loopback
578 is available to allow immediate timeout in non-networking environments.
579 Patch by Cristian Gafton <gafton@redhat.com>.
580
e8238963
UD
5811998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
582
583 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
584 BAR and not EM DASH.
585 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
586 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
587 Fixes PR libc/717.
588
90865aa8
UD
5891998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
590
591 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
592 for test.
593 * timezone/tst-timezone.c (tests): Fix typo in last patch.
594
595 * time/tzfile.c (__tzfile_read): Handle case when there are no
596 transitions. Set __timezone based on computed offset.
597 * time/tzset.c (tzset_internal): Set __timezone before returning.
598
599 * time/tzset.c (tzset_internal): Optimize handling of local string
600 copy.
601
6021998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
603
604 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
605 libc/776).
606
adac8450
UD
6071998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
608
609 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
610 (csqrt_test): Likewise.
90865aa8 611 * sysdeps/powerpc/bits/fenv.h: Add parens.
adac8450 612
8e140239
UD
6131998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
614
615 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
616 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
617 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
618
78acf671
UD
6191998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
620
621 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
622 the special `-1' pointer.
623
6e4c40ba
UD
6241998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
625
626 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
627 inline.
628
6291998-09-07 Paul Eggert <eggert@twinsun.com>
630
631 * time/mktime.c (__EXTENSIONS__): Define if not defined.
632 (_REENTRANT): Remove. It has undesirable consequences in
633 Solaris 2.6 (e.g. it turns off the putc macro). Defining
634 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
635 is what we want.
636 * time/strftime.c: Likewise.
637
6381998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
639
640 * elf/dl-error.c: Fix spelling.
641
6421998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
643
644 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
645 * stdio-common/_itoa.c: Likewise.
646 * stdio-common/printf_fp.c: Likewise.
647 * stdio-common/vfscanf.c: Likewise.
648 * wcsmbs/wcstok.c: Likewise.
649 * sysdeps/generic/glob.c: Likewise.
650 * posix/getopt.c: Likewise.
651 * sysdeps/posix/getaddrinfo.c: Likewise.
652 * posix/wordexp.c: Likewise.
653 * io/ftw.c: Likewise.
654 * io/fts.c: Likewise.
655 * misc/getpass.c: Likewise.
656 * iconv/gconv_conf.c: Likewise.
657 * argp/argp-fmtstream.c: Likewise.
658 * argp/argp-help.c: Likewise.
659 * elf/dl-load.c: Likewise.
660 * locale/programs/stringtrans.c: Likewise.
661 * catgets/gencat.c: Likewise.
662 * posix/getconf.c: Likewise.
663 * iconv/gconv_conf.c: Likewise.
664 * iconv/iconv_prog.c: Likewise.
665
666 * string/strcoll.c: Optimize a few expressions.
667 * string/strxfrm.c: Likewise.
668
6691998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
670
671 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
672 level to avoid uninit variable warning.
673
6741998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2aa236b1 675
769ca810 676 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
6e4c40ba 677 instead of _dl_default_scope[2] as argument to _dl_init_next.
769ca810 678
2aa236b1
AS
679 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
680 C9x macro.
681
8ea4a95a
UD
6821998-09-08 Ulrich Drepper <drepper@cygnus.com>
683
6e4c40ba 684 Fix compatibility problems introduced in last change.
dc27836e
UD
685 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
686 defined.
687 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
688 -DWEAK_GMON_START to CFLAGS-initfini.s.
689
e4d50917
UD
690 * elf/dl-object.c (_dl_new_object): Store map address in
691 _dl_loaded if _dl_loaded is NULL.
87c812c2 692 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
e4d50917 693
8ea4a95a
UD
694 * sysdeps/generic/setrlimit64.c: Remove stub warning.
695
88c91118
UD
6961998-09-07 Ulrich Drepper <drepper@cygnus.com>
697
698 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
699 quiet.
2c874db2
UD
700 * db2/btree/bt_cursor.c: Likewise.
701 * db2/common/db_region.db_c: Likewise.
702 * db2/common/db_salloc.db_c: Likewise.
703 * db2/db/db.c: Likewise.
704 * db2/db/db_rec.c: Likewise.
705 * db2/hash/hash.c: Likewise.
706 * db2/hash/hash_page.c: Likewise.
707 * db2/hash/hash_rec.c: Likewise.
708 * db2/log/log_findckp.c: Likewise.
709 * db2/log/log_get.c: Likewise.
710 * db2/log/log_put.c: Likewise.
711 * db2/mp/mp_fget.c: Likewise.
712 * db2/mp/mp_fput.c: Likewise.
713 * db2/mp/mp_region.c: Likewise.
cf9f9a16
UD
714 * stdlib/strtol.c: Likewise.
715 * string/strcoll.c: Likewise.
716 * string/strxfrm.c: Likewise.
94b78bb2
UD
717 * argp/argp-help.c: Likewise.
718 * argp/argp-parse.c: Likewise.
3121cc04 719 * resolv/res_debug.c: Likewise.
88c91118 720
26644e87
UD
7211998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
722
723 * math/tgmath.h (scalb): Only define for __USE_MISC or
724 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
725
2b33e5b0
UD
7261998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
727
728 * libio/stdio.h: Fix comment.
729
730 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
731 __USE_ISOC9X.
732
6796bc80
UD
7331998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
734
735 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
736
737 * elf/dl-open.c: Quiet -Wparentheses warnings.
738 * iconvdata/johab.c: Likewise.
739 * iconvdata/uhc.c: Likewise.
740 * inet/inet_net.c: Likewise.
741 * io/fts.c: Likewise.
742 * locale/newlocale.c: Likewise.
743 * misc/getttyent.c: Likewise.
744 * misc/mntent_r.c: Likewise.
745 * misc/ttyslot.c: Likewise.
746 * nscd/nscd_conf.c: Likewise.
747 * nss/nsswitch.c: Likewise.
748 * resolv/gethnamaddr.c: Likewise.
749 * resolv/nsap_addr.c: Likewise.
750 * resolv/res_debug.c: Likewise.
751 * stdio-common/_itoa.c: Likewise.
752 * stdlib/strtod.c: Likewise.
753 * string/strverscmp.c: Likewise.
754 * sunrpc/svc.c: Likewise.
755 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
756 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
757 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
758 * sysdeps/posix/getaddrinfo.c: Likewise.
759
baa3334a
UD
7601998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
761
762 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
763 for use of global scope.
764 * elf/dlvsym.c (dlvsym_doit): Likewise.
765
7661998-09-02 Paul Eggert <eggert@twinsun.com>
767
768 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
769 copy the redundant bytes at the end of the format as-is; don't
770 just copy their first byte and then rescan, as that might get
771 us an encoding error.
772 Account correctly for the length of multibyte sequences in the
773 format.
774
7751998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
776
777 * posix/wordexp-test.c: Add tests for different IFS values.
778 Change unquoted-newline test so that newline is not in IFS.
779
780 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
781 determining IFS characters. Return WRDE_BADCHAR for unquoted
782 special characters _except_ if they are separators.
783
7841998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
785
786 * include/tgmath.h: New file.
787
788 * libio/stdio.h: Correct reversed #ifs.
789 Patch by Zack Weinberg.
790
791 * manual/creature.texi: Better explain reason for feature select
792 macros.
793 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
794
7951998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
796
797 * include/alloca.h: Add multiple-inclusion guard.
798 * include/db.h: Likewise.
799 * include/db_185.h: Likewise.
6796bc80 800 * include/dlfcn.h: Likewise.
baa3334a
UD
801 * include/fcntl.h: Likewise.
802 * include/grp.h: Likewise.
803 * include/libintl.h: Likewise.
804 * include/mntent.h: Likewise.
805 * include/pwd.h: Likewise.
806 * include/sched.h: Likewise.
807 * include/search.h: Likewise.
808 * include/setjmp.h: Likewise.
809 * include/shadow.h: Likewise.
810 * include/signal.h: Likewise.
811 * include/stdio.h: Likewise.
812 * include/stdlib.h: Likewise.
813 * include/string.h: Likewise.
814 * include/termios.h: Likewise.
815 * include/time.h: Likewise.
816 * include/ulimit.h: Likewise.
817 * include/utmp.h: Likewise.
818 * include/wchar.h: Likewise.
819 * include/sys/file.h: Likewise.
820 * include/sys/gmon.h: Likewise.
821 * include/sys/ioctl.h: Likewise.
822 * include/sys/mman.h: Likewise.
823 * include/sys/resource.h: Likewise.
824 * include/sys/select.h: Likewise.
825 * include/sys/socket.h: Likewise.
826 * include/sys/statfs.h: Likewise.
827 * include/sys/time.h: Likewise.
828 * include/sys/times.h: Likewise.
829 * include/sys/wait.h: Likewise.
830
be935610
UD
8311998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
832
833 * version.h (VERSION): Bump to 2.0.96.
834
835 Rewrite runtime linker to be truly thread-safe. There is now no
836 global variable specifying the scope. We create all needed
837 scopes at the time the link maps are created.
838 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
839 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
840 l_symbolic_searchlist, l_scope, and l_local_scope elements in
841 struct link_map.
842 * elf/dl-close.c: Rewritten accordingly.
843 * elf/dl-deps.c: Likewise.
844 * elf/dl-error.c: Likewise.
845 * elf/dl-init.c: Likewise.
846 * elf/dl-load.c: Likewise.
847 * elf/dl-lookup.c: Likewise.
848 * elf/dl-object.c: Likewise.
849 * elf/dl-open.c: Likewise.
850 * elf/dl-reloc.c: Likewise.
851 * elf/dl-runtime.c: Likewise.
852 * elf/dl-support.c: Likewise.
853 * elf/dl-symbol.c: Likewise.
854 * elf/dl-version.c: Likewise.
be935610
UD
855 * elf/dlsym.c: Likewise.
856 * elf/dlvsym.c: Likewise.
857 * elf/ldsodefs.h: Likewise.
858 * elf/rtld.c: Likewise.
859 * iconv/gconv_dl.c: Likewise.
860 * nss/nsswitch.c: Likewise.
861 * sysdeps/i386/dl-machine.h: Likewise.
862 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
863
6796bc80
UD
864 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
865 Define RTLD_DEFAULT.
866
2b4083dd
RM
8671998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
868
869 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
870 __getopt_clean_environment with __environ instead of envp.
871
a361203e
RM
8721998-09-05 Roland McGrath <roland@baalperazim.frob.com>
873
2b4083dd
RM
874 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
875
531e4bca
RM
876 * string/argz-extract.c (__argz_extract): Add de-consting cast for
877 setting results.
878
62ee0979 879 * string/argz.h (argz_next): Add de-consting cast for return.
531e4bca 880 * string/argz-next.c (__argz_next): Likewise.
62ee0979 881
59cacc81
RM
882 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
883 Don't add netinet/udp.h, netinet/ip_icmp.h here.
884 * sysdeps/gnu/Makefile: Do it here instead.
885 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
886 * sysdeps/gnu/Dist: ... to here.
887
a361203e
RM
888 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
889 sysdeps/unix/sysv/linux/netinet/tcp.h,
890 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
891
29659dd2
RM
8921998-09-04 Roland McGrath <roland@baalperazim.frob.com>
893
894 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
895 * string/argz-next.c, string/argz-extract.c: Fix defns.
896
1097c603
RM
8971998-09-03 Roland McGrath <roland@baalperazim.frob.com>
898
899 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
900
901 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
902 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
903 * sysdeps/generic/sysd-stdio.c: Likewise.
904
143e2b96
UD
9051998-09-02 Ulrich Drepper <drepper@cygnus.com>
906
907 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
908 (_dl_map_object_from_fd): Make NAME argument const.
909 Remove last parameter in _dl_new_object call.
910 (print_search_path): Correct construction of composed path name.
911 (_dl_map_object): Prevent looking at RPATH of the main map twice.
912 Remove last parameter in _dl_new_object call.
913 * elf/dl-object.c: Remove last parameter. Determine whether create
914 origin entry based on empty realname. Handle file in root directory
915 correctly.
916 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
917 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
918 Remove last parameter in _dl_new_object call.
919 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
920 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
921
fc3597c0
UD
9221998-09-01 Ulrich Drepper <drepper@cygnus.com>
923
4ce636da
UD
924 * elf/dl-close.c (_dl_close): Add more comments and correct some.
925 Free l_searchlist and l_dupsearchlist.
926
fc3597c0
UD
927 * debug/catchsegv.sh: Add one more pair of quotes.
928
76156ea1
UD
9291998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
930
931 * elf/dl-load.c (add_name_to_object): Change return type to void and
932 make NAME parameter const. Allocate room for NAME in same memory
933 block used for l_libname entry.
934 (_dl_map_object_from_fd): Don't free NAME on failure.
935 (map_segment): Pass SONAME to add_name_to_object, not a copy.
936 (_dl_map_object): Don't create copy of NAME. Pass NAME to
937 _dl_map_object_from_fd.
938 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
939 memory block used for l_libname entry.
940 * elf/dl-close.c: Adjust free()ing for this change.
941
a8a1269d
UD
9421998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
943
944 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
945
946 * malloc/mtrace.c: Add bug report address. Update email address.
947 Add more @XXX@ to print correct address size.
948
949 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
950 really initialized.
951
952 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
953 for munmap call instead of examining phdr again.
954 Free all malloc()ed strings and arrays.
955
052b6a6c
UD
9561998-08-09 Geoff Keating <geoffk@ozemail.com.au>
957
958 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
959 dl-machine.h.
960 * sysdeps/powerpc/dl-machine.c: New file.
961 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
962 files. Revise ELF_PREFERRED_ADDRESS to take account of
963 the new mapping information (fixes bug involving huge bloated
964 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
965 * sysdeps/powerpc/dl-start.S: New file.
966
967 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
968 l_map_end.
969 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
970 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
971 others. Call elf_dynamic_do_##reloc only once (to save even more
972 space).
973 * elf/link.h: Add new members l_map_start and l_map_end to keep
974 track of the memory map.
975 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
976 the executable.
977
9781998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
979
980 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
981 Reported by Andreas Jaeger.
982
983 * posix/glob.h: Use __size_t instead of size_t in definitions and
984 make sure this is defined.
985
85c165be
UD
9861998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
987
052b6a6c 988 * manual/locale.texi: Almost complete rewrite. Document more functions
85c165be
UD
989 and functionality.
990 * manual/arith.texi: Correct reference.
991 * manual/string.texi: Pretty printing.
992
993 * manual/texinfo.tex: Update from last available version.
994
9951998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
996
997 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
998 invalid password.
999 (_nss_nis_getpwuid_r): Likewise.
1000 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1001
1002 * inet/rcmd.c: Implement netgroup support.
1003 Patch by Dick Streefland <dick_streefland@tasking.com>.
1004
7afab53d
UD
10051998-08-31 Ulrich Drepper <drepper@cygnus.com>
1006
1007 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1008 object on the list is removed. Don't use this code for PIC.
1009 Reported by HJ Lu [PR libc/770].
1010
bfce746a
UD
10111998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1012
1013 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1014
1015 * include/stdio.h: Add __vsscanf.
1016
1017 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1018 __USE_ISOC9X.
1019 Remove __vsscanf declaration.
1020 Always declare fgetpos and fsetpos.
1021
1022 * math/math.h: Define isinf as macro.
1023 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1024 Don't declare scalb for ISO C 9x.
1025
1026 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1027
1028 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1029
1030 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1031 sys/ucontext.h.
1032
1033 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1034 macros.
1035
10361998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1037
1038 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1039 Reported by jreising@frequentis.com [PR libc/767].
1040
10411998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1042
1043 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1044 fl.l_start at beginning of function.
1045 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1046
ac72fbb1
UD
10471998-08-31 Ulrich Drepper <drepper@cygnus.com>
1048
1049 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1050 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1051
1052 * nscd/nscd.init: Make it work in RedHat systems.
1053 Patch by Christian Gafton.
1054
10551998-08-29 Philip Blundell <philb@gnu.org>
1056
1057 * catgets/Makefile: Don't try to run test programs when
1058 cross-compiling.
1059
10601998-08-31 Ulrich Drepper <drepper@cygnus.com>
1061
1062 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1063 Reported by Zack Weinberg.
1064
10651998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1066
1067 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1068 * elf/Makefile (distribute): Remove ldd.sh.in.
1069
10701998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1071
1072 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1073 variable.
1074
e0d46614
UD
10751998-08-29 Ulrich Drepper <drepper@cygnus.com>
1076
1077 * sysdeps/i386/register-dump.h: Move to ...
1078 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1079
b0cf070b
UD
10801998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1081
1082 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1083 with load address, not map address.
1084 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1085 parameter and use this value.
1086 * sysdeps/arm/dl-machine.h: Likewise.
1087 * sysdeps/i386/dl-machine.h: Likewise.
1088 * sysdeps/m68k/dl-machine.h: Likewise.
1089 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1090 parameter.
1091 * sysdeps/powerpc/dl-machine.h: Likewise
1092 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1093 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1094
997a4165
UD
10951998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
1096
1097 * elf/rtld.c (process_envvars): Fix copy&paste error.
1098
1099 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1100 memalign hook.
1101 (realloc_hook_ini): Don't overwrite memalign hook.
1102 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1103 Reported by Philippe Troin <phil@fifi.org>.
1104
1105 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1106 Patch by Philippe Troin <phil@fifi.org>.
1107
11081998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1109
1110 * sysdeps/generic/segfault.c (install_handler): Protect the
1111 non-POSIX signals with #ifdef.
1112 (catch_segfault): Add missing mode parameter for open.
1113 * debug/catchsegv.sh: Avoid termination message from shell. Allow
1114 other termination signals.
1115
11161998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1117
1118 * debug/Makefile (distribute): Add register-dump.h.
1119
11201998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4226897d
AS
1121
1122 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1123
f787edde
UD
11241998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
1125
1126 * elf/Makefile (distribute): Add dl-origin.h.
1127 * sysdeps/generic/dl-origin.h: New file.
1128 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1129 * elf/link.h (struct link_map): Add l_origin field.
1130 * elf/dl-load.c (expand_dynamic_string_token): New function.
1131 (decompose_path): Remove WHERE argument, take link map pointer instead.
1132 Call expand_dynamic_string_token instead of local_strdup to make copy
1133 of rpath.
1134 (_dl_init_paths): Call decompose_path with correct argument.
1135 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1136 not defined.
1137 Check EI_OSABI and EI_ABIVERSION fields in header.
5f623941 1138 Call _dl_new_object with extra argument.
f787edde
UD
1139 (_dl_map_object): Call decompose_path with correct argument.
1140 Call expand_dynamic_string_token instead of local_strdup to also
1141 expand DST.
5f623941 1142 Call _dl_new_object with extra argument.
f787edde 1143 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
5f623941
UD
1144 but the main one if new argument is nonzero.
1145 * elf/ldsodefs.h: Adjust for _dl_new_object change.
f787edde
UD
1146 * elf/dl-support.c: Define _dl_origin_path.
1147 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
5f623941 1148 (dl_main): Call _dl_new_object with extra argument.
f787edde
UD
1149
1150 * elf/dl-close (_dl_close): Free l_name and l_origin.
1151
1152 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1153 modifier in asm, not c.
1154
1155 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1156 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1157
6075607b
UD
11581998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
1159
1160 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1161 variable so that map can be freed.
1162 Reported by Philippe Troin <phil@fifi.org>.
1163
1164 * elf/dl-open.c (dl_open_worker): Correct test for extending global
1165 scope array.
1166 Patch by Philippe Troin <phil@fifi.org>.
1167
11681998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1169
1170 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
1171 Don't call writev() with a 100-element vector.
1172 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1173 return address.
1174
1175 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1176 In particular, set __libc_stack_end.
1177 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1178 undefined. Fix copyright notice.
1179
11801998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1181
1182 * math/Makefile (gmp-objs): New variable.
1183 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1184 Depend on it.
1185 (tests): Add atest-exp atest-sincos atest-exp2.
1186 (tests-static): Remove atest-exp atest-sincos atest-exp2.
1187
08cac4ac
UD
11881998-08-25 Ulrich Drepper <drepper@cygnus.com>
1189
1190 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1191 to toplevel.
1192 (_dl_unload_cache): New function.
1193 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1194 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
6075607b 1195 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
08cac4ac
UD
1196
1197 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1198 Correct comment for O_LARGEFILE.
1199 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1200 Change O_LARGEFILE to correct value.
1201
12021998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
1203
1204 * libio/iogetline.c (_IO_getline_info): Don't read anything for
1205 N == 0. Patch by HJ Lu.
1206
6dbb7062
UD
12071998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
1208
1209 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1210
12111998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1212
1213 * argp/argp.h: Use __inline__ not inline.
1214
1215 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1216 an input register as being clobbered.
1217 * sysdeps/i386/memset.c (memset): Likewise.
1218 * sysdeps/i386/bzero.c (__bzero): Likewise.
1219 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1220
12211998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1222
1223 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1224 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1225
ed1ac6a2
UD
12261998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
1227
1228 * debug/catchsegv.sh: Handle text preceding backtrace better.
1229 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
1230 to be installed for other signals than SIGSEGV.
1231 * sysdeps/generic/register-dump.h: New file.
1232 * sysdeps/i386/register-dump.h: New file.
1233 * sysdeps/powerpc/register-dump.h: New file.
1234
1235 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1236 sigcontextinfo.h.
1237 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1238
12391998-08-24 Geoff Keating <geoffk@ozemail.com.au>
1240
1241 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1242
12431998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1244
1245 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1246 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1247 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1248 getresuid, getresgid.
1249
12501998-08-16 Geoff Keating <geoffk@ozemail.com.au>
1251
1252 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
1253 pointer in userland.
1254
12551998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1256
1257 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1258 and fix value.
1259
12601998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1261
1262 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1263 over arguments Bourne shell compatible. Don't exit unsuccessfully
1264 if nonelf returns successfully. Avoid duplicating most of the
1265 script.
1266 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1267 around $file.
1268
12691998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
99475e65
AS
1270
1271 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1272 sys/reg.h.
1273 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1274 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1275
b259e746
UD
12761998-08-23 Ulrich Drepper <drepper@cygnus.com>
1277
1278 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1279 __modify_ldt and modify_ldt.
1280 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1281
1282 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1283 Use orl $-1 instead of movl $-1 to save two bytes.
1284 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1285 Likewise.
1286
12871998-08-17 H.J. Lu <hjl@gnu.org>
ed1ac6a2
UD
1288
1289 * libio/Versions (_IO_do_write, _IO_file_attach,
1290 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1291 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1292 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1293 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1294
1295 * libio/fileops.c (_IO_do_write, _IO_file_attach,
1296 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1297 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1298 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1299 _IO_file_write, _IO_file_xsputn): Change the prefix to
1300 "_IO_new_". Added to GLIBC_2.1.
1301
1302 * libio/libioP.h (_IO_do_write, _IO_file_attach,
1303 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1304 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1305 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1306 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1307 "_IO_new_".
1308
1309 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1310 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1311 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1312 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1313 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1314
b259e746
UD
13151998-08-23 Richard Henderson <rth@cygnus.com>
1316
1317 * Makeconfig (LDFLAGS): Remove.
1318
ed1ac6a2 1319 * csu/initfini.c: Return to .text before __gmon_start__.
b259e746 1320
ed1ac6a2
UD
1321 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1322 (STO_MIPS_*): Rename from STO_*.
1323 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1324 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
b259e746 1325
ed1ac6a2
UD
1326 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1327 (main): e3s is negative on zero.
1328 * math/atest-exp2.c: Likewise.
b259e746
UD
1329 * math/atest-sincos.c: Likewise.
1330
ed1ac6a2
UD
13311998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1332
1333 * Makerules (install): Add comment about absolute paths.
1334
b259e746
UD
13351998-08-23 Ulrich Drepper <drepper@cygnus.com>
1336
1337 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1338 array to NUL to handle maxlen==1 case correctly.
1339 Patch by HJ Lu.
1340
13411998-08-23 Richard Henderson <rth@cygnus.com>
7d84a067
RH
1342
1343 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1344 * sysdeps/alpha/elf/crtend.S: Likewise.
1345 * sysdeps/alpha/elf/start.S: Likewise.
1346
1347 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1348 non-standard pv usage.
1349
1350 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1351 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1352 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1353 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1354 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1355 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1356 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1357 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1358 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1359 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1360 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1361
1362 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1363 a finite non-denormal, deferring to the full IEEE version otherwise.
1364
1365 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1366 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
1367 * sysdeps/alpha/fpu/s_floor.c: New.
1368 * sysdeps/alpha/fpu/s_floorf.c: New.
1369 * sysdeps/alpha/fpu/s_ceil.c: New.
1370 * sysdeps/alpha/fpu/s_ceilf.c: New.
1371
e86e2df1
UD
13721998-08-22 Philip Blundell <philb@gnu.org>
1373
1374 * sysdeps/arm/bits/string.h: New file.
1375
14a44a69
UD
13761998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1377
1378 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1379 document it.
1380
1381 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1382 test for recent Linux 2.1.100+ headers.
1383
e36b0b57
UD
13841998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1385
1386 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1387
5148d49f
UD
13881998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1389
1390 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1391
13921998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1393
1394 * Makefile (elf/ldso_install): Put back. The problem still persists.
1395 * elf/Makefile (ldso_install): Likewise.
1396
13971998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1398
1399 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1400 create weak alias.
1401 * include/db.h: Declare __nss_db_open.
1402 * db2/Versions: Export it.
1403
1404 * db2/makedb.c: Convert to use db2 API.
1405 * nss/nss_db/db-XXX.c: Likewise.
1406 * nss/nss_db/db-netgrp.c: Likewise.
1407 * nss/nss_db/db-alias.c: Likewise.
1408 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1409
14101998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1411
1412 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1413 sys_setresuid, already built automatically (or not).
1414 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1415 instead of __syscall_setresuid and add back setresuid.
1416 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1417 __syscall_setresuid.
1418
14191998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1420
1421 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1422
1ddf537f
UD
14231998-08-20 Ulrich Drepper <drepper@cygnus.com>
1424
1425 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1426 BASH-ONLY marked region.
1427 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1428
14291998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1430
1431 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1432 _IO_SYSSEEK fails.
1433
1434 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1435
4df28840 1436 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1ddf537f
UD
1437 element.
1438
8e48355c
RM
14391998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1440
1441 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1442 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1443 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1444 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1445 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1446 those magic comments, and to use /bin/sh for @BASH@.
1447 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1448 * elf/ldd.sh.in: File removed.
1449
d762684b
UD
14501998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1451
1452 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1453 cast them to unsigned long int.
1454 * pwd/putpwent.c (putpwent): Likewise.
1455 Patch by John Tobey <jtobey@banta-im.com>.
1456
14571998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1458
1459 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1460 _IO_pos_BAD.
1461
14621998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1463
1464 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1465 _IO_SYSSEEK fails.
1466
7934cc16
UD
14671998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1468
1469 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1470 Add umount and umount2.
1471 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1472 * sysdeps/unix/sysv/linux/umount.S: New file.
1473 * sysdeps/unix/sysv/linux/umount2.S: New file.
1474 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1475 Define MNT_FORCE.
1476
d762684b
UD
1477 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1478 Add sys/sendfile.h.
1479 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1480 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1481
1482 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1483
1484 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1485 sendfile.
1486
df777c40
UD
14871998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1488
1489 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1490 * elf/ldd.bash.in: Likewise.
1491
1492 * elf/sln.c: Avoid warning for no main prototype.
1493
1494 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1495 O_WRITE.
1496 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1498
1499 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1500 F_GETSIG.
1501 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1502 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1503 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1504
15051998-08-20 Philip Blundell <pb@nexus.co.uk>
1506
1507 * sysdeps/arm/fpu/ieee754.h: Move to...
1508 * sysdeps/arm/ieee754.h: ... here.
1509
1510 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1511 Don't set the condition flags unnecessarily.
1512 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1513 registers correctly.
1514
1515 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1516 (patch from Scott Bambrough).
1517
1518 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1519
1520 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1521 NULL, just call it unconditionally.
1522 (__gmon_start__): Provide stub version as a weak symbol.
1523
15241998-07-30 Philip Blundell <philb@gnu.org>
1525
1526 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1527 by Scott Bambrough)
1528
1529 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1530 like `@' in .type directives.
1531
1532 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1533 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1534
1535 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1536
15371998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1538
1539 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1540 (F_GETOWN): Likewise.
1541
1542 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1543 Linux 2.1.117).
1544
15451998-08-20 Ulrich Drepper <drepper@cygnus.com>
1546
1547 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1548 already defined.
1549
0c6cee5d
UD
15501998-08-18 Ulrich Drepper <drepper@cygnus.com>
1551
1552 * include/features.h: Define __USE_EXTERN_INLINES for recent
1553 enough gcc.
1554 * argp/argp.h: Define extern inline functions only if
1555 __USE_EXTERN_INLINES is defined.
1556 * libio/stdio.h: Likewise.
1557 * math/math.h: Likewise.
1558 * stdlib/stdlib.h: Likewise.
1559 * string/argz.h: Likewise.
1560 * sysdeps/generic/bits/sigset.h: Likewise.
1561 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1562 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1563 * sysdeps/wordsize-32/inttypes.h: Likewise.
1564 * sysdeps/wordsize-64/inttypes.h: Likewise.
1565 * wcsmbs/wchar.h: Likewise.
1566
1567 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1568 to allow compilation without optimization.
1569
df777c40
UD
15701998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1571
1572 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1573 more entries.
1574 * nis/nss_compat/compat-initgroups.c: Likewise.
1575 * nis/nss_compat/compat-pwd.c: Likewise.
1576 * nis/nss_compat/compat-spwd.c: Likewise.
1577 * nis/nss_nis/nis-alias.c: Likewise.
1578 * nis/nss_nis/nis-ethers.c: Likewise.
1579 * nis/nss_nis/nis-grp.c: Likewise.
1580 * nis/nss_nis/nis-hosts.c: Likewise.
1581 * nis/nss_nis/nis-initgroups.c: Likewise.
1582 * nis/nss_nis/nis-network.c: Likewise.
1583 * nis/nss_nis/nis-proto.c: Likewise.
1584 * nis/nss_nis/nis-pwd.c: Likewise.
1585 * nis/nss_nis/nis-rpc.c: Likewise.
1586 * nis/nss_nis/nis-service.c: Likewise.
1587 * nis/nss_nis/nis-spwd.c: Likewise.
1588
1589 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1590
1591 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1592
1593 * nis/yp_xdr.c: Remove 1024 byte limit.
1594 * nis/ypupdate_xdr.c: Likewise.
1595
1596 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1597 wrong data.
1598
c82e6116
RM
15991998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1600
1601 * Rules (binaries-static, binaries-shared static pattern rules):
1602 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1603
1604 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1605 this here, overriding Makeconfig generic value so we link against
1606 the RPC libs.
1607
364ff81f
UD
16081998-08-17 Ulrich Drepper <drepper@cygnus.com>
1609
1610 * posix/tstgetopt.c (options): Add NULL entry at end
1611 Patch by Adrian Miranda <ade@psg.com>.
1612
5d7de7aa
UD
16131998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1614
1615 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1616 to 9.
1617
d610a544
UD
16181998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1619
1620 * elf/elf.h: Add PPC Diab relocations.
1621
1622 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1623
409dfcea
UD
16241998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
1625
1626 * manual/texinfo.tex: Update.
1627
16281998-08-07 Geoff Keating <geoffk@ozemail.com.au>
1629
1630 * sysdeps/powerpc/backtrace.c: New file.
1631
16321998-08-14 Philip Blundell <pb@nexus.co.uk>
1633
1634 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1635 sigjmp_save.
1636 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1637
16381998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1639
1640 * Makefile (install-symbolic-link): Fix spelling.
1641
16421998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1643
1644 * elf/elf.h (SHT_HIOS): Fix value.
1645
16461998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1647
1648 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1649 part of the expansion, this is undefined by the standard.
1650
9d141cae
UD
16511998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
1652
1653 * posix/getconf.c: Add support for systems with incomplete confname.h.
1654
1655 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1656
1657 * sysdeps/posix/wait3.c: Make it work.
1658
16591998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1660
1661 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1662 (elf/ldso_install): Remove.
1663
1664 * elf/Makefile (distribute): Add sln.c.
1665 (others): Add sln.
1666 (others-static): Add sln.
1667 (install-rootsbin): Add sln.
1668 (others-static): Add sln.
1669 (ldso_install): Remove.
1670
16711998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1672
1673 * Makerules (install-clean-symbolic-link-list): Make phony.
1674 * Makefile (install-symbolic-link): Make phony. Depend on
1675 subdir_install for parallel makes.
1676
1677
16781998-07-22 Ulrich Drepper <drepper@cygnus.com>
1679
1680 * elf/Makefile (distribute): Add sln.c
1681
16821998-07-21 07:10 H.J. Lu <hjl@gnu.org>
1683
1684 * elf/sln.c: New file.
1685
1686 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1687 (install-clean-symbolic-link-list): New target.
1688 (install): Depend on install-clean-symbolic-link-list.
1689 (make-shlib-link): Changed for $(symbolic-link-list).
1690
1691 * Makefile (install-symbolic-link): New target.
1692 (install): Depend on install-symbolic-link.
1693
1f539fd1
UD
16941998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
1695
1696 * include/unistd.h: Protect against multiple inclusion.
1697
1698 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1699 is defined, not is glob is defined.
1700 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1701
17021998-08-01 17:18 H.J. Lu <hjl@gnu.org>
1703
1704 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1705 xdr_string for ut_line, ut_name and ut_host.
1706
17071998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1708
1709 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1710 /var/mail in accordance with FHS 2.0.
1711 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1712
17131998-08-12 Richard Henderson <rth@cygnus.com>
1714
1715 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1716 Update aliases for cancelation.
1717
1718 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1719 playing with symbol versions.
1720
259d930a
RM
17211998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1722
1723 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1724 multiple inclusion protection.
1725 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1726 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1727 define all these to 1.
1728 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1729
d6765f1d
RM
17301998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1731
1732 * sysdeps/mach/usleep.c: Include <unistd.h>.
1733 (usleep): Return void.
1734
17351998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1736
1737 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1738 decl to inhibit warning in if_freenameindex defn.
1739
1740 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1741
1742 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1743
1744 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1745 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1746 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1747 * sysdeps/mach/usleep.c: Likewise.
1748
1749 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1750
1751 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1752 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1753 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1754 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1755 * sysdeps/mach/usleep.c (usleep): Likewise.
1756 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1757 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1758 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1759 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1760
17611998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1762
1763 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1764 (glob64): Fix typo.
1765
1766 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1767 %p arg to fprintf, since `void *' is the right type already.
1768
b5876a19
RM
17691998-07-25 19:47 Jose M. Moya <josem@gnu.org>
1770
1771 * sysdeps/mach/hurd/getcwd.c
1f539fd1
UD
1772 (_hurd_canonicalize_directory_name_internal): Do not loop forever
1773 for unknown root directories.
b5876a19 1774 (__getcwd): Return NULL when the current root directory could not
1f539fd1 1775 be reached.
b5876a19 1776
f81d98d6 17771998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
a2bde807 1778
f81d98d6 1779 * string/strsignal.c (strsignal): Count real-time signals from zero.
a2bde807 1780
a5f4e34a 1781
f81d98d6 1782See ChangeLog.8 for earlier changes.