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