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