1 Tue Jul 16 00:31:31 1996 Richard Henderson <rth@tamu.edu>
3 * sysdeps/alpha/dl-machine.h: Mirror Roland's changes to
4 i386/dl-machine.h of 960713.
6 * sysdeps/generic/dl-sysdep.c: Include <sys/mman.h>.
7 (_dl_sysdep_read_whole_file): Fix result variable declaration.
9 Tue Jul 16 00:53:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
11 * sysdeps/mach/hurd/uname.c: Call __gethostname to fill in the
14 Mon Jul 15 17:23:53 1996 Ulrich Drepper <drepper@cygnus.com>
16 * stdio-common/vfprintf.c (vfprintf): Call parse_one_spec
17 with pointer to local variable instead of NULL.
19 1996-07-15 Paul Eggert <eggert@twinsun.com>
21 * time/strftime.c (strftime): Don't pass empty macro argument to `add'.
23 Sat Jul 13 09:53:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
25 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove names
26 that are already added by other means.
28 * sysdeps/unix/sysv/linux/syscalls.list: Add more EXTRA's in the
29 caller column to get those syscalls added automagically.
31 Mon Jul 15 12:24:54 1996 Miles Bader <miles@gnu.ai.mit.edu>
33 * login/logout.c (logout): Initialize DATA to a state that will
34 make setutent_r happy.
36 Sun Jul 14 01:51:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
38 * elf/rtld.c (dl_main) [ELF_MACHINE_DEBUG_SETUP]: Use this macro
39 instead of setting the DT_DEBUG pointer.
41 * csu/initfini.c (_init, _fini): Generate .end directives after
42 standalone prologues and filter them out from epilogues.
44 * Makeconfig (rtld-installed-name): Set to ld.so.1.
45 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): Variable
48 * manual/Makefile (glibc-targets): Remove subdir_ from elts.
50 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_read_whole_file): New fn.
52 * MakeTAGS (extract): Pass --add-comments=TRANS.
53 * sysdeps/gnu/errlist.awk: Write comments into the output with the
54 descriptive paragraphs from the manual preceded by TRANS.
56 * elf/rtld.c (RESOLVE): Use the dl's load address, not a constant zero!
57 (_dl_start): Move RESOLVE defn inside this function and #include
58 "dynamic-link.h" a second time there.
59 [RTLD_START]: Move use of this after _dl_start function.
61 * elf/dl-reloc.c: Include "dynamic-link.h" at file scope.
63 * elf/rtld.c: Include <string.h>.
65 * elf/dynamic-link.h (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA,
66 ELF_DYNAMIC_RELOCATE): No longer take RESOLVE argument.
67 Conditionalize defns on [RESOLVE].
68 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
69 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
70 Instead use RESOLVE macro with same args.
71 (elf_machine_rel): Conditionalize defn on [RESOLVE].
72 * elf/dl-reloc.c (RESOLVE): New macro, define before including
73 "dynamic-link.h". It replaces `resolve' local function.
74 * elf/dl-runtime.c: Likewise.
75 * elf/rtld.c: Likewise.
77 * elf/dl-deps.c (_dl_map_object_deps): Start TAILP at last preload.
79 * elf/dl-open.c (_dl_open): Force an indirect call for
80 _dl_relocate_object so there is no chance a PLT fixup will be done
81 and clobber _dl_global_scope before our call happens.
83 * sysdeps/i386/fpu/__math.h (tan): Correct output constraint from =u
84 to =t; must operate on top of fp reg stack, not second from top.
85 Correct input constraint to 0 from t; must be explicit when input and
86 output are the same register.
87 (floor): Use __volatile instead of volatile.
90 * manual/Makefile ($(objpfx)stamp%-$(subdir)): Separate rule from
93 Sat Jul 13 23:50:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
95 * manual/Makefile (lib): New phony target. Depend on stamp files.
96 ($(objpfx)stamp%-$(subdir)): New rule to create them when necessary.
98 1996-07-13 Paul Eggert <eggert@twinsun.com>
100 * time/strftime.c (strftime): Use space padding for %e, %k, %l,
101 to match Emacs format-time-string specification.
102 (DO_NUMBER_SPACEPAD): Renamed from DO_NUMBER_NOPAD.
104 Sat Jul 13 20:17:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
106 * elf/dl-deps.c (_dl_map_object_deps): Take new args PRELOADS and
107 NPRELOADS, vector of `struct link_map *'s; add them to the searchlist
108 between MAP and its deps.
109 * elf/link.h: Fix decl.
110 * elf/rtld.c (dl_main): If not secure, parse LD_PRELOAD for
111 colon-separated list of names, map those and pass vector of ptrs as
112 PRELOADS list to _dl_map_object_deps.
113 * elf/dl-runtime.c (_dl_object_relocation_scope): Pass new args to
114 _dl_map_object_deps with empty preload list.
115 * elf/dl-open.c (_dl_open): Likewise.
117 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill): Function
119 (__mmap): Pass MACH_PORT_NULL for memobj port when (flags & MAP_ANON).
120 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill):
121 Conditionalize defn on [! MAP_ANON].
122 * elf/dl-minimal.c (malloc): Conditionalize use of _dl_zerofd
124 * elf/rtld.c (dl_main): Likewise.
125 * elf/dl-load.c (_dl_zerofd): Conditionalize defn on [! MAP_ANON].
126 (_dl_map_object_from_fd): Conditionalize initialization of _dl_zerofd.
128 * elf/dl-fini.c (_dl_fini): Skip finalizer for executable itself.
130 Sat Jul 13 02:47:53 1996 David Mosberger-Tang <davidm@azstarnet.com>
132 * stdlib/random.c (__random): Declare as int32_t to be in sync
135 * socket/Makefile (headers): Add socketbits.h.
137 * misc/mntent.c (endmntent): Allow for NULL stream. SunOS does
140 * grp/initgroups.c (initgroups): Add groups that user is a member
141 of, not the ones he is _not_ a member of.
143 * nss/nsswitch.c (known_compare): Make known_compare() a static
144 instead of a local function. The latter are difficult to debug
145 and slow to execute on certain platforms.
147 * sysdeps/posix/ttyname_r.c (ttyname_r): Use sizeof (dev) - 1 in
148 place of sizeof (dev). The size of a literal string includes the
151 * sysdeps/unix/getlogin.c (getlogin): Initialize ut_fd with -1.
153 Thu Jul 11 16:59:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
155 * misc/mntent.c (addmntent): Seek to end of file before writing
156 entry. Return 1 on error, not -1.
158 Tue Jul 9 19:08:05 1996 David Mosberger-Tang <davidm@azstarnet.com>
160 * sysdeps/unix/sysv/linux/syscalls.list: Mark bdflush as EXTRA
163 Fri Jul 5 18:44:55 1996 David Mosberger-Tang <davidm@azstarnet.com>
165 * sysdeps/unix/sysv/linux/alpha/ioperm.c (port_to_cpu_addr): Size
166 shift amount for Jensen must be 5 not 4.
168 Sat Jul 13 20:04:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
170 * socket/sys/socket.h (struct osockaddr): New type.
172 Sat Jul 13 03:50:53 1996 Ulrich Drepper <drepper@cygnus.com>
174 * misc/Makefile (routines): Add qefgcvt and qefgcvt_r.
175 * misc/efgcvt.c, misc/efgcvt_r.c: Change code so that the `double'
176 and `long double' versions can be generated.
177 * misc/qefgcvt.c, misc/qefgcvt_r.c: New files. Define macros
178 so that included efgcvt{,_r}.c file generate `long double'
180 * stdlib/stdlib.h: Add prototypes for q[efg]cvt() and q[ef]cvt_r()
183 * manual/startup.texi: Document new getsubopt function.
184 * manual/examples/subopt.c: New example program for documenting
187 Fri Jul 12 23:58:37 1996 Ulrich Drepper <drepper@cygnus.com>
189 * stdlib/Makefile (routines): Add getsubopt.
190 * stdlib/stdlib.h: Add prototype for getsubopt.
191 * stdlib/getsubopt.c: New file. Implement getsubopt function
192 to handle suboption parsing.
194 Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
196 * inet/getnetent_r.c: Define NEED_H_ERRNO.
197 * inet/getnetbynm_r.c: Likewise.
198 * inet/getnetent.c: Likewise.
199 * inet/getnetbyad_r.c: Likewise.
200 * inet/getnetbyad.c: Likewise.
201 * inet/getnetbynm.c: Likewise.
203 * sysdeps/generic/pselect.c: Include <sys/time.h>.
205 * misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
208 * math/Makefile (calls): Add s_frexp, s_ldexp.
209 (routines): Remove them and &f from here.
211 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
213 * nss/nss_files/files-service.c (getservbyname): Take second arg PROTO
216 * nss/nss_files/files-XXX.c: Comment fix.
218 Fri Jul 12 01:28:35 1996 Ulrich Drepper <drepper@cygnus.com>
220 * nss/getXXent_r.c (GETFUNC_NAME_STRING): Define with name
221 of reentrant function.
222 (setup): Pass additional argument with function name we are
224 (SETFUNC_NAME, ENDFUNC_NAME, GETFUNC_NAME): Call setup with
225 new argument {SET,END,GET}FUNC_NAME_STRING.
227 * nss/getXXent.c (GETFUNC_NAME): RESULT must be static because
230 Thu Jul 11 18:20:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
232 * nss/nss_files/files-parse.c: Add comment about things to #define.
234 * nss/nss_files/files-hosts.c (NEED_H_ERRNO): Define it.
236 * nss/nss_files/files-parse.c (STRING_FIELD): Don't flag NUL before
237 terminator char as an error.
239 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set *H_ERRNOP, not h_errno.
241 Thu Jul 11 03:21:10 1996 Ulrich Drepper <drepper@cygnus.com>
243 * catgets/gencat.c (write_out): Move code to determine new
244 best size out of inner loop.
246 Thu Jul 11 00:22:40 1996 Ulrich Drepper <drepper@cygnus.com>
248 * sysdeps/libm-ieee754/s_frexpl.c: New file. `long double'
249 implementation of frexp() function.
250 * sysdeps/libm-ieee754/s_ldexpl.c: New file. `long double'
251 implementation of ldexp() function.
253 * sysdeps/libm-i387/s_isnanl.c (isnanl): Mask explicit one
256 Wed Jul 10 05:24:40 1996 David Mosberger-Tang <davidm@azstarnet.com>
258 * misc/mntent.c: Include <sys/types.h>.
259 (endmntent): Return 1 one success, 0 on failure.
260 (getmntent): Chop newline and ignore empty lines.
262 Mon Jul 8 21:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
264 * sysdeps/m68k/dl-machine.h (RESOLVE): New macro, defined
265 differently based on [RTLD_BOOTSTRAP].
266 (elf_machine_rela): Use it instead of the fn ptr arg directly.
268 Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
270 * posix/glob.h (__glob_opendir_hook, __glob_readdir_hook,
271 __glob_closedir_hook): Remove decls.
273 * sysdeps/generic/machine-gmon.h: Declare mcount_internal.
275 * sysdeps/unix/inet/syscalls.list: Define __ names with weak aliases
276 for send and connect syscalls.
278 * socket/sys/socket.h: New file, taken from non-sysdep parts of
279 linux/sys/socket.h; break sysdeps parts out into socketbits.h.
280 Declare __ names for send and connect.
281 * sysdeps/generic/socketbits.h: New file.
282 * sysdeps/unix/sysv/linux/socketbits.h: New file.
283 * sysdeps/unix/sysv/linux/sys/socket.h: File removed.
284 * sysdeps/generic/sys/socket.h: File removed.
286 * sysdeps/mach/hurd/connect.c: Define __ name and weak alias.
287 * sysdeps/mach/hurd/send.c: Likewise.
289 * sysdeps/mach/libc-lock.h: New file.
290 * sysdeps/unix/readdir.c: Do locking.
291 * sysdeps/unix/seekdir.c: Likewise.
292 * sysdeps/unix/rewinddir.c: Likewise.
293 * sysdeps/unix/closedir.c: Likewise.
294 * sysdeps/unix/bsd/telldir.c: Likewise.
295 * sysdeps/mach/hurd/seekdir.c: Likewise.
296 * sysdeps/mach/hurd/readdir.c: Likewise.
297 * sysdeps/mach/hurd/closedir.c: Likewise.
298 * sysdeps/mach/hurd/opendir.c: Initialize the lock.
299 * sysdeps/unix/opendir.c: Likewise.
300 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
301 (struct __dirstream): Add lock member using __libc_lock_define.
302 * sysdeps/unix/dirstream.h: Likewise.
304 * sysdeps/stub/libc-lock.h (__libc_lock_fini): New macro.
306 * stdlib/mbstowcs.c: Pass address of pointer to mbsrtowcs.
308 * stdlib/wcstombs.c: Use wcsrtombs instead of mbsrtowcs.
310 Thu Jul 4 01:34:04 1996 Ulrich Drepper <drepper@cygnus.com>
312 * locale/programs/stringtrans.c: Fix typo in copyright.
314 * stdio-common/printf-prs.c: Add casts to prevent
315 signed<->unsigned warnings.
317 * stdio-common/printf-parse.h: Initialize state variable before
319 * stdio-common/printf-prs.c: Don't initialize state variable here.
320 * stdio-common/vfprintf.c: Don't initialize state variable.
321 (vfprintf): While determining length of multibyte string don't
322 try to be clever in determining characters to use for first
325 Add real implementation of multibyte<->wide char conversion
326 functions. The functions always convert between the fixed wide
327 char format (ISO 10646 in UCS4) and the UTF8 representation of
328 this character set. Conversion between the currently used
329 8bit character set and ISO 10646 will not take place. This is
331 * wcsmbs/wchar.h (mbstate_t): Define as structure to replace
333 Add optimized version of `mbrlen' function.
334 * wcsmbs/btowc.c (btowc): Restrict range of legal characters
336 * wcsmbs/wctob.c (wctob): Restrict range of legal characters
338 * wcsmbs/mbrlen.c: Make mbrlen a weak alias of __mbrlen.
339 This is needed in the wchar.h header.
340 * wcsmbs/mbrtowc.c: Replace dummy implementation. Convert UTF8
341 encoded character to UCS4.
342 * wcsmbs/mbsinit.c: Replace dummy implementation. Test COUNT
343 element of `mbstate_t' for initial state.
344 * wcsmbs/mbsrtowcs.c: Replace dummy implementation. Convert UTF8
345 encoded string to UCS4 string.
346 * wcsmbs/wcrtomb.c: Replace dummy implementation. Convert UCS4
347 character to UTF8 encoded form.
348 * wcsmbs/wcsrtombs.c: Replace dummy implementation. Convert UCS4
349 encoded string to UTF8 encoded form.
351 Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
353 * sysdeps/unix/sysv/linux/configure.in: Use version number in cache
354 variable name, so new a libc with new requirements won't fail to
355 notice an insufficient Linux version.
357 * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.
359 * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers,
360 instead of 2.0 headers.
362 * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.
364 * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The
365 sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
367 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount
368 before using it in lhs of weak_alias.
370 * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME.
371 Call __nss_lookup when not setting STARTP.
372 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for
373 function-calling loop.
375 Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
377 * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO,
378 PENDIN, NOFLSH): Undefine these at start if they are already
379 defined to avoid collision with termbits.h.
380 * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise.
381 (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise.
383 Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
385 * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not
386 already defined to float, long double. Use those macros for _Mdouble_
387 defns when including mathcalls.h.
388 * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append
389 -D_Mlong_double_=double.
391 Add more -lm functions to -lc because ldexp uses them.
392 * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf.
393 (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and
394 ldexp have both f and l code, and those have f though not l code.
396 Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu>
398 * sysdeps/mach/hurd/errnos.awk: Skip entries where the
399 error is 0. The "placeholder" entries recently added to
400 errno.texi convert to zero since `???/' is at the front of them.
401 * sysdeps/gnu/errlist.awk (errnoh): Likewise.
403 * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
404 __const to conform with unistd.h.
406 * stdlib/stdlib.h (random): Declare return type to be int32_t.
408 * string/argz-delete.c (argz_delete): Use memmove instead of
409 memcpy for possibly overlapping strings.
411 Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
413 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern
414 storage class. GCC gives an error for non-extern data defns with the
417 Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
419 * string/argz-insert.c (__argz_insert): (__argz_insert): Use
420 memmove instead of memcpy for possible overlapping strings.
422 Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
424 * libc-symbols.h (weak_function): New macro.
425 For GCC 2.7+ define as __attribute__ ((weak)).
426 * elf/dl-minimal.c: Use weak_function as keyword in function defns
427 instead of weak_symbol (NAME) after the defn.
428 * stdlib/strtol.c: Likewise.
429 * stdlib/strtod.c: Likewise.
430 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
432 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
433 If this is defined, don't declare _dl_rtld_map as weak, and
434 don't check for MAP pointing to it. RESOLVE is always null in this
435 case, so test with #ifdef instead of if.
437 * libc-symbols.h (symbol_set_declare): Use weak_extern instead of
439 * csu/initfini.c (_init): Likewise.
440 * locale/setlocale.c (DEFINE_CATEGORY): Likewise.
441 * misc/efgcvt_r.c: Likewise.
442 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
443 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
445 * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed.
446 It was not used in any assembler code.
447 (weak_symbol_asm): Renamed to weak_extern_asm.
448 (weak_extern): New macro replaces weak_symbol for weak extern refs;
449 define to weak_extern_asm for [!ASSEMBLER].
451 Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
453 * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm,
454 weak_alias_asm): New macros, renamed from weak_symbol/weak_alias;
455 define those now as aliases.
456 Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+
457 [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm
458 after GCC weak attribute decl.
460 * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
461 map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
462 (element printer): Check for elt in ALIAS, instead of special case
465 * io/Makefile (headers): Add sys/vfs.h.
466 * io/sys/vfs.h: New file.
468 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
469 critical section lock before unlinking dying active resources.
470 The unlock just before return is right (i.e. old code unlocked twice).
472 Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
474 * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
475 Use memmove instead of memcpy where overlap is possible (not
476 necessary using current implementation of memcpy, but...).
477 (__line_wrap_update): Don't update D->point_offs (lwupdate does it).
479 Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
481 * stdio/linewrap.c (lwupdate): New function, mostly was
482 __line_wrap_update. Use POINT_COL field instead of POINT.
483 (__line_wrap_output): Use lwupdate.
484 (__line_wrap_update): New function.
485 (ensure_unwrapped, ensure_wrapped): New functions.
486 (line_wrap_set_lmargin, line_wrap_set_rmargin,
487 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
489 * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to
490 POINT_COL. Add POINT_OFFS field.
491 (__line_wrap_update): New decl.
492 (line_wrap_set_lmargin, line_wrap_set_rmargin,
493 line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
495 Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu>
497 * login/logout.c (logout): Do nothing if getutline_r returns ESRCH.
499 * login/pututline_r.c (pututline_r): Since we assign RESULT from
500 lseek now, check that it's >= 0, not == 0.
502 Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
504 * login/login.c (login): Make a copy of *UT, fill in various
505 fields that we supply (ut_line, ut_type, ut_pid), and use the copy
508 * login/getutline_r.c (getutline_r): When we return ESRCH, mark
509 UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
511 Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
513 * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled
514 signal during critical section doing interruptible RPC, if
515 _hurdsig_abort_rpcs wants to change thread state, do thread_set_state
516 before thread_resume. If in critical section, pass 0 for SIGNO to
517 _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
519 * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
521 * sysdeps/unix/sysv/linux/sys/user.h: New file.
522 * sysdeps/unix/sysv/linux/Dist: Add it.
523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
525 * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
526 points within DATA->linebuffer; otherwise use all of DATA->linebuffer
527 itself, no need to skip past a NUL.
529 * nss/nsswitch.h (known_function): Comment fix.
530 * nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
531 directly. Do the lookup and insertion with a single call, and fill in
532 the tree node afterwards if new.
533 (known_compare, nss_find_entry, nss_insert_entry): Functions removed.
535 * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
536 (struct timeval): Add bodiless decl for scope.
538 * time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
539 Move struct timespec defn outside [_TIME_H] so it can be got with
540 #define __need_timespec.
542 * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
543 for `struct timespec' member names.
544 (TIMESPEC_TO_TIMEVAL): Likewise.
546 * nss/Makefile (extra-libs-others): New variable.
548 * extra-lib.mk: Don't test for $($(lib)-no-lib-dep). Instead match
549 $(lib) in $(extra-libs-others).
550 * sunrpc/Makefile (extra-libs-others): New variable.
551 (librpcsvc-no-lib-dep): Variable removed.
553 * elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
554 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
556 (RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
557 (elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
558 (elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
559 _dl_rtld_map weak only here.
561 * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
563 Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
565 * login/utmp.h: Fix typos.
567 * misc/syslog.c (vsyslog): Use __send instead of send and
568 __connect instead of connect to avoid name-space collisions (e.g.,
571 Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
573 * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.
575 * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.
577 * malloc/malloc-size.c (malloc_usable_size): Renamed from
578 malloc_object_allocation_size.
579 * malloc/malloc.h: Fix decl.
581 * sys/select.h: New file, wrapper header.
583 * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
584 fd_set, associated macros, and select decl.
586 * sysdeps/posix/isfdtype.c: New file.
588 Tue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
590 The latest Japanese proposal for POSIX locales renames the
591 CHARMAP keyword in locale definition files to CHARCONV.
592 * locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
593 function ctype_is_charmap to ctype_is_charconv.
594 * locale/programs/locfile-kw.gperf: Replace charmap keyword with
596 * locale/programs/locfile-token.h: Add definition of token
598 * locale/programs/locfile.c: Recognize charconv keyword. Rename
599 lables according to this.
601 * locale/weight.h (get_weight): Cast constants to prevent
604 * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
605 string/strxfrm.c: Add some more casts to prevent signed<->unsigned
608 New stuff described in P1003.1g.
609 * misc/Makefile (headers): Add sys/select.h.
610 (routines): Add pselect.
611 * misc/sys/select.h: New file. Declare select functions and
612 needed data types and macros.
613 * sysdeps/generic/pselect.c: New file. Add generic implementation
614 of pselect() function which uses select().
616 * posix/getconf.c: Recognize new variables from P1003.1g.
617 * posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
618 _POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
619 * posix/unistd.h: Add description of the P1003.1g variables.
620 * sysdeps/generic/confname.h: Define _SC_* values for new
622 * sysdeps/posix/fpathconf.c (fpathconf): Add handling of
624 * sysdeps/stub/fpathconf.c (fpathconf): Ditto.
625 * sysdeps/posix/sysconf.c (sysconf): Add handling of new
627 * sysdeps/stub/sysconf.c (sysconf): Ditto.
628 * sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
629 _POSIX_SELECT since Linux has this.
631 * socket/Makefile (routines): Add isfdtype.
632 * sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
633 * sysdeps/stub/isfdtype.c: New file. Stub implementation of
636 * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
638 Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
640 * elf/Makefile (LDFLAGS-dl.so): New variable.
641 (libdl.so): Depend on eval.so.
642 (distribute): Add eval.c.
643 * elf/eval.c: New file.
645 * time/strftime.c (strftime: do_number): Adjust P and I after sprintf
646 in case it wrote fewer than MAXDIGITS chars.
648 * stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
649 newline from flushing full buffer in loop, fix test so no fflush is
650 done when last byte written exactly fills the buffer.
652 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.
654 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
655 (libc.so): Instead, give this deps on lib{mach,hurd}user.so.
657 * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
658 extracting _dl_rtld_map.l_addr.
660 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
662 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
664 * shlib-versions (*-*-*): Set libnss_db=1.
666 Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
668 * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
670 * rpm/template (%build): Use @prefix@ instead of always /usr.
671 Set up configparms only if @prefix@ is in fact /usr.
672 * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
674 * elf/Makefile: Add missing endif.
676 * nss/nss_files/files-ethers.c (ntohost): Fix db key.
678 * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
679 (DATABASE): Define this instead of DATAFILE.
680 * nss/nss_files/files-hosts.c: Likewise.
681 (hostbyname): Use LOOKUP_NAME macro.
683 * nss/nss_db/db-XXX.c: New file.
684 * nss/Makefile (services): Add db.
685 (libnss_db-inhibit-o): New variable.
686 (libnss_db-routines): New variable.
687 (distribute): Append db-XXX.c.
688 (libnss_db.so): Depend on libdb.so and libnss_files.so.
689 ($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
691 * nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
693 (DATAFILE): New macro.
694 * nss/nss_files/files-parse.c (GENERIC): If undefined, define to
696 * nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
697 Pass db key args to DB_LOOKUP.
698 (DATAFILE): Macro removed.
699 (DATABASE): New macro replaces it, lacks "/etc/" prefix.
700 * nss/nss_files/files-service.c: Likewise.
701 * nss/nss_files/files-pwd.c: Likewise.
702 * nss/nss_files/files-proto.c: Likewise.
703 * nss/nss_files/files-grp.c: Likewise.
704 * nss/nss_files/files-ethers.c: Likewise.
706 * elf/linux-compat.c: File removed.
707 * elf/Makefile (distribute): Remove linux-compat.c.
708 (ld-linux.so.1): Remove target and associated variables.
710 * sunrpc/xdr.c: Remove malloc decl.
711 * sunrpc/portmap.c: Likewise.
713 * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro
714 casting abort to fn returning bool_t.
716 * nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
718 [EXTERN_PARSER] (LINE_PARSER): Define to empty.
719 * nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
720 * nss/nss_files/files-grp.c: Likewise.
722 * Makeconfig (BUILD_CC): If undefined, define to $(CC).
724 * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.
726 * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
727 of ld.so so lookups for that soname find it.
729 * nss/Makefile (libnss_dns.so): Depend on libresolv.so.
730 (resobjdir, LDLIBS-nss_dns.so): Variables removed.
732 * pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
733 define parse_line function.
734 (parse_line): #define to _nss_files_parse_pwent and
735 add extern decl for that.
737 * nss/nss_files/files-XXX.c (internal_getent): Return
738 NSS_STATUS_TRYAGAIN for ERANGE error.
740 * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
741 of null, so next round returns null again instead of bombing. Fix
744 * nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
745 Remove ; after `ENTDATA_DECL (data)'.
746 Truncate line at strpbrk (line, EOLSET "\n").
747 (ENTDATA_DECL): Put ; at end.
748 (MIDLINE_COMMENTS): Macro removed.
749 * nss/nss_files/files-ethers.c: Pass new argument.
750 * nss/nss_files/files-hosts.c: Likewise.
751 * nss/nss_files/files-network.c: Likewise.
752 * nss/nss_files/files-parse.c: Likewise.
753 * nss/nss_files/files-proto.c: Likewise.
754 * nss/nss_files/files-rpc.c: Likewise.
755 * nss/nss_files/files-service.c: Likewise.
756 * grp/fgetgrent.c: Likewise.
757 * pwd/fgetpwent.c: Likewise.
758 * nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
759 fgetpwent.c already defines it.
760 * nss/nss_files/files-grp.c: Likewise.
762 * elf/dl-load.c (_dl_map_object): Use any object with matching l_name
763 as well as any matching with l_libname. Fix DT_SONAME lookup to use
764 string table properly.
766 * elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
767 invoked directly, and l_libname from that if PT_INTERP missing.
768 Set l_name from l_libname only if not set from argv.
770 * time/europe, time/northamerica: Updated from ADO 96i.
772 Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
774 * stdio-common/tst-ungetc.c: Include unistd.h.
776 * inet/Makefile (routines): Change getnetbypt to getnetbyad.
778 Mon Jul 1 13:32:42 1996 Miles Bader <miles@gnu.ai.mit.edu>
780 * hurd/report-wait.c (describe_number): Make I unsigned long.
782 * login/login.c (login): Only Frob OLD->ut_type if getutline_r
783 actually found any entry.
785 * login/pututline_r.c (pututline_r): If not located after any
786 entry don't use UTMP_DATA->ubuf, and seek to the end before adding.
787 Lock the file before stating.
789 Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
791 * nss/Makefile (databases): Change host to hosts.
792 * nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
794 * nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
796 * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
798 * string/string.h (strndupa): Pass missing arg to strnlen.
800 * inet/getnetbypt_r.c: Renamed to ...
801 * inet/getnetbyad_r.c: this; fixed function name.
802 * inet/getnetbypt.c: Renamed to ...
803 * inet/getnetbyad.c: this; fixed function name.
805 Sat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
807 * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
810 Fri Jun 28 23:25:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
812 * login/login.c (login): Initialize DATA so that setutent_r will
813 actually do something.
815 Fri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
817 * resolv/res_hconf.c (strndup): Remove function.
819 * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
820 using ElfW() instead of Elf32_*.
822 * sysdeps/unix/sysv/linux/alpha/init-first.h,
823 sysdeps/unix/sysv/linux/m68k/init-first.h,
824 sysdeps/unix/sysv/linux/i386/init-first.h: New files.
825 * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
826 init-first.h to make abstract machine dependent parts of
829 * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
830 error handling. It's safer that way.
832 * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
833 Fix by Richard Henderson.
835 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
836 typo/extraneous whitespace.
838 * sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
839 determine what integer sizes we're dealing with.
841 Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
843 * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
844 check for signal zero, repair logical sense of test by
845 parenthesizing correctly.
847 * hurd/hurdsig.c (_hurd_internal_post_signal): In
848 check-for-pending signals code, release _hurd_siglock before
849 jumping to deliver_pending.
851 Thu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
853 * configure.in (config_machine): Make ELF the default even for
854 Linux/Alpha unless a configuration of the form *-*-linux*ecoff
857 Fri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
859 * nss/nss_files/files-hosts.c (ENTDATA): Define it.
860 * nss/nss_files/files-parse.c (struct parser_data): Define entdata
861 member only #ifdef ENTDATA.
862 (ENTDATA_DECL): New macro.
863 (LINE_PARSER): Use it for entdata decl.
864 (parse_list): Find the space for LIST from DATA->linebuffer instead of
865 from the input LINE, which might not be writable buffer space.
866 (LINE_PARSER): Use `parser_stclass' in place of `static inline'.
867 [ENTDATA] (parser_stclass): #define to `static inline'.
868 [!ENDATA] (parser_stclass): #define to empty.
869 [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
870 function is exported to -lnss_files users.
872 * string/strndup.c: Add missing arg.
874 * string/string.h (strndupa): Likewise.
875 * string/strndup.c (strndup): Always terminate the string.
877 Thu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
879 * stdio/Makefile (routines): Add vscanf.
880 * stdio-common/Makefile (routines): Remove vscanf.
881 * stdio-common/vscanf.c: Move to ...
882 * stdio/vscanf.c: here.
884 * rpm/Makefile (headers, install-lib, install-lib.so,
885 versioned, install-bin, install-sbin, install-data,
886 install-others): Add $(-VARIABLE).
888 Fri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
890 * nss/Makefile (databases): New variable.
891 (routines, libnss_files-routines): Use it.
892 (subdir-dirs): Compute from $(services).
894 * sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
895 init_module, klogctl): Use EXTRA in the "caller" column so these get
896 added to unix-extra-syscalls and thus compiled in misc.
898 * string/Makefile (routines): Add strndup.
899 * string/strndup.c: New file.
900 * string/string.h: Declare strndup.
901 (strndupa): New macro.
903 * string/string.h: Declare __strdup.
904 * string/strdup.c: Deansideclized. Define __ name and weak alias.
906 * string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].
908 Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
910 * catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.
912 * grp/initgroups.c (initgroups): De-ansi-fy.
913 Move declaration of NGROUPS and GROUPS outside #if so that
914 the code compiles for NGROUPS_MAX != 0.
916 * inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
917 (routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
918 ether_ntoa, ether_ntoa_r, and ether_ntoh.
919 * inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
920 inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
921 inet/ether_ntoh.c: New files. Implementation of functions to
922 handle Ethernet address to host mapping.
923 * inet/netinet/ether.h: New file. Declare ether_* functions.
924 * netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
926 * nss/ethers-lookup.c: New file. Lookup function for ethers database.
927 * nss/Makefile (routines): Add ethers-lookup.
928 (libnss_files-routines): Add files-ethers.
930 * nss/getXXent_r.c: Don't define set*ent and end*ent function
933 * nss/nss_files/files-XXX.c (internal_endent): Don't reset
934 KEEP_STREAM every time called.
935 (_nss_files_end): Reset KEEP_STREAM here instead.
936 (internal_getent): If STREAM == NULL try to open instead of
938 Use cast to prevent warning.
939 Terminate read line in case the buffer is too small.
941 * nss/nss_files/files-ethers.c: New file. Implementation of
942 Ethernet adress<->hostname lookup through files interface.
944 * stdlib/mbstowcs.c: Define based on mbsrtowcs().
945 * stdlib/mbtowc.c: Define based on mbrtowc().
946 * stdlib/wcstombs.c: Define based on wcsrtombs().
947 * stdlib/wctomb.c: Define based on wcrtomb().
949 * sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
950 unexpected_sizes_in_xdr_u_int.
952 * sysdeps/generic/netinet/if_ether.h: New file. Generic declaration
953 of `struct ether_addr'.
954 * sysdeps/unix/sysv/linux/netinet/if_ether.h: New file. Linux specific
955 declaration of `struct ether_addr'.
957 * wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
958 * wcsmbs/mbsrtowcs.c: Ditto.
959 * wcsmbs/wcrtomb.c: Ditto.
960 * wcsmbs/wcsrtombs.c: Ditto.
962 * wcsmbs/mbsinit.c: Prepare for PS being NULL.
964 Wed Jun 26 13:19:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
966 * hurd/get-host.c <fcntl.h>: New include.
967 * hurd/set-host.c <fcntl.h>: New include.
968 (_hurd_set_host_config): Include NEW in args to dir_link.
969 Return NWROTE, not NREAD.
971 * sysdeps/mach/hurd/getcwd.c
972 (_hurd_canonicalize_directory_name_internal): Don't deallocate
973 DOTID & DOTDEVID until we're finished with them (we need to keep
974 them at least until we've fetched the next level of id ports, so
975 that mach will be able to use the same name if they're the same).
976 Add inner_errlose: label, which deallocates DOTID & DOTDEVID and
977 jumps to errlose, for those places where such cleanup is needed.
979 Wed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
981 * nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.
983 Move DB code into separate -ldb library.
984 * db/Makefile (extra-libs): New variable, list libdb.
985 (routines): Renamed to libdb-routines.
986 * shlib-versions: Add libdb=2.
988 * nss/network-lookup.c (DEFAULT_CONFIG): New macro.
989 * nss/host-lookup.c (DEFAULT_CONFIG): New macro.
991 * nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
992 of strncasecmp. Extend syntax to grok [!foo=bar].
994 * sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
996 * string/string.h: Declare __strncasecmp.
998 * nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
999 (service_alias): Variable removed.
1000 (nss_parse_service_list): New function, broken out of nss_getline.
1001 Remove alias conversion; we will just use symlinks.
1002 (__nss_database_lookup): Take new string arg DEFCONFIG.
1003 If no entry exists, make one with service list parsed from that.
1004 * nss/nsswitch.h: Update protocol for __nss_database_lookup.
1005 * nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
1006 (DB_LOOKUP_FCT): Pass it to _nss_database_lookup.
1008 * grp/initgroups.c: Rewritten using getgrent. Handle unlimited group
1011 * sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.
1013 Wed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
1015 * locale/programs/locale.c (long_options): Short form of
1016 --version option is `-V'.
1017 (main): Recognize `-V' as option, not `-v'.
1018 Call `usage' instead of printing error message for illegal
1020 (usage): Document `-V'.
1022 Tue Jun 25 17:22:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
1024 * sysdeps/mach/hurd/getcwd.c
1025 (_hurd_canonicalize_directory_name_internal): Initialize PARENT to
1026 THISDIR, and don't ever deallocate PARENT unless it's != THISDIR.
1028 Tue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1030 * inet/getrpcent.c: Fix macros.
1031 * inet/getrpcent_r.c: Fix macros.
1033 * elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.
1035 * elf/dl-load.c (_dl_map_object_from_fd): Initialize L.
1037 Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
1039 * catgets/gencat.c (write_out): Use %Zu to print variables of type
1041 * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
1042 cast it to (unsigned long) to make it work both on 32 and 64
1045 Sat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1047 * locale/Makefile (distribute): Add `programs/' prefix to all
1048 files in that directory.
1050 * Makerules (distinfo-vars): Assign subdir directly so that `ifdef
1053 * MakeTAGS (sources, headers): Make them simply expanded variables
1054 so that all-dist is expanded before it is changed.
1056 Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1058 * Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
1059 * Makefile (subdirs): Remove crypt.
1060 * crypt: Directory removed. It will be made an independent library
1063 * Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.
1065 * inet/getrpcent_r.c (DATABASE_NAME): New macro.
1067 * inet/getrpcbynumber.c (BUFLEN): New macro.
1069 * configure.in (--no-whole-archive check): Remove backslashes in cmd.
1071 * Makefile (headers): Add libc-lock.h.
1072 * sysdeps/stub/libc-lock.h: New file.
1074 * inet/getrpcbynumber.c: Remove _r typo.
1076 * elf/dl-load.c (_dl_map_object): Fix typo in last change.
1078 * nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
1081 * nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
1082 or doesn't mention DATABASE, use an internal default equivalent to
1083 "DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
1084 (nss_lookup_function): Call nss_new_service as needed.
1085 (nss_parse_file): Don't bother calling nss_new_service here.
1087 * grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
1088 * pwd/fgetpwent.c: Likewise.
1090 * malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
1091 * malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
1092 * malloc/malloc-size.c: New file.
1093 * malloc/malloc-walk.c: New file.
1095 * malloc/malloc-find.c (malloc_find_object_address): Return null if
1096 PTR is outside the heap.
1098 * elf/dl-load.c (_dl_map_object): If the requested name matches the
1099 soname of a loaded object, use that object.
1101 Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1103 * Makefile (subdirs): Add nss.
1105 * inet/Makefile (routines): Add getrpcent, getrpcbyname,
1106 getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
1107 * inet/getrpcbynumber_r.c: New file.
1108 * inet/getrpcbynumber.c: New file.
1109 * inet/getrpcbyname.c: New file.
1110 * inet/getrpcbyname_r.c: New file.
1111 * inet/getrpcent_r.c: New file.
1112 * inet/getrpcent.c: New file.
1113 * nss/rpc-lookup.c: New file.
1114 * nss/nss_files/files-rpc.c: New file.
1115 * nss/Makefile (routines): Add rpc-lookup.
1116 (libnss_files-routines): Add files-rpc.
1117 * sunrpc/Makefile (routines): Remove getrpcent.
1118 * sunrpc/getrpcent.c: File removed.
1120 * nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
1123 * Makeconfig (rpath-link): Add $(nssobjdir).
1124 (nssobjdir): New variable.
1126 * Makerules: Move shared library building before objects rules, so
1127 versions are known before extra-lib.mk gets included.
1128 * extra-lib.mk (lib-noranlib): Depend on the shared object too.
1130 * pwd/getpwuid.c: Rewritten using nss.
1131 * pwd/getpwnam.c: Likewise.
1132 * pwd/getpwent.c: Likewise.
1133 * grp/getgrnam.c: Likewise.
1134 * grp/getgrgid.c: Likewise.
1135 * grp/getgrent.c: Likewise.
1136 * pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
1137 * pwd/getpwent_r.c: New file.
1138 * pwd/getpwnam_r.c: New file.
1139 * pwd/getpwuid_r.c: New file.
1140 * grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
1141 * grp/getgrnam_r.c: New file.
1142 * grp/getgrgid_r.c: New file.
1143 * grp/getgrent_r.c: New file.
1144 * grp/Makefile (routines): Remove grpopen, grpread.
1145 * pwd/Makefile (routines): Remove pwdopen, pwdread.
1146 * grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
1148 * pwd/fgetpwent.c: Rewritten using files-parse.c.
1149 * grp/fgetgrent.c: Likewise.
1151 * nss/Makefile (routines): Add grp-lookup and pwd-lookup.
1152 * nss/pwd-lookup.c, nss/grp-lookup.c: New files.
1153 * nss/nss_files/files-grp.c: New file.
1154 * nss/nss_files/files-pwd.c: New file.
1156 * nss/Makefile (subdir-dirs): New variable; use it in vpath.
1158 * nss/nss_files/files-parse.c: New file.
1159 * nss/nss_files/files-XXX.c: New file.
1160 * nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
1161 nss/nss_files/files-service.c, nss/nss_files/files-network.c:
1162 Rewritten using them.
1164 * nss/Makefile (libnss_files-routines): Remove files-host.
1165 Add files-hosts, files-grp, files-pwd.
1167 * nss/nss_dns/dns-network.c: Don't include <pthread.h>.
1169 Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
1171 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1172 A .plt entry now loads the .rela.plt offset directly rather
1173 than making us calculate it.
1175 Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1177 * time/Makefile ($(installed-localtime-file) rule): Do
1178 $(make-target-directory) first.
1180 * resolv.h: Fix wrapper for resolv/resolv.h.
1182 * configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
1183 Compile dummy file and pass -nostdlib -nostartfiles so as not to
1184 require installed libraries.
1186 * shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
1189 Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
1191 * resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
1192 and mapv4v6hostent.h.
1193 (routines): Move res* and gethnamaddr into libresolv-routines.
1194 (libresolv-routines): New variable, put them there.
1195 (extra-libs): New variable, list libresolv.
1196 (CPPFLAGS): Add -D for get*by* to res_get*by*.
1198 * resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
1200 * inet/herrno.c: New file.
1202 * resolv/res_init.c: Remove res_hconf calls.
1204 * nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
1205 nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
1206 nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
1207 nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
1208 nss/service-lookup.c: New files. Implementation of name
1209 service switch, following the approach in Solaris.
1210 Interface specification and general structure inspired by Peter
1211 Eriksson <pen@lysator.liu.se>.
1212 * nss/nss_files/files-host.c, nss/nss_files/files-network.c,
1213 nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
1214 Implementation of libnss_files.so module for file based databases
1216 * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
1217 if libnss_dns.so module for DNS name lookup in NSS service.
1219 * inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
1220 inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
1221 Changed to serve as interface to NSS.
1222 * inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
1223 inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
1224 inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
1225 inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
1226 inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
1227 inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
1228 inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
1229 interfaces to NSS, including reentrant functions.
1231 * resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
1232 resolv/sethostent.c: Removed: Obsoleted by NSS.
1234 * resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
1235 gethnamaddr.c. These private functions are now used in more
1238 * resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
1240 Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1242 * rpm/Makefile ($(config)): Make sure the word list in the for
1243 loop is syntactically non-empty.
1245 Sat Jun 22 21:29:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1247 * Version 1.92 test release.
1249 Sat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
1251 * sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
1252 to klogctl to match prototype in sys/klog.h.
1254 * sysdeps/posix/libc_fatal.c: Add include of <string.h>.
1255 * sysdeps/unix/sysv/linux/gethostid.c: Ditto.
1257 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
1258 Remove. Code is now part of __getcwd again. The old function
1259 never really worked for anything but THISDIR==".".
1261 * sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
1262 only when building ELF version of library.
1264 * libio/libioP.h (_IO_vscanf): Add prototype.
1266 * posix/unistd.h (syscall): Change sysno arg and return value
1269 Sat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1271 * version.h (VERSION): Updated to 1.92.
1273 * misc/Makefile (headers): Add ar.h.
1274 * misc/ar.h: New file.
1276 * config.make.in (BUILD_CC): New variable.
1277 * configure.in: Check for BUILD_CC if $host != $build.
1279 * posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].
1281 * Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
1282 (stamp$o files): New targets, create them empty, no deps.
1284 * rpm/template (Source): New field.
1285 (%prep, %build, %install): New sections.
1286 (%files): Add %doc FAQ NEWS NOTES README.
1287 * rpm/rpmrc (builddir): Removed.
1289 Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1291 * elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
1292 guessing to not assume p_vaddr of first load cmd is zero.
1294 * sysdeps/sparc/elf/start.S: New file.
1295 * sysdeps/sparc/dl-machine.h: New file.
1297 * posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
1298 only for ?s, not for *s. Fix from Chet Ramey.
1300 Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
1301 * sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
1302 Use __{BEGIN,END}_DECLS.
1303 (_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
1304 * login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
1305 New macros, moved here from sysdeps/gnu/utmpbits.h.
1306 * sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
1307 * sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
1308 * login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
1309 Use sizeof instead of UT_*SIZE.
1310 * login/logwtmp.c: Likewise.
1312 * misc/tsearch.c (tdelete): Define as weak alias to __tdelete.
1314 * version.c (banner): Add trailing newline.
1316 * login/utmp.h: Declare login_tty.
1318 Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
1320 * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt):
1321 Changed to a 12-byte PLT entry to remove dependency on $gp.
1322 Take a new got_addr parameter.
1323 (elf_machine_rela): Pass the new parameter.
1324 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT.
1325 (RTLD_START): Do normal linkage with program entry.
1327 Thu Jun 20 12:18:21 1996 Miles Bader <miles@gnu.ai.mit.edu>
1329 * sysdeps/mach/hurd/brk.c (_hurd_brk): Initialize to 0.
1331 * hurd/getuids.c (getuids): New weak link to __getuids.
1333 Wed Jun 19 10:21:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
1335 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry,
1336 __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP
1338 Rename nested function lookup to lookup_op.
1339 (__file_name_lookup, __file_name_lookup_under):
1340 Pass 0 for lookup arg to __hurd_file_name_lookup.
1341 (__file_name_split): Likewise for __hurd_file_name_split.
1342 * hurd/path-lookup.c (hurd_file_name_path_lookup): Add LOOKUP argument.
1343 Rename nested function lookup to scan_lookup.
1344 (file_name_path_lookup): Pass 0 for lookup arg to
1345 hurd_file_name_path_lookup.
1346 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
1347 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry:
1348 __hurd_file_name_split, hurd_file_name_split, hurd_file_name_lookup):
1349 Add LOOKUP argument.
1350 * sysdeps/mach/hurd/access.c (__access): Pass 0 lookup arg to
1351 __hurd_file_name_lookup.
1353 Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1355 * Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
1356 up a huge list just to discard most of it.
1358 * configure.in (sysnames): Avoid fgrep by using the case shell
1361 * Makeconfig (config.status): Fix dependency on Implies files.
1363 Wed Jun 19 01:27:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1365 * math/Makefile (distribute): Add ieee-math.c.
1367 Wed Jun 19 03:24:58 1996 Ulrich Drepper <drepper@cygnus.com>
1369 * locale/codeset_name.c: New file. Provide function for information
1370 about currently used character set.
1371 * locale/Makefile (routines): Add codeset_name.
1372 * locale/langinfo.h (_NL_CTYPE_CODESET_NAME): Add new constant.
1373 * locale/localeinfo.h: Change magic number because of incompatible
1375 * locale/C-ctype.c: Add initializer for new field `codeset_name'.
1376 * locale/programs/ld-ctype.c: Implement handling of `codeset_name'.
1378 * locale/programs/locfile.c: Don't depend in pre-2.0 Linux specific
1379 name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'.
1381 * locale/setlocale.c (setlocale): Initialize local variables to
1384 Thu Jun 13 17:25:11 1996 David Mosberger-Tang <davidm@azstarnet.com>
1386 * sysdeps/generic/memcmp.c: Add prototype decls for internal fns.
1388 * locale/programs/locale.c: Include string.h.
1390 * sunrpc/xdr_stdio.c (xdrstdio_getlong), sunrpc/xdr_rec.c
1391 (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure
1392 appropriate sign-extension is performed on machines with
1395 * sunrpc/xdr.c (xdr_int, xdr_u_int): If sizeof(long)==8 and
1396 sizeof(int)<sizeof(long), we need to go through a temporary
1399 * locale/programs/ld-numeric.c: Include <alloca.h>
1401 * libio/stdio.h (__libc_fatal): Add prototype.
1403 * libio/cleanup.c: Use __P() to declare prototype when __STDC__ is
1406 * libio/iopopen.c (read_or_write, parent_end, child_end): Declare
1407 volatile to avoid "might get clobbered by longjmp" warning.
1409 * features.h (__KERNEL_STRICT_NAMES): Define __KERNEL_STRICT_NAMES
1410 unless _LOOSE_KERNEL_NAMES is in effect (which, with high
1411 probability is a sure loser).
1412 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Remove.
1414 * sysdeps/unix/bsd/osf/alpha/start.S (errno): Removed.
1415 * sysdeps/unix/sysv/linux/alpha/start.S: Ditto.
1417 * misc/paths.h (_PATH_MAN): Change from /usr/share/man to /usr/man
1418 to be Linux FSSTND compliant.
1420 Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
1422 * sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
1424 * sysdeps/unix/sysv/linux/alpha/sysdep.S,
1425 sysdeps/unix/sysv/linux/alpha/brk.S,
1426 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
1427 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
1428 sysdeps/unix/sysv/linux/alpha/llseek.S,
1429 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
1430 sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to
1431 __syscall_error to avoid intruding application name space.
1433 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Rename __NR_get?id
1434 to SYS_get?id so that syscall stubs in sysdeps/unix define
1435 these syscalls in terms of getxpid/getxuid/getxgid.
1437 * sysdeps/unix/_exit.S, sysdeps/unix/getegid.S,
1438 sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S,
1439 sysdeps/unix/execve.S, sysdeps/unix/fork.S,
1440 sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END.
1442 * sysdeps/unix/make-syscalls.sh, sysdeps/unix/sysdep.h
1443 (PSEUDO_END): Rename END() to PSEUDO_END().
1445 * sysdeps/unix/alpha/sysdep.h: Move error-handling code in PSEUDO
1446 to PSEUDO_END to improve branch-prediction. Include .frame
1447 directive to make syscalls debugabble.
1448 (PSEUDO_END): New macro.
1450 * sysdeps/unix/alpha/sysdep.h, sysdeps/alpha/bb_init_func.S,
1451 sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since
1452 latter is illegal under DEC Unix.
1454 * sysdeps/unix/alpha/sysdep.S: Renamed from
1455 sysdeps/unix/sysv/linux/alpha/sysdep.S. This file works for OSF/1
1457 * sysdeps/unix/bsd/osf/alpha/sysdep.S: Remove (note that the
1458 EWOULDBLOCK -> EAGAIN mapping was unnecessary since
1459 EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha).
1461 * sysdeps/alpha/divrem.h: Use retaddr instead of ra as the return
1462 address register in the .frame directive.
1464 * sysdeps/alpha/copysign.c: Remove.
1466 * sunrpc/rpc/types.h: Include <sys/param.h> and <netinet/in.h> to
1467 avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN.
1469 * errno.h: Move __END_DECLS to correct place to make file
1470 compilable under c++.
1472 * dirent/dirent.h: Document _DIRENT_HAVE_D_OFF macro. Define
1473 d_ino only if <direntry.h> hasn't defined d_fileno.
1475 * configure.in (HAVE_ASM_WEAKEXT_DIRECTIVE): Reverse order of
1476 arguments to weakext to make .weakext detection work on ECOFF systems.
1478 * FAQ: Add Linux/Alpha to list of supported platforms. Mention
1479 that _validuser() has been replaced by __ivaliduser().
1481 Thu Jun 6 21:39:38 1996 David Mosberger-Tang <davidm@azstarnet.com>
1483 * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Declare cmd
1484 as unsigned long, not as int (to avoid incorrect int->long
1487 Tue Jun 18 17:56:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1489 * Version 1.91 test release.
1491 * Makerules ($(common-objpfx)distinfo-$(subdir)): Change target from
1493 (distinfo): Make phony target depending on that.
1494 (TAGS, po/%.pot, dist): Change deps.
1495 (common-clean): Remove that file.
1496 * rpm/Makefile (distinfo): Change names.
1498 * rpm/Makefile (clean): New target.
1500 * stdlib/test-canon.c: New test program contributed by David Mosberger.
1501 * stdlib/Makefile (tests): Add test-canon.
1502 * stdlib/canonicalize.c: Rewritten by David Mosberger.
1504 Mon Jun 17 17:53:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1506 * mach/Machrules (%_server.c %_server.h rule): Remove gratuitous
1507 mention of $< in mig cmd. Thanks to Shantanu Goel.
1509 * sysdeps/mach/hurd/brk.c (___brk_addr): Define as weak alias for
1512 * libio/stdio.h [__USE_SVID]: Declare tempnam.
1514 Fri Jun 14 19:28:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1516 * sysdeps/unix/sysv/linux/syscalls.list: Add swapon with two
1519 Wed Jun 12 20:40:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1521 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix access to
1524 Sun Jun 16 03:22:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1526 * sysdeps/stub/elfclass.h: New file.
1528 * Make-dist (subdir): Make empty value really empty.
1530 * version.h (VERSION): Update to 1.91.
1532 * hurd/hurdinit.c (map0): Remove [!PIC] conditional.
1534 * shlib-versions (*-*-*): Add libutil=1.
1536 * rpm/Makefile (install-lib): Add libc.a et al.
1537 (install-others): Only add libc.so if $(build-shared) is yes.
1539 * math/Makefile (install-lib): New variable, list libieee.a.
1540 (non-lib.a): Likewise.
1541 (extra-objs): Likewise, and ieee-math.o.
1542 ($(objpfx)libieee.a): New target, link to ieee-math.o.
1543 * math/ieee-math.c: New file.
1544 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]: Remove setfpucw
1545 and libieee.a stuff.
1546 * sysdeps/unix/sysv/linux/ieee-fpucw.c: File removed.
1547 * sysdeps/unix/sysv/linux/i386/ieee_fpu.c: File removed.
1549 * sysdeps/unix/sysv/Makefile (sysdep_headers): Make append of termio.h
1550 and rule for it conditional on termio.h not already being in
1553 * rpm/Makefile (install-others) [libc.so-version]: Get libc.so from
1554 $(libdir), only the versioned named from $(slibdir).
1555 (instfiles): New variable.
1556 (glibc-$(version).$(config).rpm): New target. Run rpm -bb.
1557 * rpm/rpmrc: New file. A third of the options controlling rpm can
1558 only be given here (another third is on the command line, and a third
1559 cannot be specified in any way shape or form).
1561 Sun Jun 16 02:44:22 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1563 * rpm/template: New file.
1564 * rpm/Makefile: New file.
1566 * Makeconfig (sysdep-configures): Remove empty variable.
1568 * Makerules (distinfo-vars): Write defns for $(install-lib.so) and
1571 * manual/Makefile (subdir_%): Add new rule with no deps, secondary to
1572 to rule w/dep on %, with no-op commands.
1574 * Makerules (subdir_distinfo): New phony target; depend on distinfo.
1575 * Makefile (rpm/%): New rule.
1576 (+subdir_targets): Add subdir_distinfo.
1578 Sun Jun 16 00:40:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add
1583 * time/Makefile ($(installed-localtime-file)): If target exists, do
1584 nothing but print a message; if not, make it an absolute symlink.
1586 * time/tzset.c (__tzset): After stripping leading :, call
1587 __tzfile_read on TZ even if it's empty or null.
1588 * time/tzfile.c (__tzfile_read): Use "Universal" if passed "".
1590 Sat Jun 15 18:13:43 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1592 * hurd/Makefile (routines): Add get-host, set-host.
1593 (distribute): Add hurdhost.h.
1594 * hurd/hurdhost.h: New file.
1595 * sysdeps/mach/hurd/gethostname.c: Use _hurd_get_host_config.
1596 * sysdeps/mach/hurd/gethostid.c: Likewise.
1597 * sysdeps/mach/hurd/sethostname.c: Use _hurd_set_host_config.
1598 * sysdeps/mach/hurd/sethostid.c: Likewise.
1599 * hurd/get-host.c: New file.
1600 * hurd/set-host.c: New file.
1602 * math/Makefile (headers): Add fpu_control.h.
1603 (aux): New variable, list fpu_control and setfpucw.
1604 * sysdeps/generic/fpu_control.c: New file.
1605 * sysdeps/stub/fpu_control.h: New file.
1606 * sysdeps/unix/sysv/linux/m68k/fpu_control.h: Moved to ...
1607 * sysdeps/m68k/fpu_control.h: here.
1608 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Moved to ...
1609 * sysdeps/i386/fpu_control.h: here.
1610 * sysdeps/unix/sysv/linux/alpha/fpu_control.h: Moved to ...
1611 * sysdeps/alpha/fpu/fpu_control.h: here. Fixed copyright.
1612 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
1613 setfpucw, fpu_control.
1614 * sysdeps/unix/sysv/linux/alpha/fpu_control.c: File removed.
1615 * sysdeps/unix/sysv/linux/setfpucw.c: Moved to ...
1616 * sysdeps/generic/setfpucw.c: here.
1617 (__fpu_control): Variable removed.
1618 (__setfpucw): Use SET even if zero.
1620 * elf/dl-deps.c (_dl_map_object_deps): Set MAP's mark bit before loop.
1621 Set mark bits of deps as opened, instead of as scanned.
1623 * elf/rtld.c (dl_main): Remove _dl_rtld_map from chain unconditionally.
1624 Then if it has a nonzero l_opencount, add it back in search order.
1626 * elf/dl-load.c (_dl_map_object): Don't use _dl_loaded's DT_RPATH if
1629 * sysdeps/unix/sysv/linux/Dist: Add sys/klog.h.
1631 * elf/dl-open.c (_dl_open): Remove PARENT argument, pass null.
1632 * elf/link.h: Update prototype.
1633 * elf/dl-load.c (_dl_map_object): If dependents' DT_RPATHs don't find
1634 NAME, try the DT_RPATH of the executable itself if dynamic.
1635 * elf/dlopen.c (dlopen): Don't pass first arg to _dl_open.
1637 * elf/dl-load.c (_dl_map_object): Exit DT_RPATH checking loop when an
1640 * Makerules (build-shlib): Give -L opts for each elt of $(rpath-link).
1642 * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): Variable removed.
1643 (rpath-link): Append to this instead.
1645 Fri Jun 14 01:51:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1647 * version.c (banner): New static const variable, complete version
1649 (__libc_print_version): Use it, and use __write instead of printf.
1651 * configure.in (sysnames): Don't cache the value, because it
1652 depends only on libc sources. Merge uniquifying third pass into
1653 Implies/parent expansion second pass. Report each unique name as
1654 it is added in partial report string, terminated when finished.
1656 * Makeconfig (sysdep_dir): Move defn before config.status rule that
1658 (sysdep-configures): Variable removed.
1659 (config.status): Use its contents directly, tighten up a bit, and
1660 include Implies files.
1662 * elf/dl-open.c (_dl_open) [PIC]: Set PARENT to _dl_loaded if null.
1664 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Make a symlink.
1666 Thu Jun 13 14:29:56 1996 Miles Bader <miles@gnu.ai.mit.edu>
1668 * hurd/hurdsig.c (_hurd_internal_post_signal): Rename `deliver:'
1669 label to `deliver_pending:' to match goto.
1671 Thu Jun 13 00:02:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1673 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill):
1676 * elf/rtld.c (dl_main): Close _dl_zerofd after mapping deps.
1678 * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Define mcount as
1679 weak alias for _mcount.
1680 * sysdeps/alpha/_mcount.S (mcount): Define as weak alias.
1682 * elf/dl-lookup.c (_dl_lookup_symbol): If no value and *REF is
1683 null, consider it a strong reference and give the error.
1685 Wed Jun 12 15:52:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1687 * elf/dl-open.c (_dl_open): Correctly terminate relocating loop
1688 after relocating NEW when it's the only new object.
1690 * elf/dl-init.c (_dl_init_next): When out of initializers, set
1691 _r_debug.r_state to RT_CONSISTENT and call _dl_debug_state just
1694 * elf/rtld.c (dl_main): Move _dl_debug_initialize call after
1695 relocation. Call it unconditionally and only fill in DT_DEBUG
1696 if it's present. Then call _dl_debug_state with r_state RT_ADD
1697 before running initializers.
1699 * elf/dl-open.c (_dl_open): Call _dl_debug_initialize and then call
1700 _dl_debug_state with r_state RT_ADD before running initializers
1701 * elf/dl-close.c (_dl_close): Call _dl_debug_state with r_state
1702 RT_DELETE before running finalizers and with RT_CONSISTENT just
1705 * elf/Makefile (dl-routines): Add dl-debug.
1706 * elf/dl-debug.c: New file.
1707 * elf/rtld.c (_dl_r_debug): Rename to _r_debug and move to dl-debug.c.
1708 (_dl_r_debug_state): Rename to _dl_debug_state and likewise move.
1709 (dl_main): Use _dl_debug_initialize.
1710 * elf/link.h: Fix name to _dl_debug_state in decl.
1711 (_dl_debug_initialize): Declare new function from dl-debug.c.
1712 (_r_debug): Declare it.
1714 * Makerules (distinfo-vars): Add install-{lib,data,bin,sbin,others}.
1715 In distinfo set $(subdir)-VAR and then set VAR to $($(subdir)-VAR).
1717 * Makeconfig (rpath-link): New variable; add $(elfobjdir).
1718 (default-rpath): Use it.
1719 (built-program-cmd): Use it in LD_LIBRARY_PATH.
1721 * Makeconfig (sysdep-configures): Prepend $(sysdep_dir) to names tried.
1723 * sysdeps/unix/Dist: Add make-syscalls.sh.
1725 * misc/Makefile (headers): Add sys/swap.h.
1726 * posix/unistd.h: Remove decls for swapon, swapoff.
1727 * sysdeps/generic/sys/swap.h: New file.
1728 * sysdeps/unix/sysv/linux/sys/swap.h: New file.
1730 * sysdeps/unix/sysv/linux/gnu/types.h: Remove temporary hack #define
1731 of __kernel_fsid_t. It is correctly defines in <linux/types.h> now.
1733 Tue Jun 11 23:23:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1735 * Makerules (LDFLAGS-c.so): Use __libc_main instead of
1736 __libc_print_version as entry point for shared object.
1737 * version.c [HAVE_ELF] (__libc_main): New function.
1739 * elf/dl-load.c (_dl_map_object_from_fd): Relocate l_entry with the
1742 Tue Jun 11 19:13:04 1996 Richard Henderson <rth@tamu.edu>
1744 * sysdeps/alpha/dl-machine.h: New file.
1746 * elf/dl-close.c: Include <string.h> for memcpy.
1747 * elf/dl-lookup.c: Same.
1749 * elf/elf.h: Add Elfxx_Symndx for symbol indices.
1750 * elf/dl-lookup.c (_dl_lookup_symbol): Use it.
1751 (_dl_setup_hash): Use it.
1752 * elf/link.h (struct link_map): Use it.
1754 * elf/rtld.c (_dl_start): Don't rely on pointer-to-first-arg hack
1755 for getting the argc/argv/envp block. Instead, make it the argument.
1756 sysdeps/i386/dl-machine.h (RTLD_START): Do that.
1757 sysdeps/m68k/dl-machine.h (RTLD_START): Same.
1759 * shlib-versions: Add version numbers for alpha-linux. To avoid
1760 user confusion, make them the same as i386-linux.
1762 * sysdeps/alpha/Makefile [subdir elf]: Add -mno-fp-regs to
1763 sysdep-CFLAGS so that _dl_runtime_resolve doesn't have to save them.
1764 Add -mbuild-constants to CFLAGS-rtld.c to that we can bootstrap
1765 without using literal data.
1767 * sysdeps/generic/dl-sysdep.c: Include <string.h> for memcpy.
1768 Finish Elf32 -> ElfW migration.
1770 Tue Jun 11 15:09:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1772 * Makerules (elfobjdir): Use $(objdir) if set, even in elf subdir.
1774 * elf/Makefile (routines): Remove init-first.
1775 * csu/Makefile (routines): New variable; put it here instead.
1777 * config.make.in (CFLAGS): New variable.
1779 * io/sys/stat.h (S_ISLNK, S_ISSOCK): Make conditional on __USE_BSD,
1781 * string/string.h (strncasecmp): Likewise.
1783 * elf/Makefile (lib-noranlib): Move rule adding deps for ld.so et al
1784 to after `include ../Rules', so $(rtld-installed-name) is defined.
1786 * string/basename.c (basename): Cast FILENAME to char * for return.
1788 * Makerules ($(libdir)/libc.so): Put $(rtld-installed) name between
1789 libc.so and libc.a in the deps.
1791 * elf/Makefile ($(objpfx)$(rtld-installed-name)): New target to make
1792 link to ld.so if that is not the installed name.
1793 (lib-noranlib): Depend on the installed name in the build directory
1794 instead of on ld.so.
1796 * Makeconfig (link-libc): Include $(elfobjdir)/$(rtld-installed-name)
1797 between libc.so and libc.a, because with libc.so's DT_NEEDED for ld.so
1798 ld searches libc.a before ld.so (is that an ld bug?).
1799 Add $(elfobjdir) to -rpath-link.
1801 * Makerules (elfobjdir): Define as . when $(subdir) is elf.
1803 * sysdeps/i386/dl-machine.h (elf_machine_rel): In R_386_32 case when
1804 relocating _dl_rtld_map, subtract SYM's value from final reloc value,
1805 but don't change *RELOC_ADDR before calling *RESOLVE, because it might
1806 call the function we are relocating!
1808 * string/basename.c: New file.
1809 * string/Makefile (routines): Add basename.
1811 Mon Jun 10 06:14:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1813 * Makerules ($(common-objpfx)libc.so): Depend on $(elfobjdir)/ld.so.
1815 * elf/dl-close.c: New file.
1816 * elf/link.h: Declare _dl_close.
1817 * elf/Makefile (routines): Add dl-close.
1818 * elf/dlclose.c (dlclose): Use _dl_close.
1820 * elf/Makefile ($(objpfx)librtld.so): Remove libelf from deps.
1822 * elf/dl-runtime.c (_dl_global_scope): New variable.
1823 (_dl_object_relocation_scope): New function.
1825 * elf/rtld.c (dl_main): Use it.
1826 * elf/dl-open.c (_dl_open): Use it. If (MODE & RTLD_GLOBAL), set the
1827 l_global bit and append the new map to _dl_global_scope.
1828 * elf/link.h: Declare _dl_global_scope, _dl_global_scope_alloc,
1829 and _dl_object_relocation_scope.
1831 * elf/link.h (struct link_map): Add l_loader member.
1832 Remove _dl_map_object_from_fd decl.
1833 * elf/dl-load.c (_dl_map_object): Pass LOADER to ...
1834 (_dl_map_object_from_fd): Take new arg LOADER and set l_loader member.
1835 (_dl_map_object): Try DT_RPATH from all loaders up the chain.
1837 * elf/dl-object.c (_dl_loaded): Variable removed.
1838 (_dl_default_scope): New variable replaces it.
1839 * elf/link.h (_dl_loaded): Remove variable decl; instead define as
1840 macro for _dl_default_scope[2].
1841 (_dl_default_scope): Declare it.
1842 * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_default_scope[2]
1843 instead of _dl_loaded.
1844 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1845 * elf/rtld.c (dl_main): Use _dl_default_scope for symbol lookups.
1847 * elf/dl-reloc.c (_dl_relocate_object): Remove check for _dl_rtld_map.
1848 * elf/rtld.c (dl_main): Pass 0 for LAZY flag when re-relocating self.
1850 * elf/link.h (struct link_map.l_type): Remove lt_interpreter.
1851 (struct link_map): Add new flag member l_global.
1853 * elf/dl-reloc.c (_dl_relocate_object): Check for _dl_rtld_map
1854 directly instead of looking for lt_interpreter.
1855 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1856 * elf/rtld.c (_dl_start): Don't bother setting BOOTSTRAP_MAP.l_type.
1857 (dl_main): Set _dl_rtld_map.l_type to lt_library.
1859 * elf/dl-deps.c (_dl_map_object_deps): Propagate MAP->l_type to
1860 dependencies loaded, downgrading lt_executable -> lt_library.
1862 * elf/dl-load.c (_dl_map_object_from_fd): Take new arg TYPE and set
1863 l_type from that, translating lt_library->lt_executable based on the
1865 (_dl_map_object): Likewise.
1866 * elf/link.h: Update prototypes.
1867 * elf/dl-open.c: Pass type lt_loaded.
1868 * elf/rtld.c: Pass type lt_library.
1870 * elf/dl-load.c (_dl_map_object_from_fd): Handle null return from
1872 (_dl_map_object_from_fd: lose): Unchain and free L if it's not null.
1873 Free REALNAME, and just use NAME in error message.
1874 * elf/dl-object.c (_dl_new_object): If malloc fails, return null
1875 instead of calling _dl_signal_error.
1877 * elf/dl-load.c (_dl_map_object_from_fd): Close FD before signalling
1878 error for _dl_zerofd setup failure.
1880 * elf/dl-object.c (_dl_startup_loaded): Variable removed.
1881 * elf/link.h: Remove its decl.
1883 * elf/dl-reloc.c (_dl_relocate_object): Take new SCOPE arg and pass it
1884 through to _dl_lookup_symbol.
1885 * elf/link.h (_dl_relocate_object): Update comment and prototype.
1886 * elf/rtld.c (dl_main): Pass scope vector to _dl_relocate_object.
1888 * elf/dl-lookup.c (_dl_lookup_symbol): Arg SYMBOL_SCOPE is now a
1889 null-terminated vector of pointers, no longer a vector of exactly two.
1890 * elf/link.h (_dl_lookup_symbol): Update comment and prototype.
1892 * elf/dl-runtime.c (fixup): Set up scope for symbol lookup properly as
1893 done in _dl_relocate_object.
1895 * elf/dlopen.c: Pass "" to _dl_open when FILE is null.
1897 * elf/link.h: Include elfclass.h to define __ELF_NATIVE_CLASS.
1898 (ElfW, ELFW): Use it.
1899 * elf/Makefile (headers): Add elfclass.h.
1900 * sysdeps/wordsize-32/elfclass.h: New file.
1901 * sysdeps/wordsize-64/elfclass.h: New file.
1902 * sysdeps/alpha/Implies: Add wordsize-64.
1903 * sysdeps/i386/Implies: Add wordsize-32.
1904 * sysdeps/m68k/Implies: Add wordsize-32.
1905 * sysdeps/mips/Implies: Add wordsize-32.
1906 * sysdeps/sparc/Implies: Add wordsize-32.
1908 * sysdeps/mach/hurd/dl-sysdep.c (__open): Define this instead of open.
1909 (__close, __mmap): Likewise define with __ names now.
1911 Mon Jun 10 05:13:18 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1913 * elf/dl-support.c: New file.
1914 * elf/Makefile (CFLAGS-dl-support.c): New variable.
1915 (routines, elide-routines.so): Add dl-support.
1917 * elf/dl-minimal.c (_dl_pagesize): Remove common defn.
1918 * elf/dl-load.c (_dl_pagesize): Define it here.
1919 (_dl_map_object_from_fd): Initialize it if zero.
1920 * elf/link.h (_dl_pagesize): Remove const.
1922 Sun Jun 9 04:04:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
1924 * elf/Makefile (routines): Add dl-symbol.
1925 * elf/dl-lookup.c (_dl_symbol_value): Moved to ...
1926 * elf/dl-symbol.c: New file.
1928 * elf/elf.h (Elf32_Xword, Elf32_Sxword): New types.
1929 (Elf32_Section, Elf64_Section): New types, 16 bits.
1930 (Elf32_Sym, Elf64_Sym): Use it.
1932 * elf/dl-deps.c (_dl_open): Moved to ...
1933 * elf/dl-open.c: New file.
1934 * Makefile (routines): Add dl-open.
1936 * elf/Makefile (dl-routines): New variable.
1937 (routines): Add $(dl-routines).
1938 (elide-routines.so): New variable, set to $(dl-routines).
1939 (libdl-inhibit-o): Variable removed; build all flavors of -ldl.
1940 (rtld-routines): All but rtld, dl-sysdep, and dl-minimal moved to
1943 * elf/dl-lookup.c (_dl_lookup_symbol): Remove magic symbol grokage.
1945 * elf/dladdr.c: Use ELFW(ST_BIND) in place of ELF32_ST_BIND.
1947 * elf/dl-load.c (open_path): Use __ names for open and close. Avoid
1949 (_dl_map_object): Likewise.
1950 (_dl_map_object_from_fd): Use __ names for mmap, munmap, and mprotect.
1951 * elf/dl-minimal.c (malloc): Likewise.
1952 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1954 * elf/dl-minimal.c (_dl_pagesize): New variable.
1955 (malloc): Use that instead of a static variable.
1956 * elf/dl-reloc.c (_dl_relocate_object): Use _dl_pagesize instead of
1957 calling getpagesize.
1958 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1959 * elf/link.h: Declare _dl_pagesize.
1961 * elf/rtld.c (dl_r_debug): Renamed to _dl_r_debug.
1963 * elf/link.h (struct link_map): Use Half for l_phnum instead of Word.
1964 * elf/rtld.c (dl_main): Use Half for phdr count arg.
1965 (_dl_sysdep_start): Update prototype of DL_MAIN function ptr arg.
1967 * elf/dl-load.c (_dl_map_object_from_fd): Use explicit Elf32_Word to
1968 extract 4-byte magic number, not ElfW(Word). Match EI_CLASS against
1969 native wordsize, either 32 or 64.
1971 * elf/elf.h (Elf64_Byte, Elf64_Section): Typedefs removed. In C a
1972 char is always a byte, no need for a typedef. Section indices are
1973 16-bit quantities in elf64, which already have a typedef Elf64_Half.
1975 Remove partial -lelf implementation. There is now a
1976 separately-distributed `libelf' package that implements it.
1977 * elf/dl-lookup.c: Don't #include <libelf.h> any more.
1978 (_dl_elf_hash): New function, moved from
1980 (_dl_lookup_symbol): Use it instead of elf_hash.
1981 * elf/libelf.h: File removed.
1982 * elf/elf_hash.c: File removed.
1983 * elf/Makefile (headers): Remove libelf.h.
1984 (extra-libs): Remove libelf.
1985 (libelf-routines): Variable removed.
1987 * elf/Makefile (libdl.so): Remove commands from this target. The
1988 implicit rule commands are correct, this explicit rule just serves to
1989 add some dependencies.
1991 * elf/dl-lookup.c (_dl_lookup_symbol): Use ELFW(ST_TYPE) in place of
1992 ELF32_ST_TYPE. Likewise ST_BIND.
1993 * elf/do-rel.h (elf_dynamic_do_rel): Likewise R_SYM.
1995 * elf/link.h (ElfW): New macro for wordsize-independent ElfXX_* type
1997 (ELFW): New macro, likewise for ELFXX_* macro naming.
1998 (_ElfW, _ElfW_1): New macros, subroutines of ElfW and ELF.
2000 Sat Jun 8 20:52:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2002 * elf/link.h, elf/do-rel.h, elf/dynamic-link.h, elf/dl-deps.c,
2003 elf/dl-init.c, elf/dl-load.c, elf/dl-lookup.c, elf/dl-reloc.c,
2004 elf/dl-runtime.c, elf/dladdr.c, elf/dlclose.c, elf/dlsym.c,
2005 elf/linux-compat.c, elf/rtld.c: Change all uses of `Elf32_XXX' to
2006 `ElfW(XXX)' for wordsize-independence.
2008 Sat Jun 8 20:50:42 1996 Richard Henderson <rth@tamu.edu>
2010 * elf/elf.h: Move Elf64_* types in parity with Elf32 counterparts.
2011 (Elf64_auxv_t): New type.
2012 (EM_ALPHA, R_ALPHA_*): New macros for elf64-alpha format.
2014 Mon Jun 10 02:22:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2016 * sysdeps/unix/sysv/linux/configure.in: New file, start with configure.
2017 Add check for installed <linux/version.h> being v2.0 or later.
2019 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): Call __open
2021 (_dl_sysdep_fatal): Call __write instead of write.
2022 (_dl_sysdep_message): Likewise.
2024 Sun Jun 9 20:40:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2026 * sysdeps/m68k/fpu/e_acosl.c: New file.
2028 Sun Jun 9 01:11:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2030 * Makerules (o-objects): New variable. Use it in place of
2031 $(objects:.o=$o); it filters out $(elide-routines$o).
2032 Use o-iterator for ar and ranlib rules so they use the per-type object
2035 * elf/dl-load.c (_dl_map_object_from_fd): Close FD before return.
2037 * sysdeps/mach/mprotect.c: Define with __ name and weak alias.
2038 * sysdeps/stub/mprotect.c: Likewise.
2039 * sysdeps/unix/mman/syscalls.list (mprotect): Likewise.
2040 * sysdeps/generic/sys/mman.h: Declare __mprotect.
2041 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
2042 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
2043 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
2044 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
2045 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
2047 * Make-dist ($(tardir).tar): Use sed to check for file names longer
2048 than 14 chars, instead of doschk which checks for other things we
2051 * Version 1.90 test release.
2053 * Makerules (make-target-directory): Use ./mkinstalldirs so we do not
2054 assume . is in PATH.
2056 Sat Jun 8 22:05:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2058 * math/Makefile (distribute): Comment out addition of
2059 $(long-m-routines) sources until they are all written.
2061 * math/Makefile (distribute): Append long double source names to this
2062 instead of using elided-routines.
2064 Sat Jun 8 15:15:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2066 * mach/mach_shortcuts.c: Obsolete file removed.
2067 * mach/mach_syscalls.h: Likewise.
2069 * hurd/Makefile (distribute): Consolidate defns into one.
2071 * time/Makefile (tzfiles): Add solar87 solar88 solar89.
2073 Fri Jun 7 16:48:13 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2075 * sysdeps/unix/sysv/linux/i386/Dist: New file, list sys/perm.h and
2078 Removed old math code no longer used since the fdlibm integration.
2079 * sysdeps/stub/acos.c: File removed.
2080 * sysdeps/stub/asin.c: File removed.
2081 * sysdeps/stub/atan2.c: File removed.
2082 * sysdeps/stub/cosh.c: File removed.
2083 * sysdeps/stub/exp.c: File removed.
2084 * sysdeps/stub/fmod.c: File removed.
2085 * sysdeps/stub/frexp.c: File removed.
2086 * sysdeps/stub/log.c: File removed.
2087 * sysdeps/stub/log10.c: File removed.
2088 * sysdeps/stub/sinh.c: File removed.
2089 * sysdeps/stub/tan.c: File removed.
2090 * sysdeps/stub/tanh.c: File removed.
2091 * sysdeps/generic/acos.c: File removed.
2092 * sysdeps/generic/acosh.c: File removed.
2093 * sysdeps/generic/asin.c: File removed.
2094 * sysdeps/generic/asinh.c: File removed.
2095 * sysdeps/generic/atan.c: File removed.
2096 * sysdeps/generic/atan2.c: File removed.
2097 * sysdeps/generic/atanh.c: File removed.
2098 * sysdeps/generic/cabs.c: File removed.
2099 * sysdeps/generic/ceil.c: File removed.
2100 * sysdeps/generic/copysign.c: File removed.
2101 * sysdeps/generic/cosh.c: File removed.
2102 * sysdeps/generic/exp.c: File removed.
2103 * sysdeps/generic/expm1.c: File removed.
2104 * sysdeps/generic/fabs.c: File removed.
2105 * sysdeps/generic/floor.c: File removed.
2106 * sysdeps/generic/fmod.c: File removed.
2107 * sysdeps/generic/frexp.c: File removed.
2108 * sysdeps/generic/hypot.c: File removed.
2109 * sysdeps/generic/infnan.c: File removed.
2110 * sysdeps/generic/isnan.c: File removed.
2111 * sysdeps/generic/ldexp.c: File removed.
2112 * sysdeps/generic/log.c: File removed.
2113 * sysdeps/generic/log10.c: File removed.
2114 * sysdeps/generic/log1p.c: File removed.
2115 * sysdeps/generic/modf.c: File removed.
2116 * sysdeps/generic/pow.c: File removed.
2117 * sysdeps/generic/rint.c: File removed.
2118 * sysdeps/generic/sinh.c: File removed.
2119 * sysdeps/generic/tan.c: File removed.
2120 * sysdeps/generic/tanh.c: File removed.
2121 * sysdeps/ieee754/cabs.c: File removed.
2122 * sysdeps/ieee754/copysign.c: File removed.
2123 * sysdeps/ieee754/frexp.c: File removed.
2124 * sysdeps/ieee754/hypot.c: File removed.
2125 * sysdeps/ieee754/infnan.c: File removed.
2126 * sysdeps/ieee754/ldexp.c: File removed.
2127 * sysdeps/ieee754/log10.c: File removed.
2129 * posix/Makefile (headers): Add schedbits.h.
2131 * math/Makefile (elided-routines): Add long double routines.
2133 Fri Jun 7 11:02:22 1996 Miles Bader <miles@gnu.ai.mit.edu>
2135 * sysdeps/mach/hurd/getpriority.c (getpriority): Use new interface
2136 to __proc_getprocinfo.
2138 * login/login.c (tty_name): New function.
2140 (PATH_MAX): MACRO removed.
2141 <stdlib.h>: New include.
2143 Fri Jun 7 09:11:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2145 * sysdeps/unix/sysv/linux/Dist: Add sys/sysinfo.h, sys/mount.h,
2146 sys/kdaemon.h, sys/io.h, sys/mount.h, sysctl.c.
2148 * gmon/Makefile (distribute): Add profil-counter.h.
2150 * sysdeps/unix/sysv/linux/alpha/Dist: New file.
2152 * sysdeps/unix/Dist: Add s-proto.S.
2154 * sysdeps/unix/common/mk-local_lim.c: Obsolete file removed.
2156 * Make-dist (+sysdep-tsrcs): Get all syscalls.list files too.
2158 * csu/Makefile (distribute): Add start.c.
2160 * elf/Makefile (distribute): Add dl-machine.h.
2162 * sysdeps/alpha/Dist: Add _mcount.S.
2164 * sysdeps/alpha/Makefile (sysdep_routines): Append instead of
2165 resetting; don't add bb_init_func.
2167 * string/Makefile (routines): Add strerror_r.
2168 * string/string.h (strerror_r): Use int for BUFLEN arg.
2170 * Makefile (distribute): Add shlib-versions.
2172 * po/Makefile (distribute): Add SYS_libc.pot.
2174 * misc/Makefile (routines): Add lsearch.
2176 * manual/lang.texi (Consistency Checking): Merge in assert_perror defn
2177 and other changes inadvertently made to the obsolete assert.texi.
2178 * manual/assert.texi: File removed.
2180 * mach/mach_syscalls.c: Obsolete file removed.
2181 * mach/mach_syscalls.h: Likewise.
2182 * mach/mach_traps.S: Likewise.
2183 * mach/msg_destroy.c: Likewise.
2184 * mach/vm_page_size.c: Likewise.
2186 * locale/Makefile (distribute): Add weight.h, charset.h.
2188 * Makefile (distribute): Add version.h.
2190 * hurd/Makefile (headers): Add hurd/ioctl.h.
2191 (distribute): Add intr-rpc.d, intr-rpc.h, faultexc.defs.
2193 * csu/Makefile (distribute): Add gmon-start.c.
2195 * Makefile (distribute): Add config.h.in.
2197 Wed Jun 5 22:06:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2199 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix type of reloc
2201 [case R_68K_32]: Check for resolve being null.
2202 (RTLD_START): Add missing label.
2204 Fri Jun 7 1996 05:29:32 Ulrich Drepper <drepper@cygnus.com>
2206 * misc/lsearch.c: New file. Implementation of lfind and
2209 * misc/search.h: Add prototype for functions from tsearch
2210 family with __ prefix.
2211 Correct prototype for lsearch: BASE parameter must not be
2214 * misc/tsearch.c: prepend all global function names with __
2215 and make normal names weak aliases.
2217 Fri Jun 7 00:15:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2219 * Make-dist (sysdep_dirs): Skip CVS dirs.
2221 Thu Jun 6 16:12:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2223 * malloc/Makefile (distribute): Change malloc/gmalloc-head.c to
2225 (malloc/gmalloc.c): Depend on malloc/gmalloc-head.c.
2226 (malloc/Makefile): Do $(make-target-directory) first.
2227 * malloc/gmalloc-head.c: New file.
2229 * po/Makefile (linguas.mo): Don't commit .mo files to cvs.
2231 * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO==0 pending
2232 check, deliver a pending blocked signal if its action might be to
2234 * sysdeps/mach/hurd/sigaction.c: If new action is SIG_IGN or SIG_DFL
2235 and SIG is pending, wake up signal thread to check us.
2237 * hurd/hurdsig.c (_hurd_internal_post_signal): Don't mark a signal
2238 pending while blocked or stopped when the action is to ignore it.
2240 Thu Jun 6 12:56:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2242 * hurd/hurdsig.c (_hurd_internal_post_signal: resume): Only set
2243 SS_SUSPENDED when the thread is really suspended.
2245 * elf/rtld.c (dl_main): Don't dereference _dl_rtld_map.l_next if null.
2247 * Makerules (headers): Move append of $(sysdep_headers) after include
2248 of sysdep makefiles.
2250 * sysdeps/mach/hurd/errlist.c: File removed.
2252 Thu Jun 6 07:32:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
2254 * resolv/gethnamaddr.c (struct hstorage): Make NAME field a pointer.
2255 (_gethtbyname2): Remove ALIAS variable.
2256 Initialize NAME field of SELF and TARGET to 0.
2257 Add SELF_NAME_SIZE static variable.
2258 Add loop to call gethostname until the space we allocated is enough.
2259 Use malloced strings instead of fixed size buffers.
2260 <stdlib.h>, <unistd.h>: New includes.
2261 * sysdeps/generic/sys/socket.h (PF_INET6, AF_INET6): New macros.
2263 * sysdeps/mach/hurd/errlist.c (_sys_errlist): Add EILSEQ.
2264 (_sys_nerr): Initialize to 107.
2265 Update _HURD_ERRNOS consistency check.
2267 * stdlib/canonicalize.c (canonicalize): Use pathconf for PATH_MAX,
2270 * login/login.c [!PATH_MAX] (PATH_MAX): Define to be 1024 if not
2273 * sysdeps/mach/hurd/setitimer.c (timer_thread): Supply SIGCODE
2274 argument to __msg_sig_post_request.
2276 * hurd/hurdmalloc.c: Changes to bring in line with the hurd
2277 libthreads/malloc.c:
2278 (more_memory): Use assert_perror instead of MACH_CALL.
2279 "cthread_internals.h": Include removed.
2280 (realloc): Use LOG2_MIN_SIZE.
2281 (LOG2_MIN_SIZE): New macro.
2282 (realloc): Don't bother allocating a new block if the
2283 new size request fits in the old one and doesn't waste any space.
2284 Only free the old block if we successfully got a new one.
2285 [MCHECK] (struct header): New type.
2286 (union header): Only define if !MCHECK.
2287 (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros.
2288 [MCHECK] (MIN_SIZE): Add correct definition for this case.
2289 (more_memory, malloc, free, realloc): Use above macros, and add
2290 appropiate checks & frobs in MCHECK case.
2292 Thu Jun 6 02:00:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2294 * Makerules (distinfo-vars): Don't write constant line to frob sources.
2295 * Make-dist (sources): Append $(elided-routines) and $(extra-libs)
2298 Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2300 * sysdeps/m68k/fpu/__math.h: Define long double versions of
2301 the inline functions.
2302 * sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c,
2303 sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c,
2304 sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c,
2305 sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c,
2306 sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c,
2307 sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c,
2308 sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c,
2309 sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c,
2310 sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c,
2311 sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c,
2312 sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c,
2313 sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c,
2314 sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c,
2315 sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c,
2316 sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c,
2317 sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c,
2318 sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c,
2319 sysdeps/m68k/fpu/e_atanhl.c, sysdeps/m68k/fpu/e_coshl.c: New files.
2321 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_fmod.c,
2322 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_sin.c,
2323 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/s_atan.c,
2324 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_ilogb.c,
2325 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_ldexp.c,
2326 sysdeps/m68k/fpu/s_modf.c: Define generic functions using FUNC and
2327 float_type with appropriate defaults.
2329 * sysdeps/m68k/fpu/e_acosf.c, sysdeps/m68k/fpu/e_fmodf.c,
2330 sysdeps/m68k/fpu/k_cosf.c, sysdeps/m68k/fpu/k_sinf.c,
2331 sysdeps/m68k/fpu/k_tanf.c, sysdeps/m68k/fpu/s_atanf.c,
2332 sysdeps/m68k/fpu/s_frexpf.c, sysdeps/m68k/fpu/s_ilogbf.c,
2333 sysdeps/m68k/fpu/s_isinff.c, sysdeps/m68k/fpu/s_ldexpf.c,
2334 sysdeps/m68k/fpu/s_modff.c: Include the corresponding double
2335 versions with appropriate definitions to get float functions,
2336 instead of defining them directly.
2338 * sysdeps/m68k/fpu/acos.c: File removed.
2339 * sysdeps/m68k/fpu/asin.c: File removed.
2340 * sysdeps/m68k/fpu/atan.c: File removed.
2341 * sysdeps/m68k/fpu/atan2.c: File removed.
2342 * sysdeps/m68k/fpu/atanh.c: File removed.
2343 * sysdeps/m68k/fpu/ceil.c: File removed.
2344 * sysdeps/m68k/fpu/cos.c: File removed.
2345 * sysdeps/m68k/fpu/cosh.c: File removed.
2346 * sysdeps/m68k/fpu/drem.c: File removed.
2347 * sysdeps/m68k/fpu/exp.c: File removed.
2348 * sysdeps/m68k/fpu/expm1.c: File removed.
2349 * sysdeps/m68k/fpu/fabs.c: File removed.
2350 * sysdeps/m68k/fpu/fl.h: File removed.
2351 * sysdeps/m68k/fpu/floor.c: File removed.
2352 * sysdeps/m68k/fpu/fmod.c: File removed.
2353 * sysdeps/m68k/fpu/frexp.c: File removed.
2354 * sysdeps/m68k/fpu/isinf.c: File removed.
2355 * sysdeps/m68k/fpu/isinfl.c: File removed.
2356 * sysdeps/m68k/fpu/isnan.c: File removed.
2357 * sysdeps/m68k/fpu/isnanl.c: File removed.
2358 * sysdeps/m68k/fpu/ldexp.c: File removed.
2359 * sysdeps/m68k/fpu/log.c: File removed.
2360 * sysdeps/m68k/fpu/log10.c: File removed.
2361 * sysdeps/m68k/fpu/log1p.c: File removed.
2362 * sysdeps/m68k/fpu/logb.c: File removed.
2363 * sysdeps/m68k/fpu/pow.c: File removed.
2364 * sysdeps/m68k/fpu/rint.c: File removed.
2365 * sysdeps/m68k/fpu/sin.c: File removed.
2366 * sysdeps/m68k/fpu/sinh.c: File removed.
2367 * sysdeps/m68k/fpu/sqrt.c: File removed.
2368 * sysdeps/m68k/fpu/tan.c: File removed.
2369 * sysdeps/m68k/fpu/tanh.c: File removed.
2371 Thu Jun 6 00:02:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2373 * sysdeps/unix/sysv/linux/syscalls.list: Add select (the syscall name
2375 * sysdeps/unix/sysv/linux/select.S: File removed.
2377 * sysdeps/unix/sysv/linux/m68k/select.S: File removed; obsolete with
2378 current kernels, generic linux version is fine.
2380 * locale/Makefile: Add vpath for %.gperf to programs.
2382 * Make-dist (+tsrcs): Variable removed.
2383 (dist): Process $^ here instead of using $(+tsrcs).
2385 * sysdeps/unix/sysv/linux/Makefile (install-others): Don't set.
2386 ($(includedir)/sys/syscall.h): Target removed.
2387 (sysdep_headers): Add syscall-list.h.
2388 ($(objpfx)syscall-%.[dh]): New rule to build syscall-list.[dh].
2389 (generated): Add those.
2390 * sysdeps/unix/sysv/linux/syscall.h: Include <syscall-list.h>.
2392 Wed Jun 5 15:57:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2394 * misc/sys/syscall.h: New file.
2395 * misc/Makefile (headers): Add sys/syscall.h.
2397 * time/tzfile.h, time/private.h, time/zdump.c, time/zic.c,
2398 time/africa, time/asia, time/australasia, time/europe,
2399 time/northamerica, time/southamerica: Updated from ADO 96h.
2401 * Make-dist (all-headers): Filter $(sysdep_headers) out of $(headers).
2402 (try-sysdeps, +sysdep-names): Check sysdeps/libm-ieee754 too.
2404 * Makerules (distinfo-vars): Add sysdep_headers.
2405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Append to
2406 this instead of $(headers).
2407 * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
2408 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
2410 * Make-dist [subdirs-dirs]: Don't prefix $(subdir-dirs) with
2411 $(subdir); we are already there.
2413 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: Removed.
2415 * mach/Machrules: Undo last change.
2416 (mach-generated): List .uh and .__h files only for $(user-interfaces),
2417 not for each .h in $(interface-headers); server-interfaces have no .uh
2420 Wed Jun 5 15:42:51 1996 Miles Bader <miles@gnu.ai.mit.edu>
2422 * mach/Machrules (%_server.uh, %_server.__h): New rules, so that the
2423 corrsponding .defs file with without the `_server' will be used.
2425 * mach/Makefile (mach/mach_interface.defs): Renamed from
2426 mach_interface.defs.
2427 (mach/memory_object_user.defs): New variable.
2429 Wed Jun 5 15:10:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2431 * Make-dist [subdir-dirs]: Set vpath for %, not just %.c.
2433 * locale/Makefile (subdir-dirs): New variable.
2435 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2437 * Makerules (distinfo-vars): Add sysdep_routines.
2439 * mach/Machrules (include-%.defs): New canned sequence.
2440 Change all uses of `#include <$*.defs>' in cmds to use it.
2441 * mach/Makefile (mach_interface.defs): New variable, set to mach.defs.
2443 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle RESOLVE being
2444 null in all cases but R_386_COPY.
2447 Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2449 * sysdeps/unix/bsd/ultrix4/mips/Dist: Updated.
2450 * sysdeps/unix/bsd/ultrix4/Dist: Removed.
2451 * sysdeps/unix/sysv/sysv4/Dist: Updated.
2452 * sysdeps/unix/sysv/sco3.2.4/Dist: Removed.
2453 * sysdeps/unix/sysv/irix4/Dist: Updated.
2454 * sysdeps/unix/sysv/linux/i386/Dist: Removed.
2455 * sysdeps/unix/sysv/Dist: Updated.
2456 * sysdeps/unix/bsd/sun/sunos4/Dist: Removed.
2457 * sysdeps/unix/bsd/sony/newsos4/Dist: Removed.
2458 * sysdeps/gnu/Dist: New file.
2459 * sysdeps/alpha/Dist: Updated.
2460 * sysdeps/mach/hurd/Dist: Updated.
2462 * Make-dist [subdir-dirs]: Set a vpath for %.c.
2464 * Make-dist (README): Fix typo in cvs cmd.
2466 * elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change.
2467 Comment out ref to nonexistent _dl_close.
2469 Tue Jun 4 21:01:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2471 * math/Makefile (libm-support, libm-calls): New variables.
2472 (libm-routines): Construct this from those.
2473 (calls): New variable.
2474 (routines): Construct this from it.
2476 * resolv/res_debug.c: Add missing #include <ctype.h>.
2478 * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r.
2479 * sysdeps/unix/getlogin_r.c: Likewise.
2481 * sysdeps/libm-ieee754/w_hypotl.c: Fix typo.
2483 * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl
2485 * math/Makefile (long-m-routines): Define recursive variable as
2486 $(long-m-$(long-double-fcts)).
2487 (long-m-yes): Put list of routines here.
2488 (long-c-routines, long-c-yes): Likewise.
2490 * sysdeps/unix/sysv/linux/schedbits.h: File removed.
2492 * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes.
2493 * sysdeps/m68k/Makefile: Likewise.
2495 * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append
2498 * sysdeps/mach/hurd/getlogin_r.c: New file.
2500 Wed Jun 5 02:11:30 1996 Ulrich Drepper <drepper@cygnus.com>
2502 * io/Makefile (routines): Add ttyname_r.
2504 * resolv/res_debug.c, resolv/resolv.h: Update from bind-4.3.4-T4A.
2506 * sysdeps/libm-i387/e_asinl.S, sysdeps/libm-i387/e_atan2l.S,
2507 sysdeps/libm-i387/e_expl.S, sysdeps/libm-i387/e_fmodl.S,
2508 sysdeps/libm-i387/e_log10l.S, sysdeps/libm-i387/e_logl.S,
2509 sysdeps/libm-i387/e_remainderl.S, sysdeps/libm-i387/e_scalbl.S,
2510 sysdeps/libm-i387/e_sqrtl.S, sysdeps/libm-i387/s_atanl.S,
2511 sysdeps/libm-i387/s_cosl.S, sysdeps/libm-i387/s_ilogbl.S,
2512 sysdeps/libm-i387/s_log1pl.S, sysdeps/libm-i387/s_logbl.S,
2513 sysdeps/libm-i387/s_scalbnl.S, sysdeps/libm-i387/s_sinl.S,
2514 sysdeps/libm-i387/s_tanl.S: New files. i387 assembler versions
2515 of `long double' math functions.
2517 * sysdeps/libm-ieee754/k_standard.c: Add handling for errors
2518 in long double functions.
2520 * sysdeps/libm-ieee754/s_ilogbl.c, sysdeps/libm-ieee754/s_logbl.c,
2521 sysdeps/libm-ieee754/s_modfl.c: New files. Generic versions
2522 of `long double' math functions.
2524 * sysdeps/libm-ieee754/s_isinf.c [NO_LONG_DOUBLE]: Add string
2527 * sysdeps/libm-ieee754/w_acoshl.c, sysdeps/libm-ieee754/w_acosl.c,
2528 sysdeps/libm-ieee754/w_asinl.c, sysdeps/libm-ieee754/w_atan2l.c,
2529 sysdeps/libm-ieee754/w_atanhl.c, sysdeps/libm-ieee754/w_cabsl.c,
2530 sysdeps/libm-ieee754/w_coshl.c, sysdeps/libm-ieee754/w_dreml.c,
2531 sysdeps/libm-ieee754/w_expl.c, sysdeps/libm-ieee754/w_fmodl.c,
2532 sysdeps/libm-ieee754/w_gammal.c, sysdeps/libm-ieee754/w_gammal_r.c,
2533 sysdeps/libm-ieee754/w_hypotl.c, sysdeps/libm-ieee754/w_j0l.c,
2534 sysdeps/libm-ieee754/w_j1l.c, sysdeps/libm-ieee754/w_jnl.c,
2535 sysdeps/libm-ieee754/w_lgammal.c, sysdeps/libm-ieee754/w_lgammal_r.c,
2536 sysdeps/libm-ieee754/w_log10l.c, sysdeps/libm-ieee754/w_logl.c,
2537 sysdeps/libm-ieee754/w_powl.c, sysdeps/libm-ieee754/w_remainderl.c,
2538 sysdeps/libm-ieee754/w_scalbl.c, sysdeps/libm-ieee754/w_sinhl.c,
2539 sysdeps/libm-ieee754/w_sqrtl.c: New files. Wrapper functions
2540 around long double function implementations.
2542 * sysdeps/posix/ttyname_r.c (ttyname_r): Use _D_EXACT_NAMLEN
2543 to determine length of directory entry name.
2545 * posix/Makefile (routines): Add getlogin_r.
2546 * posix/unistd.h: Add prototype for getlogin_r.
2547 * sysdeps/stub/getlogin_r.c: New file. Reentrant version of
2548 getlogin function, specified in P1003.1c/D6. Stub version.
2549 * sysdeps/unix/getlogin.c (getlogin): Use ttyname_r instead of
2550 ttyname. This avoids saving and restoring the old content.
2551 Also use setutent_r, getutline_r and endutent_r instead of
2552 accing UTMP file directly.
2553 * sysdeps/unix/getlogin_r.c: New file. Reentrant version of
2554 getlogin function, specified in P1003.1c/D6.
2556 Tue Jun 4 20:10:09 1996 J.T. Conklin <jtc@cygnus.com>
2558 * sysdeps/libm-i387/s_finitef.S: Fix mask for exponent.
2560 Tue Jun 4 18:57:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2562 * elf/dl-lookup.c (_dl_lookup_symbol): Grok magical undefined symbols
2563 _GNU_libc_dl_{open,close,symbol} and resolve them to dl functions.
2565 * elf/rtld.c (rtld_map): Renamed to _dl_rtld_map, made global.
2566 * elf/link.h: Declare _dl_rtld_map.
2568 * elf/dl-lookup.c (_dl_symbol_value): New function.
2569 * elf/link.h: Declare it.
2571 * elf/dladdr.c: Remove #include <setjmp.h>, we don't use it.
2573 * shlib-versions: Set libdl=2.
2575 * elf/dl-deps.c (_dl_map_object_deps): Use a linked list of alloca'd
2576 elements and then scan it to fill the single malloc'd array, instead
2577 of using realloc to grow the array in the first pass. _dl_map_object
2578 may do some mallocs that break our stream of reallocs, and the minimal
2579 realloc can't handle that.
2581 * elf/dl-init.c (_dl_init_next): Take argument, link_map whose
2582 searchlist describes the piece of the DT_NEEDED graph to be
2584 * elf/link.h: Update prototype.
2585 * sysdeps/i386/dl-machine.h (RTLD_START): Pass _dl_loaded as argument
2587 * sysdeps/m68k/dl-machine.h: Likewise.
2588 * elf/dl-deps.c (_dl_open): Pass new object as arg to _dl_init_next.
2590 * elf/link.h (struct link_map): Add `l_reserved' member, soaking up
2591 extra bits in last byte.
2592 * elf/dl-deps.c (_dl_map_object_deps): Use that for mark bit to avoid
2593 putting dup elts in search list.
2595 * elf/dlclose.c: Use MAP->l_searchlist to find deps to close.
2597 * elf/dlsym.c: Don't tweak linked list. Scope array given to
2598 _dl_lookup_symbol does the right thing.
2600 * elf/Makefile (subdir_lib): Change this target to lib-noranlib.
2601 (lib-noranlib): Depend on on $(extra-objs).
2603 * errno.h: Move __END_DECLS out of #ifdef's so it matches
2606 Tue Jun 4 02:25:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2608 * stdio-common/vfprintf.c [USE_IN_LIBIO] (size_t): Don't define as
2609 macro. _IO_size_t is just an alias for the real size_t anyway.
2611 * elf/Makefile (libdl-routines): Add dladdr.
2612 * elf/dladdr.c: New file.
2613 * elf/dlfcn.h (Dl_info): New typedef.
2614 (dladdr): Declare it.
2616 * sysdeps/libm-i387/s_finite.S: Use `setne' instead of `setnel'.
2618 * intl/l10nflist.c: Fix conditional on #include <argz.h>.
2620 * libio/stdio.h (FOPEN_MAX, FILENAME_MAX, TMP_MAX, L_tmpnam): Macros
2621 removed. Instead, include <stdio_lim.h>.
2623 * libio/_G_config.h: New file.
2624 * libio/Makefile (headers): Add _G_config.h.
2626 * MakeTAGS (po/errlist.pot): Extract from sysdeps/gnu/errlist.c.
2628 * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Define
2629 this macro too; current Linux kernels test that instead of
2630 _LINUX_TYPES_DONT_EXPORT.
2632 * elf/linux-compat.c (_init): Pass reloc_addr arg to _dl_lookup_symbol.
2634 * elf/dl-lookup.c (_dl_lookup_symbol): Use l_searchlist.
2636 * elf/dl-deps.c: New file.
2637 * elf/Makefile (rtld-routines): Add dl-deps.
2638 * elf/link.h: Declare _dl_map_object_deps, _dl_open.
2639 * elf/rtld.c (dl_main): Use _dl_map_object_deps.
2640 * elf/dlopen.c: Use _dl_open.
2642 * elf/rtld.c (dl_main): Remove BEFORE_RTLD variable and list
2643 frobnication based on its value. Detach RTLD_MAP from the chain if
2644 its l_opencount is zero after loading deps.
2646 * elf/dlfcn.h (RTLD_BINDING_MASK): New macro.
2648 * elf/link.h (struct link_map): Replace l_deps_loaded flag member with
2649 `struct link_map **l_searchlist' and `unsigned int l_nsearchlist'.
2650 * elf/dl-lookup.c (_dl_lookup_symbol): Make SYMBOL_SCOPE arg an array
2651 of two link_map ptrs. Search the maps in the l_searchlist of each
2652 elt that is not null.
2653 * elf/dl-reloc.c (_dl_relocate_object): Pass proper SCOPE array.
2654 * elf/dl-runtime.c: Likewise.
2655 * elf/dlsym.c: Likewise.
2656 * elf/rtld.c (dl_main): Likewise.
2658 * elf/dl-minimal.c (realloc): Support realloc of the block most
2659 recently returned by the minimal malloc.
2661 Tue Jun 4 00:16:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2663 * sysdeps/gnu/errlist.awk: Produce N_("..."), not _N("...").
2665 * intl: Updated from gettext-0.10.13.
2666 * intl/localealias.c, intl/dcgettext.c [_LIBC]: Define HAVE_ALLOCA.
2668 * signal/siggetmask.c: New file. Wrapper around sigblock with
2669 link_warning about obsolescence.
2670 * signal/Makefile (routines): Add siggetmask.
2672 * sysdeps/gnu/errlist.awk: New file, adapted from ...
2673 * sysdeps/mach/hurd/errlist.awk: File removed, above file replaces it.
2674 * sysdeps/mach/hurd/Makefile (errlist.c): Target removed.
2675 * sysdeps/gnu/Makefile: New file.
2676 (sysdeps/gnu/errlist.c): Make the errlist.c generation rule into this.
2678 Mon Jun 3 21:03:54 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2680 * manual/errno.texi (Error Codes): Add placeholder items for missing
2681 Linux/i386 errno codes, with perror text but no documentation.
2682 Some existing perror texts changed.
2684 * malloc/mcheck.c (freehook, reallochook): Handle null pointer args.
2686 * hurd/hurdsig.c (_hurd_internal_post_signal): When setting ACT to
2687 `ignore, resume the thread if SS_SUSPENDED, regardless of old action.
2689 Sun Jun 2 20:14:30 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2691 * locale/programs/linereader.c (lr_open): Don't pass NULL to
2692 xstrdup; fix memory leak.
2693 (lr_close): Fix memory leak.
2695 Mon Jun 3 15:58:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
2697 * hurd/hurdsig.c (_hurd_internal_post_signal): When turning the action
2698 for a HANDLE signal to IGNORE because the signal is blocked, clean
2699 up any pending suspension left over from a call to resume.
2701 Mon Jun 3 00:30:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2703 * elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and
2704 don't allow a defn resolving to that address.
2706 * elf/link.h: Update prototype and comment.
2707 * elf/dl-runtime.c (fixup): Define local `resolve' function and pass
2708 it to elf_machine_relplt.
2709 * elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg
2710 RELOC_ADDR and pass it through to _dl_lookup_symbol.
2711 * elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel
2712 instead of calling it ourselves and passing its results.
2713 (elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR.
2714 * elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol.
2715 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR
2716 arg. Add RESOLVE function ptr arg. Call *RESOLVE as necessary.
2717 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2718 * sysdeps/stub/dl-machine.h: Likewise.
2720 Sun Jun 2 14:56:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2722 * csu/initfini.c (_fini): Add extern decl for i_am_not_a_leaf.
2724 * elf/dlfcn.h (dl_open_mode): Enumerated type removed.
2725 (RTLD_LAZY, RTLD_NOW): Define these as macros instead.
2726 (RTLD_GLOBAL): New macro.
2727 (dlopen): Take arg of type int instead of dl_open_mode.
2728 * elf/dlopen.c: Likewise.
2730 * math/math.h (_Mldbl): New macro, either produces L suffix or not.
2731 (M_*): Use it for these constants.
2733 * elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT.
2734 Reject SHN_UNDEF defns iff NOPLT is nonzero.
2735 * elf/link.h (_dl_lookup_symbol): Update prototype and comment.
2736 * elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT.
2737 * elf/dlsym.c (dlsym): Pass 0.
2738 * elf/rtld.c (dl_main): Likewise.
2739 * elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET
2740 replaced with NOPLT flag. Pass it through to _dl_lookup_symbol.
2741 * elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg.
2742 Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value.
2743 * sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro.
2744 * sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise.
2745 * sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise.
2747 * login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca.
2749 * sysdeps/generic/gnu/types.h (__clock_t): New type.
2751 Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
2753 * sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define
2755 * time/time.h (clock_t): Include <gnu/types.h> and define using
2758 * time/Makefile (tests): Add test-tz.
2760 * time/test-tz.c: New test.
2762 * time/clocktest.c: Rewrite to test more meaningfully.
2764 * sysdeps/unix/sysv/linux/syscalls.list: Add bdflush,
2765 create_module, delete_module, get_kernel_syms, init_module,
2768 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Define as 5
2769 instead of SYMLOOP_MAX, which is nowhere to be found.
2771 * sysdeps/unix/sysv/linux/sys/msq_buf.h,
2772 sysdeps/unix/sysv/linux/sys/sem_buf.h,
2773 sysdeps/unix/sysv/linux/sys/shm_buf.h [__USE_MISC]: Add more
2774 control ops and datastructures.
2776 * sysdeps/unix/sysv/linux/sys/io.h: New file declaring low-level
2777 I/O related functions.
2779 * sysdeps/unix/sysv/linux/sys/kdaemon.h: New file declaring kernel
2780 daemon related functions/operations.
2782 * sysdeps/unix/sysv/linux/sys/klog.h: New file declaring kernel
2783 logging related functions/operations.
2785 * sysdeps/unix/sysv/linux/sys/module.h: New file declaring kernel
2786 module related functions/operations.
2788 * sysdeps/unix/sysv/linux/speed.c: Only do "mention this twice" hack
2789 for non-Alpha based Linux systems.
2791 * sysdeps/unix/sysv/linux/alpha/speed.c: Remove.
2793 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/module.h,
2794 sys/io.h, sys/klog.h, and sys/kdaemon.h.
2796 * sysdeps/unix/sysdep.h (END): Define empty END macro for
2797 platforms that don't need some sort of end directive at the
2800 * sysdeps/unix/make-syscalls.sh: Emit END($strong) at end of
2801 syscall wrapper to allow correct generation of debugging
2804 * sysdeps/unix/alpha/sysdep.h (END): Redefine to use .end
2805 directive for both ELF and ECOFF.
2806 (ret): Delete macro. It was a dangerous macro and unnecessary
2807 since the Alpha assemblers recognizes "ret" as a macro themselves.
2809 * sysdeps/gnu/utmpbits.h (struct utmp): Move ut_tv behind
2810 ut_session to guarantee long alignment. This is important for
2811 Linux/Alpha since ut_tv.tv_sec is 32 bits and time_t is 64 bits.
2812 This will all get cleaned up as programs start to use ut_tv
2815 * sysdeps/alpha/divrem.h: Include <sysdep.h> instead of <*/regdef.h>.
2817 * sysdeps/alpha/bsd-_setjmp.S (setjmp): Renamed entry point to
2820 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
2821 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S,
2822 sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h,
2823 sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S,
2824 sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
2825 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
2826 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
2827 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
2828 sysdeps/unix/sysv/linux/alpha/llseek.S,
2829 sysdeps/unix/sysv/linux/alpha/pipe.S,
2830 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
2831 sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of
2834 * csu/initfini.c (_fini): Tell gcc that _fini is not a leaf
2835 function by having it contain a dummy function call.
2837 * configure.in (config_machine): Don't make ELF the default for
2838 Linux/Alpha just yet (use --with-elf instead).
2839 (.init/.fini check): Generate .text to ensure function start and
2840 end are in same section.
2842 * sysdeps/unix/bsd/osf/alpha/brk.S,
2843 sysdeps/unix/sysv/linux/alpha/brk.S (__curbrk): Store the entire
2844 break value, not just the low 32 bits to accomodate large
2847 Tue May 28 10:46:04 1996 Richard Henderson <rth@tamu.edu>
2849 * sysdeps/unix/sysv/linux/alpha/brk.S: Rather than attempt to
2850 dynamically resolve _end for initializing __curbrk, support the
2853 * sysdeps/alpha/bb_init_func.S: Don't make `init' an external symbol.
2855 * sysdeps/alpha/bsd-_setjmp.S: The function is _setjmp not setjmp.
2857 Sun May 26 22:17:38 1996 Richard Henderson <rth@tamu.edu>
2859 * stdlib/lcong48_r.c, stdlib/seed48_r.c, stdlib/strtod.c,
2860 stdlib/strtol.c: Include <string.h> for mem* and str* fns used.
2862 Thu May 23 02:15:56 1996 David Mosberger-Tang <davidm@azstarnet.com>
2864 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/io.h,
2865 sys/klog.h, and sys/kdaemon.h.
2867 * sysdeps/unix/sysv/linux/sys/io.h: New file.
2868 * sysdeps/unix/sysv/linux/sys/klog.h: Ditto.
2869 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Ditto.
2871 * sysdeps/unix/alpha/sysdep.h (ret): Remove macro. It is
2872 dangerous and unnecessary since both OSF/1 as and gas define "ret"
2873 as a pseudo-instruction.
2875 Sat Jun 1 17:18:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2877 * time/tzset.c (__tzset): Clear tz_rules name pointers after freeing
2878 them. Bug found by David Mosberger-Tang.
2880 * sysdeps/posix/tempname.c (__stdio_gen_tempname): Use __ptr_t instead
2883 * extra-lib.mk (extra-objs): Use patsubst intead of $(A:=B) syntax
2884 to work around Make bug when A contains var ref.
2886 Fri May 31 18:27:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2888 * string/string.h [__USE_MISC]: Declare basename; OSF/1 puts it here.
2890 * sysdeps/unix/sysv/linux/syscalls.list (getpgid, setpgid): Define __
2891 strong names and [gs]etpgid as weak aliases.
2893 Thu May 30 11:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2895 * math/math_private.h (GET_LDOUBLE_EXP): Add missing backslash.
2897 * po/header.pot: Replace with exact boilerplate pinard dictates.
2899 * sysdeps/i386/strtok.S (Lillegal_argument): Remove this code to set
2900 errno and the check that jumped to it.
2902 * sysdeps/mach/hurd/Makefile (errnos.d): Use $(sed-remove-objpfx).
2904 Thu May 30 03:21:57 1996 Ulrich Drepper <drepper@cygnus.com>
2906 * FAQ: Document need of gperf program for developers.
2908 * elf/elf.h: Fix typos in comments.
2910 * libio/stdio.h [!__STRICT_ANSI__ || _POSIX_SOURCE]: Add
2911 prototypes for `ctermid' and `cuserid'.
2913 * locale/programs/locale.c: Switch to user selected locale
2914 before printing variables.
2916 * math/Makefile [$(long-double-fcts)==yes]: Define long-m-routines
2917 and long-c-routines. Only if the `long double' data type is
2918 available we need to compile the functions.
2919 (libm-routines): Add $(long-m-routines).
2920 (routines): Remove isinfl, isnanl. Use new file s_isinfl and
2921 s_isnanl instead if `long double' is available.
2923 * math/math.h: Include <mathcalls.h> again to define `long double'
2926 * math/math_private.h: Define data types, prototypes and access
2927 macros for `long double'.
2929 * stdlib/stdlib.h: Add prototypes for `strtoll' and `strtoull'.
2930 [GCC2 && OPTIMIZE]: Define strto{,u}ll as inline function which
2931 calls __strto{,u}q_internal.
2933 * stdlib/strfmon.c: Replace PTR by `void *'.
2935 * stdlib/strtoq.c: Define strtoll as weak alias.
2936 * stdlib/strtouq.c: Define strtoull as weak alias.
2938 * string/tester.c: Correct `strsep' test.
2940 * sysdeps/generic/strsep.c: Make compatible with BSD version.
2941 Trailing characters of skip set are not skipped. In this case
2942 empty tokens are returned.
2944 * sysdeps/i386/isinfl.c, sysdeps/i386/isnanl.c,
2945 sysdeps/ieee754/isinf.c, sysdeps/ieee754/isinfl.c,
2946 sysdeps/ieee754/isnan.c, sysdeps/ieee754/isnanl.c: Removed. We
2947 now use the versions part of libm.
2949 * sysdeps/i386/strsep.S: Removed. Generic C version is of
2951 * sysdeps/i386/strtok.S: Remove support for `strsep'.
2953 * sysdeps/libm-i387/e_acosl.S, sysdeps/libm-i387/s_ceill.S,
2954 sysdeps/libm-i387/s_copysignl.S, sysdeps/libm-i387/s_finitel.S,
2955 sysdeps/libm-i387/s_floorl.S, sysdeps/libm-i387/s_isinfl.c,
2956 sysdeps/libm-i387/s_isnanl.c, sysdeps/libm-i387/s_nextafterl.c,
2957 sysdeps/libm-i387/s_rintl.S, sysdeps/libm-i387/s_significandl.S:
2958 New i387 specific math functions implementing `long double'
2961 * sysdeps/libm-ieee754/s_ceill.c,
2962 sysdeps/libm-ieee754/s_copysignl.c,
2963 sysdeps/libm-ieee754/s_fabsl.c, sysdeps/libm-ieee754/s_finitel.c,
2964 sysdeps/libm-ieee754/s_floorl.c, sysdeps/libm-ieee754/s_isinfl.c,
2965 sysdeps/libm-ieee754/s_isnanl.c,
2966 sysdeps/libm-ieee754/s_nextafterl.c,
2967 sysdeps/libm-ieee754/s_rintl.c, sysdeps/libm-ieee754/s_scalbnl.c,
2968 sysdeps/libm-ieee754/s_significandl.c: New generic `long double'
2969 versions of libm functions.
2971 * sysdeps/libm-i387/e_exp.S: Add a few comments to explain the
2974 * sysdeps/libm-i387/s_ceil.S, sysdeps/libm-i387/s_ceilf.S,
2975 sysdeps/libm-i387/s_floor.S, sysdeps/libm-i387/s_floorf.S: Correct
2976 handling of local variables. The old version created a stack
2977 frame but stored the values outside.
2979 * sysdeps/libm-ieee754/s_isinf.c, sysdeps/libm-ieee754/s_isnan.c
2980 [!NO_LONG_DOUBLE]: Define alias with `long double' versions name.
2982 Wed May 29 12:53:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
2984 * login/pututline_r.c: Include sys/stat.h. Fix typos.
2986 * version.h (VERSION): Set to 1.90.
2988 * Makerules (distinfo-vars): Write extra-libs and *-routines for each
2990 * MakeTAGS (sources): Add those sources.
2992 * MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c).
2994 Wed May 29 08:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu>
2996 * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the
2999 * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling
3002 Wed May 29 00:52:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3004 * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null
3005 token instead of it being implicitly skipped.
3007 * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t.
3008 Must operate on top of fp reg stack, not second from top.
3010 * extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so.
3011 (others): Instead, make this depend on it.
3013 Tue May 28 04:38:10 1996 Ulrich Drepper <drepper@cygnus.com>
3015 * limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646
3016 character in UTF-8 encoding has that many bytes.
3018 * locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX.
3019 * locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX.
3020 * locale/Makefile (routines): Add mb_cur_max.
3021 * locale/mb_cur_max.c: New file. This function gets called
3022 when the macro MB_CUR_MAX is used.
3023 * locale/C-ctype.c: Initialize new mb_cur_max field.
3024 * locale/localeinfo.h: Change magic value because of incompatible
3026 * locale/programs/ld-ctype.c: Determine value of mb_cur_max
3027 according to current character set and write it out with the rest.
3028 * stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value
3029 according to currently used locale for category LC_CTYPE by
3030 calling the function __ctype_get_mb_cur_max.
3032 Tue May 28 03:27:46 1996 Ulrich Drepper <drepper@cygnus.com>
3034 * FAQ: Fix some typos.
3035 Tell that for Linux the kernel header files are necessary.
3037 * PROJECTS: New file. List of open jobs for glibc.
3038 * Makefile (distribute): Add PROJECTS.
3040 * crypt/GNUmakefile (headers): New variable. Mention crypt.h.
3041 * crypt/crypt.h: Header for crypt functions.
3043 * elf/elf.h: Add some new constants from recent Cygnus ELF
3046 * login/getutid_r.c: Test for correct type.
3047 Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and
3048 _HAVE_UT_ID resp. are defined.
3049 Make really compliant with specification.
3051 * login/getutline_r.c, login/pututline_r.c: Don't depend on
3052 ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are
3054 Make really compliant with specification.
3056 * login/setutent_r.c: Don't depend on ut_type and ut_id unless
3057 _HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined.
3059 * login/login.c, login/logout.c, login/logwtmp.c: Complete
3060 rewrite. Now based on getut*/setut* functions.
3062 * stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996.
3063 This prevented using this file in other GNU packages.
3065 * sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID,
3066 and _HAVE_UT_TV because struct utmp has these members.
3068 * sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case.
3070 * utmp.h: New file. Wrapper around login/utmp.h.
3072 Tue May 28 13:11:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3074 * elf/dl-error.c (struct catch): New type.
3075 (catch): New static variable, struct catch *.
3076 (catch_env, signalled_errstring, signalled_objname): Variables removed.
3077 (_dl_signal_error): If CATCH is non-null, set its errstring and
3078 objname members and jump to CATCH->env. If it is null, call
3079 _dl_sysdep_fatal with a standard message.
3080 * elf/rtld.c (dl_main): Explode `doit' function into dl_main's body.
3081 No longer use _dl_catch_error.
3083 * Makerules (sed-remove-objpfx): Avoid extra space in regexp due to
3086 * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in
3087 setting %ecx to 2nd syscall arg: we have pushed nothing, so function
3088 args are found at 4(%esp), not 8(%esp).
3090 Mon May 27 10:10:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3092 * Makefile ($(includedir)/stubs.h): Add missing backslash.
3094 * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it
3097 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers):
3100 * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing.
3102 * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never
3105 * sysdeps/unix/sysv/linux/termio.h: New file.
3106 * sysdeps/unix/sysv/linux/Dist: Add it.
3108 * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around
3109 kernel header <asm/termios.h>.
3111 * misc/Makefile (headers): Add ioctl-types.h.
3112 * sysdeps/generic/ioctl-types.h: New file.
3113 * misc/sys/ioctl.h: Include <ioctl-types.h>.
3114 (struct tchars, struct ltchars, struct sgttyb, struct winsize,
3115 struct ttysize): Types moved there.
3117 * Makefile ($(includedir)/stubs.h): Don't touch target if new one is
3120 * time/Makefile (z.% rule): Generate generic zone%/ rule after
3121 zone%/right/ and zone%/posix/ rules so they match first.
3123 Sun May 26 15:15:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3125 * features.h [_GNU_SOURCE] (_BSD_SOURCE, _SVID_SOURCE,
3126 _POSIX_SOURCE, _POSIX_C_SOURCE): Define these.
3128 * time/Makefile (tzcompile): Add missing backslash.
3130 * stdlib/ldiv.c: Deansideclized.
3132 * wctype/wctype.h (__need_wint_t): Define this and include stddef.h.
3133 [! _WINT_T] (wint_t): Conditionalize typedef on this in case pre-2.7.3
3134 stddef.h doesn't define it.
3135 * wcsmbs/wchar.h: Likewise.
3136 * stdlib/strtod.c: Likewise.
3138 * wcsmbs/wcstok.c: Fix argument name typo.
3140 Sun May 26 19:39:53 1996 Ulrich Drepper <drepper@cygnus.com>
3142 * intl/loadmsgcat.c (_nl_load_domain): Test correct variable
3145 * string/Makefile (tester-ENV): New variable to suppress message
3146 translation in test.
3148 * string/tester.c: Add tests for strtok_r and strsep.
3150 * sysdeps/i386/i486/strcat.S: Correct some more 8bit operation
3151 <-> 32 bit operand conflicts.
3153 * sysdeps/i386/strsep.S: Wrapper around <sysdeps/i386/strtok.S>
3154 to produce strsep function.
3155 * sysdeps/i386/strtok.S: Optimized implementation of strtok
3157 * sysdeps/i386/strtok_r.S: Wrapper around <sysdeps/i386/strtok.S>
3158 to produce strtok_r function.
3160 * sysdeps/generic/strtok.c: Moved here from string/strtok.c.
3161 Corrected example in comment.
3163 * string/Makefile (routines): Add strtok_r.
3164 * sysdeps/generic/strtok_r.c: New file. Implement reentrant version
3166 * string/string.h: Add prototype for strtok_r.
3167 * wcsmbs/wcstok.c: Handle illegal SAVE_PTR argument the same
3170 Sun May 26 13:28:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3172 * time/tzset.c (__tzset): Ignore leading : in $TZ; always try tzfile
3173 first and fall back to 1003.1 syntax only if it fails.
3175 * time/Makefile (install-others): Also install posix/ZONE and
3176 right/ZONE for each ZONE in $(zonenames).
3177 (z.% rule): Generate rules for right/ZONE and posix/ZONE targets too,
3178 the difference begin leapseconds vs /dev/null as 3rd dep. For
3179 original ZONE targets use $(leapseconds), to be set in Makeconfig.
3180 (target-zone-flavor): New variable.
3181 (tzcompile): Use it to get the right -d for posix/ and right/ flavors.
3182 * Makeconfig (leapseconds): New variable.
3184 * mach/Machrules (%.udeps rule): Depend on Machrules.
3185 Emit deps for .uh and .__h files.
3186 (%.uh, %.__h rules): Don't depend on %.defs; use #include <$*.defs>
3189 Sun May 26 01:06:47 1996 Ulrich Drepper <drepper@cygnus.com>
3191 * stdlib/Makefile (routines): Add llabs, lldiv.
3192 * stdlib/llabs.c: New file. Implementation of return
3193 absolute value of long long argument.
3194 * stdlib/lldiv.c: New file. Implementation of division with remainder
3195 of long long argument.
3196 * stdlib/stdlib.h [__USE_GNU] (lldiv_t): New type for lldiv
3198 Define prototypes for lldiv and llabs functions.
3200 * locale/C-collate.c: Initialize _NL_COLLATE_NRULES element.
3202 * stdlib/strtod.c: Replace wchar_t with wint_t. The later is
3203 really the type for a single wide character.
3205 * string/strxfrm.c (print_val): Define separate version for
3206 use as wcsxfrm. Here we don't need UTF8 encoding.
3208 * wcsmbs/wchar.h: gcc-2.7.2-960517 finally introduces wint_t
3209 in <stddef.h>. Use this value and only for older gcc version
3211 (uwchar_t): Remove definition.
3213 * wcsmbs/wcscmp.c, wcsmbs/wcscoll.c, wcsmbs/wcsncmp.c,
3214 wcsmbs/wcsxfrm.c, wcsmbs/wmemcmp.c: : Don't use uwchar_t as unsigned
3215 type. wint_t is intended for this.
3217 Sat May 25 14:10:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3219 * sysdeps/unix/bsd/direntry.h: Use [1] instead of [0] for d_name to
3220 quiet -ansi -pedantic.
3221 * sysdeps/unix/common/direntry.h: Likewise.
3223 * login/Makefile (headers): Add lastlog.h.
3224 * login/lastlog.h: New file.
3226 * login/Makefile (CFLAGS): Don't append -D_THREAD_SAFE.
3227 * login/utmp.h [_REENTRANT || _THREAD_SAFE]: Replace this conditional
3228 with #ifdef __USE_REENTRANT.
3230 * features.h (__GNU_LIBRARY__): Set to 6.
3231 [_GNU_SOURCE] (_POSIX_SOURCE, _POSIX_C_SOURCE, _BSD_SOURCE,
3232 _SVID_SOURCE): Make sure they are all defined.
3234 * sysdeps/unix/sysv/linux/gnu/types.h: Instead of including
3235 <linux/posix_types.h>, define _LINUX_TYPES_DONT_EXPORT and then
3236 include <linux/types.h>.
3238 * resource/sys/resource.h: Remove trailing commas from enums.
3240 Fri May 24 17:30:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3242 * sysdeps/generic/netinet/in.h: Remove trailing commas from enums.
3243 * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
3245 * login/getutline_r.c: Include string.h.
3247 * Rules (static-only-routines): Restore the rule to make these .so's
3250 * login/pututline_r.c: Use struct assignment instead of memcpy.
3252 * login/getutline_r.c: Use strncmp instead of comparing two pointers
3253 that will only be equal if you are overwriting the data and screwing
3256 Fri May 24 02:31:36 1996 Ulrich Drepper <drepper@cygnus.com>
3258 * sysdeps/unix/sysv/linux/speed.c: Add new speed value 460800.
3260 Thu May 23 23:09:33 1996 Ulrich Drepper <drepper@cygnus.com>
3262 * FAQ: Add answer for 100% source code compatibility to Linux
3263 libc by David Mosberger-Tang.
3265 Update from bind-4.9.4-T3B.
3266 * inet/arpa/inet.h: Add prototypes for inet_pton, inet_ntop,
3267 inet_nsap_addr, and inet_nsap_ntoa.
3268 * resolv/gethnamaddr.c: Correct compatibility problems (sprintf),
3269 remove fourth argument to inet_pton and correct handling of
3271 * resolv/inet_ntop.c: Correct compatibility problems (sprintf).
3272 * resolv/inet_pton.c: Remove fourth argument.
3273 * resolv/resolv.h: Remove prototypes for inet_nsap_addr and
3274 inet_nsap_ntoa. Now in <arpa/inet.h>.
3276 * stdlib/gmp-impl.h: Add prototypes for internal functions.
3278 Thu May 23 22:49:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3280 * Rules (subdir_install): Remove dep on sor-$(subdir).
3281 (static-only-routines): Removed variable and associated rules.
3283 Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
3285 * sysdeps/unix/sysv/linux/alpha/speed.c (speeds): Add entry for
3288 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
3290 * sysdeps/unix/sysv/linux/alpha/Makefile (headers): Add
3292 * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file.
3294 * sysdeps/libm-ieee754/s_scalbnf.c: Call __scalbnf instead of
3297 * sysdeps/generic/sigset.h (__sigismember, __sigaddset,
3298 __sigdelset): Add declaration to keep ANSI compilers quiet.
3300 * sysdeps/alpha/__math.h (cabs): Remove underscores from struct
3301 __cabs_complex member names in call to __hypot().
3303 * sysdeps/alpha/copysign.S, sysdeps/alpha/fabs.S: New files.
3305 * sysdeps/alpha/divrem.h: Renamed from sysdeps/alpha/divrem.S to avoid
3306 name collision with math library.
3308 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
3309 sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
3310 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Include divrem.h instead
3313 * sysdeps/unix/alpha/sysdep.h: Include regdef.h. Define LEAF macro
3314 to simplify declaration of leaf functions.
3316 * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
3317 sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/ffs.S,
3318 sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
3319 sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
3320 sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S,
3321 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
3322 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
3323 sysdeps/unix/sysv/linux/alpha/pipe.S,
3324 sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
3325 sysdeps/unix/sysv/linux/alpha/syscall.S,
3326 sysdeps/unix/sysv/linux/alpha/start.S,
3327 sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h.
3328 sysdep.h includes it now. Replace ENTRY by LEAF with appropriate
3329 framesize declaration. Replace "lda pv,sym/jsr pv" by "jsr sym".
3331 * sysdeps/unix/sysv/linux/alpha/sysdep.h (NO_UNDERSCORES): Don't
3334 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Added getsockopt,
3337 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: File removed.
3339 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Modify to support
3340 dynamic recognition of platform type.
3341 (_bus_base): New function.
3343 * sysdeps/unix/sysv/linux/alpha/llseek.S: New file.
3345 * sunrpc/rpc/rpc.h, sunrpc/rpc/svc.h: Avoid nested comments since
3346 they produce ugly warnings by gcc.
3348 * posix/sys/types.h [__USE_MISC]: Add typedef for ulong.
3350 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
3352 * sysdeps/alpha/setjmp.S: Must establish global pointer before
3353 address of __sigsetjmp_aux can be loaded.
3355 Wed May 22 22:10:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3357 * stdlib/canonicalize.c: New file.
3358 * stdlib/stdlib.h: Declare canonicalize_file_name, realpath.
3359 * stdlib/Makefile (routines): Add canonicalize.
3361 * posix/unistd.h: Declare __canonicalize_directory_name_internal.
3363 Thu May 23 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
3365 * db/recno/rec_seq.c: Prevent `sccsid' definition by using the
3366 same #if condition as in the other db files.
3368 * intl/Makefile: Add -Wno-unused CFLAGS for compilation of
3369 bindtextdom.c, finddomain.c, and localealias.c.
3371 * intl/dcgettext.c: Don't define prototype for getcwd() when
3374 * libio/cleanup.c: Add prototype for _IO_register_cleanup.
3376 * libio/filedoalloc.c, libio/fileops.c, libio/iopopen.c: Don't
3377 define _POSIX_SOURCE unconditionally.
3379 * libio/filedoalloc.c, libio/iopopen.c: Include <unistd.h> if
3382 * libio/fileops.c (_IO_file_close_it): Don't sync file, call
3383 flush instead. This relaxes the rules from POSIX.1 about
3384 changing the active handle a bit.
3386 * libio/iofopncook.c (struct _IO_cookie_file): Move definition
3388 Add prototypes for local functions to prevent warnings.
3390 * libio/iopopen.c: Change prototypes for _IO_fork, _IO_pipe, and
3391 _IO_dup2 to contain complete parameter list.
3393 * libio/libio.h: Add definition of struct _IO_cookie_file.
3395 * libio/libioP.h: Add prototypes for _IO_vasprintf, _IO_vdprintf,
3398 * libio/memstream.c: Include <stdio.h>.
3400 * libio/stdio.h: Add prototypes for fopencookie,
3401 __stdio_gen_tempname, __vfscanf, __vsscanf, and __vsnprintf.
3403 * libio/strops.c: Avoid useless expression in `for' initializer.
3405 * locale/findlocale.c: Add some casts to prevent warnings.
3407 * locale/programs/locfile.c (write_locale_data): Don't use
3408 double `/' in locale binary file.
3410 * posix/unistd.h: Remove prototype for `reboot'.
3412 Update from bind-4.9.4-T1A.
3413 * resolv/Makefile (routines): Add inet_ntop and inet_pton.
3414 * resolv/arpa/nameser.h: Add definition of IN6ADDRSZ.
3415 * resolv/gethnamaddr.c, resolv/getnetnamadr.c, resolv/res_comp.c,
3416 resolv/res_debug.c, resolv/res_init.c
3418 * resolv/inet_ntop.c, resolv/inet_pton.c: New files.
3420 * resolv/resolv.h: Add RES_USE_INET6 flag.
3421 (__dn_isvalid): Renamed to __res_dnok.
3422 Add prototypes for __res_ownok and __res_mailok.
3424 * stdio-common/Makefile: Add -Wno-unused to CFLAGS for _itoa.c.
3426 * stdio-common/getline.c, stdio-common/vfscanf.c,
3427 sysdeps/posix/tempname.c: Don't use <ansidecl.h> anymore.
3429 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc]
3430 (sysdep_routines): Add s_reboot.
3431 (install-others): Add $(includedir)/sys/syscall.h.
3432 New rule for $(includedir)/sys/syscall.h to produce from
3435 * sysdeps/unix/sysv/linux/reboot.c: New file. Make single
3436 argument function call 3 argument system call.
3438 * sysdeps/unix/sysv/linux/sys/reboot.h: New file. Linux specific
3439 definition for reboot function.
3441 * sysdeps/unix/sysv/linux/syscall.h: Remove old and obsolete
3444 * sysdeps/unix/sysv/linux/syscalls.list: Rename function for
3445 reboot syscall to __syscall_reboot.
3447 * wcsmbs/wchar.h: Protect prototypes for wcstof and wcstold by
3448 __USE_GNU, not USE_GNU.
3450 Tue May 21 21:55:49 1996 David Mosberger-Tang <davidm@AZStarNet.com>
3452 * locale/programs/charset.c, locale/programs/ld-collate.c:
3453 Add casts to prevent warnings on 64-bit machines.
3455 * locale/programs/ld-monetary.c: Don't do unnecessary tests for
3456 int_frac_digits and frac_digits which only produce warnings.
3458 Mon May 13 23:45:29 1996 David Mosberger-Tang <davidm@AZStarNet.com>
3460 * inet/arpa/inet.h: Backup return type of inet_addr to u_long.
3461 * resolv/inet_addr.c: Likewise.
3463 * resolv/Makefile (distribute): Add res_hconf.h
3464 (routines): Add res_hconf.
3466 * resolv/gethnamaddr.c: Add support for /etc/host.conf.
3468 * resolv/res_init.c: Initialize /etc/host.conf reader.
3470 * resolv/res_hconf.c, resolv/res_hconf.h: New files.
3471 Implementation of reading /etc/host.conf.
3473 Wed May 22 21:21:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3475 * Rules (%.out rules): Prepend $($*-ENV) to the command.
3477 * sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak
3480 Wed May 22 19:37:27 1996 Miles Bader <miles@gnu.ai.mit.edu>
3482 * hurd/hurdexec.c (_hurd_exec): Pass INIT_TRACEMASK.
3483 * hurd/hurdmsg.c (set_int): Support INIT_TRACEMASK.
3485 Wed May 22 18:47:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3487 * sysdeps/mach/hurd/getcwd.c
3488 (_hurd_canonicalize_directory_name_internal): New function, broken out
3491 (__canonicalize_directory_name_internal): New function using it.
3493 * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): New
3494 function, broken out of __getcwd.
3497 Wed May 22 18:14:05 1996 Miles Bader <miles@gnu.ai.mit.edu>
3499 * string/argz-create.c (__argz_create): Correctly calculate length.
3501 * string/argz-extract.c (__argz_extract): Add terminating 0 entry.
3502 * hurd/hurdstartup.c (_hurd_startup): ... and don't so here.
3504 Wed May 22 17:22:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3506 * posix/glob.c [VMS]: Don't include <pwd.h>.
3507 [HAVE_VMSDIR_H]: Include "vmsdir.h".
3508 (glob) [VMS]: Don't grok ~.
3510 Wed May 22 14:46:53 1996 Miles Bader <miles@gnu.ai.mit.edu>
3512 * hurd/hurdstartup.c (_hurd_startup): Terminate the vectors we get
3513 back from argz_extract.
3515 Wed May 22 13:56:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3517 * configure.in: Remove checks for objdump, objcopy, and awk.
3518 * config.make.in (OBJDUMP, OBJCOPY, AWK): Variables removed.
3519 * Makefile (distribute): Remove extract-dynsym.
3520 * extract-dynsym: File removed.
3522 Tue May 21 22:17:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3524 * termios/cfmakeraw.c: Set MIN to 1 and TIME to 0.
3526 Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com>
3528 * stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these
3529 macros if they are not available.
3530 (WEAKNAME): New macro to declare argument as weak.
3531 Define function with __ prefix and add normal name as weak alias.
3533 * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines
3534 these macros if not already available based on R_OK, W_OK, and
3537 Tue May 21 18:48:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3539 * misc/sys/syslog.h (__need___va_list): Define this instead of
3540 __need_va_list before including <stdarg.h>.
3542 * Makerules (o-iterator): Use $(object-suffixes-left) instead
3543 of $(object-suffixes) to produce repetitions; this is used for other
3544 lists than just that one.
3545 [versioned]: Use $(o-iterator) properly.
3547 * sysdeps/unix/sysv/linux/Implies: Include `gnu'.
3548 * sysdeps/mach/hurd/Implies: Likewise.
3550 Sat May 18 02:57:46 1996 Ulrich Drepper <drepper@cygnus.com>
3552 * login/Makefile: New file. This directory contains functions
3553 for user administration.
3554 * Makefile (subdirs): Add login.
3556 * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h.
3557 (extra-libs, libutil-routines): Ditto.
3558 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
3559 misc/utmp.h: Moved to misc/.
3560 * login/login.c, login/login_tty.c, login/logout.c,
3561 login/logwtmp.c, login/utmp.h: Moved to here from misc/.
3563 * login/utmp.h: Split file. Definitions of data structures
3564 and constants are now in the system dependent utmpbits.h file.
3566 * login/setutent_r.c, login/setutent.c, login/endutent_r.c,
3567 login/endutent.c, login/getutent_r.c, login/getutent.c,
3568 login/getutid_r.c, login/getutid.c, login/getutline_r.c,
3569 login/getutline.c, login/pututline_r.c, login/pututline.c:
3570 New files. Routines to handle utmp-style files.
3572 * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux
3573 specific definitions of utmp data structures and constants.
3575 * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h.
3577 * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of
3578 definitions of utmp data structures and constants.
3580 Fri May 17 00:01:31 1996 Ulrich Drepper <drepper@cygnus.com>
3582 * locale/C-monetary.c: Default value for mon_decimal_point should be
3585 * stdio-common/printf.h: Remove Linux libc compatibility stuff.
3586 Add `extra' flag. Currently used in __printf_fp.
3588 * stdio-common/printf_fp.c (__guess_grouping): Renamed from
3589 `guess_grouping' and extend visibility to extern. This function
3590 is now used in `strfmon'.
3591 (__printf_fp): Recognize new bit flag in info struct. This
3592 triggers to use the grouping information and decimal point from
3593 the LC_MONETARY category instead of the LC_NUMERIC category.
3595 * stdio-common/vfprintf.c (process_arg): Correct major bug. In
3596 `complicated' loop we must not use the varargs because the args
3597 are already available in the ARGS_VALUE array.
3599 * stdlib/Makefile (headers): Add monetary.h.
3600 (routines): Add strfmon.
3601 * stdlib/monetary.h: New file. Header for strfmon function.
3602 * stdlib/strfmon.c: New file. Implement strfmon function to print
3603 monetary amounts according to current locale's rules.
3605 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: The kernel header is
3606 now (>= Linux-1.3.100) called <asm/vm86.h>.
3608 Thu May 16 00:31:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3610 * Makerules [versioned]: Make symlinks in the build directory, because
3611 the versioned names might be referenced by a DT_NEEDED in another
3614 Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3616 * manual/examples/longopt.c: Include stdlib.h and getopt.h.
3618 Tue May 14 03:36:21 1996 Ulrich Drepper <drepper@cygnus.com>
3620 * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers):
3621 Add sys/acct.h and sys/sysctl.h.
3623 Tue May 14 19:42:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3625 * sysdeps/generic/strrchr.c: Deansideclized.
3627 * elf/Makefile (ldd): Depend on Makefile.
3628 Find ld.so in $(slibdir) instead of $(libdir).
3630 * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3,
3631 %esi'; gas misassembles the latter into `testb $3, %dh'.
3633 * mach/Machrules (%.udeps rule): Do $(make-target-directory) first.
3635 Tue May 14 16:38:44 1996 David Mosberger-Tang <davidm@AZStarNet.com>
3637 * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using
3640 Tue May 14 20:18:38 1996 Ulrich Drepper <drepper@cygnus.com>
3642 * time/Makefile (routines): Add strptime.
3643 * time/time.h: Add prototype for strptime.
3644 * time/strptime.c: New file. Implementation according to XPG4.
3646 Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3648 * libc-symbols.h (lint): Macro removed. The sunrpc code does some
3649 really stupid things #ifdef lint.
3651 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix
3652 struct member name: sc_eip -> eip.
3654 Mon May 13 19:52:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3656 * Makerules (stub-$(subdir)): Put cmds including cd inside (...) with
3657 output redirect outside it.
3659 * elf/Makefile (subdir_lib): Depend on ld.so.
3661 Sun May 12 22:52:22 1996 Bruce Elliott <belliott@accessone.com>
3663 * stdio-common/vfprintf.c: Correct handling of unsigned short
3666 Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3668 * extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of
3670 * Makerules [install-lib.a]: Find them there.
3672 * sysdeps/unix/sysv/linux/i386/profil-counter.h: New file.
3674 * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty.
3676 * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl.
3678 * configure.in (--with-fp): Note in help string that it's the default.
3680 * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t
3681 instead of unsigned int for map_collection_max and map_collection_act.
3683 * stdio-common/vfprintf.c [USE_IN_LIBIO] (flockfile, funlockfile):
3684 Macros removed; they are in <stdio.h>.
3685 * stdio-common/vfscanf.c: Likewise.
3687 * posix/glob.c [_AMIGA]: Don't include <pwd.h>.
3688 (glob): Remove bogus & in call to globfree.
3689 [_AMIGA]: Use AmigaDOS file name conventions.
3691 * time/Makefile (zonenames): Target removed.
3692 (extra-objs): Remove it from here.
3693 Include the z.* files directly instead of including zonenames; use
3694 `-include' to not complain before they exist.
3696 * sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with
3697 $(common-objpfx) instead of $(objpfx).
3699 * sysdeps/unix/bsd/telldir.c (seekdir, telldir): Use new struct member
3702 * Makerules [install-lib-non.a]: Find these things with $(objpfx)
3703 instead of $(common-objpfx).
3705 * Makeconfig (sysdep-configures): New variable.
3706 (config.status): Depend on $(sysdep-configures).
3708 Fri May 10 20:07:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3710 * sysdeps/unix/sysv/linux/profil.c: New file.
3712 Fri May 10 19:59:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3714 * sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable.
3716 Fri May 10 19:55:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3718 * shlib-versions: Use libm=6 and libc=6 for m68k-linux.
3720 Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3722 * string/envz.c: Fix uses of unsigned to size_t.
3724 * Makerules ($(libdir)/libc.so): Make the file an ld script.
3726 * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option.
3728 * sysdeps/mach/configure.in: File removed.
3729 * sysdeps/mach/configure: File removed.
3731 * mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too.
3732 (%_server.[ch] rule): Don't depend on %.defs; use #include to get
3733 installed .defs file.
3735 * stdio-common/vfprintf.c (flockfile, funlockfile): Define to
3736 nothing for stdio. Fix fUNlockfile -> funlockfile for libio.
3737 * stdio-common/vfscanf.c: Likewise.
3739 Sat May 11 13:43:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3741 * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h.
3743 * mach/Machrules (%.ir rule): Don't produce deps for imports.
3745 * elf/dl-fini.c (_dl_fini): Clear L->l_init_called after calling fn.
3747 * Makerules (install): Depend on $(slibdir)/libc.so$(libc.so-version).
3748 [!subdir] ($(libdir)/libc.so, $(common-objpfx)/libc-syms.so): Protect
3749 these targets and install dep on $(libdir)/libc.so with this.
3751 * hurd/Makefile: Removed all rules and defns for using code from Hurd
3752 sources and installing headers from there.
3754 * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we
3755 set it. In Mach error matching clause, only match if FILENAME is
3756 still the same value.
3758 * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile;
3759 $(mach-srcdir) no longer exists.
3760 (hurd-srcdir): Variable removed.
3761 (includes): Don't append -I$(hurd-srcdir).
3762 (last-includes): Variable removed.
3763 Remove vpath specs using $(hurd-srcdir).
3764 (mach-errno-h): New canned sequence.
3765 ($(common-objpfx)errnos.d): New target, generated included makefile
3766 to determine absolute file names of Mach headers to search for error
3767 codes and set variable mach-errnos-deps.
3768 ($(common-objpfx)stamp-errnos): Depend on $(mach-errnos-deps) instead
3769 of prior explicit list.
3770 (generated): Add errnos.d, stamp-errnos.
3772 * mach/Machrules (some-if-rtn): New variable and target; compute deps
3773 of some if routine and make all if routines depend on that .d file
3774 instead of static list of .h files.
3776 * mach/Makefile (mach/mach_interface.defs,
3777 mach/memory_object_user.defs): Targets removed.
3778 ($(objpfx)mach-syscalls.mk): Tweak this kludge so it doesn't depend
3779 directly on Mach sources.
3781 * sysdeps/mach/Makefile (mach-srcdir): Variable removed.
3782 (includes): Don't append -I$(mach-srcdir).
3783 Remove vpath specs using $(mach-srcdir).
3785 * hurd/Makefile (server-interfaces): Add faultexc.
3786 (sig): Remove it from here.
3787 (fault%.[ch]): Rule removed.
3788 (MIGFLAGS-faultexc): New variable.
3790 * hurd/faultexc.defs: New file.
3792 * mach/Machrules (%.ustamp rule): Pass $(MIGFLAGS-$*) to mig.
3793 (%_server.[ch] rule): Likewise.
3795 * mach/Makefile: Removed all rules and defns for using code from Mach
3796 sources and installing headers from there.
3798 * Makeconfig [$(build-shared)=yes] (link-libc): Append
3799 $(libc.so-version) to libc.so.
3801 Fri May 10 18:36:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3803 * mach/Machrules (%.ustamp rule): Don't depend on %.defs.
3804 (%.udeps): New rule parallel to that one, generating included
3805 makefiles with -M output from `#include <%.defs>'.
3807 * Makerules (sed-remove-objpfx): Remove space before \ at eol.
3809 * Makefile (distribute): Add FAQ.
3810 * FAQ: New file contributed by drepper.
3812 * time/Makefile (headers): Add timebits.h.
3813 * sysdeps/unix/sysv/linux/timebits.h: New file.
3814 * sysdeps/stub/timebits.h: New file.
3815 * time/time.h (CLK_TCK): Define to CLOCKS_PER_SEC.
3816 (CLOCKS_PER_SEC): Remove this macro. Instead #include <timebits.h>.
3818 Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
3820 * string/argz-create.c (__argz_create): Restore const keyword to
3822 * string/argz.h (__argz_create, argz_create): Restore const
3824 * string/envz.c (envz_get): Don't declare ENTRY const.
3826 Fri May 10 11:48:03 1996 Miles Bader <miles@gnu.ai.mit.edu>
3828 * string/argz.h (argz_create): Fix param type.
3829 * string/argz-create.c (__argz_create): Remove const from param type.
3830 * string/envz.c (envz_get): Remove const from return type.
3832 Fri May 10 09:41:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
3834 * string/argz.h (__argz_create, argz_create): Omit const keyword
3835 from declaration of ARGV.
3836 * string/envz.h (envz_get): Omit const from declaration of return
3839 Thu May 9 09:17:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3841 * aclocal.m4 (AC_FD_MSG, AC_FD_CC): Fix these for autoconf weirdness.
3843 Cleanups in sunrpc code from NIIBE Yutaka <gniibe@mri.co.jp>.
3844 * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1.
3845 * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's
3847 * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since
3848 CLNT_DESTROY already has.
3849 (pmap_unset): Likewise.
3850 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
3851 * sunrpc/pm_getport.c (pmap_getport): Likewise.
3852 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3853 * sunrpc/portmap.c (callit): Likewise.
3855 * Makerules (versioned): Strip whitespace.
3857 * Rules (static-only-routines rule): Remove spurious space in dep.
3859 * misc/getusershell.c: Undo changes of 7 May 96 (rev 1.6).
3860 Cast string constants to char *.
3862 * posix/glob/SMakefile, posix/glob/SCOPTIONS, posix/glob/Makefile.ami:
3863 New files, AmigaDOS support from Aaron Digulla.
3864 * posix/Makefile (glob.tar): Add AmigaDOS support files.
3866 * sysdeps/unix/sysv/linux/net/if.h: New file.
3867 * sysdeps/unix/sysv/linux/Dist: Add it.
3868 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add
3871 * Makeconfig (link-libc): Add libc.a after libc.so in link.
3873 * Rules (static-only-routines rule): Use empty.o instead of dummy.o.
3874 (empty.o): New target.
3875 (generated): Add empty.c, empty.o.
3877 * resolv: Code updated from BIND-4.9.3P2C3.
3879 * Rules (static-only-routines rule): Use dummy.o, not dummy.so.
3881 Wed May 8 20:04:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3883 * extract-dynsym: New file.
3884 * Makefile (distribute): Add it.
3885 * Rules (subdir_install): Depend on $(common-objpfx)sor-$(subdir).
3886 [! libc.so-version]: Clear static-only-routines.
3887 ($(common-objpfx)sor-$(subdir)): New target.
3888 [static-only-routines]: New static pattern rule for these .so's.
3889 * Makerules [libc.so-version] ($(slibdir)/libc.so): Target removed.
3890 [libc.so-version] ($(libdir)/libc.so, $(common-objpfx)libc-syms.so):
3891 New targets replace it.
3892 (install) [libc.so-version]: Depend on $(libdir)/libc.so instead of
3894 * io/Makefile (static-only-routines): New variable.
3895 * configure.in: Check for tools objdump and objcopy, and for awk.
3896 * config.make.in (OBJDUMP, OBJCOPY, AWK): New variables.
3898 Thu May 9 01:24:00 1996 Ulrich Drepper <drepper@cygnus.com>
3900 * locale/programs/config.h: Remove definition of wint_t.
3902 * locale/programs/ld-collate.c: Include <wchar.h> instead of
3905 * manual/time.texi: Add some more description for %U and %W
3906 format of strftime. Describe new format %V of strftime.
3908 * resolv/gethnamaddr.c: Prevent warning by preventing variable
3910 * stdio-common/_itoa.c: Ditto.
3912 Tue May 7 23:43:07 1996 Ulrich Drepper <drepper@cygnus.com>
3914 * libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c,
3915 libio/fileno.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
3916 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
3917 libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
3918 libio/iofputs.c, libio/iofread.c, libio/iofsetpos.c,
3919 libio/ioftell.c, libio/iofwrite.c, libio/iogetdelim.c,
3920 libio/iogets.c, libio/ioputs.c, libio/iosetbuffer.c,
3921 libio/iosetvbuf.c, libio/ioungetc.c, libio/iovsprintf.c,
3922 libio/libio.h, libio/putc.c, libio/putchar.c, libio/rewind.c,
3923 libio/stdio.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c,
3924 stdio-common/vfscanf.c: Prepare for reentrant libio.
3926 * libio/clearerr_u.c, libio/feof_u.c, libio/ferror_u.c,
3927 libio/fputc_u.c, libio/getc_u.c, libio/getchar_u.c,
3928 libio/iofflush_u.c, libio/putc_u.c, libio/putchar_u.c: New files.
3929 Used in reentrant libio.
3931 * misc/getusershell.c: Prevent warnings.
3933 Wed May 8 12:08:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3935 * Makerules (install-lib.so rules): Undouble $s in target and dep
3936 parts of o-iterator-doit defns.
3937 (unversioned libraries install rule): Fix pattern.
3939 * mach/Makefile (mach-src-headers): Use $(base-machine) instead of
3941 ($(includedir)/machine): Likewise.
3943 * config.make.in (base-machine): New variable.
3944 * configure.in (machine): Move case stmt to set $machine out of sysdep
3945 dirs AC_CACHE_CHECK.
3946 (base_machine): New variable, set in that switch and AC_SUBST'd.
3948 * Makerules (stub-$(subdir)): Use file name in directory as output,
3951 * configure.in (MSGFMT): Use : if none found.
3953 * po/Makefile: Include ../Rules instead of ../Makerules.
3955 Tue May 7 23:18:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3957 * po/Makefile: New file.
3958 * Makefile (subdirs): Add po.
3960 * configure.in: Check for msgfmt.
3961 * config.make.in (MSGFMT): New variable.
3963 Sun May 5 23:49:10 1996 Ulrich Drepper <drepper@cygnus.com>
3965 * misc/Makefile (routines): Add swapoff.
3967 * sysdeps/unix/sysv/linux/Dist: Add sys/quota.h.
3969 * sysdeps/unix/sysv/linux/sys/quota.h: New file. Wrapper around
3972 Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
3974 * string/argz-extract.c: Remove const from decl.
3975 * string/argz.h: Here too.
3977 * Makeconfig (version.mk): Fix regexp in sed cmd.
3978 Depend on $(..)Makeconfig.
3980 * GMP code updated from gmp-2.0 release.
3981 * stdlib/Makefile (mpn-routines): Removed add_1, added inlines.
3982 * sysdeps/generic/add_1.c: File removed.
3983 * stdlib/strtod.c: mp_limb is now mp_limb_t.
3984 * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise.
3985 * stdio-common/_itoa.c: Likewise.
3986 * stdio-common/printf_fp.c: Likewise.
3987 Don't include ansidecl.h.
3989 * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat.
3991 * shlib-versions: New file.
3992 * Makerules (soversions.mk): New target, include file generated from
3993 shlib-versions. Moved shared library rules before installation rules.
3994 Rewrote shared library installation rules for versioned libraries.
3995 * math/Makefile (libm.so-version): Variable removed.
3997 * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail.
3999 * hurd/report-wait.c (_S_msg_describe_ports): New function.
4001 * configure.in: Add AC_PROG_LN_S check.
4002 * config.make.in (LN_S): New variable.
4004 Sun May 5 03:10:44 1996 Ulrich Drepper <drepper@cygnus.com>
4006 * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does
4007 not know about weak aliases now and optimizes necessary `if'
4010 * posix/unistd.h: Add swapoff prototype.
4012 * sysdeps/generic/confname.h: Add even more POSIX.4 symbols.
4014 * sysdeps/posix/fpathconf.c (__fpathconf): Get information
4015 for _PC_PATH_MAX from fstatfs function if available.
4017 * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX,
4018 _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX,
4019 _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX,
4020 _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and
4022 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
4024 * sysdeps/stub/swapoff.c: New file. Stub version for swapoff
4027 * sysdeps/unix/syscalls.list: Add swapoff.
4029 * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h.
4031 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
4032 (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid,
4033 sysinfo, and uselib.
4034 (headers): Add sys/sysinfo.h.
4036 * sysdeps/unix/sysv/linux/gethostid.c: Prevent warning.
4038 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc]
4039 (sysdep_routines): Add ioperm, iopl, and vm86.
4040 (headers): Add sys/perm.h and sys/vm86.h.
4042 * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains
4043 prototypes for iopl and ioperm.
4045 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains
4048 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add
4051 * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains
4052 prototypes for acct function.
4054 * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header
4055 file with prototypes.
4057 * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains
4058 prototype for sysinfo function.
4060 * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl,
4061 llseek, setfsgid, setfsuid, sysinfo, and uselib.
4063 * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating
4064 posix/sysconf.c now only handle cases different to that
4067 Tue May 7 15:08:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
4069 * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput
4070 (all references changed). Now exported.
4072 * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h).
4073 (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput,
4074 line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data
4075 instead of struct data.
4076 (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various
4077 occurences of `wrap' and `wrapmargin' to `wmargin'.
4078 (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin,
4079 line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin,
4080 line_wrap_set_wmargin, line_wrap_point): New functions.
4081 * stdio/linewrap.h: New file.
4082 * stdio/Makefile (headers): Add linewrap.h.
4084 Tue May 7 14:19:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4086 * sysdeps/unix/sysv/linux/i386/Makefile: File removed.
4088 * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls.
4090 * sysdeps/unix/sysv/linux/schedbits.h: New file.
4092 Tue May 7 13:47:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
4094 * stdio/linewrap.c (struct data): Make margin fields not-pointers.
4095 (lwoutput): Adjust uses acordingly.
4097 Tue May 7 10:51:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4099 * sysdeps/mach/hurd/fdatasync.c: New file.
4100 * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync.
4102 * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link.
4103 * sysdeps/mach/hurd/symlink.c: Likewise.
4104 * sysdeps/mach/hurd/link.c: Likewise.
4105 * sysdeps/mach/hurd/bind.c: Likewise.
4106 * hurd/hurdsig.c (write_corefile): Likewise.
4108 * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server.
4110 * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int.
4112 * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to
4114 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise.
4116 * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait.
4118 * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename.
4120 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct
4122 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
4123 * hurd/hurd-raise.c (_hurd_raise_signal): Likewise.
4124 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
4126 * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise.
4128 * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype.
4130 * hurd/hurdsig.c (write_corefile): Take const struct
4131 hurd_signal_detail * arg. Pass all details to crash_dump_task.
4132 (_hurd_internal_post_signal): Pass DETAIL to write_corefile.
4133 (_hurd_internal_post_signal: suspend): Pass code and error to
4136 * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to
4137 proc_getprocinfo by reference.
4139 * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos.
4141 * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo.
4143 * sysdeps/stub/sched_getp.c: Add missing #include <sys/types.h>.
4144 * sysdeps/stub/sched_sets.c: Likewise.
4145 * sysdeps/stub/sched_setp.c: Likewise.
4146 * sysdeps/stub/sched_rr_gi.c: Likewise.
4147 * sysdeps/stub/sched_gets.c: Likewise.
4149 * hurd/hurdsig.c: Use struct hurd_signal_detail.
4150 * hurd/hurd/fd.h (_hurd_fd_error): Likewise.
4151 * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise.
4153 Mon May 6 09:51:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4155 * stdio/linewrap.c: New file.
4156 * stdio/Makefile (routines): Add linewrap.
4157 * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream,
4160 Mon May 6 14:53:26 1996 Ulrich Drepper <drepper@cygnus.com>
4162 * time/strftime.c (week): Add third parameter telling how
4163 many days must be in new year so that it is called week 1.
4164 (Following ISO 8601).
4165 Correct computation for %U and %V formats when day was first
4167 (strftime): Implement %V format according to Spec1170.
4169 Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
4171 * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration.
4173 Sat May 4 05:44:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4175 * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change
4176 prototype of `preempter' elt to use struct hurd_signal_detail.
4178 * hurd/hurd/signal.h (struct hurd_signal_detail): New type.
4179 (struct hurd_sigstate): Make `pending_data' member an array of that.
4180 Use the new type in several decls.
4182 * locale/setlocale.c (_nl_C_name): Variable removed.
4183 * locale/C_name.c: New file.
4184 (_nl_C_name): Put it here instead.
4185 * locale/Makefile (aux): Add C_name.
4187 * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in
4188 auth_user_authenticate rpc.
4189 (open): Avoid using strtol in digit conversion for "fd/N" magic.
4190 (_dl_sysdep_start): Likewise for memobj name in magic switches.
4192 * elf/Makefile (reloc-link): New variable.
4193 (dl-allobjs.so): New target, link together $(rtld-routines).
4194 (librtld.so): Depend on that instead of the rtld components.
4195 (generated): Add dl-allobjs.so.
4197 * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post
4200 * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions
4201 instead of _hurd_split_args.
4202 (_S_msg_*_exec_flags): Functions removed.
4203 (_S_msg_startup_dosync): Stub removed.
4205 Sat May 4 02:11:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4207 * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of
4208 EXEC_TRACED bit in _hurd_exec_flags.
4209 Pass sigcode arg in msg_sig_post_untraced rpc.
4211 * sysdeps/mach/hurd/access.c: Don't pass io port in
4212 auth_user_authenticate rpc.
4214 * posix/sched.h: Fix typos.
4216 * sysdeps/mach/hurd/fork.c: Use new critical section lock.
4217 Clear _hurdsig_traced instead of EXEC_TRACED.
4219 * sysdeps/stub/nanosleep.c (nanosleep): Fix typo.
4221 * wcsmbs/wcstol.c: Find strtol.c in ../stdlib.
4222 * wcsmbs/wcstof.c: Find strtod.c in ../stdlib.
4223 * wcsmbs/wcstod.c: Likewise.
4224 * wcsmbs/wcstold.c: Likewise.
4226 * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype.
4228 * string/envz.c (envz_entry): Use const.
4229 (envz_get, envz_remove): Likewise.
4230 (envz_entry): Return char *, not const char *.
4232 * string/envz.h: Fix decl.
4234 * string/argz-create.c: Use const in prototype.
4235 * string/argz-next.c: Likewise.
4237 Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4239 * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post.
4240 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
4241 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
4242 * sysdeps/mach/hurd/kill.c: Likewise.
4244 * hurd/hurdexec.c (_hurd_exec): Use new critical section lock.
4245 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
4246 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise.
4247 * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel):
4249 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
4250 * sysdeps/mach/hurd/sigaction.c: Likewise.
4252 * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can
4253 change meaninglessly.
4255 * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section
4256 flag with a spin lock.
4257 (_hurd_critical_section_lock): Use spin_try_lock on that to see if we
4258 get it. No need to take SS->lock at all.
4259 (_hurd_critical_section_unlock): Unlock SS->critical_section_lock
4260 instead of clearing the old flag member.
4261 * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to
4262 test the critical section state.
4264 * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray.
4266 * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post.
4268 * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced
4269 instead of testing (_hurd_exec_flags & EXEC_TRACED).
4270 (_S_msg_sig_post): Take sigcode arg and pass it through.
4271 (_S_msg_sig_post_untraced): Likewise.
4272 (reauth_proc): Don't pass proc port in auth_user_authenticate.
4274 * hurd/setauth.c (_hurd_setauth): Don't pass object ports in
4275 auth_user_authenticate RPCs, just the one-off rendezvous port.
4276 * hurd/dtable.c (reauth_dtable): Likewise.
4277 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
4279 * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec.
4280 Pass sigcode arg to msg_sig_post.
4282 * string/argz.h (argz_create): Use const in prototype.
4284 * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of
4285 testing (_hurd_exec_flags & EXEC_TRACED).
4286 Pass sigcode arg to msg_sig_post.
4288 * hurd/hurd.h: Declare _hurdsig_traced.
4290 * string/argz.h (__argz_next): Cast ENTRY before returning it.
4292 * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg
4295 * hurd/path-lookup.c: New file.
4296 * hurd/Makefile (routines): Add path-lookup.
4297 * hurd/hurd/lookup.h: Declare file_name_path_scan,
4298 hurd_file_name_path_lookup.
4299 * hurd/hurd.h: Declare file_name_path_lookup.
4301 * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID
4302 argument. Instead, use a separate reply port for each RPC and put them
4303 all in a port set to wait for slow replies.
4305 * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in
4308 Fri May 3 03:14:02 1996 Ulrich Drepper <drepper@cygnus.com>
4310 * intl/Makefile (routines): Add l10nflist and explodename.
4311 (distribute): Add loadinfo.h and locale.alias.
4312 (install-others): New variable to install locale.alias.
4314 * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h,
4315 intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code
4316 is now shared with the locale implementation.
4318 * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file.
4319 Extracted from finddomain.c. This is also used in the locale
4322 * intl/locale.alias: New file. Locale alias database compatible
4323 with X Window System's locale alias file. Can now be used in
4324 locale and gettext code.
4326 * libio/stdio.h: Add prototypes for asprint and vasprintf.
4328 * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c,
4329 locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new
4330 field in structure with name of locale ("C" in this case).
4332 * locale/Makefile (routines): Add findlocale.
4334 * locale/findlocale.c: New file. Instead of trying to load the
4335 directly described file we now try to be much smarter when this
4336 fails. Use the same code as gettext does.
4338 * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about
4341 * locale/localeinfo.h: Adapt prototypes and declarations for new
4342 setlocale implementation. Remove definition of u32_t type. We
4343 now use u_int32_t from <sys/types.h>.
4345 * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type
4348 * locale/programs/config.h, locale/lc-collate.c,
4349 locale/localeinfo.h, locale/programs/ld-collate.c,
4350 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
4351 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
4352 locale/programs/ld-time.c, locale/weight.h, string/strcoll.c:
4353 Change to use u_int32_t and u_int16_t.
4355 * locale/programs/localedef.c (construct_output_path): Change name
4356 of output locale to contain normalized form of the character set
4359 * string/Makefile (routines): Add agrz-ctsep and argz-next.
4360 (tests): Add tst-strlen.
4362 * string/argz-ctsep.c: New file. Implement reverse operation
4363 from argz-stringify.
4365 * string/argz-next.c: Non-inline version of function from argz.h.
4367 * string/argz.h, string/envz.h: Make usable as global header file.
4369 * string/envz.c: Fix declarations to use size_t where prototypes
4372 * string/tst-strlen.c: New file. Another test for critical
4373 situation in strlen implementations.
4375 * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word
4378 * wctype/test_wctype.c: Fix controlling comparison after change to
4379 32 bit character class array.
4381 Fri May 3 12:53:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4383 * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line.
4385 Thu May 2 22:50:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4387 * sysdeps/unix/sysv/linux/getpriority.c: New file.
4388 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority.
4390 Thu May 2 22:41:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4392 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT):
4393 Disable all exceptions.
4395 Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4397 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
4398 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
4399 sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
4400 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
4401 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
4402 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
4403 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
4404 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
4405 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't
4406 define __NO_MATH_INLINES, which is already defined on command
4409 Thu May 2 22:18:28 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4411 * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f):
4412 Replace 0x80000000 by 0x48000000.
4413 * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise.
4415 Thu May 2 21:30:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4417 * sunrpc/svc_simple.c: Make global variable pl local to
4420 Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4422 * time/Makefile (tz-cflags): New variable.
4423 (CFLAGS-tzfile.c): New variable.
4424 (CFLAGS-zic.c): Add $(tz-cflags).
4425 (tz-cc): Remove variable.
4426 ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets.
4428 Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4430 * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a
4431 name, instead of checking for reaching end of buffer, which happens
4432 when the match is the last entry in the buffer.
4434 * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h
4437 Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com>
4439 * ctype/ctype-info.c: (__ctype_width): New variable.
4440 (__ctype_names): Initialize correctly without offset.
4442 * locale/C-collate.c, locale/C-ctype.c,
4443 locale/C-messages.c, locale/C-monetary.c,
4444 locale/C-numeric.c, locale/C-time.c: Change copyright.
4446 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct
4447 endianess for initialization value.
4449 * locale/lc-ctype.c (current): Add parameter for offset.
4450 (__ctype32_b, __ctype_width): Add initialization for these
4453 * locale/programs/charmap.c: Finish support for WIDTH information.
4454 (new_width): New function.
4456 * locale/programs/charset.h (width_rule): new data structure.
4457 (charset_t): Add elements for width information.
4459 * locale/programs/ld-ctype.c (locale_ctype_t): Add element
4460 for width information.
4461 (allocate_arrays): Add new argument for charset.
4462 (ctype_finish): Make sure all characters named in charset
4463 width table are known to name table.
4464 (ctype_output): Correct handling of class and map name
4465 information and write out width information.
4466 (find_idx): Prepare for being called with NULL pointer as
4467 TABLE argument. This means only allocate name entry.
4468 (allocate_arrays): Correct handling of array element -1.
4469 Because EOF == -1 the value of element 127 must *not* be
4471 Fill width information from charset tables.
4473 * locale/programs/localedef.c (main): Correct loop over all
4474 categories after change of order from Thu Mar 28 14:22:51 1996.
4475 Add new charset argument to call of `write_all_categories'.
4477 * locale/programs/locales.h (ctype_finish, ctype_output): New
4480 * locale/programs/locfile.c (write_all_categories): Call
4481 `ctype_output' with additional argument charset.
4483 * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
4484 and _POSIX_PRIO_IO definitions.
4486 * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX
4487 and CHARCLASS_NAME_MAX.
4489 * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
4492 * stdlib/grouping.h: Prepare for use in wide string functions.
4494 * stdlib/stdlib.h: Correct prototypes for __strto*_internal
4497 * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'.
4499 * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'.
4501 * string/strcoll.c: Extend for use as `wcscoll'.
4503 * string/strxfrm.c: Extend for use as `wcsxfrm'.
4505 * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO,
4506 _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX.
4508 * sysdeps/generic/stpncpy.c: Correct return value.
4510 * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO,
4511 _PC_ASYNC_IO, and _PC_PRIO_IO.
4513 * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS,
4514 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
4515 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC,
4516 _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
4517 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES,
4518 _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX.
4519 * sysdeps/stub/sysconf.c: Ditto.
4520 * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
4522 * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h.
4524 * sysdeps/unix/sysv/linux/Makefile [subdir == misc]
4525 (sysdep_routines): Add s_sysctl and sysctl.
4527 * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap.
4529 * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper
4530 around kernel header.
4532 * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define
4533 interface to `sysctl' function.
4535 * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl.
4537 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of
4538 _SC_CHARCLASS_NAME_MAX.
4540 * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller
4541 of _sysctl system call.
4543 * sysvipc/Makefile (routines): Add ftok.
4545 * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
4546 David Mosberger-Tang.
4548 * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol,
4549 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
4550 wcsxfrm, wcwidth, and wcswidth.
4552 * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol,
4553 wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
4554 wcsxfrm, wcwidth, and wcswidth.
4555 Declare internal interfaces for wcsto* functions.
4556 [OPTIMIZE]: Define inline functions for wcsto* functions to
4557 call internal interface functions.
4559 * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non-
4560 standard function equivalent to stpcpy/stpncpy.
4562 * wcsmbs/wcscoll.c: Implement `wcscoll' function by using
4563 `strcoll' implementation.
4565 * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of
4568 * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod'
4570 * wcsmbs/wcstof.c: Same for `wcstof'.
4571 * wcsmbs/wcstold.c: Same for `strtold'.
4573 * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol'
4575 * wcsmbs/wcstoq.c: Same for `wcstoq'.
4576 * wcsmbs/wcstoul.c: Same for `wcstoul'.
4577 * wcsmbs/wcstouq.c: Same for `wcstouq'.
4579 * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open
4581 * wcsmbs/wcwidth.c: Ditto for `wcwidth'.
4582 * wcsmbs/wcwidth.h: Common function for definitions of above two
4585 * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using
4586 `strxfrm implementation.
4588 * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type.
4590 * wctype/wctype.h (wint_t): Protect against multiple definition.
4591 (wctype_t): Always define as `unsigned long int'.
4593 * wctype.h: New file. Wrapper around wctype/wctype.h.
4595 Tue Apr 30 17:30:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
4597 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to
4598 interrupt_operation call.
4599 (_hurdsig_interrupt_timeout): New variable.
4601 * hurd/report-wait.c (describe_number): Correctly allocate space
4602 in DESCRIPTION for the digits in I.
4604 Mon Apr 29 00:11:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4606 * hurd/hurdstartup.c (_hurd_split_args): Function removed.
4607 (_hurd_startup): Use argz functions.
4609 * hurd/hurdexec.c: Use argz functions.
4611 * errno.h [!__error_t_defined] (error_t): New type.
4612 * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the
4613 typedef in errnos.h.
4615 * string/envz.c, string/envz.h: New files.
4616 * string/argz.h, string/argz-append.c, string/argz-count.c,
4617 string/argz-create.c, string/argz-delete.c, string/argz-extract.c,
4618 string/argz-insert.c, string/argz-stringify.c: New files.
4619 * string/Makefile (routines): Add envz, argz-*.
4620 (headers): Add argz.h, envz.h.
4622 Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4624 * sysdeps/unix/sysv/linux/i386/Makefile: New file.
4626 Wed Apr 24 17:35:30 Ulrich Drepper <drepper@cygnus.com>
4628 * inet/netinet/in.h, socket/sys/socket.h: Move to
4629 sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h.
4630 * netinet/in.h, sys/socket.h: Remove file.
4632 * misc/Makefile (routines): Add fdatasync.
4634 * posix/Makefile (headers): Add sched.h.
4635 (routines): Add nanosleep, sched_setp, sched_getp, sched_sets,
4636 sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi.
4638 * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS,
4639 _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO,
4640 _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC,
4641 _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE,
4642 _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING,
4643 _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS.
4645 * posix/sched.h: New file. Header for POSIX scheduling interface.
4647 * posix/unistd.h: Describe options from POSIX.4.
4648 Add declaration of fdatasync.
4650 * sysdeps/generic/confname.h: Add definition for
4651 _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS,
4652 _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO,
4653 _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
4654 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING,
4655 _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS.
4657 * sysdeps/generic/fdatasync.c: New file. Default implementation
4660 * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h.
4662 * sysdeps/generic/schedbits.h: New file. System dependent
4663 defintion for POSIX.4 scheduling interface.
4665 * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h.
4667 * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c,
4668 sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c,
4669 sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c,
4670 sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c,
4671 sysdeps/stub/sched_yield.c: New file: Stub implementation
4672 for systems missing these POSIX.4 system calls.
4674 * sysdeps/unix/sysv/linux/gnu/types.h,
4675 sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for
4676 data type definitions.
4678 * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux
4681 * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX
4682 options applicable for Linux.
4684 * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for
4685 fdatasync, nanosleep, sched_setparam, sched_getparam,
4686 sched_setscheduler, sched_getscheduler, sched_yield,
4687 sched_get_priority_max, sched_get_priority_min, and
4688 sched_rr_get_interval.
4690 * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4
4693 * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers.
4695 * time/sys/time.h: Remove definition of `struct timespec'.
4697 * time/time.h (struct timespec): Move definition to here.
4699 Fri Apr 26 01:55:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4701 * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC.
4703 Thu Apr 25 15:49:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
4705 * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in
4706 the scan for a name, avoid doing another readdir (which overwrites
4707 NENTRIES, and was resulting in a bogus ENOENT).
4709 * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL.
4711 Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4713 * stdio/internals.c (seek_to_target): Set errno if seek function
4714 returns the wrong offset.
4716 * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL.
4717 * wcsmbs/wcrtomb.c: Likewise.
4719 * stdio-common/vfprintf.c: Include errno.h.
4721 Tue Apr 23 21:09:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
4723 * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new
4724 variable, LUCKY, to use instead of setting D to -1 (which fouls
4727 Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4729 * config.h.in (HAVE_REGEX): New macro.
4731 * sysdeps/unix/syscalls.list: Add statfs, fstatfs.
4732 * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h.
4733 (routines): Add statfs, fstatfs.
4734 * sysdeps/mach/hurd/statfs.c: New file.
4735 * sysdeps/mach/hurd/fstatfs.c: New file.
4736 * sysdeps/stub/fstatfs.c: New file.
4737 * sysdeps/stub/statfs.c: New file.
4738 * io/sys/statfs.h: New file.
4739 * sysdeps/generic/statfsbuf.h: New file.
4740 * sysdeps/unix/sysv/linux/statfsbuf.h: New file.
4742 Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4744 * malloc/Makefile (gmalloc-routines): Add valloc back here.
4745 (dist-routines): Remove it here.
4746 * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC]
4747 (ELIDE_VALLOC): Define it.
4748 [! ELIDE_VALLOC]: Make whole file conditional on this.
4749 * malloc/malloc.h (valloc): Make decl conditional on
4750 [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs].
4752 Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4754 * MakeTAGS: Include version.mk.
4755 (po/SYS_libc.pot): Add missing / in sed s cmd.
4757 Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4759 * Makerules (no-whole-archive): Test $(have-no-whole-archive), not
4760 $(libc_cv_ld_no_whole_archive).
4762 Sat Apr 20 17:07:17 1996 Ulrich Drepper <drepper@cygnus.com>
4764 * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h,
4765 grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h,
4766 math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h,
4767 misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h,
4768 posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h,
4769 posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h,
4770 resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
4771 stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h,
4772 string/string.h, sysdeps/generic/sigaction.h,
4773 sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h,
4774 sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h,
4775 sysdeps/unix/sysv/linux/sys/ptrace.h,
4776 sysdeps/unix/sysv/minix/sigaction.h,
4777 sysdeps/unix/sysv/sco3.2.4/sigaction.h,
4778 sysdeps/unix/sysv/sysv4/sigaction.h,
4779 sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h,
4780 time/sys/time.h, time/time.h: Fix copyright comment.
4782 Fri Apr 19 00:49:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4784 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are
4785 not given in stack aux vector, fetch them with syscalls.
4787 * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value
4788 for nonmatching nonerror (instead of !MATCH).
4789 (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either.
4791 * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of
4792 unsigned long for variable NET2.
4794 * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e.
4796 Tue Apr 9 14:37:31 1996 Ulrich Drepper <drepper@cygnus.com>
4798 * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h,
4799 catgets/config.h, catgets/gencat.c, catgets/nl_types.h,
4800 catgets/open_catalog.c: New files. Implementation of XPG4
4801 compliant catgets() function and needed tools.
4802 * Makefile (subdirs): Add catgets.
4804 Thu Apr 18 23:36:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4806 * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES.
4808 Wed Apr 10 20:48:43 1996 Ulrich Drepper <drepper@cygnus.com>
4810 * stdio-common/vfprintf.c: Correct some typos.
4812 * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c,
4813 sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of
4816 Thu Apr 18 21:07:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
4818 * Makerules (no-whole-archive): New variable.
4819 (build-shlib): Use it.
4820 * elf/Makefile (libdl.so): Use it.
4821 * configure.in (libc_cv_ld_no_whole_archive): New check for
4823 * config.make.in (have-no-whole-archive): New variable.
4825 * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc
4828 * Make-dist: Include version.mk.
4829 (version, release): Variables removed.
4830 * Makeconfig (version.mk): New target.
4832 Fri Apr 19 01:42:18 1996 Ulrich Drepper <drepper@cygnus.com>
4834 * locale/Makefile (headers): Add langinfo.h.
4835 (CPPFLAGS): Remove -Iliblib.
4837 Mon Apr 15 16:49:04 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4839 * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign
4840 function and its declaration.
4842 Wed Apr 10 14:13:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
4844 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store
4845 MACH_PORT_DEAD in the thread reply-port variable before destroying
4846 the signal handler's reply port, to avoid infinite recursion.
4848 Mon Apr 8 18:27:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
4850 * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the
4851 user passes in TZ, just zero it (emacs passes in a dummy variable,
4852 and rms says the hurd should be the one to change).
4854 Sun Apr 7 10:37:30 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4856 * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc
4859 Fri Apr 5 17:43:41 1996 Miles Bader <miles@gnu.ai.mit.edu>
4861 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store
4862 MACH_PORT_DEAD in the thread reply-port variable before destroying
4863 the signal handler's reply port to avoid infinite recursion.
4864 * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only
4865 attempt to destroy PORT if it's a valid port name.
4867 Wed Apr 3 17:10:44 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4869 * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx).
4870 * Makerules ($(install-lib) rules): Find libs with $(common-objpfx)
4871 instead of $(objpfx).
4873 Tue Apr 2 21:27:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4875 * posix/glob.c (glob_pattern_p): Avoid scanning past eos if
4876 the pattern ends with a backslash and quoting is enabled.
4877 * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such
4880 Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4882 * stdio-common/tst-printf.c (main): Add new test case.
4884 * sysdeps/generic/setenv.c (unsetenv): Use old-style definition.
4886 Mon Apr 1 11:39:10 Ulrich Drepper <drepper@gnu.ai.mit.edu>
4888 * stdlib/strtod.c (STRTOD): Fix handling of American style FP
4891 * stdio-common/vfprintf.c (vfprintf): Don't increment format
4892 string pointer twice after seeing `*'.
4894 Sun Mar 31 17:31:54 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4896 * MakeTAGS (po/SYS_libc.pot): Prepend header processed from
4899 Sun Mar 31 18:07:32 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
4901 * locale/Makefile (others, install-bin): Compiling locale works
4903 (locale-modules): locale has no --dump option anymore. Remove
4906 * locale/programs/config.h: Don't declare euidaccess.
4907 Use #include_next to get libc's config.h.
4909 * locale/programs/ctypedump.c: Not needed anymore. Dump option
4910 of locale is removed.
4912 * locale/programs/locale.c: Adapt for new locale implementation.
4914 * stdio-common/_itoa.h (_itoa_word): Define as inline function.
4915 * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits):
4916 Don't declare static because used in _itoa_word inline function.
4918 * stdio-common/printf-parse.h: Prepare for use in wide-char
4919 stdio implementation.
4920 (find_spec): Take additional argument to work with mbrlen instead
4922 (parse_one_spec): Ditto.
4924 * stdio-common/printf-prs.c: Prepare for use in wide-char
4925 stdio implementation.
4927 * stdio-common/printf.h: Mark change for wide-char handling.
4928 Changing it now would result in incompatibilities.
4930 * stdio-common/vfprintf.c: New and fast implementation.
4932 * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions
4933 mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen,
4934 mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb.
4935 Change wcswcs to wcsstr.
4936 Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob,
4937 mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs.
4939 * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c,
4940 wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h,
4941 wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c,
4942 wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c,
4943 wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New
4944 function according to ISO C amendment 1.
4945 * wchar.h: Wrapper around "wcsmbs/wchar.h".
4947 * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c,
4948 wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c,
4949 wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c,
4950 wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c,
4951 wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C
4954 * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c,
4955 wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c,
4956 wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c,
4957 wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c,
4958 wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed.
4959 Implement functions from early drafts, not part of final standard.
4961 Sun Mar 31 16:50:41 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4963 * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to
4964 __jmp_bug_tag so its C++ implicit typedef does not conflict with the
4967 * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when
4968 compiling in the source directories.
4970 Fri Mar 29 16:26:35 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4972 * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam.
4973 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4975 Fri Mar 29 11:29:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4977 * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam,
4978 with weak alias signgam.
4980 Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
4982 * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
4984 Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
4986 * sunrpc/rpc_main.c (main): Call textdomain.
4988 * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
4990 (all-pot): Replace $(subdirs) files with $P/subdirs.pot.
4991 ($P/subdirs.pot): New target.
4992 ($P/SYS_libc.pot): Add -n switch.
4994 * locale/locale.h (LC_*): Values reordered to match Linux libc.
4996 * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
4997 the process is a zombie; send no messages and return success.
4999 Thu Mar 28 11:53:26 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
5001 * wctype/cname-lookup.h: Find localeinfo.h in ../locale.
5002 * wctype/wctype.c: Likewise.
5003 * wctype/wctrans.c: Likewise.
5005 Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
5007 * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of
5010 * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h.
5012 * configure.in (.weakext check): Fix asm code to use .weakext instead
5013 of .weak! Fix bogus test calls.
5014 * configure: Regenerated.
5016 Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5018 * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS.
5020 * locale/programs/ld-collate.c (collate_finish): Use error_at_line
5021 instead of error_with_loc.
5023 * locale/weight.h: Use u_int32_t instead of u32_t.
5024 * string/strxfrm.c: Likewise.
5026 * string/strxfrm.c: Find weight.h in ../locale; don't #include
5028 * string/strcoll.c: Likewise.
5030 * intl/Makefile (copysrc): Add missing > in sed cmd.
5032 Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
5034 * Makeconfig: Rename Makefile variable nlsdir to i18ndir and
5035 change value to $(datadir)/i18n. `nls' is not an appropriate
5038 * Makefile (subdirs): Add new subdir wctype.
5040 * ctype/ctype-info.c: Add new global variable __ctype_names
5041 and initialize from _nl_C_LC_CTYPE.
5043 * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
5045 [_ISbit]: Protect definition of bitmasks because they are also
5048 * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
5049 after successfully pushing back a character.
5051 Fundamental changes in locale implementation. Almost nothing
5052 from the old code is used anymore.
5053 * locale/charmap.c, locale/collate.c, locale/config.h,
5054 locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
5055 locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
5056 locale/locale.c locale/localeconv.c, locale/localedef.c,
5057 locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
5058 locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
5059 locale/numeric.c, locale/setlocale.c, locale/token.h,
5060 locale/xmalloc.c: Removed.
5062 * locale/Makefile: Update for new locale implementation with
5063 program source code distributed in subdir.
5065 * locale/categories.def, locale/iso-4217.def: Updated file
5066 for new locale implementation.
5068 * locale/langinfo.h: Updated for new locale implementation.
5069 (ERA_D_T_FMT, ERA_T_FMT): New official values according to
5071 (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
5072 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
5073 _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
5074 _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
5075 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
5076 _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
5077 extended LC_CTYPE and LC_COLLATE implementation.
5079 * locale/programs/simple-hash.c, locale/programs/simple-hash.h,
5080 locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions
5081 for locale related programs.
5083 * locale/C-collate.c, locale/C-ctype.c,
5084 locale/C-messages.c, locale/C-monetary.c,
5085 locale/C-numeric.c, locale/C-time.c,
5086 locale/lc-collate.c, locale/lc-ctype.c,
5087 locale/lc-messages.c, locale/lc-monetary.c,
5088 locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
5089 functions, and new generated "C" locale data.
5091 * locale/loadlocale.c: Now handles word fields in locale binary
5092 automatically by changing the endianess if necessary.
5094 * locale/localeinfo.h (LIMAGIC): Changed magic number because
5095 of incompatible changes.
5096 (locale_data): Changed definition to allow word as a value type.
5097 (coll_sort_rule): Values for collation sorting mode.
5098 (_NL_CURRENT_WORD): New macro to access word value of locale entry.
5099 (__collate_table, __collate_extra): Declare new global variables
5100 for collation tables.
5102 * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
5103 locale/programs/charmap.c, locale/programs/charset.c,
5104 locale/programs/charset.h, locale/programs/config.h,
5105 locale/programs/ctypedump.c, locale/programs/ld-collate.c,
5106 locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
5107 locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
5108 locale/programs/ld-time.c, locale/programs/linereader.c,
5109 locale/programs/linereader.h, locale/programs/locale.c,
5110 locale/programs/localedef.c, locale/programs/locales.h,
5111 locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
5112 locale/programs/locfile-token.h, locale/programs/locfile.c,
5113 locale/programs/locfile.h, locale/programs/stringtrans.c,
5114 locale/programs/stringtrans.h: Implementation of locale related
5117 * locale/weight.h: Functions to access collation tables.
5119 * posix/unistd.h: Define _POSIX2_LOCALEDEF.
5121 * stdio-common/printf_fp.c: Fix bug with printing certain numbers
5122 < 10^-1. Reported by Bill Metzenthen.
5124 * stdio-common/tfformat.c: Add new test for above bug.
5126 * string/strcoll.c, string/strxfrm.c: Real implementation of
5127 string collation according to ISO C.
5129 * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
5130 wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
5131 wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
5132 Implementation of wide character classes and mapping.
5134 Wed Mar 27 14:52:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5136 * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after
5137 _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and
5138 do it individually if necessary after _dl_sysdep_start_cleanup call.
5140 * stdlib/Makefile (mpn-routines): Add divrem.
5142 Tue Mar 26 22:54:14 Ulrich Drepper <drepper@gnu.ai.mit.edu>
5144 * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod
5145 instead of __mpn_divmod.
5147 Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
5149 * sysdeps/alpha/setjmp.S: Must establish global pointer before
5150 address of __sigsetjmp_aux can be loaded.
5152 Wed Mar 27 02:23:19 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
5154 * sysdeps/i386/i586/memset.S: New file. Highly optimized
5155 version for i586 contributed by Torbjorn Granlund.
5156 Adapted for use as bzero.
5157 * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S
5158 code to implement bzero().
5160 Tue Mar 26 20:01:17 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5162 * stdlib/Makefile (mpn-routines): Remove divmod.
5164 Tue Mar 26 15:40:14 1996 Brendan Kehoe <brendan@zen.org>
5166 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use
5167 wrapped with #ifndef, to avoid config.h defining it.
5169 Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5171 * malloc/realloc.c (_realloc_internal): In case of growing large
5172 block, leave _heaplimit zero across _malloc_internal call.
5174 * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources.
5176 Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5178 * malloc/malloc.c (morecore): Don't attempt recursive realloc of info
5179 table when _heaplimit==0 during realloc growing large block.
5181 * MakeTAGS (extract): Remove /dev/null from xgettext command line.
5182 (text-srcs): New variable: extract only C sources from $(tags_sources).
5183 (po/$(domain).pot): Depend on that.
5184 If it's empty, cp /dev/null $@ instead of $(extract).
5186 * misc/Makefile (headers): Add iovec.h.
5187 * sysdeps/unix/sysv/linux/iovec.h: New file.
5188 * sysdeps/generic/iovec.h: New file.
5189 * misc/sys/uio.h (struct iovec): Type replaced with #include <iovec.h>.
5191 * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of
5194 * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these
5195 macros inside [! __STDC__].
5197 * stdlib/rpmatch.c: New file.
5198 * stdlib/Makefile (routines): Add rpmatch.
5199 * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch.
5201 * MakeTAGS (MSGJOIN): Variable removed.
5202 (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN).
5204 Wed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5206 * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME.
5208 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define
5211 Thu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5213 * mach/devstream.c (input): Translate \r to \n on input.
5215 Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5217 * stdio-common/printf.h, stdio-common/printf_fp.c,
5218 stdio-common/vfprintf.c: Place const in parameter list at
5221 Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
5223 * sysdeps/i386/ldbl2mpn.c: Copy of former version of
5224 sysdeps/ieee754/ldbl2mpn.c.
5225 * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification.
5226 Reported by Andreas Schwab.
5228 Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5230 * version.c: Include version.h to define RELEASE and VERSION macros.
5231 (__libc_release, __libc_version): Use them.
5232 * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and
5233 use VERSION to define domainname as `SYS_GNU_libc-VERSION'.
5234 * Make-dist (rel+vers): Snarf the macro values from version.h.
5236 * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)).
5237 (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables;
5238 pass -a for these files.
5240 * Makerules (po/%.pot): Depend on FORCE target so recursive make is
5243 Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5245 * sysdeps/unix/sysv/linux/wait3.c: New file.
5246 * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
5247 one from sysdeps/posix.
5249 Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5251 * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.
5253 * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
5254 lt_executable, then lt_library.
5255 * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.
5257 Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5259 * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.
5261 Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5263 * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
5264 VEOL2, VMIN, VTIME): Corrected.
5265 (PAGEOUT, WRAP, VDSUSP): Deleted.
5267 Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5269 * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of
5270 (sizeof (DP->d_name) > 1) to detect fixed-size dir entries.
5272 * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
5274 * math/math.h: Move M_* constants before __math.h include.
5275 [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.
5277 * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
5278 If log10 is not defined (i.e. no -lm), use stupid loop instead.
5280 * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
5281 and no other _*_SOURCE macro is.
5282 (_GNU_SOURCE): Don't define by default.
5283 * libc-symbols.h (_GNU_SOURCE): Define it.
5285 * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
5287 * config.make.in (weak-symbols): Variable removed.
5288 * configure.in (--with-weak-symbols): Option removed.
5289 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
5292 * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
5293 (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
5295 * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.
5297 * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.
5299 Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
5301 * inet/inet_lnaof.c: Use u_int32_t instead of u_long.
5302 * inet/inet_mkadr.c: Likewise.
5303 * inet/inet_net.c: Likewise.
5304 * inet/inet_netof.c: Likewise.
5305 * inet/rcmd.c: Likewise.
5306 * inet/arpa/inet.h: Likewise.
5307 * inet/netinet/in.h: Likewise.
5308 * inet/netinet/tcp.h: Likewise.
5309 * inet/protocols/rwhod.h: Likewise.
5310 * inet/protocols/talkd.h: Likewise.
5311 * resolv/inet_addr.c: Likewise.
5313 * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.
5315 * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.
5317 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
5320 * sysdeps/alpha/__math.h (atan, cabs): New functions.
5322 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
5323 expects set-value, not pointer to it).
5325 Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
5327 * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.
5329 * gmon/gmon.c (__bb_head): new variable.
5330 (write_hist, write_call_graph, write_bb_counts): new functions.
5331 (_mcleanup): modified to call above functions instead of directly
5332 writing out gmon.out.
5333 * gmon/sys/gmon.h (struct __bb): New type.
5334 (struct gmonhdr): Type removed.
5335 (struct gmonparam): New member `log_hashfraction'.
5336 (GMONVERSION): Macro removed.
5338 * gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
5339 sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
5341 * gmon/Makefile (headers): Add sys/gmon_out.h.
5342 (routines): Add bb_init_func, bb_exit_func.
5344 * gmon/mcount.c: Avoid integer division.
5346 Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
5348 * sysdeps/alpha/setjmp.S: switched order in which sp and fp are
5349 passed to match what __sigsetjmp_aux() expects.
5351 Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
5353 * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
5354 connect, getpeername, getsockname, listen, recv, recvfrom,
5355 recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
5356 added to override same-name assembly file in the parent directory.
5358 * stdlib/stdlib.h: add include of sys/types.h in front of random
5359 etc declarations to ensure int32_t is declared.
5361 * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
5362 where 32 bit integers are required. Also change LONG_MAX into
5363 0x7fffffff since the intent is to turn off the sign bit in a
5366 * time/offtime.c (__offtime): Use Paul Eggert's code to deal
5367 with very large values for "days" (e.g., 64 bit values).
5369 Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com>
5371 * stdlib/stdlib.h (__random, __random_r, random_r, struct
5372 random_data): use int32_t instead of `long int'.
5374 Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
5376 * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.
5378 * sysdeps/alpha/ffs.S: new file.
5380 * sysdeps/alpha/fabs.c: File removed.
5382 * time/tzfile.c (__tzfile_read): counter variable is i, *not*
5385 * time/offtime.c: make capable of dealing with very large (64 bit)
5386 time_t values. Use old algorithm until a year is reached that
5387 is an integer multiple of 400, then use DAYS_PER_400_YEARS to
5388 do the remainder in a single division.
5390 * sysdeps/generic/ffs.c (ffs): fix variable declarations to
5391 be unsigned int, not unsigned long.
5393 * string/test-ffs.c (main): add test case with all upper bits
5396 * stdlib/tst-strtol.c: add tests cases for machines where
5399 * stdlib/testrand.c (main): disallow rand() to return negative
5402 * stdlib/testmb.c (main): fix format to use %lx instead of %x.
5404 * stdlib/stdlib.h: on 64 bit machines, declare
5405 struct random_data, __random(), __random_r, and random_r to
5406 return "int" instead of "long int".
5408 * stdlib/random_r.c: 64 bit machines use "int" instead of "long
5409 int". Similarly, use INT_MAX instead of LONG_MAX.
5411 * stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
5412 need to operate on "int" instead of "long int".
5414 * locale/locfile-hash.c (compute_hashval): make shifted constant
5415 a long to avoid loosing bits on 64 bit machines.
5417 * dirent/tst-seekdir.c (main): fix confusing comment; print
5418 a line to mark point where directory is rewound.
5420 Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com>
5422 * time/strftime.c (strftime): any hour > 11 is PM (not > 12!).
5424 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
5426 * sysdeps/unix/sysv/linux/alpha/Makefile,
5427 sysdeps/unix/sysv/linux/alpha/brk.S,
5428 sysdeps/unix/sysv/linux/alpha/fpu_control.c,
5429 sysdeps/unix/sysv/linux/alpha/fpu_control.h,
5430 sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
5431 sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
5432 sysdeps/unix/sysv/linux/alpha/pipe.S,
5433 sysdeps/unix/sysv/linux/alpha/setfpucw.c,
5434 sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
5435 sysdeps/unix/sysv/linux/alpha/speed.c,
5436 sysdeps/unix/sysv/linux/alpha/start.S,
5437 sysdeps/unix/sysv/linux/alpha/syscall.S,
5438 sysdeps/unix/sysv/linux/alpha/syscalls.list,
5439 sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
5440 sysdeps/unix/sysv/linux/alpha/sysdep.S,
5441 sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
5443 * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
5444 address register before returning (gcc 2.7.1 doesn't do it,
5445 presumably because $26 is declared as a global variable).
5447 * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
5450 * sysdeps/unix/alarm.c (alarm): do roundup using test & increment
5451 instead of multiplication.
5453 * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
5454 currently blocked signals instead of the empty mask to ensure
5455 that execution of alarm handler occurs with none of the currently
5456 blocked signals enabled.
5458 * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).
5460 * sysdeps/unix/bsd/osf/alpha/sysdep.h: include
5461 sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.
5463 * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
5464 sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
5465 sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
5466 sysdeps/alpha/strlen.S: New files.
5468 * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
5469 sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
5470 sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
5471 sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
5474 * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
5477 * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
5478 to end of function to avoid a jump across NOPs.
5480 * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
5481 pertaining to integer division/remainder routines since new code
5482 doesn't require them.
5484 * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
5485 where 32 bit quantities are consumed/stored. Various other minor
5486 64-bit cleanups (casting).
5488 * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
5489 whether xdr_long or xdr_short should be used to encode an int.
5490 Notice that an xdr_long is 4 bytes independent of the architecture
5491 (otherwise no Alpha could interoperate with existing NFS servers,
5492 for example). Ditto for enums.
5494 * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
5495 to 16 since it really wants 16 bytes.
5497 * sunrpc/svc.c (maskp): changed from u_long* to u_int32*.
5499 * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
5500 u_int32_t (instead of u_long).
5502 * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
5503 "buf" pointer by casting it to a char* first since a long* may be 8
5504 bytes or more and oa->oa_length may be any multiple of 4.
5506 * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
5507 since it really is testing for 32 bits. Fixed casts to use
5508 u_int32 instead of u_long.
5509 * sunrpc/xdr_rec.c: Likewise.
5511 * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
5512 * sunrpc/rpc/auth.h: Likewise.
5514 * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
5517 Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5519 * sysdeps/i386/fpu/__math.h: New file.
5520 Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.
5522 Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5524 * sysdeps/posix/clock.c: Don't multiply the return value by
5525 CLOCKS_PER_SEC or CLK_TCK.
5527 Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5529 * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
5530 scan finds no match.
5532 * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
5533 * misc/bsd-compat.c (setpgrp): New function, two arg version.
5534 * sysdeps/stub/setpgid.c: Remove setpgrp alias.
5535 * sysdeps/mach/hurd/setpgid.c: Likewise.
5536 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
5537 * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
5538 * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
5539 * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
5540 * posix/setpgrp.c (setpgrp): New file.
5541 * posix/Makefile (routines): Add setpgrp.
5543 * elf/Makefile (rtld-link): New canned sequence.
5544 (ld.so, ld-linux.so.1): Use it. Pass -soname option.
5546 * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
5548 Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5550 * sysdeps/unix/sysv/linux/tcgetpgrp.c,
5551 sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
5553 Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5555 * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
5556 (CFLAGS): Append -Wno-unitialized.
5558 Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5560 * stdlib/erand48_r.c: Use FP division by powers of two to distribute
5561 short bits into double.
5563 Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
5565 * sysdeps/alpha/memchr.S: New file.
5566 * sysdeps/alpha/memchr.c: Obsolete file removed.
5567 * string/tester.c: Soup up memchr tests.
5569 Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5571 * misc/Makefile (headers): Add sysexits.h.
5572 * misc/sysexits.h: New file.
5574 Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5576 * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
5578 * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
5581 * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
5582 sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
5583 sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
5584 sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
5585 sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
5586 sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
5587 sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
5588 sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
5589 sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
5590 sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
5591 sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
5592 sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
5593 sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
5594 sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
5595 sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
5596 sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
5597 sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
5598 sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
5599 sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
5600 sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
5601 sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
5602 sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
5603 sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
5604 sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
5605 sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
5606 sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
5607 sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
5608 sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
5609 sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
5610 sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
5611 sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
5612 sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
5613 sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
5614 sysdeps/m68k/fpu/s_significand.c,
5615 sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
5616 sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
5617 sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
5618 sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
5620 * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
5622 * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
5623 * sysdeps/m68k/fpu/isnanl.c: Likewise.
5625 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5627 * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
5628 calculation to include trailing invariant portion. Don't use alloca;
5629 instead use a dynamic auto array for GCC, malloc for non-GCC.
5630 Handle nested braces properly.
5632 * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.
5634 * libc-symbols.h (lint): New macro.
5636 Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5638 * libio/iosetvbuf.c: Add weak alias setvbuf.
5640 Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5642 * string/strnlen.c: New file.
5643 * string/Makefile (routines): Add strnlen.
5644 * string/string.h [__USE_GNU] (strnlen): Declare new function.
5645 [__OPTIMIZE__]: Define extern inline implementation of it.
5647 * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
5648 addition, to avoid using anything from -lm.
5650 Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5652 * sysdeps/unix/sysv/linux/m68k/Makefile: New file.
5654 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
5655 (CALL_MCOUNT): New macro, empty unless [PROF].
5656 (ENTRY): Do CALL_MCOUNT just after the label.
5657 (JUMPTARGET): New macro.
5658 (SYSCALL_ERROR_HANDLER): Fix syntax.
5660 Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5662 * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
5663 function instead of using inline asm i386 syscall.
5664 * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.
5666 * posix/unistd.h [__USE_BSD]: Declare usleep.
5668 Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5670 * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
5671 (fcvt, ecvt): Use it for buffer size.
5673 * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
5674 conditionalizing long vs long long.
5676 * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
5677 pointers; never return EFAULT.
5678 * stdlib/drand48_r.c (drand48_r): Likewise.
5679 * stdlib/erand48_r.c (erand48_r): Likewise.
5681 * setjmp/Makefile (tests): Add jmpbug.
5682 * setjmp/jmpbug.c: New file.
5684 Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5686 * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
5687 * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
5688 * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
5689 `restore' until the target frame is hit.
5691 Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5693 * sysdeps/unix/sysv/linux/sigsuspend.c: New file.
5694 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
5697 Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5699 * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
5700 left side of sed substitutions.
5702 Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
5704 * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
5705 is not available anymore. Do it ourselves.
5707 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
5708 Correct GCC `asm' syntax.
5710 Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5712 * stdio-common/Makefile (tests): Add tst-ungetc.
5713 * stdio-common/tst-ungetc.c: New test from drepper.
5714 * stdio-common/tstscanf.c (main): New %[ test case from drepper.
5716 * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;
5717 somehow this was missed, though the weak alias is already there.
5719 * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change
5720 default to double precision, all interrupts masked; fdlibm requires.
5722 Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5724 * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed.
5726 Fri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5728 * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.
5730 Tue Mar 5 18:45:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
5732 * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the
5735 Mon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5737 * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in.
5739 Tue Mar 5 12:14:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
5741 * sysdeps/mach/hurd/select.c (__select): Also don't fault just
5742 because some fdmask is 0.
5744 Mon Mar 4 17:35:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
5746 * sysdeps/mach/hurd/select.c (__select):
5747 Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0!
5748 Don't return without frobbing the bitmasks after a timeout.
5749 When clearing the bitmasks, only loop from FIRSTFD to LASTFD.
5751 Mon Mar 4 17:35:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5753 * hurd/catch-signal.c (hurd_safe_memmove): New function.
5754 (hurd_safe_copyin, hurd_safe_copyout): New functions.
5755 * hurd/hurd/sigpreempt.h: Declare them.
5757 Sun Mar 3 08:43:44 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5759 Replace math code with fdlibm from Sun as modified for netbsd by
5760 JT Conklin and Ian Taylor, including x86 FPU support.
5761 * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories.
5762 * math/math_private.h: New file.
5763 * sysdeps/i386/fpu/Implies: New file.
5764 * sysdeps/ieee754/Implies: New file.
5765 * math/machine/asm.h, math/machine/endian.h: New files.
5766 * math/Makefile, math/math.h: Rewritten.
5767 * mathcalls.h, math/mathcalls.h: New file, broken out of math.h.
5768 * math/finite.c: File removed.
5769 * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed.
5771 * math/test-math.c: Include errno.h and string.h.
5773 * sysdeps/unix/bsd/dirstream.h: File removed.
5774 * sysdeps/unix/bsd/readdir.c: File removed.
5776 Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5778 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed.
5779 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File
5781 * sysdeps/generic/profil-counter.h: New file.
5783 Fri Mar 1 17:11:59 1996 Brendan Kehoe <brendan@zen.org>
5785 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,
5786 including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>.
5787 * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file,
5788 same as linux/m68k/profil-counter.h except the comment.
5790 Fri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5792 * stdlib/Makefile (mpn-stuff): New target.
5795 * Code copied from GMP updated to 1.937 version.
5796 * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers.
5798 * posix/glob.c: Use canonical code from autoconf manual for dirent
5800 [_D_NAMLEN]: Redefine NAMLEN using this.
5801 (glob_in_dir): Use NAMLEN macro.
5803 * sysdeps/posix/profil.c: New file.
5805 Thu Feb 29 20:55:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5807 * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file.
5809 Tue Feb 27 12:14:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5811 * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove
5814 * time/strftime.c: Support - and _ flags to affect number padding.
5816 * sysdeps/unix/common/tcsendbrk.c: New file.
5818 Mon Feb 26 10:22:30 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5820 * sysdeps/unix/dirstream.h: Rewritten.
5821 * sysdeps/unix/readdir.c: Rewritten.
5822 * sysdeps/unix/telldir.c: Rewritten.
5823 * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h.
5824 Remove __ from DIR struct member names.
5825 * sysdeps/unix/dirfd.c: Likewise.
5826 * sysdeps/unix/seekdir.c: Likewise.
5827 * sysdeps/unix/rewinddir.c: Likewise.
5828 * sysdeps/unix/opendir.c: Likewise. Don't allocate extra space after
5830 * sysdeps/stub/direct.h: File removed.
5831 * sysdeps/unix/bsd/bsd4.4/direct.h: File removed.
5832 * sysdeps/unix/bsd/direct.h: File removed.
5833 * sysdeps/unix/common/direct.h: File removed.
5834 * sysdeps/unix/sysv/irix4/direct.h: File removed.
5835 * sysdeps/unix/sysv/isc3/direct.h: File removed.
5836 * sysdeps/unix/sysv/sco3.2.4/direct.h: File removed.
5837 * sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed.
5838 * sysdeps/unix/common/direntry.h: New file.
5839 * sysdeps/unix/bsd/direntry.h: New file.
5840 * sysdeps/unix/bsd/bsd4.4/direntry.h: New file.
5841 * sysdeps/unix/sysv/direntry.h: New file.
5842 * sysdeps/stub/direntry.h: New file.
5843 * dirent/dirent.h (struct dirent): Type removed. Include <direntry.h>
5845 (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros.
5846 * dirent/Makefile (headers): Add direntry.h.
5847 (distribute): Remove direct.h.
5848 * sysdeps/posix/getcwd.c: Use new macros instead of d_namlen.
5849 * dirent/scandir.c: Likewise.
5850 * io/fts.c (fts_build): Likewise.
5851 * io/ftw.c (ftw_dir): Likewise.
5852 * sysdeps/posix/ttyname.c: Likewise.
5854 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
5856 * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro.
5857 (collector_timeout): New static variable.
5858 (update_waiter): Actually call __task_enable_pc_sampling.
5859 Set collector_timeout based on the `tick' count returned.
5860 (profile_waiter): Use MAX_PC_SAMPLES. Set nsamples before RPC.
5861 Use collector_timeout in __mach_msg call.
5863 * gmon/Makefile (noprof): New variable containing mcount.
5864 Append profil unless it is in $(unix-syscalls).
5865 (mcount.po): Use $(noprof) for list of targets in this rule.
5867 * libc-symbols.h: Define _LIBC before #include <config.h>.
5869 Sun Feb 25 12:29:23 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5871 * config.h.in [_LIBC] (HAVE_STRERROR): Define it.
5872 Protect 2nd page of #undef's for generator programs with #ifndef _LIBC.
5874 * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e.
5876 Fri Feb 9 12:40:19 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5878 * libio/cleanup.c (_IO_cleanup_registration_needed)
5879 [!_G_HAVE_ATEXIT]: Init to NULL.
5880 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl.
5882 Thu Feb 8 08:12:50 1996 Brendan Kehoe <brendan@cygnus.com>
5884 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert
5885 previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT.
5887 Wed Feb 7 15:10:17 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5889 * libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as
5892 Sat Feb 24 11:34:13 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5894 * sysdeps/i386/memcmp.S: Fix argument %esp offsets.
5896 * time/sys/time.h (timeradd, timersub): New macros; BSD has these.
5898 Wed Feb 21 02:25:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5900 * Rules (others): Depend on $(extra-objs), $(install-lib),
5901 $(install-bin), $(install-sbin), in object directory.
5903 * Makeconfig (link-libc): Don't pass -rpath option with default
5904 path, since ld.so should use the same default.
5905 * Makerules (build-shlib): Likewise.
5907 * Makerules (make-target-directory): Use mkinstalldirs.
5909 * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to
5910 redefine ENTRY et al.
5912 * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY):
5913 Macros removed. The code in unix/i386/sysdep.h should now suffice.
5915 * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for
5917 (ENTRY): Use it in .align directive.
5918 (CALL_MCOUNT): New macro, empty unless [PROF].
5919 (ENTRY): Do CALL_MCOUNT just after the label.
5921 * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly
5922 code can call mcount.
5924 Tue Feb 20 23:05:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5926 * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO;
5927 translation markings are now integrated in his distribution.
5929 * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast.
5931 Mon Feb 19 18:31:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5933 * po: New directory where `LANG.po' files for message translations
5935 * po/SYS_libc.pot: New file, template of message strings as in source.
5936 * MakeTAGS: New rules to build po/SYS_libc.pot automatically from
5937 the source using xgettext.
5938 * Makerules ($(..)po/%.pot): New rule.
5939 * manual/Makefile (../po/manual.pot): New target, make it empty.
5941 * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c.
5942 * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c.
5943 * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c.
5944 * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c.
5945 * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c.
5947 * time/zic.c, time/scheck.c, time/private.h, time/tzfile.h:
5948 Updated from ADO 96d.
5950 Sun Feb 18 14:08:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5952 * csu/initfini.c (_init): Remove bogus volatile declarations and
5953 extra variable, take the address of __gmon_start__ only implicitly
5954 to avoid the test being optimized out.
5956 Sun Feb 18 15:08:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5958 * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a
5961 Sun Feb 18 13:56:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5963 * elf/Makefile, time/Makefile: Make `all' the default target.
5965 Mon Feb 19 18:09:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
5967 * misc/sys/ptrace.h: Moved to ...
5968 * sysdeps/generic/sys/ptrace.h: ... here.
5969 * sys/ptrace.h: File removed.
5971 Sun Feb 18 12:13:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5973 * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h.
5975 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss
5976 so that the symbol alias works.
5978 * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected.
5980 * sysdeps/unix/sysv/linux/resourcebits.h: New file.
5982 * sysdeps/unix/sysv/linux/sys/ptrace.h: New file.
5984 * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid,
5987 * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not
5990 Sat Feb 17 10:30:21 1996 David Mosberger-Tang <davidm@AZStarNet.com>
5992 * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c,
5993 sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c,
5994 sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions
5995 to `long' where necessary.
5997 Thu Feb 15 20:04:50 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
5999 * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET.
6000 * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET
6001 to correctly access MPN array depending on architecture.
6003 Mon Feb 19 15:30:26 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
6005 * stdio-common/tstscanf.c (main): Add check for "0" as %d.
6007 * sysdeps/stub/msync.c: Undo change of Jan 29; just two args.
6008 Only some systems have three args; let them define their own stub.
6010 * sysdeps/generic/dl-sysdep.c: Declare _dl_secure.
6012 * sysdeps/generic/machine-gmon.h: New file.
6013 * gmon/Makefile (distribute): Add machine-gmon.h.
6014 * gmon/mcount.c: Undo changes of Feb 13.
6015 Include "machine-gmon.h".
6017 Sun Feb 18 13:24:06 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
6019 * sysdeps/unix/sysv/linux/direct.h: File removed, since it is
6020 identical to unix/common/direct.h.
6022 * sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d.
6024 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc.
6026 * stdio-common/Makefile (tests): Remove scanf6.
6028 * sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a.
6030 * time/mktime.c (mktime): Move static variable localtime_offset to
6033 * stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i
6036 Thu Feb 15 16:56:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6038 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected.
6039 (ELF_MACHINE_BEFORE_RTLD_RELOC): Define.
6040 (_dl_runtime_resolve): Save %a1 as well.
6041 (ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg.
6042 (elf_machine_relplt): Define.
6044 * elf/dl-runtime.c: Include possible extra args in declaration of
6047 Fri Feb 16 11:01:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
6049 * time/tzset.c: Limit hours to 23, not 12. From jaffer.
6051 Fri Feb 16 10:14:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
6053 * Makeconfig (CFLAGS-.po): Use -pg instead of -p.
6055 Thu Feb 15 13:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
6057 * mach/Machrules: Use -include for $(*.ir).
6059 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in
6061 * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro.
6062 (_IOT_COUNT2): Field is 3 bits, not 2.
6063 * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY.
6064 * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type
6065 bits before looking up handler.
6066 (fioctl): Use __hurd_dfail.
6067 (fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS.
6069 Thu Feb 15 11:49:45 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
6071 * sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal]
6072 (sysdep_routines): Don't add sys-sig.
6074 * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
6076 Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
6078 * sysdeps/alpha/memchr.c (memchr): loop searching for matching
6079 character bailed out one too early; changed constant 6 to
6082 Wed Feb 14 01:08:58 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
6084 * posix/execvp.c: When executing shell on script, first arg is
6085 full file name, not argv[0].
6087 * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk.
6088 * mach/Machrules [no_deps]: Inhibit interface rules.
6090 * malloc/Makefile (distribute): Removed TODO.
6092 Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
6094 * sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in
6097 * sysdeps/unix/common/syscalls.list: Add sigaction syscall.
6099 * sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386.
6101 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]
6102 (sysdep_routines): Append setfpucw.
6103 (extra-objs): Append ieee-fpucw.o.
6104 (install-lib): Append libieee.a.
6105 (libieee.a): New target.
6106 * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file.
6107 * sysdeps/unix/sysv/linux/i386/fpu_control.h
6108 (_FPU_GETCW, _FPU_SETCW): New macros.
6109 (fpu_control_t): New typedef.
6110 (__setfpucw): Use fpu_control_t for argument type.
6111 * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386.
6113 * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386.
6115 * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall.
6116 * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.
6118 Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6120 * sysdeps/unix/sysv/linux/m68k/brk.c,
6121 sysdeps/unix/sysv/linux/m68k/mmap.S,
6122 sysdeps/unix/sysv/linux/m68k/select.S,
6123 sysdeps/unix/sysv/linux/m68k/sigcontext.h,
6124 sysdeps/unix/sysv/linux/m68k/sigreturn.S,
6125 sysdeps/unix/sysv/linux/m68k/socket.S,
6126 sysdeps/unix/sysv/linux/m68k/syscall.S,
6127 sysdeps/unix/sysv/linux/m68k/sysdep.S,
6128 sysdeps/unix/sysv/linux/m68k/sysdep.h: New files.
6130 * sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file.
6132 * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
6133 sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.
6135 * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and
6136 MAP_FILE if not already defined.
6138 * elf/elf.h: Add m68k reloc definitions.
6139 * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.
6141 Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
6143 * elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let
6144 this macro declare extra leading args.
6146 * Makerules [$(elf)=yes] (ar-symtab-name): Define to empty.
6148 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
6149 elf_machine_relplt): New macros.
6150 * elf/dl-runtime.c: New file.
6151 * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed.
6153 * gmon/Makefile (headers): Remove machine-gmon.h.
6154 * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed.
6155 * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as
6157 (_mcount): Define normally, taking no args.
6158 Use __builtin_return_address to fetch PC values of caller and caller's
6161 * Makerules: Rewrote rules to update libc archives of all flavors.
6162 Define separate specific rules for each flavor using o-iterator.
6164 * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir.
6166 Sat Feb 10 11:35:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6168 * Makerules (ar-symtab-name): New macro. Replace all occurences
6169 of __.SYMDEF by $(ar-symtab-name).
6170 * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty.
6172 Mon Feb 12 03:10:41 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
6174 * Makefile (configure, %/configure): Depend on aclocal.m4.
6175 * Make-dist (configure, %/configure): Likewise.
6177 * sysdeps/unix/Makefile: Include s-proto.d for its deps.
6179 * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are
6180 only needed in the implementation, not for any users.
6182 * time/northamerica: Updated from ADO 96c, new rules for Mexico in
6185 * sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.
6186 * sunrpc/pm_getmaps.c: Likewise.
6188 * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
6189 so real syscalls override unix/sysv/*.c on sysv-derived systems
6191 * sysdeps/unix/common/syscalls.list: Add settimeofday here, to
6192 override unix/sysv/settimeofday.c since that overrides
6195 * Makeconfig (+link): Put $(link-libc) after deps from $^,
6196 regardless of where libc.a appears in the deps.
6198 * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies.
6200 * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies.
6201 Define __ name for sigprocmask.
6202 * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies.
6204 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies.
6205 * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies.
6206 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies.
6207 * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes.
6208 Add getdents, wait3, waitpid.
6209 * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid,
6210 settimeofday, sigsuspend, sstk, utimes.
6211 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
6212 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
6213 * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines):
6215 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c.
6216 * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed.
6217 * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed.
6218 * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed.
6219 * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed.
6220 * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed.
6221 * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed.
6222 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
6223 * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file.
6224 * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
6225 * sysdeps/unix/sysv/irix4/wait3.S: File removed.
6226 * sysdeps/unix/sysv/sysv4/__waitid.S: File removed.
6227 * sysdeps/unix/sysv/sysv4/fchdir.S: File removed.
6228 * sysdeps/unix/sysv/sysv4/setegid.S: File removed.
6229 * sysdeps/unix/sysv/sysv4/seteuid.S: File removed.
6230 * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed.
6231 * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed.
6233 * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on
6234 FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and
6235 move it to last thing.
6237 Sat Feb 10 05:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
6239 * sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it.
6241 * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend.
6243 Sat Feb 10 04:18:48 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6245 * posix/execvp.c: If execv fails with ENOEXEC, run the shell on
6248 Fri Feb 9 11:46:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6250 * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c,
6251 CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused.
6253 * hurd/Makefile (user-interfaces): Added hurd/tioctl.
6255 Thu Feb 8 18:55:27 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6257 * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own.
6259 Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6261 * Makefile (subdirs): Added wcsmbs.
6262 * wcsmbs: New directory of wide char/multibyte char functions from
6265 * hurd/hurdmsg.c (_S_msg_report_wait): Function removed.
6266 * hurd/report-wait.c: New file.
6267 * hurd/Makefile (routines): Added report-wait.
6269 * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable.
6271 * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args):
6273 (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions.
6274 * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args):
6275 Structure moved to intr-msg.h; include that.
6277 * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused.
6278 (CFLAGS-scheck.c): New variable.
6280 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
6281 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
6282 __hurd_threadvar_stack_mask): New variables.
6284 * sysdeps/mach/hurd/fork.c: Set the new task's exception port to
6285 its new message port.
6287 * misc/init-misc.c: Put __init_misc in the __libc_subinit set.
6289 * configure.in (uname): Add quoting.
6291 * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails.
6292 * hurd/fchroot.c: Likewise.
6294 * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using
6295 __attribute__ ((__mode__ (__XX__))).
6297 Wed Feb 7 03:24:05 1996 Torbjorn Granlund <tege@tmg.se>
6299 * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate
6300 destination cache lines.
6301 (WORD_COPY_BWD): Likewise.
6303 Wed Feb 7 14:16:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6305 * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute
6306 file name first thing, before $(native-compile) changes directories.
6308 From Gord Matzigkeit <gord@enci.ucalgary.ca>:
6309 * sysdeps/unix/make_errlist.c: Use strerror if available.
6310 * sysdeps/unix/configure.in: New file
6312 * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec.
6313 * sysdeps/unix/bsd/sun/sigvec.S: File removed.
6315 * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const.
6316 * sysdeps/stub/connect.c: Likewise.
6317 * sysdeps/stub/bind.c: Likewise.
6319 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of
6320 "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do
6321 another dir_lookup of "".
6323 Tue Feb 6 12:46:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
6325 * libc-symbols.h (weak_alias, weak_symbol): added definitions
6326 for ECOFF (HAVE_ECOFF).
6328 Fri Feb 2 13:09:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6330 * sysdeps/mach/hurd/fork.c: Clear trace flag in child.
6332 Wed Jan 31 20:08:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6334 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port
6335 when cancelled before RPC.
6337 Tue Jan 30 13:32:05 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6339 * dirent/scandir.c: Allocate dirents with correct size for name, and
6340 copy with correct size.
6342 * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook.
6344 * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier
6346 (__vfscanf): Fix checking of extra type modifiers.
6348 * time/asia, time/australasia, time/backward: Updated from ADO 96b.
6350 Tue Jan 30 12:17:26 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
6352 * stdlib/strtod.c: Only negate exponent when there really is one.
6354 * stdio-common/vfscanf.c: Accept type modifiers on %n.
6355 Fix FP number parsing.
6357 Mon Jan 29 21:53:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6359 * sysdeps/stub/msync.c (msync): Declare third arg FLAGS.
6361 * resolv/Makefile (+cflags): Append to this instead of CFLAGS.
6363 Mon Jan 29 16:29:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
6365 * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to
6366 include an increment for each operation allowed on each fd.
6368 Mon Jan 29 11:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6370 * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue.
6372 * Makefile: Use -include for sysd-dirs.
6374 * configure.in (uname): Check for uname in syscalls.list files.
6375 * sysdeps/unix/sysv/syscalls.list: Remove uname.
6376 * sysdeps/unix/syscalls.list: Add uname.
6378 * stdlib/strtol.c (weak1): New macro, to get the right name declared
6381 * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__.
6383 * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'.
6384 (dbm_open): Use dynamic allocation for file name buffer, instead of
6385 limitting its size to MAXPATHLEN.
6387 * db/btree/bt_open.c (tmp): Use dynamic allocation for file name
6388 buffer, instead of limitting its size to MAXPATHLEN.
6390 * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'.
6391 * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'.
6393 Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6395 * time/Makefile: Fix check for cross compiling.
6397 Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6399 * db/Makefile (subdir-dirs): Renamed from dbdirs.
6401 * Makerules (distinfo-vars): Add subdir-dirs.
6403 * MakeTAGS: Remove vpath directives.
6404 (all-dirs): Prepend $(subdir-dirs).
6405 (all-sources, all-headers): Use wildcard to find sources.
6407 Mon Jan 29 10:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6409 * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New
6412 * mach/msgserver.c: Declare DEMUX arg with prototype.
6414 Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6416 * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to
6418 * alpha/jmp_buf.h: Likewise.
6419 * m68k/jmp_buf.h: Likewise.
6420 * mips/jmp_buf.h: Likewise.
6421 * sparc/jmp_buf.h: Likewise.
6422 * vax/jmp_buf.h: Likewise.
6424 * sysdeps/generic/memmem.c: Fix return value in case where
6427 * hurd/hurdlookup.c (__file_name_lookup_under,
6428 __file_name_lookup): Restrict mode with umask.
6429 * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask.
6430 * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask.
6432 Fri Jan 26 12:20:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6434 * stdlib/strtol.c: Undo last change. ANSI C changed since the
6435 draft I checked yesterday. Sigh.
6437 Thu Jan 25 18:58:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6439 * stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign.
6441 Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6443 * malloc/mcheck.c (mabort): Declare prototype.
6445 * sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386.
6447 * Makerules: Use -include for generated makefiles.
6449 * errno.h: Don't declare errno if it's defined as a macro.
6451 * stdio-common/vfscanf.c: Disallow l flag after ll or L.
6453 * stdio-common/Makefile (tests): Add scanf[1-9].
6454 * stdio-common/scanf[1-9].c: New files. Bug tests from hjl.
6456 Wed Jan 24 04:18:36 1996 Paul Eggert <eggert@twinsun.com>
6458 * strftime.c (strftime):
6459 When invoking self, check whether the subsidiary invocation failed.
6460 Use "???" (not "") to denote unknown time zone information.
6462 Make this source file portable to standalone contexts (e.g. GNU Emacs).
6463 <config.h>: Include if HAVE_CONFIG_H is defined.
6464 (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols,
6465 defined if _LIBC or if <config.h> defines them.
6466 <ansidecl.h>, "../locale/localeinfo.h": Include only if _LIBC.
6467 <sys/types.h>: New include; some hosts require it for `time_t'.
6468 <ctype.h>: Include only if HAVE_MBLEN (since it's only needed then).
6469 <limits.h>: Include only if HAVE_LIMITS_H.
6470 <stddef.h, stdlib.h, string.h>: Include only if STDC_HEADERS.
6471 (memcpy): Define in terms of bcopy if !STDC_HEADERS.
6472 (__P, PTR): Define if not already defined.
6473 (__tzname, __daylight, __timezone): Remove macros; no longer needed.
6474 (add, strftime): Don't use NULL, for portability to some weird hosts.
6475 (fmt): If !_LIBC, don't assume sprintf returns a count.
6476 (week, strftime): Use old-style function declarations.
6477 (weekday_name, month_name): New constants.
6478 (strftime): Use traditional C values if locale support isn't available.
6479 Use `const' instead of CONST. For time zones, use tm_zone if
6480 possible, then fall back on tzname. Don't check for multibyte
6481 characters unless mblen is supported. Use formats like %02d instead
6482 of %.2d, for portability to older hosts.
6484 Wed Jan 24 00:07:52 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6486 * stdio-common/vfscanf.c (GROUP, MALLOC): New flag macros.
6487 (__vfscanf): Eliminate flag vars that were redundant with FLAGS bits.
6488 Fix bug in recognition of %ll flag for long long.
6489 Fix overeager checks for conflicting type modifiers.
6490 With ' flag, match thousands separators for decimal numbers.
6492 Tue Jan 23 22:02:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6494 * locale/Makefile (CFLAGS-locfile-lex.c): New variable.
6496 * resolv/Makefile (CFLAGS): Disable some warnings.
6498 * sysdeps/generic/Makefile (elided-routines): Removed hypot.
6499 (+gccwarn): Set with override.
6501 * stdio-common/Makefile (CFLAGS-tst-printf.c): New variable.
6503 * posix/Makefile (CFLAGS-regex.c): New variable.
6505 * malloc/Makefile (CFLAGS-obstack.c): New variable.
6507 * io/Makefile (CFLAGS-fts.c): New variable.
6508 * io/fts.c (fts_open): Use prototypes for COMPAR decl.
6510 Tue Jan 23 21:35:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
6512 * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL
6513 case is '\0'-terminated.
6515 Tue Jan 23 19:49:54 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6517 * elf/rtld.c (dl_main): Support additional args in --list mode for
6518 debugging: look them up as symbol names and print values.
6520 * misc/getttyent.c (skip, value): Declare with prototypes in file
6523 * csu/initfini.c (_init): Explicitly set a variable that is
6524 pointer to volatile with the address of __gmon_start__, to avoid
6525 the test being optimized out.
6527 Mon Jan 22 10:40:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6529 * sysdeps/posix/getcwd.c [__GNU_LIBRARY__]: Include unistd.h.
6531 * io/fts.h (FTSENT): Define fts_compar member with prototype.
6533 * hurd/hurd.h: Use prototype in getcttyid decl.
6535 * stdlib/l64a.c: Fix typo in last change.
6537 * stdlib/drand48-iter.c: Test limits.h macros instead of sizeof
6538 for determining size of types.
6539 * stdlib/srand48_r.c: Likewise.
6541 * misc/utmp.h: Declare login, logout, logwtmp.
6542 * misc/logout.c: Declare argument as pointer to const.
6543 * misc/login.c: Likewise.
6544 * misc/logwtmp.c: Likewise.
6545 Include time.h, string.h.
6547 * misc/efgcvt_r.c: Include stdlib.h.
6549 * io/mknod.c: Include sys/types.h.
6551 * gmon/sys/gmon.h: Declare monstartup, _mcleanup.
6553 * csu/gmon-start.c (_start, etext): Declare with prototypes.
6555 * stdio-common/vfscanf.c (%[): Fix range handling.
6557 Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6559 * misc/Makefile (headers): Rename queue.h to sys/queue.h.
6560 * misc/queue.h: Moved to misc/sys/queue.h.
6562 * sysdeps/unix/sysv/linux/shmat.c: Include sys/shm.h instead of
6565 * stdlib/stdlib.h [__USE_SVID]: Declare a64l, l64a.
6567 * stdlib/l64a.c: Use 6-bit numbers as indices in CONV_TABLE, not
6568 literal byte values.
6570 * misc/bsd-compat.c (getpgrp): Define with prototype.
6572 * misc/init-misc.c (__progname_full): New variable.
6573 (program_invocation_name, program_invocation_short_name): New aliases.
6574 (__init_misc): Define with prototype. Set __progname_full.
6575 * misc/progname.c: File removed.
6576 * misc/Makefile (aux): Remove progname.
6578 * misc/hsearch_r.c (isprime): Define with prototype.
6580 * sysdeps/unix/sysv/linux/seteuid.c: Just include unix/bsd version.
6581 * sysdeps/unix/bsd/seteuid.c: Disallow arg of -1.
6582 * sysdeps/unix/bsd/setegid.c: Likewise.
6584 Fri Jan 19 13:28:59 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6586 * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not
6589 * posix/glob.c (glob): Use prototype in getlogin decl.
6591 * db/ndbm.h: Declare dbm_error, dbm_clearerr.
6592 * db/db/db.c (__dberr): Define with prototype.
6593 (__dbpanic): Use prototypes in casts.
6594 * db/hash/hash_log2.c: Add prototype decl.
6596 * sysdeps/generic/_strerror.c (_strerror_internal): Define with
6599 * sysdeps/unix/mkdir.c, syspdep/unix/rmdir.c: Moved from unix/sysv.
6600 They will be overridden with syscalls if extant by unix/syscalls.list.
6602 * Makeconfig (+gccwarn): Add -Wstrict-prototypes.
6604 * stdio-common/printf_fp.c (__printf_fp): Define with prototype.
6605 * stdio-common/vfprintf.c (_IO_helper_overflow): Likewise.
6607 Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6609 * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod.
6611 * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to
6614 * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h
6615 defines GNU extensions.
6616 * posix/fnmatch.c: Likewise.
6618 Replaced all simple system call files *.S throughout sysdeps/unix
6619 with syscalls.list files to be processed by make-syscalls.sh.
6620 * sysdeps/unix/s-proto.S: New file.
6621 * sysdeps/unix/syscalls.list: New file.
6622 * sysdeps/unix/bsd/syscalls.list: New file.
6623 * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file.
6624 * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file.
6625 * sysdeps/unix/bsd/osf/syscalls.list: New file.
6626 * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file.
6627 * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file.
6628 * sysdeps/unix/bsd/sun/syscalls.list: New file.
6629 * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file.
6630 * sysdeps/unix/bsd/ultrix4/syscalls.list: New file.
6631 * sysdeps/unix/common/syscalls.list: New file.
6632 * sysdeps/unix/inet/syscalls.list: New file.
6633 * sysdeps/unix/mman/syscalls.list: New file.
6634 * sysdeps/unix/sysv/syscalls.list: New file.
6635 * sysdeps/unix/sysv/irix4/syscalls.list: New file.
6636 * sysdeps/unix/sysv/isc2.2/syscalls.list: New file.
6637 * sysdeps/unix/sysv/linux/syscalls.list: New file.
6638 * sysdeps/unix/sysv/linux/i386/syscalls.list: New file.
6639 * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file.
6640 * sysdeps/unix/sysv/sysv4/syscalls.list: New file.
6641 * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file.
6642 * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file.
6643 * sysdeps/unix/acct.S: File removed.
6644 * sysdeps/unix/chdir.S: File removed.
6645 * sysdeps/unix/chmod.S: File removed.
6646 * sysdeps/unix/chown.S: File removed.
6647 * sysdeps/unix/chroot.S: File removed.
6648 * sysdeps/unix/close.S: File removed.
6649 * sysdeps/unix/configure: File removed.
6650 * sysdeps/unix/configure.in: File removed.
6651 * sysdeps/unix/dup.S: File removed.
6652 * sysdeps/unix/fcntl.S: File removed.
6653 * sysdeps/unix/fsync.S: File removed.
6654 * sysdeps/unix/getgid.S: File removed.
6655 * sysdeps/unix/getpid.S: File removed.
6656 * sysdeps/unix/getuid.S: File removed.
6657 * sysdeps/unix/ioctl.S: File removed.
6658 * sysdeps/unix/kill.S: File removed.
6659 * sysdeps/unix/link.S: File removed.
6660 * sysdeps/unix/lseek.S: File removed.
6661 * sysdeps/unix/open.S: File removed.
6662 * sysdeps/unix/ptrace.S: File removed.
6663 * sysdeps/unix/read.S: File removed.
6664 * sysdeps/unix/reboot.S: File removed.
6665 * sysdeps/unix/setgid.S: File removed.
6666 * sysdeps/unix/setuid.S: File removed.
6667 * sysdeps/unix/sync.S: File removed.
6668 * sysdeps/unix/umask.S: File removed.
6669 * sysdeps/unix/unlink.S: File removed.
6670 * sysdeps/unix/write.S: File removed.
6671 * sysdeps/unix/bsd/flock.S: File removed.
6672 * sysdeps/unix/bsd/getdtsz.S: File removed.
6673 * sysdeps/unix/bsd/getpagesize.S: File removed.
6674 * sysdeps/unix/bsd/killpg.S: File removed.
6675 * sysdeps/unix/bsd/profil.S: File removed.
6676 * sysdeps/unix/bsd/readv.S: File removed.
6677 * sysdeps/unix/bsd/settimeofday.S: File removed.
6678 * sysdeps/unix/bsd/sigblock.S: File removed.
6679 * sysdeps/unix/bsd/sigpause.S: File removed.
6680 * sysdeps/unix/bsd/sigsetmask.S: File removed.
6681 * sysdeps/unix/bsd/sigstack.S: File removed.
6682 * sysdeps/unix/bsd/sigvec.S: File removed.
6683 * sysdeps/unix/bsd/utimes.S: File removed.
6684 * sysdeps/unix/bsd/writev.S: File removed.
6685 * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed.
6686 * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed.
6687 * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed.
6688 * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed.
6689 * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed.
6690 * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed.
6691 * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed.
6692 * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed.
6693 * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed.
6694 * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed.
6695 * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed.
6696 * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed.
6697 * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed.
6698 * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed.
6699 * sysdeps/unix/bsd/osf/msync.S: File removed.
6700 * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed.
6701 * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed.
6702 * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed.
6703 * sysdeps/unix/bsd/sun/getdents.S: File removed.
6704 * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed.
6705 * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed.
6706 * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed.
6707 * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed.
6708 * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed.
6709 * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed.
6710 * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed.
6711 * sysdeps/unix/bsd/ultrix4/getdents.S: File removed.
6712 * sysdeps/unix/bsd/ultrix4/setsid.S: File removed.
6713 * sysdeps/unix/bsd/ultrix4/uname.S: File removed.
6714 * sysdeps/unix/common/access.S: File removed.
6715 * sysdeps/unix/common/adjtime.S: File removed.
6716 * sysdeps/unix/common/dup2.S: File removed.
6717 * sysdeps/unix/common/fchmod.S: File removed.
6718 * sysdeps/unix/common/fchown.S: File removed.
6719 * sysdeps/unix/common/ftruncate.S: File removed.
6720 * sysdeps/unix/common/getgroups.S: File removed.
6721 * sysdeps/unix/common/getitimer.S: File removed.
6722 * sysdeps/unix/common/getpgid.S: File removed.
6723 * sysdeps/unix/common/getpriority.S: File removed.
6724 * sysdeps/unix/common/getrlimit.S: File removed.
6725 * sysdeps/unix/common/getrusage.S: File removed.
6726 * sysdeps/unix/common/gettimeofday.S: File removed.
6727 * sysdeps/unix/common/mkdir.S: File removed.
6728 * sysdeps/unix/common/readlink.S: File removed.
6729 * sysdeps/unix/common/rename.S: File removed.
6730 * sysdeps/unix/common/rmdir.S: File removed.
6731 * sysdeps/unix/common/select.S: File removed.
6732 * sysdeps/unix/common/setgroups.S: File removed.
6733 * sysdeps/unix/common/setitimer.S: File removed.
6734 * sysdeps/unix/common/setpgid.S: File removed.
6735 * sysdeps/unix/common/setpriority.S: File removed.
6736 * sysdeps/unix/common/setregid.S: File removed.
6737 * sysdeps/unix/common/setreuid.S: File removed.
6738 * sysdeps/unix/common/setrlimit.S: File removed.
6739 * sysdeps/unix/common/swapon.S: File removed.
6740 * sysdeps/unix/common/symlink.S: File removed.
6741 * sysdeps/unix/common/truncate.S: File removed.
6742 * sysdeps/unix/common/vhangup.S: File removed.
6743 * sysdeps/unix/inet/accept.S: File removed.
6744 * sysdeps/unix/inet/bind.S: File removed.
6745 * sysdeps/unix/inet/connect.S: File removed.
6746 * sysdeps/unix/inet/gethostid.S: File removed.
6747 * sysdeps/unix/inet/gethostname.S: File removed.
6748 * sysdeps/unix/inet/getpeername.S: File removed.
6749 * sysdeps/unix/inet/getsockname.S: File removed.
6750 * sysdeps/unix/inet/getsockopt.S: File removed.
6751 * sysdeps/unix/inet/listen.S: File removed.
6752 * sysdeps/unix/inet/recv.S: File removed.
6753 * sysdeps/unix/inet/recvfrom.S: File removed.
6754 * sysdeps/unix/inet/recvmsg.S: File removed.
6755 * sysdeps/unix/inet/send.S: File removed.
6756 * sysdeps/unix/inet/sendmsg.S: File removed.
6757 * sysdeps/unix/inet/sendto.S: File removed.
6758 * sysdeps/unix/inet/sethostid.S: File removed.
6759 * sysdeps/unix/inet/sethostname.S: File removed.
6760 * sysdeps/unix/inet/setsockopt.S: File removed.
6761 * sysdeps/unix/inet/shutdown.S: File removed.
6762 * sysdeps/unix/inet/socket.S: File removed.
6763 * sysdeps/unix/inet/socketpair.S: File removed.
6764 * sysdeps/unix/mman/madvise.S: File removed.
6765 * sysdeps/unix/mman/mmap.S: File removed.
6766 * sysdeps/unix/mman/mprotect.S: File removed.
6767 * sysdeps/unix/mman/msync.S: File removed.
6768 * sysdeps/unix/mman/munmap.S: File removed.
6769 * sysdeps/unix/sysv/alarm.S: File removed.
6770 * sysdeps/unix/sysv/ftime.S: File removed.
6771 * sysdeps/unix/sysv/nice.S: File removed.
6772 * sysdeps/unix/sysv/pause.S: File removed.
6773 * sysdeps/unix/sysv/poll.S: File removed.
6774 * sysdeps/unix/sysv/s_getdents.S: File removed.
6775 * sysdeps/unix/sysv/signal.S: File removed.
6776 * sysdeps/unix/sysv/stime.S: File removed.
6777 * sysdeps/unix/sysv/time.S: File removed.
6778 * sysdeps/unix/sysv/times.S: File removed.
6779 * sysdeps/unix/sysv/ulimit.S: File removed.
6780 * sysdeps/unix/sysv/uname.S: File removed.
6781 * sysdeps/unix/sysv/utime.S: File removed.
6782 * sysdeps/unix/sysv/irix4/getpgid.S: File removed.
6783 * sysdeps/unix/sysv/irix4/msync.S: File removed.
6784 * sysdeps/unix/sysv/irix4/setpgid.S: File removed.
6785 * sysdeps/unix/sysv/irix4/signal.S: File removed.
6786 * sysdeps/unix/sysv/irix4/sysmp.S: File removed.
6787 * sysdeps/unix/sysv/irix4/syssgi.S: File removed.
6788 * sysdeps/unix/sysv/isc2.2/rename.S: File removed.
6789 * sysdeps/unix/sysv/linux/adjtimex.S: File removed.
6790 * sysdeps/unix/sysv/linux/fork.S: File removed.
6791 * sysdeps/unix/sysv/linux/getpgid.S: File removed.
6792 * sysdeps/unix/sysv/linux/getpgrp.S: File removed.
6793 * sysdeps/unix/sysv/linux/getsid.S: File removed.
6794 * sysdeps/unix/sysv/linux/gtty.S: File removed.
6795 * sysdeps/unix/sysv/linux/mlock.S: File removed.
6796 * sysdeps/unix/sysv/linux/mlockall.S: File removed.
6797 * sysdeps/unix/sysv/linux/mount.S: File removed.
6798 * sysdeps/unix/sysv/linux/munlock.S: File removed.
6799 * sysdeps/unix/sysv/linux/munlockall.S: File removed.
6800 * sysdeps/unix/sysv/linux/pipe.S: File removed.
6801 * sysdeps/unix/sysv/linux/s_ptrace.S: File removed.
6802 * sysdeps/unix/sysv/linux/setpgid.S: File removed.
6803 * sysdeps/unix/sysv/linux/setsid.S: File removed.
6804 * sysdeps/unix/sysv/linux/settimeofday.S: File removed.
6805 * sysdeps/unix/sysv/linux/sigpending.S: File removed.
6806 * sysdeps/unix/sysv/linux/stty.S: File removed.
6807 * sysdeps/unix/sysv/linux/umount.S: File removed.
6808 * sysdeps/unix/sysv/linux/wait4.S: File removed.
6809 * sysdeps/unix/sysv/linux/i386/ipc.S: File removed.
6810 * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed.
6811 * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed.
6812 * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed.
6813 * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed.
6814 * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed.
6815 * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed.
6816 * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed.
6817 * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed.
6818 * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed.
6819 * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed.
6820 * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed.
6821 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed.
6823 * io/mknod.c: New file.
6825 * Makerules (COMPILE.s): New variable.
6827 * sysdeps/unix/Makefile (sysd-syscalls): New target; generate with
6828 make-syscalls.sh and include it.
6829 [$(subdir)=misc] (sysdep_routines): Append extra syscalls from
6831 * sysdeps/unix/make-syscalls.sh: New file.
6833 * Makerules (COMPILE.S): New variable.
6835 Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6837 * sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX,
6838 _STAT_VER_SVR4, _STAT_VER): New macros.
6839 (_MKNOD_VER_LINUX, _MKNOD_VER_SVR4, _MKNOD_VER): New macros.
6841 * sysdeps/unix/sysv/sysv4/i386/statbuf.h (_STAT_VER, _MKNOD_VER):
6844 * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros.
6845 (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions.
6846 [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names)
6847 as `extern inline's calling the `x' functions.
6848 * io/fstat.c: New file.
6849 * io/lstat.c: New file.
6850 * io/stat.c: New file.
6851 * sysdeps/generic/lstat.c: File removed.
6852 * sysdeps/generic/lxstat.c: New file.
6853 * sysdeps/mach/hurd/fstat.c: File removed.
6854 * sysdeps/mach/hurd/fxstat.c: New file.
6855 * sysdeps/mach/hurd/lstat.c: File removed.
6856 * sysdeps/mach/hurd/lxstat.c: New file.
6857 * sysdeps/mach/hurd/mknod.c: File removed.
6858 * sysdeps/mach/hurd/stat.c: File removed.
6859 * sysdeps/mach/hurd/xmknod.c: New file.
6860 * sysdeps/mach/hurd/xstat.c: New file.
6861 * sysdeps/stub/fstat.c: File removed.
6862 * sysdeps/stub/fxstat.c: New file.
6863 * sysdeps/stub/lstat.c: File removed.
6864 * sysdeps/stub/lxstat.c: New file.
6865 * sysdeps/stub/mknod.c: File removed.
6866 * sysdeps/stub/stat.c: File removed.
6867 * sysdeps/stub/xmknod.c: New file.
6868 * sysdeps/stub/xstat.c: New file.
6869 * sysdeps/unix/common/lstat.S: File removed.
6870 * sysdeps/unix/common/lxstat.c: New file.
6871 * sysdeps/unix/fstat.S: File removed.
6872 * sysdeps/unix/fxstat.c: New file.
6873 * sysdeps/unix/mknod.S: File removed.
6874 * sysdeps/unix/stat.S: File removed.
6875 * sysdeps/unix/sysv/linux/fstat.c: File removed.
6876 * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed.
6877 * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed.
6878 * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed.
6879 * sysdeps/unix/sysv/linux/i386/xstat.S: File removed.
6880 * sysdeps/unix/sysv/linux/lstat.c: File removed.
6881 * sysdeps/unix/sysv/linux/mknod.c: File removed.
6882 * sysdeps/unix/sysv/linux/stat.c: File removed.
6883 * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed.
6884 * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed.
6885 * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed.
6886 * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed.
6887 * sysdeps/unix/xmknod.c: New file.
6888 * sysdeps/unix/xstat.c: New file.
6889 * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod.
6890 * misc/Makefile (routines): Remove mknod.
6892 * sysdeps/ieee754/ieee754.h (union ieee854_long_double.ieee_nan):
6893 Add missing ; in little-endian case.
6895 * elf/dynamic-link.h [ELF_MACHINE_NO_REL] (ELF_DYNAMIC_DO_REL):
6896 Define this instead of ELF_DYNAMIC_DO_RELA.
6898 * sysdeps/unix/sysv/time.S: Moved from sysv4.
6899 * sysdeps/unix/sysv/irix4/time.S: File removed.
6901 * sysdeps/unix/sysv/linux/signum.h: Moved from
6902 sysdeps/unix/sysv/linux/i386.
6903 (_NSIG): Move inside #ifdef _SIGNAL_H.
6905 Tue Jan 16 17:37:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6907 * sysdeps/unix/seekdir.c: Don't modify POS before seeking.
6908 * sysdeps/unix/telldir.c: Fix position calculation to account for
6909 buffered data properly.
6911 * sysdeps/m68k/Makefile (crypt): Don't define if building a shared
6914 * csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref).
6915 * csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made
6917 [! HAVE_INITFINI]: Only make it a constructor in this case.
6919 * gmon/Makefile (CFLAGS-mcount.c): New variable.
6920 (mcount.po): New target.
6922 * Makeconfig (CFLAGS): Append $(CFLAGS-$(<F)).
6924 * csu/Makefile [have-initfini=yes] (CPPFLAGS): Append -DHAVE_INITFINI.
6925 (initfini): Compile initfini.c with -fPIC.
6927 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
6929 * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Baechle.
6931 * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode'
6932 member of `struct timex' instead of `modes'. From Andreas Schwab.
6934 * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version.
6935 * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version.
6937 * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable.
6938 [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace.
6939 [$(subdir) = misc] (headers): Append sys/mount.h.
6941 * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S:
6942 New files. Implement system calls.
6943 * sysdeps/unix/sysv/linux/sys/mount.h: New header file.
6945 * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around
6947 * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call.
6949 * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct
6950 types for i386/Linux.
6952 Sun Jan 14 17:51:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6954 * MakeTAGS (all-sources, all-headers): Always search the
6955 current directory first.
6957 * db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not
6960 * stdio-common/vfscanf.c (inchar, conv_error, input_error,
6961 memory_error): Add cast to void to avoid gcc warning.
6962 (vfscanf): Rewrite character class parsing to make it more efficient.
6964 * misc/efgcvt_r.c (ecvt_r): Handle negative values.
6966 * stdlib/stdlib.h: Replace __CONSTVALUE by attribute.
6967 * stdlib/abs.c, stdlib/div.c, stdlib/labs.c, stdlib/ldiv.c,
6968 sysdeps/generic/hypot.c: Remove obsolete __CONSTVALUE.
6970 * stdio-common/printf_fp.c (__printf_fp): Fix parameter
6973 * sysdeps/generic/putenv.c (putenv): Fix second argument of
6976 * sysdeps/ieee754/hypot.c: New file, extracted out of cabs.c.
6977 * sysdeps/ieee754/cabs.c: Don't define hypot here.
6979 * sysdeps/ieee754/ieee754.h (union ieee854_long_double): Fix
6980 definition of ieee_nan alternative.
6982 * sysdeps/m68k/__longjmp.c, sysdeps/m68k/setjmp.c: Add register
6985 * sysdeps/m68k/ffs.c (ffs): Fix register constraint.
6987 * sysdeps/m68k/fpu/__math.h: Include <errno.h>. Replace obsolete
6988 __CONSTVALUE by attribute.
6989 (floor): Round to negative infinity.
6990 (rint, expm1) [__NO_MATH_INLINES]: Don't define, to avoid type
6991 clash when compiling source.
6992 (pow): Handle x == 0 and x < 0.
6993 (ceil, __isinf, __isnan): Fix register constraints.
6994 (__isinfl, __isnanl): Added.
6995 * sysdeps/m68k/fpu/acos.c, sysdeps/m68k/fpu/atan2.c,
6996 sysdeps/m68k/fpu/fmod.c, sysdeps/m68k/fpu/ldexp.c,
6997 sysdeps/m68k/fpu/pow.c: Remove obsolete __CONSTVALUE.
6999 * sysdeps/m68k/bsd-_setjmp.S, sysdeps/m68k/bsd-setjmp.S: Fix
7002 * sysdeps/unix/bsd/bsd4.4/fchdir.S (fchdir): Take only one
7005 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Fix timeval to
7007 (clock): Don't multiply by CLOCKS_PER_SEC.
7009 * sysdeps/unix/bsd/poll.c (poll): Fix msec to timeval conversion.
7011 * sysdeps/unix/bsd/sun/m68k/brk.S (brk): Compare with address of
7014 * sysdeps/unix/bsd/sun/m68k/vfork.S: Fix assembler syntax.
7016 * sysdeps/unix/bsd/ualarm.c (ualarm): Fix timeval calculation.
7018 * sysdeps/unix/bsd/vax/vfork.S: Remove duplicate label.
7020 Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7022 * stdlib/strtol.c: Return correct pointer for strings
7023 like "0xyz" and base 0 or 16.
7025 * string/strxfrm.c: Handle case for LENGTH == 0 correct.
7027 * sunrpc/etc.rpc: Add some more known protocols.
7029 Fri Jan 12 13:40:01 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7031 * posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h.
7033 * posix/glob.c (glob): Add parens in glob call flags arg for
7036 * string/string.h (strdupa): New macro.
7038 * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not
7039 terminator on empty set. From drepper.
7041 Thu Jan 11 13:09:20 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7043 * elf/do-rel.h (elf_dynamic_do_rel): Use referring symbol as
7044 referent for STB_LOCAL.
7046 Wed Jan 10 10:11:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7048 * time/africa, time/antarctica, time/asia, time/australasia,
7049 time/europe, time/northamerica, time/pacificnew, time/solar87,
7050 time/solar88, time/solar89, time/southamerica: Updated from ADO 96a.
7052 Tue Jan 9 16:10:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7054 * elf/dl-load.c (_dl_map_object_from_fd): After mapping first
7055 segment to find location, mprotect excess region to no access,
7058 * sysdeps/mach/hurd/dl-sysdep.c (mmap): If vm_map returns
7059 KERN_NO_SPACE for fixed location, deallocate it and try again.
7061 Mon Jan 8 17:43:23 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7063 * locale/Makefile (lib-modules): Renamed hash to locfile-hash.
7064 * locale/hash.c: Renamed to locale/locfile-hash.c.
7066 Sat Jan 6 16:39:14 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7068 * Makefile (subdirs): Added db.
7070 * resolv/Makefile (routines): Add res_data.
7071 * resolv/res_data.c, resolv/res_debug.c, resolv/resolv.h:
7072 Updated from BIND 4.9.3 final release.
7074 * elf/dynamic-link.h (elf_get_dynamic_info): Handle
7075 processor-specific tags.
7076 (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA): Handle absent DT_PLTREL tag.
7078 * elf/elf.h (DT_MIPS_NUM, DT_PROCNUM): New macros.
7079 * elf/link.h (struct link_map): Extend `l_info' by DT_PROCNUM.
7081 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Take new
7082 arg LAZY. Only do our work if LAZY and there is a DT_JMPREL record.
7083 * elf/dl-reloc.c (_dl_relocate_object): Call
7084 elf_machine_runtime_setup unconditionally, and pass it LAZY flag.
7086 * elf/dl-load.c: Fixed ELFMAG check to work for either byte order.
7087 Align end of load segment only to page size, not to segment alignment.
7089 Thu Jan 4 11:35:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7091 * sysdeps/mach/hurd/setitimer.c: Code rearranged a bit to use new
7092 preemption interface.
7094 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
7095 Use _hurdsig_catch_memory_fault.
7097 * hurd/Makefile (headers): Add hurd/sigpreempt.h.
7098 (sig): Add catch-signal.
7100 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
7101 Rewritten using a preempter in new interface.
7102 * hurd/hurdfault.h (_hurdsig_catch_fault): Likewise.
7103 (_hurdsig_catch_memory_fault): New macro.
7105 Wed Jan 3 20:23:42 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7107 * hurd/catch-signal.c: New file.
7109 * hurd/intr-msg.c: When restarting RPC, fetch a new reply port.
7111 * hurd/hurdsig.c: Use new hurdfault.h interface.
7112 (abort_all_rpcs): Mutate return value to EINTR in threads whose
7113 replies we will wait for.
7115 * hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we
7118 Wed Jan 3 19:17:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
7120 * sysdeps/mach/hurd/access.c (__access): Put the uid/gid arguments
7121 to auth_makeauth() in the right order.
7123 Wed Jan 3 17:19:04 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7125 * sysdeps/generic/strsep.c: Rewritten.
7127 * sysdeps/mach/hurd/fork.c: Use a different workaround for the
7128 suspended page fault deadlock kernel bug: thread_abort our signal
7129 thread first thing after proc_dostop.
7131 * sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to
7132 recognize rootness properly.
7134 Tue Jan 2 00:50:10 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7136 * hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'.
7137 (hurd_preempt_signals, hurd_unpreempt_signals): Decls removed.
7138 * hurd/hurd/sigpreempt.h: New file.
7139 * hurd/preempt-sig.c: Rewritten with new interface.
7140 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Remove local signal
7141 preempters being unwound past.
7142 * hurd/hurdsig.c: Use new signal preemption interface.
7144 * db: New directory, 4.4 BSD db package incorporated from BSD db-1.85
7147 * sysdeps/unix/sysv/linux/sys/param.h: Several new macros for BSD
7150 * misc/queue.h: New file, incorporated from 4.4BSD.
7151 * misc/Makefile (headers): Add queue.h.
7153 * posix/sys/types.h [__USE_BSD]: Include endian.h.
7155 * io/sys/stat.h (DEFFILEMODE, ALLPERMS, ACCESSPERMS, S_BLKSIZE):
7158 Thu Dec 28 10:21:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7160 * sysdeps/generic/confname.h: Define all names as self-referential
7161 macros so #ifdef works.
7163 * hurd/preempt-sig.c (hurd_unpreempt_signals): Remove bogus asgnmt
7164 of _hurd_signal_preempters[SIGNO].
7166 Mon Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7168 * sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into
7169 EADDRINUSE. If translated node doesn't grok ifsock protocol,
7172 * sysdeps/mach/hurd/connect.c: Make address arg
7173 `const struct sockaddr_un *'.
7174 The redecl is kosher and avoids another variable for AF_LOCAL case.
7175 * sysdeps/mach/hurd/sendto.c: Likewise.
7176 * sysdeps/mach/hurd/bind.c: Likewise.
7178 * socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union
7179 code for GCC >= 2.7; use __transparent_union__ for name safety;
7180 add several sockaddr flavors.
7181 (__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in
7182 constructing the transparent union declarations.
7183 (__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7).
7184 (bind, connect, sendto): Make the sockaddr argument use that.
7186 Fri Dec 22 00:57:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7188 * sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, not
7190 * sysdeps/mach/hurd/setuid.c: Likewise.
7192 * sysdeps/mach/hurd/setuid.c: Rewrote ID frobnication to do the
7194 * sysdeps/mach/hurd/setgid.c: Likewise.
7195 * sysdeps/mach/hurd/setreuid.c: Likewise.
7196 * sysdeps/mach/hurd/setregid.c: Likewise.
7197 * sysdeps/mach/hurd/setegid.c: Likewise.
7198 * sysdeps/mach/hurd/seteuid.c: Likewise.
7200 * sysdeps/mach/hurd/fork.c: Peek __mach_task_self_ value before
7201 proc_dostop call to work around kernel paging bug.
7203 Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com>
7205 * stdio-common/vfscanf.c: Correctly handle white space skipping.
7206 * stdio-common/Makefile (tests): Add bug11.
7207 * stdio-common/bug11.c: New file.
7209 Thu Dec 21 12:19:32 1995 Miles Bader <miles@gnu.ai.mit.edu>
7211 * sysdeps/mach/hurd/setuid.c (__setuid): Actually add the new uid
7212 instead of putting it (and other uids) in the gids and leaving the
7215 Wed Dec 20 18:23:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7217 * stdio/internals.c (flushbuf): If the target is -1, always
7218 discard the buffer of read data.
7219 Only set TWIDDLED flag in !ALIGNED case.
7220 Never increment target or offset when old value is -1.
7222 Tue Dec 19 17:00:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7224 * hurd/hurdpid.c (_S_msg_proc_newids): Only run the hook when the
7227 Mon Dec 18 13:40:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7229 * stdio/fread.c: Don't increment __offset when it's -1.
7231 * elf/rtld.c (dl_main): Prepend tab to "statically linked". Exit
7234 * misc/err.c (vwarnx, vwarn): Fix major brainos.
7236 * sysdeps/mach/hurd/dl-sysdep.c (mmap): Fix setting of
7239 Sun Dec 17 15:56:35 1995 Miles Bader <miles@gnu.ai.mit.edu>
7241 * misc/getpass.c (getpass): Don't barf if getline returns a null BUF.
7243 Sat Dec 16 10:33:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7245 * Makerules: Use $(do-install-so) for installing shared objects.
7246 (do-install-so): New canned sequence. Make a symlink LIB.so after
7247 installing LIB.so.VERSION.
7249 * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS.
7251 Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
7253 * stdio-common/Makefile (tests): Add bug10.
7254 * stdio-common/bug10.c: New file. From HJ Lu.
7256 * stdio-common/tstdiomisc.c: Make more test-suite like: exit
7257 status tells about successful run.
7259 * stdio-common/vfscanf.c [!USE_IN_LIBIO]: Use `flags' to check
7261 Correct handling of trailing white spaces in format + EOF.
7263 Fri Dec 15 01:31:56 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
7265 * stdio-common/Makefile (tests): Add bug8 and bug9.
7266 * stdio-common/bug8.c, stdio-common/bug9.c: New tests.
7268 * stdio-common/vfscanf.c: Fix bug in dynamic buffer handling.
7270 * stdlib/strtod.c: Correct spelling: nominator -> numerator.
7271 Thanks to Jim Meyering.
7273 Sat Nov 25 06:05:12 1995 H.J. Lu <hjl@nynexst.com>
7275 * stdio-common/vfscanf.c: Always check width !=0.
7276 Correctly handle %%.
7278 Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7280 * posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t,
7281 and cast STREAM to DIR * before passing to readdir and closedir.
7283 Wed Dec 13 22:06:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7285 * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply
7286 after aborting RPCs but before calling proc_mark_stop.
7288 Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7290 * posix/glob.c [! STDC_HEADERS]: Declare getenv.
7291 (glob): Avoid using function as value.
7293 * elf/rtld.c (dl_main): When mapping argument executable, set
7294 l_name to "", not l_libname.
7295 After loading DT_NEEDED library, set its l_type to lt_library.
7297 * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean
7298 VM_INHERIT. We can't handle MAP_INHERIT easily.
7299 Handle non-page-aligned addresses if congruent to offset.
7301 * elf/dl-init.c: Skip the initializer for l_type lt_executable
7302 with l_name "". Start at _dl_loaded; don't skip the first element.
7304 * elf/dl-load.c (MAP_FILE): Define to zero if undefined.
7305 (MAP_COPY): Define to MAP_PRIVATE if undefined.
7306 (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls.
7307 If file it ET_EXEC, set its l_type to lt_executable.
7309 Sun Dec 10 09:56:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7311 * elf/dl-minimal.c (malloc): Use MAP_PRIVATE in mmap call.
7313 Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7315 * locale/error.c, locale/error.h: Files removed.
7316 * locale/Makefile (distribute): Remove error.h.
7317 (lib-modules): Remove error.
7319 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty"
7320 magic, return ENXIO if no ctty.
7322 * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous
7323 mapping if vm_map fails for that reason.
7325 * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE,
7326 GLOB_TILDE, GLOB_NOMAGIC.
7327 (glob): Use stat instead of lstat to determine directoriness.
7328 * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE):
7330 (__GLOB_FLAGS): Include them.
7331 (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat,
7334 * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros.
7336 * sysdeps/unix/sysv/linux/sys/mman.h: Include <linux/mman.h> to
7337 define all the bit values.
7338 (MAP_*, MCL_*): Macros removed.
7340 Thu Dec 7 02:27:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7342 * resolv/res_comp.c, resolv/res_debug.c, resolv/res_send.c:
7343 Updated from BIND 4.9.3-BETA27.
7345 Wed Dec 6 18:44:01 1995 Miles Bader <miles@gnu.ai.mit.edu>
7347 * sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg.
7349 * sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when
7350 we get a delayed reply.
7351 Only grab values out of entries in TYPES that have SELECT_RETURNED
7352 turned on, and turn it on whenever an rpc returns.
7353 Only clear bits in the user's fdsets -- those needing to be set
7355 Use SELECT_ALL in appropiate places.
7356 (SELECT_RETURNED, SELECT_ALL): New macros.
7358 Wed Dec 6 09:10:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7360 * sysdeps/mach/hurd/sys/param.h (NBBY): New macro.
7362 * gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): New macro.
7364 Tue Dec 5 14:00:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7366 * misc/Makefile (headers): Add error.h, err.h.
7367 (routines): Add error, err.
7368 (gpl2lgpl): New variable.
7369 * misc/err.c: New file.
7370 * misc/err.h: New file.
7371 * misc/error.c, misc/error.h: New files.
7373 * sysdeps/mach/hurd/ioctl.c: Fix typo in last change.
7375 * Makeconfig (+link): Translate libc% from $^, not just libc.a.
7376 (link-libc): Append $(libc.so-version) to libc.so.
7377 (built-program-cmd): Fix comma usage.
7378 * Makerules [libc.so-version] (libc.so$(libc.so-version)): Make a
7379 symlink to libc.so in the build directory.
7380 * Rules ($(others) $(tests)): Depend on the library that appears
7382 (%.out): Use $(built-program-cmd) in commands.
7384 * posix/unistd.h [__USE_MISC]: Declare brk, sbrk.
7386 * sysdeps/generic/setenv.c: Added canonical portability cruft.
7387 (setenv): Use realloc on LAST_ENVIRON instead of always copying.
7388 (unsetenv): New function.
7389 * stdlib/stdlib.h [__USE_BSD]: Declare unsetenv.
7390 * sysdeps/generic/putenv.c: Rewritten using setenv and unsetenv.
7392 Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
7394 * libio/Makefile (routines): Remove iofscanf, add iopopen, pclose.
7396 * libio/iofscanf.c: Remove file.
7398 * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string
7401 * libio/iopopen.c: New file from GNU libio.
7403 * libio/memstream.c: Fixed bug in fclose handling. Instead of
7404 providing a close callback we need a finish callback.
7406 * libio/pclose.c: New file. Derived from popen.c in GNU libio.
7408 * posix/gnu/types.h: Fixed typo.
7410 * stdio-common/errnobug.c: fputs returns EOF in error case. Do
7413 * stdio-common/printf-parse.h (parse_one_spec): Do not force
7414 padding with ' ' if precision is given. Fix by HJ Lu.
7416 * stdio-common/printf_fp.c: Fix comment.
7418 * stdio-common/tfformat.c, stdio-common/tiformat.c,
7419 stdio-common/tstdiomisc.c: New files from GNU libio test suite.
7421 * stdio-common/tstgetln.c: Provide ssize_t type when testing
7424 * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc.
7425 (vfprintf): Cleasr args_type array before using it.
7426 When printing 0 as an integer with precision 0 nothing must be
7427 written for the number.
7428 Based on patch by HJ Lu.
7430 * stdio-common/vfscanf.c: Remove fixed input buffer. Now we
7431 have a dynamically extended buffer.
7433 * stdlib/strtod.c: Merge with version in Linux libc. This fixes
7434 some bugs with handling of very small numbers and has different
7435 solution for formaer patches.
7437 * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename
7438 macros r1 and r2 to t1, and t2 resp. This is necessary because
7439 glibc headers also define r1.
7441 Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7443 * stdlib/gen-mpn-copy (translations): Updated for new layout in
7446 * malloc/malloc.c (__malloc_initialize): Renamed from initialize;
7448 (malloc): Caller changed.
7449 * malloc/realloc.c (realloc): Call __malloc_initialize if
7450 necessary, before checking hook.
7451 * malloc/malloc.h: Declare __malloc_initialize.
7453 * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself
7454 as integer_t arg in RPC.
7456 Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7458 * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB.
7459 (_hurd_set_brk): Try to allocate more space when we run out.
7461 * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with
7462 zero and examine it again.
7463 * sysdeps/unix/sysv/linux/i386/brk.c: New file.
7464 * sysdeps/unix/sysv/linux/i386/brk.S: File removed.
7465 * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed.
7466 * sysdeps/unix/sysv/linux/dl-sysdep.c: New file.
7467 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]:
7468 Invoke this macro before calling DL_MAIN.
7470 * malloc/malloc.c (malloc): Do initialization here, before
7472 (_malloc_internal): Don't do it here.
7474 Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7476 * libio/vsnprintf.c (__vsnprintf): Define as alias.
7477 * libio/iovsscanf.c (__vsscanf): Define as alias.
7478 * asprintf.c: Remove libio adaptation code added by drepper.
7479 * dprintf.c: Likewise.
7480 * printf.c: Likewise.
7481 * scanf.c: Likewise.
7482 * snprintf.c: Likewise.
7483 * sprintf.c: Likewise.
7484 * sscanf.c: Likewise.
7485 * vprintf.c: Likewise.
7486 * stdio-common/vfscanf.c [USE_IN_LIBIO] (__vfscanf): New wrapper
7488 (vfscanf): Define unconditionally.
7490 * sysdeps/i386/dl-machine.h (elf_machine_rel): If SYM is null, use
7493 * misc/getpass.c: Write a newline after reading the unechoed
7496 Mon Nov 27 19:24:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7498 * posix/Makefile (routines): Add getsid.
7499 * sysdeps/unix/sysv/linux/getsid.S: New file.
7500 * sysdeps/mach/hurd/getsid.c: New file.
7501 * sysdeps/stub/getsid.c: New file.
7502 * posix/unistd.h [__USE_GNU]: Declare getsid.
7504 Sun Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7506 * libc-symbols.h (N_): New macro.
7508 Sat Nov 25 02:48:47 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
7510 * assert/assert-perr.c, assert/assert.c, inet/rcmd.c,
7511 malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c,
7512 resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c,
7513 sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c,
7514 sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c,
7515 sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c,
7516 sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c,
7517 sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable
7520 Sun Nov 26 02:00:02 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
7522 * misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio.
7524 Thu Nov 23 02:21:55 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
7526 * sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S:
7528 * sysdeps/unix/sysv/linux/sys/mman.h: Add prototypes for new functions
7529 mlock, munlock, mlockall, and munlockall.
7531 Thu Nov 23 18:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7533 * configure.in (--enable-libio): Set $stdio based on $enableval,
7534 not always to libio.
7536 Thu Nov 23 18:06:48 1995 Richard Stallman <rms@gnu.ai.mit.edu>
7538 * malloc/malloc.c (_malloc_internal): Can't use
7539 get_contiguous_space when the heap info table
7540 will be growing. Account for new contiguous space in _heaplimit.
7542 Wed Nov 22 12:37:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7544 * sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias
7547 * stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as
7548 alias for _IO_vfprintf.
7550 * sysdeps/unix/sysv/linux/sockaddrcom.h: File removed.
7552 * sysdeps/unix/sysv/linux/i386/init-first.c (init): Use
7553 __fpu_control instead of ___fpu_control.
7554 * sysdeps/unix/sysv/linux/i386/ieee_fpu.c
7555 (___fpu_control): Renamed to __fpu_control.
7556 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise.
7557 * sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise.
7559 * elf/dl-minimal.c: New file.
7560 * elf/Makefile (rtld-routines): Add dl-minimal.
7561 * elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail):
7562 Functions moved to dl-minimal.c.
7563 * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc,
7564 sigjmp_save, longjmp): Likewise.
7566 * sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize
7567 to &_end, regardless of PIC.
7569 * stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn.
7571 Tue Nov 21 14:12:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7573 * malloc/malloc.c (align): Don't check contiguity and call abort.
7575 * hurd/hurdsig.c (post_reply): Function removed.
7576 (abort_thread, abort_all_rpcs, _hurdsig_abort_rpcs): Don't call it.
7577 Take single callback fn arg instead of reply port and type.
7578 (_hurd_internal_post_signal): Callers changed.
7579 Cache reply stub fn ptr in local var before UNTRACED might be changed.
7581 * sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for
7582 PROT_READ|PROT_WRITE copy mapping. Pass a proper vm_inherit_t to
7585 * elf/rtld.c (_dl_start): For --list, do output and exit before
7588 Mon Nov 20 16:19:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7590 * intl/Makefile [gettext-srcdir]: Rewrote copying rules to only
7591 get .c and .h files.
7593 * malloc/malloc.c (align): Use abort instead of assert.
7595 Sun Nov 19 18:23:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7597 * Makeconfig (+includes): Add $($(stdio)-include).
7598 (libio-include): New variable.
7600 * stdlib/strtod.c: Put weak_symbol after function defn.
7601 * stdlib/strtol.c: Likewise.
7603 * configure.in (--enable-libio): If not present, set $stdio to
7604 "default". Move stdio/libio check to end, so sysdeps fragments
7605 can affect it. Reset $stdio to "stdio" if it's "default".
7606 * sysdeps/unix/sysv/linux/configure: New file.
7608 Sat Nov 18 16:46:01 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
7610 * libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c,
7611 libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c,
7612 libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
7613 libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
7614 libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
7615 libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c,
7616 libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c,
7617 libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h,
7618 libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c,
7619 libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
7620 libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c,
7621 libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c,
7622 libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c,
7623 libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h,
7624 libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c:
7625 New files. Slightly modified version from Linux libc.
7627 * libio/memstream.c, libio/vdprintf.c: New files for functions not
7628 (yet) part of GNU libio.
7630 * libio/iofopncook.c: Implementation of `fopencookie', mainly written
7633 * stdio-common/getline.c: Adapted to libio.
7634 * stdio-common/snprintf.c: Adapted to libio.
7635 * stdio-common/vfprintf.c: Adapted to libio.
7636 * stdio-common/vfscanf.c: Adapted to libio.
7637 * sysdeps/posix/tempname.c: Adapted to libio.
7639 Fri Nov 17 17:57:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7641 * sysdeps/generic/Makefile (make_siglist): Add missing backslash.
7643 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New
7646 * hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror.
7647 (_hurdsig_fault_init): Remove #if 0 from setting exception port.
7648 Insert send right for SIGEXC before thread_set_special_port.
7649 * hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror.
7650 (_hurdsig_init): Remove #if 0 from setting exception port.
7652 * sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use
7653 HURD_MSGPORT_RPC macro.
7655 Thu Nov 16 06:07:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7657 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New
7659 (_dl_sysdep_start): Move cleanup code there.
7661 * Makeconfig (default-rpath): New variable.
7662 (link-libc): Use it.
7663 * elf/Makefile (ld.so): Pass -rpath=$(default-rpath).
7664 * elf/rtld.c (_dl_rpath): New variable.
7665 (_dl_start): Set it from rtld_map's DT_RPATH.
7666 Call _dl_setup_hash on rtld_map.
7667 (dl_main): Cache address of _exit in variable before relocating,
7668 and use that in later calls. Call _dl_sysdep_start_cleanup before
7669 relocating. Keep track of dependency order while loading; remove
7670 rtld_map from chain, and reinsert in proper order if there is a
7673 * sysdeps/generic/Makefile (make_siglist): Pass
7674 -DSIGNUM_H=... with config's signum.h location.
7675 * sysdeps/generic/make_siglist.c: Include SIGNUM_H to define
7677 (HAVE_STRSIGNAL, HAVE_PSIGNAL): Define these before including signame.c
7678 (main): Deansideclize output.
7680 * elf/dl-load.c (_dl_map_object): Use _dl_rpath variable in place
7681 of DEFAULT_RPATH macro.
7682 * elf/Makefile: Undo last change.
7684 * sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop.
7686 Wed Nov 15 19:22:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7688 * elf/dl-lookup.c (_dl_lookup_symbol): Undefined symbol is no
7691 * elf/Makefile (default-rpath): New variable.
7692 (CPPFLAGS): Append -DDEFAULT_RPATH=....
7693 * elf/dl-load.c (_dl_map_object): Use DEFAULT_RPATH instead of
7694 hard-coded "/lib:/usr/lib".
7696 * sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common
7698 (_dl_sysdep_start): If passed user entry is zero and
7699 EXEC_STACK_ARGS flag set, reset user entry to &_start.
7701 * elf/rtld.c (dl_main): Only call _dl_setup_hash if there is a
7704 * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Gratuitously
7705 repeat weak decl using weak_symbol macro, in case using broken GCC
7708 Wed Nov 15 18:49:55 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7710 * sysdeps/i386/isnanl.c: New file.
7711 * sysdeps/i386/isinfl.c: New file.
7713 Tue Nov 14 18:44:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7715 * malloc/free.c (free): Moved null and aligned_blocks checks
7716 inside _free_internal.
7718 Mon Nov 13 15:23:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7720 * malloc/malloc.c (morecore): Fix inverted test in allocating new
7723 * malloc/malloc.c (align): Fix assertion.
7725 * malloc/malloc.c: Include assert.h.
7727 * libc-symbols.h: Use __attribute__ for GCC 2.8, not 2.7.
7729 * malloc/malloc.h [emacs] (emacs_loser_valloc): Macro removed.
7730 (valloc): Protect decl with [! (_MALLOC_INTERNAL && emacs)].
7732 Fri Nov 10 14:15:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7734 * malloc/malloc.c (align): Assert that space for alignment
7735 adjustment is same original space.
7737 * hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate
7738 arg to vm_address_t.
7740 * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0,
7741 skip straight to pending check. When UNTRACED, resume process
7742 from suspension first.
7744 * intl/Makefile (headers): New variable, libintl.h.
7745 [gettext-srcdir]: New rules to copy source from $(gettext-srcdir)/intl.
7746 * configure.in: Check for --with-gettext arg.
7748 Fri Nov 10 13:51:30 1995 Richard Stallman <rms@gnu.ai.mit.edu>
7750 * malloc/malloc.c (get_contiguous_space): New function.
7751 (morecore): Rewrite allocating new malloc info table.
7752 (_malloc_internal): Use get_contiguous_space.
7754 Fri Nov 10 13:03:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7756 * hurd/hurdexec.c (_hurd_exec): If exec'ing self, pass
7757 _hurd_msgport to be destroyed.
7759 * Makerules (installed-libcs): Filter out %_pic.a.
7761 * hurd/hurdinit.c (_hurd_proc_init): When traced, use msg_sig_post
7762 to our msgport to take SIGTRAP, instead of _hurd_raise_signal.
7764 * hurd/Makefile (user-interfaces): Add hurd/process_request.
7766 Wed Nov 8 16:31:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7768 * termios/Makefile (headers): Add sys/ttychars.h.
7769 * termios/sys/ttychars.h: New file, incorporated from 4.4BSD-Lite
7772 * signal/signal.h [__USE_BSD] (sig_t): New typedef.
7774 Wed Nov 8 15:12:47 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
7776 * sysdeps/mach/hurd/ptrace.c (ptrace) [PTRACE_TRACEME]: Notify the
7777 proc server that we are now traced.
7779 Tue Nov 7 12:29:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7781 * elf/Makefile (ldd): Make it executable.
7783 * Makeconfig (config-LDFLAGS): Find dynamic linker in $(slibdir).
7785 * Makeconfig (slibdir): New variable.
7786 * Makerules (install): Install libc.so in $(slibdir).
7787 * elf/Makefile (install-others): Install ld.so and ld-linux.so.1
7790 * elf/linux-compat.c: New file.
7791 * elf/Makefile (distribute): Add linux-compat.c.
7792 (generated): Add librtld.so.
7793 [$(config-os)=linux*] (extra-objs): Add linux-compat.so.
7794 [$(config-os)=linux*] (extra-objs): Add ld-linux.so.1.
7795 (librtld.so): New target.
7796 (ld.so, ld-linux.so.1): Make from librtld.so.
7798 * elf/rtld.c (dl_main): Instead of weak call to _dl_compat_init,
7799 call our own DT_INIT if we have one (and then clear it).
7800 (__dgettext): New weak function.
7802 * intl/localealias.c (read_alias_file): Avoid sprintf; use memcpy
7805 * sysdeps/generic/_strerror.c (_strerror_internal): Use _itoa
7806 instead of snprintf.
7808 * sysdeps/mach/_strerror.c (_strerror_internal): Don't write
7811 * elf/rtld.c (rtld_map): New static variable.
7812 (_dl_start): Use a differently named local BOOTSTRAP_MAP for the
7813 bootstrapping. Then copy data into `rtld_map'.
7814 (dl_main): Finish filling in rtld_map and link it into the chain,
7815 instead of allocating a new structure.
7816 (dl_main): Call _dl_compat_init if it is defined (use weak ref).
7818 * elf/dlsym.c: Fix last change: move REF out of `doit'.
7820 Mon Nov 6 16:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7822 * elf/dlsym.c: Return the proper value, not just the defining
7825 Sun Nov 5 16:09:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7827 * stdio-common/vfprintf.c (%c): Count the character itself towards
7828 the field width in all cases.
7830 * sysdeps/mach/hurd/getpriority.c (getpriority): Cast
7831 __vm_deallocate arg to vm_address_t.
7833 Fri Nov 3 17:27:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7835 * sysdeps/mach/hurd/sendto.c: Don't pass BINDING arg to
7836 socket_create_address.
7837 * sysdeps/mach/hurd/connect.c: Likewise.
7838 * sysdeps/mach/hurd/bind.c: Likewise.
7840 * hurd/hurdprio.c (_hurd_priority_which_map): Pass threadwaits
7841 args to proc_getprocinfo.
7842 * sysdeps/mach/hurd/getpriority.c: Likewise.
7844 * hurd/hurdmsg.c (_S_msg_report_wait): New stub function.
7846 Thu Nov 2 19:24:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7848 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Define as common.
7850 Tue Oct 31 00:07:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7852 * sysdeps/mach/hurd/getpriority.c (getpriority): Pass
7853 PI_FETCH_TASKINFO to proc_getprocinfo and through
7854 _hurd_priority_which_map.
7856 * sysdeps/mach/hurd/setpriority.c (setpriority): Pass new arg to
7857 _hurd_priority_which_map.
7858 * hurd/hurdprio.c (_hurd_priority_which_map): New arg PI_FLAGS,
7859 passed through to proc_getprocinfo RPC.
7860 * hurd/hurd/resource.h: Add PI_FLAGS arg in decl.
7862 * sysdeps/mach/hurd/group_member.c: New file.
7863 * sysdeps/generic/group_member.c: New file.
7865 * Makerules (lib-noranlib): Don't depend on $(install-lib).
7867 * extra-lib.mk: Fix test of $(lib)-no-lib-dep.
7869 Mon Oct 30 12:33:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7871 * Rules (others): Depend on $(extra-objs).
7873 * posix/unistd.h [__USE_GNU]: Declare group_member, __group_member.
7874 * posix/Makefile (routines): Add group_member.
7876 * sysdeps/posix/euidaccess.c: New file, adapted from fileutils.
7878 * sysdeps/unix/sysv/linux/i386/sigaction.c: Tighten constraint for
7879 SIG operand in asm so it must be a register.
7880 Add dead return to quiet gcc warning.
7882 * Makerules (sysd-rules): Write a defn for sysd-rules-done.
7883 [! sysd-rules-done]: Inhibit deps.
7885 Thu Oct 26 23:11:11 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7887 * sysdeps/unix/sysv/linux/poll.c: Don't define as stub. Use
7888 simulation of system call using select.
7890 * sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation.
7892 * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER.
7894 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter
7895 name usage (new->act, old->oact).
7896 Correct asm statement because of gcc strangeness.
7898 * sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb.
7900 * sunrpc/clnt_perr.c: Remove declaration of sys_errlist. They
7901 conflict with the ones in stdio.h.
7903 * string/tester.c: %Z is no complete format. Change to %Zd.
7905 Thu Oct 26 18:13:33 1995 Miles Bader <miles@gnu.ai.mit.edu>
7907 * sysdeps/mach/hurd/bind.c (bind): Swap args to dir_link.
7908 * sysdeps/mach/hurd/link.c (__link): Ditto.
7909 * sysdeps/mach/hurd/symlink.c (__symlink): Ditto.
7910 * sysdeps/mach/hurd/mknod.c (__mknod): Ditto.
7911 Include "stdio-common/_itoa.h" instead of "stdio/_itoa.h".
7913 Thu Oct 26 00:11:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7915 * sysdeps/unix/sysv/linux/i386/sigaction.c: New file.
7917 * sysdeps/unix/sysv/linux/i386/xstat.S: Don't use JUMPTARGET macro
7918 on syscall_error. For PIC, it is a local label;
7919 for non-PIC, JUMPTARGET expands to the unadorned name anyway.
7920 * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
7921 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7922 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7923 * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
7924 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7925 * sysdeps/unix/sysv/linux/i386/brk.S: Likewise.
7927 Thu Oct 26 03:01:22 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7929 * sysdeps/unix/sysv/linux/syscall.h: Strip list of syscalls in
7930 comment to the necessary ones. Add _readv and _writev.
7932 * sysdeps/unix/configure.in: Change syntax for system call test
7933 candidates and adapt sed script for this. Now use : to separate
7934 syscall name and file name.
7936 * sysdeps/unix/sysv/linux/i386/sysdep.h (ENTRY): System call
7937 number is now set is DO_CALL. So call with additional argument.
7938 (DO_CALL): Takes an additional argument. Load system call
7939 number according to new argument.
7940 (SYSCALL_ERROR_HANDLER): Add ; after last ret statement.
7941 * sysdeps/unix/sysv/linux/i386/brk.S [PIC]: Define __syscall_error
7942 locally using SYSCALL_ERROR_HANDLER macro.
7943 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7944 * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
7945 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7946 * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
7947 * sysdeps/unix/sysv/linux/i386/xstat.S: Likewise.
7948 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7949 Don't use DO_CALL macro; instead use lower level macros for better
7952 * sysdeps/unix/sysv/linux/sigaction.h: New file.
7953 * sysdeps/unix/sysv/linux/sigaction.S: File removed.
7954 * sysdeps/unix/sysv/linux/signal.S: File removed.
7956 Wed Oct 25 14:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7958 * hurd/hurdstartup.c (_hurd_startup): Use new
7959 exec_startup_get_info RPC from exec_startup.defs
7960 in place of old exec_startup from exec.defs. Remove kludge to
7961 guess user entry and phdr locations, since the new RPC gives us
7964 * stdio/stdio.h (sys_errlist, _sys_errlist): Declare const.
7965 * sysdeps/generic/_strerror.c: Undo last change.
7967 * sysdeps/unix/sysv/linux/stat.c: New file.
7968 * sysdeps/unix/sysv/linux/fstat.c: New file.
7969 * sysdeps/unix/sysv/linux/lstat.c: New file.
7970 * sysdeps/unix/sysv/linux/i386/stat.S: File removed.
7971 * sysdeps/unix/sysv/linux/i386/fstat.S: File removed.
7972 * sysdeps/unix/sysv/linux/i386/lstat.S: File removed.
7974 Tue Oct 24 15:22:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7976 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7978 (PSEUDO): Use it instead of SYSCALL_PIC_SETUP and jmp syscall_error.
7980 * sysdeps/unix/sysv/linux/i386/sysdep.S (__syscall_error): Define
7983 * Makeconfig (built-program-cmd): New variable.
7984 * sunrpc/Makefile (rpcgen-cmd): Use $(built-program-cmd).
7985 * time/Makefile (zic-cmd): Likewise.
7987 * hurd/Makefile (user-interfaces): Add hurd/exec_startup.
7989 * sunrpc/Makefile (librpcsvc-no-lib-dep): New variable.
7990 * extra-lib.mk: If $(lib)-no-lib-dep is defined and MAKELEVEL>0,
7991 make `others' rather than `lib-noranlib' depend on the libraries.
7993 * sysdeps/unix/configure.in: Check for fchdir syscall.
7994 Improve sed script to allow / on rhs without / on lhs.
7996 Thu Oct 19 03:47:32 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
7998 * sysdeps/unix/sysv/linux/termbits.h: Don't define speed constants.
8000 * elf/rtld.c: Include _itoa.h from stdio-common instead of stdio.
8002 * sysdeps/unix/sysv/linux/select.S: New file.
8004 Wed Oct 18 03:33:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8006 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Use
8007 SYSCALL_PIC_SETUP before jumping to syscall_error.
8008 * sysdeps/unix/i386/sysdep.h (SYSCALL_PIC_SETUP): New macro.
8009 (PSEUDO): Use it before jumping to syscall_error.
8010 * sysdeps/unix/i386/sysdep.S [! PIC]: Don't find GOT address;
8011 expect it in %ebx on entry. Pop old %ebx value off stack after
8014 * signal/signal.h [__USE_BSD] (_sys_siglist, sys_siglist): Declare
8017 * sysdeps/generic/_strerror.c: Declare _sys_errlist and _sys_nerr.
8019 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For magic
8020 `fd/', pass the right pointer to strtol to parse the number.
8022 Tue Oct 17 23:00:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8024 * sysdeps/mach/_strerror.c: Include stdio-common/_itoa.h instead
8027 Tue Oct 17 19:51:17 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
8029 * sysdeps/unix/sysv/linux/i386/stat.S [PIC] (__stat): Set GOT
8030 register %ebx before calling __xstat through PLT.
8032 * sysdeps/unix/sysv/linux/i386/sysdep.S: Fix typo in comment.
8034 * sysdeps/unix/sysv/linux/sigset.h: Remove file.
8036 Tue Oct 17 01:21:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8038 * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of
8040 * hurd/hurdlookup.c: Likewise.
8042 * hurd/hurd/signal.h: Declare hurd_preempt_signals and
8043 hurd_unpreempt_signals.
8045 * stdio/stdio.h: Declare __snprintf and __vsnprintf.
8047 * stdio-common/psignal.c: Translate signal description strings.
8048 * string/strsignal.c: Likewise.
8049 * sysdeps/generic/_strerror.c (_strerror_internal): Translate
8051 * sysdeps/mach/_strerror.c: Likewise.
8053 * stdio-common/snprintf.c (__snprintf): Renamed from snprintf;
8055 (snprintf): Define as weak alias.
8056 * stdio/vsnprintf.c (__vsnprintf): Renamed from vsnprintf.
8057 (vsnprintf): Define as weak alias.
8059 Mon Oct 16 03:22:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8061 * Makerules (install-lib): Filter out %_pic.a; install only the
8062 linked shared objects.
8064 * locale/Makefile (aux): Add SYS_libc.
8065 * locale/SYS_libc.c: New file.
8066 * libc-symbols.h [! ASSEMBLER] (_): New macro.
8068 * configure.in (libc_cv_asm_set_directive): Link program into
8069 conftest instead of letting it default to a.out.
8071 * elf/Makefile (install-others): Add missing slash.
8073 * elf/ldd.sh.in: Prepend `./' to relative file names so ld.so
8074 won't search LD_LIBRARY_PATH.
8076 * Makefile (subdirs): Replace stdio with stdio-common and $(stdio).
8077 * configure.in: Grok arg --enable-libio.
8078 ($stdio = libio): Define USE_IN_LIBIO.
8079 * config.h.in (USE_IN_LIBIO): Add #undef.
8080 * config.make.in (stdio): New variable, set by configure.
8081 * Makeconfig (stdio): New variable.
8082 * stdio.h [USE_IN_LIBIO]: Include libio/stdio.h instead of
8084 * stdio-common/Makefile: New file.
8085 * stdio/Makefile: Half the contents moved to stdio-common/Makefile.
8086 * stdio/_itoa.c: Moved to stdio-common.
8087 * stdio/_itoa.h: Moved to stdio-common.
8088 * stdio/asprintf.c: Moved to stdio-common.
8089 * stdio/bug1.c: Moved to stdio-common.
8090 * stdio/bug1.input: Moved to stdio-common.
8091 * stdio/bug2.c: Moved to stdio-common.
8092 * stdio/bug3.c: Moved to stdio-common.
8093 * stdio/bug4.c: Moved to stdio-common.
8094 * stdio/bug5.c: Moved to stdio-common.
8095 * stdio/bug6.c: Moved to stdio-common.
8096 * stdio/bug6.input: Moved to stdio-common.
8097 * stdio/bug7.c: Moved to stdio-common.
8098 * stdio/dprintf.c: Moved to stdio-common.
8099 * stdio/errnobug.c: Moved to stdio-common.
8100 * stdio/getline.c: Moved to stdio-common.
8101 * stdio/getw.c: Moved to stdio-common.
8102 * stdio/perror.c: Moved to stdio-common.
8103 * stdio/printf-parse.h: Moved to stdio-common.
8104 * stdio/printf-prs.c: Moved to stdio-common.
8105 * stdio/printf.c: Moved to stdio-common.
8106 * stdio/printf.h: Moved to stdio-common.
8107 * stdio/printf_fp.c: Moved to stdio-common.
8108 * stdio/psignal.c: Moved to stdio-common.
8109 * stdio/putw.c: Moved to stdio-common.
8110 * stdio/reg-printf.c: Moved to stdio-common.
8111 * stdio/scanf.c: Moved to stdio-common.
8112 * stdio/snprintf.c: Moved to stdio-common.
8113 * stdio/sprintf.c: Moved to stdio-common.
8114 * stdio/sscanf.c: Moved to stdio-common.
8115 * stdio/tempnam.c: Moved to stdio-common.
8116 * stdio/temptest.c: Moved to stdio-common.
8117 * stdio/test-fseek.c: Moved to stdio-common.
8118 * stdio/test-fwrite.c: Moved to stdio-common.
8119 * stdio/test-popen.c: Moved to stdio-common.
8120 * stdio/test_rdwr.c: Moved to stdio-common.
8121 * stdio/tmpfile.c: Moved to stdio-common.
8122 * stdio/tmpnam.c: Moved to stdio-common.
8123 * stdio/tst-fileno.c: Moved to stdio-common.
8124 * stdio/tst-printf.c: Moved to stdio-common.
8125 * stdio/tstgetln.c: Moved to stdio-common.
8126 * stdio/tstgetln.input: Moved to stdio-common.
8127 * stdio/tstscanf.c: Moved to stdio-common.
8128 * stdio/tstscanf.input: Moved to stdio-common.
8129 * stdio/vfprintf.c: Moved to stdio-common.
8130 * stdio/vfscanf.c: Moved to stdio-common.
8131 * stdio/vprintf.c: Moved to stdio-common.
8132 * stdio/xbug.c: Moved to stdio-common.
8133 * sysdeps/generic/Makefile (siglist.c rules): Do this in subdir
8134 stdio-common instead of stdio.
8135 * sysdeps/unix/Makefile (errlist.c rules): Likewise.
8136 * stdio-common/asprintf.c [USE_IN_LIBIO]: Call libio primitive
8138 * stdio-common/dprintf.c: Likewise.
8139 * stdio-common/printf.c: Likewise.
8140 * stdio-common/scanf.c: Likewise.
8141 * stdio-common/snprintf.c: Likewise.
8142 * stdio-common/sprintf.c: Likewise.
8143 * stdio-common/sscanf.c: Likewise.
8144 * stdio-common/vprintf.c: Likewise.
8146 * Makerules: Include $(+depfiles) directly instead of generating
8148 (depend-$(subdir)): Target removed.
8149 (common-clean): Don't remove depend-$(subdir).
8151 * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): New variable.
8152 (config-LDFLAGS): Variable removed.
8154 * sysdeps/mach/hurd/getcwd.c: Use __file_name_lookup_under.
8155 * sysdeps/mach/hurd/bind.c: Likewise.
8156 * sysdeps/mach/hurd/access.c: Use new __hurd_file_name_lookup
8159 * hurd/hurdexec.c: Undo last change (10 Oct 95).
8161 Sun Oct 15 21:04:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8163 * hurd/hurd/lookup.h: New file.
8164 * hurd/hurdlookup.c (__file_name_lookup_under): New function.
8165 (__hurd_file_name_lookup, __hurd_file_name_lookup_retry,
8166 __hurd_file_name_split): Rewritten to take callback functions for
8167 using any needed init or dtable port, instead of passing in crdir
8169 (__file_name_lookup, __file_name_split): Use new calling
8170 convention; pass _hurd_ports_use and __getdport as the callback
8173 * sysdeps/mach/hurd/chroot.c: Use __file_name_lookup_under instead
8174 of __hurd_file_name_lookup.
8175 * sysdeps/mach/hurd/chdir.c: Likewise.
8176 * sysdeps/mach/hurd/fchdir.c: Likewise.
8177 * hurd/fchroot.c: Likewise.
8179 * stdlib/Makefile (mpn-found): Don't omit %.s.
8180 (mpn-copy-sysdep): Omit files in nonexistent directories.
8181 (copy-mpn): Commit files to CVS.
8182 * stdlib/gen-mpn-copy (translations): Update translations for GMP
8185 * configure.in (machine): Translate alpha* to alpha/&, hppa* to hppa/&.
8187 Sat Oct 14 02:52:36 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
8189 * malloc/malloc.c (_malloc_internal): Performance fix. Move
8190 if statement out of loop.
8192 * stdio/_itoa.c, stdio/_itoa.h: Complete rewrite. Much faster
8193 implementation using GMP functions. Contributed by
8194 Torbjorn Granlund and Ulrich Drepper.
8196 * stdio/test_rdwr.c: Include <errno.h>.
8198 * sysdeps/i386/i586/Implies: New file.
8200 New highly optimized string functions for i[345]86.
8201 * sysdeps/i386/memchr.S, sysdeps/i386/memcmp.S: New files.
8202 * sysdeps/i386/stpcpy.S, sysdeps/i386/stpncpy.S: New files.
8203 * sysdeps/i386/strchr.S, sysdeps/i386/strcspn.S: New files.
8204 * sysdeps/i386/strpbrk.S, sysdeps/i386/strrchr.S: New files.
8205 * sysdeps/i386/strspn.S, sysdeps/i386/i486/strcat.S: New files.
8206 * sysdeps/i386/i486/strlen.S, sysdeps/i386/i586/strchr.S: New files.
8207 * sysdeps/i386/i586/strlen.S: New file.
8208 * sysdeps/i386/memchr.c: Removed. There is now an assembler version.
8210 * sysdeps/i386/i586/memcopy.h (WORD_COPY_BWD): Parameters did
8211 not correspond to used values.
8213 * sysdeps/unix/sysv/linux/nfs/nfs.h: New file. Simply a wrapper
8214 around a kernel header file.
8215 * sysdeps/unix/sysv/linux/Dist: Add it.
8216 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=sunrpc] (headers):
8219 * sysdeps/unix/sysv/linux/local_lim.h: Rewrite. Instead of
8220 defining ourself we use a kernel header file.
8222 * sysdeps/unix/sysv/linux/i386/sysdep.h (DO_CALL): Optimize system
8223 call handler for i586.
8225 * sysdeps/unix/sysv/linux/sys/param.h: Add copyright and clean up.
8227 Thu Oct 12 15:45:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8229 * hurd/hurd.h (file_name_lookup_under): Declare it.
8230 * hurd/Makefile (headers): Add hurd/lookup.h.
8232 * hurd/hurdinit.c (_hurd_ports_use): New function.
8233 * hurd/hurd.h (_hurd_ports_use): Declare it.
8234 (hurd_invoke_translator, hurd_file_name_lookup, hurd_file_name_split,
8235 hurd_file_name_lookup_retry): Remove these decls.
8236 * hurd/Makefile (routines): Remove invoke-trans.
8238 Wed Oct 11 00:00:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8240 * sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to
8241 apply R_386_PC32 reloc.
8243 * Makeconfig (config-LDFLAGS): Add missing slash.
8245 * sysdeps/mach/hurd/profil.c (fork_profil): Only call
8246 update_waiter if profiling was enabled in the parent.
8248 * csu/initfini.c: Don't pass -f flag to cp.
8250 Tue Oct 10 23:08:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8252 * Makerules (build-shlib): Pass -rpath and -rpath-link options.
8253 (LDFLAGS-c.so): Don't pass -dynamic-linker here.
8254 * Makeconfig (+link): Pass $(sysdep-LDFLAGS).
8255 (link-libc): Pass -rpath and -rpath-link options.
8257 * MakeTAGS (all-dirs): Omit CVS directories.
8258 Specify vpath directives to find source files in $(all-dirs).
8259 (sources, headers): Append sources and headers from $(all-dist) to
8261 (all-dist): Filter them out of this.
8262 (all-headers, all-sources): Use $(shell find ...) instead of
8265 * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): New variable; pass
8268 * hurd/hurdexec.c: Pass poly and dealloc args to __file_exec.
8270 * elf/Makefile (install-others): Add missing $.
8272 Mon Oct 9 02:54:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8274 * mach/Makefile ($(objpfx)errsystems.c): Rule reenabled.
8276 * Makeconfig (config-LDFLAGS): Define to
8277 -Wl-dynamic-linker=$(libdir)$(rtld-installed-name).
8278 (rtld-installed-name): New variable.
8279 * elf/Makefile (install-lib): Variable removed.
8280 (install-others): Define this instead, to
8281 $(libdir)(rtld-installed-name).
8282 ($(libdir)(rtld-installed-name)): New target; install from ld.so.
8284 * elf/ldd.sh.in: New file.
8285 * elf/Makefile (distribute): Add ldd.sh.in.
8286 (install-bin): Add ldd.
8287 ($(objpfx)ldd: ldd.sh.in): New rule.
8289 * sysdeps/mach/hurd/dl-sysdep.c: Use __hurd_fail throughout.
8290 * hurd/hurd.h (__hurd_fail): Replace macro with inline function.
8291 Translate some Mach errors to Hurd errors.
8293 * elf/rtld.c (dl_main): Under --list, print msg if executable is
8296 * elf/dl-load.c (_dl_map_object_from_fd): Rewrote program header
8299 Sat Oct 7 01:25:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8301 * sysdeps/stub/machine-gmon.h: Add #error.
8303 Fri Oct 6 01:49:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8305 * elf/dynamic-link.h (elf_get_dynamic_info): If DYN is null, don't
8308 Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com>
8310 Rewrite mktime from scratch for performance, and for correctness
8311 in the presence of leap seconds.
8313 * time/mktime.c (ydhms_tm_diff, not_equal_tm, print_tm, check_result):
8315 (LEAP_SECONDS_POSSIBLE, CHAR_BIT, INT_MIN, INT_MAX,
8316 TIME_T_MIN, TIME_T_MAX, TM_YEAR_BASE, EPOCH_YEAR): New macros.
8317 <limits.h>, <stdlib.h>: New #includes.
8318 (main): Support tests with given broken-down value; support benchmarks.
8319 (__mon_lengths, debugging_enabled, printtm, dist_tm, doit,
8320 do_normalization, normalize, BAD_STRUCT_TM, SKIP_VALUE,
8323 * time/time.h, time/mktime.c (__mktime_internal): New offset arg.
8324 * time/mktime.c (mktime), time/timegm.c (timegm): Use it.
8326 * time/mktime.c (__mon_yday): New variable; replaces `__mon_lengths'.
8327 time/offtime.c (__offtime), time/tzset.c (compute_change): Use it.
8329 * time/offtime.c (__offtime): Remove useless assignment
8330 `tp->tm_isdst = -1'.
8332 * manual/maint.texi: Update credits.
8334 Fri Oct 6 00:28:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8336 * sysdeps/unix/common/readv.S: Moved to sysdeps/unix/bsd.
8337 * sysdeps/unix/common/writev.S: Moved to sysdeps/unix/bsd.
8338 * sysdeps/unix/sysv/linux/readv.c: File removed.
8339 * sysdeps/unix/sysv/linux/writev.c: File removed.
8340 * sysdeps/unix/configure.in: Check for readv and writev syscalls.
8342 * sysdeps/unix/configure.in: If eval doesn't set $unix_srcname,
8343 set it to $unix_syscall instead of $unix_function.
8345 Thu Oct 5 00:59:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8347 * elf/rtld.c (dl_main): Grok --list flag.
8348 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Ignore -- args.
8350 Wed Oct 4 00:21:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8352 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_message): New function.
8353 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_message): New function.
8354 * elf/link.h (_dl_sysdep_message): Declare it.
8356 * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Remove NULL from
8359 * time/northamerica: Corrections to Canada data from ADO 95i.
8361 * sysdeps/unix/sysv/linux/Makefile (headers): Don't append to this
8362 unconditionally. In socket subdir, append sys/socketcall.h; in
8363 time subdir, append sys/timex.h.
8364 (config-LDFLAGS): New variable.
8365 * sysdeps/unix/sysv/linux/Dist: New file.
8366 * Makeconfig (+link): Pass $(config-LDFLAGS) before $(LDFLAGS).
8368 * sysdeps/generic/stpncpy.c: Don't increment DEST when zero-filling.
8370 * elf/dlopen.c (dlopen): Don't pass USER_ENTRY arg to _dl_map_object.
8372 Sat Sep 30 11:47:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8374 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): If started by
8375 kernel with args on stack, point _dl_hurd_data at zero data
8376 instead of garbage. When ld.so run as program, grok args
8377 -LIB=MEMOBJ and pre-load shared object files found in memory
8378 objects loaded by the boot loader.
8380 * elf/link.h (struct link_map): New member `l_entry'.
8381 (_dl_map_object, _dl_map_object_from_fd): Remove last arg ENTRY_POINT.
8382 * elf/dl-load.c (_dl_map_object, _dl_map_object_from_fd): Remove
8383 last arg ENTRY_POINT. Store the entry point location in the
8384 `l_entry' member of the new map.
8385 * elf/rtld.c (dl_main): Don't pass USER_ENTRY arg to
8386 _dl_map_object. When run as program, set *USER_ENTRY to L->l_entry.
8387 * elf/dl-init.c (_dl_init_next): Don't pass ENTRY_POINT arg to
8390 * posix/tstgetopt.c, posix/tstgetopt.args: Test long options too.
8392 * sysdeps/unix/sysv/linux/i386/init-first.c (init): Save, set, and
8393 restore %ebx by hand for personality syscall.
8394 GCC cannot deal with spilling the dedicated GOT register.
8396 * misc/Makefile (routines): Add mntent, which was somehow omitted.
8398 Fri Sep 29 15:07:10 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
8400 * sysdeps/unix/sysv/linux/adjtime.c (__adjtime):
8401 Change name of field `mode' in `struct timex' to `modes'.
8402 Linux-1.3.28 updates this name according to RFC 1489.
8404 Thu Sep 28 13:05:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8406 Merge new message handling code from GNU gettext, by Drepper.
8407 * intl: New directory.
8408 * Makefile (subdirs): Add intl.
8410 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Return
8411 USER_ENTRY instead of storing it on our stack.
8413 * elf/rtld.c (rtld_command): Variable removed.
8414 (_dl_skip_args): New variable.
8415 (dl_main): Increment _dl_skip_args instead of setting rtld_command.
8416 If the link_map for the executable itself is not first in the chain,
8418 * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_skip_args as
8419 count of args to skip.
8421 Thu Sep 28 09:20:04 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
8423 * stdlib/strtod.c (STRTOF): Fix handling of numbers with lots of
8426 Wed Sep 27 00:27:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8428 * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd.
8429 (getcwd): Define as weak alias.
8430 * sysdeps/posix/getcwd.c: Likewise.
8431 * sysdeps/stub/getcwd.c: Likewise.
8432 * posix/unistd.h: Declare __getcwd.
8434 * string/string.h: Declare __strcasecmp.
8435 * sysdeps/generic/strcasecmp.c (__strcasecmp): Renamed from
8437 (strcasecmp): Define as weak alias.
8439 * string/string.h: Declare __stpcpy.
8440 * sysdeps/generic/stpcpy.c (__stpcpy): Renamed from stpcpy.
8441 (stpcpy): Define as weak alias.
8443 * sysdeps/unix/sysv/linux/Implies: Add unix/common.
8445 * sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE):
8446 Don't use `type' for arg name, since we are using it as a keyword
8449 * sysdeps/unix/configure.in: Check for syscalls getpriority,
8450 setpriority, getrlimit, setrlimit.
8452 * sysdeps/posix/truncate.c: Include fcntl.h.
8454 * sysdeps/generic/getdomain.c: Include string.h for strncpy decl.
8456 * sysdeps/stub/getpriority.c: Don't include obsolete gnu-stabs.h;
8457 use new stub_warning syntax.
8458 * sysdeps/stub/setpriority.c: Likewise.
8459 * sysdeps/stub/__longjmp.c: Likewise.
8460 * sysdeps/stub/_exit.c: Likewise.
8461 * sysdeps/stub/accept.c: Likewise.
8462 * sysdeps/stub/acos.c: Likewise.
8463 * sysdeps/stub/alarm.c: Likewise.
8464 * sysdeps/stub/asin.c: Likewise.
8465 * sysdeps/stub/atan2.c: Likewise.
8466 * sysdeps/stub/bind.c: Likewise.
8467 * sysdeps/stub/cbrt.c: Likewise.
8468 * sysdeps/stub/chroot.c: Likewise.
8469 * sysdeps/stub/closedir.c: Likewise.
8470 * sysdeps/stub/connect.c: Likewise.
8471 * sysdeps/stub/cos.c: Likewise.
8472 * sysdeps/stub/cosh.c: Likewise.
8473 * sysdeps/stub/ctermid.c: Likewise.
8474 * sysdeps/stub/cuserid.c: Likewise.
8475 * sysdeps/stub/defs.c: Likewise.
8476 * sysdeps/stub/exp.c: Likewise.
8477 * sysdeps/stub/fmod.c: Likewise.
8478 * sysdeps/stub/frexp.c: Likewise.
8479 * sysdeps/stub/fsync.c: Likewise.
8480 * sysdeps/stub/getcwd.c: Likewise.
8481 * sysdeps/stub/getenv.c: Likewise.
8482 * sysdeps/stub/gethostid.c: Likewise.
8483 * sysdeps/stub/getlogin.c: Likewise.
8484 * sysdeps/stub/getpeername.c: Likewise.
8485 * sysdeps/stub/getrlimit.c: Likewise.
8486 * sysdeps/stub/getsockname.c: Likewise.
8487 * sysdeps/stub/getsockopt.c: Likewise.
8488 * sysdeps/stub/listen.c: Likewise.
8489 * sysdeps/stub/log.c: Likewise.
8490 * sysdeps/stub/log10.c: Likewise.
8491 * sysdeps/stub/mkfifo.c: Likewise.
8492 * sysdeps/stub/morecore.c: Likewise.
8493 * sysdeps/stub/nice.c: Likewise.
8494 * sysdeps/stub/nlist.c: Likewise.
8495 * sysdeps/stub/opendir.c: Likewise.
8496 * sysdeps/stub/pipestream.c: Likewise.
8497 * sysdeps/stub/ptrace.c: Likewise.
8498 * sysdeps/stub/putenv.c: Likewise.
8499 * sysdeps/stub/readdir.c: Likewise.
8500 * sysdeps/stub/reboot.c: Likewise.
8501 * sysdeps/stub/recv.c: Likewise.
8502 * sysdeps/stub/recvfrom.c: Likewise.
8503 * sysdeps/stub/rename.c: Likewise.
8504 * sysdeps/stub/rewinddir.c: Likewise.
8505 * sysdeps/stub/seekdir.c: Likewise.
8506 * sysdeps/stub/send.c: Likewise.
8507 * sysdeps/stub/sendto.c: Likewise.
8508 * sysdeps/stub/setegid.c: Likewise.
8509 * sysdeps/stub/seteuid.c: Likewise.
8510 * sysdeps/stub/setgroups.c: Likewise.
8511 * sysdeps/stub/sethostid.c: Likewise.
8512 * sysdeps/stub/sethostname.c: Likewise.
8513 * sysdeps/stub/setjmp.c: Likewise.
8514 * sysdeps/stub/setrlimit.c: Likewise.
8515 * sysdeps/stub/setsockopt.c: Likewise.
8516 * sysdeps/stub/shutdown.c: Likewise.
8517 * sysdeps/stub/signal.c: Likewise.
8518 * sysdeps/stub/sigsuspend.c: Likewise.
8519 * sysdeps/stub/sin.c: Likewise.
8520 * sysdeps/stub/sinh.c: Likewise.
8521 * sysdeps/stub/socket.c: Likewise.
8522 * sysdeps/stub/socketpair.c: Likewise.
8523 * sysdeps/stub/sqrt.c: Likewise.
8524 * sysdeps/stub/sync.c: Likewise.
8525 * sysdeps/stub/system.c: Likewise.
8526 * sysdeps/stub/tan.c: Likewise.
8527 * sysdeps/stub/tanh.c: Likewise.
8528 * sysdeps/stub/tcdrain.c: Likewise.
8529 * sysdeps/stub/tcflow.c: Likewise.
8530 * sysdeps/stub/tcgetpgrp.c: Likewise.
8531 * sysdeps/stub/tcsendbrk.c: Likewise.
8532 * sysdeps/stub/tcsetattr.c: Likewise.
8533 * sysdeps/stub/tcsetpgrp.c: Likewise.
8534 * sysdeps/stub/telldir.c: Likewise.
8535 * sysdeps/stub/tempname.c: Likewise.
8536 * sysdeps/stub/ttyname.c: Likewise.
8537 * sysdeps/stub/ttyname_r.c: Likewise.
8538 * sysdeps/stub/utime.c: Likewise.
8540 * gmon/gmon.c (moncontrol): Don't cast buffer arg to profil.
8542 * time/mktime.c (localtime_r): Use 0 instead of NULL.
8544 * config.make.in (AS): New variable; set to `$(CC) -c'.
8546 * posix/unistd.h [__USE_BSD]: Declare profil.
8548 * elf/dl-load.c (_dl_map_object_from_fd): New function, broken out
8550 (_dl_map_object): Call it.
8551 * elf/link.h (_dl_map_object_from_fd): Declare it.
8553 Tue Sep 26 16:50:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8555 * locale/libintl.h: Rewritten by Ulrich Drepper for use with GNU
8558 * sysdeps/unix/sysv/linux/sys/param.h: New file.
8559 * sysdeps/unix/sysv/linux/Subdirs: File removed.
8561 * libc-symbols.h (_LIBC): Define to 1, not just empty.
8563 * gmon: New directory of profiling code, incorporated from
8564 4.4BSD-Lite and modified.
8565 * sysdeps/i386/machine-gmon.h: New file.
8566 * sysdeps/stub/machine-gmon.h: New file.
8567 * sysdeps/mach/hurd/profil.c: New file.
8568 * sysdeps/stub/profil.c: New file.
8569 * sysdeps/unix/bsd/profil.S: New file.
8570 * Makefile (subdirs): Add gmon.
8571 * csu/gmon-start.c: New file.
8572 * csu/Makefile (extra-objs): Add gmon-start.o,
8573 g$(start-installed-name).
8574 (install-lib, omit-deps): Add g$(start-installed-name).
8575 ($(objpfx)g$(start-installed-name)): New target.
8577 Fri Sep 22 14:24:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8579 * sysdeps/mach/hurd/Makefile: Elide sunrpc from $(subdirs) for the
8582 Thu Sep 21 00:03:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8584 * sysdeps/unix/configure.in: Check for `profil' syscall.
8586 * manual/Makefile (infodir, prefix, INSTALL, INSTALL_DATA): Variables
8589 * time/africa, time/asia, time/europe, time/northamerica,
8590 time/yearistype: New data from ADO 95h.
8592 * Makerules (build-shlib): Use $(@F:lib%.so=%) in place of
8593 $(notdir $*), so it wins for the explicit libc.so rule as well as the
8596 * sysdeps/stub/sys/sem_buf.h (union semun): New type.
8598 * sysdeps/mach/hurd/i386/init-first.c (init1) [PIC]: Call
8599 __libc_global_ctors.
8600 * sysdeps/i386/init-first.c: Rewritten.
8601 * sysdeps/unix/sysv/linux/i386/init-first.S: File removed.
8602 * sysdeps/unix/sysv/linux/i386/init-first.c: New file.
8604 * sysdeps/unix/sysv/linux/i386/fpu_control.h: Fix name in decl of
8607 * Makerules (build-shlib): New canned sequence, broken out of
8608 lib%.so rule. Link in $^ instead of just $<.
8609 (lib%.so: lib%_pic.a): Use it.
8610 (libc.so): New target; use $(build-shlib) for cmds, but also depend
8611 on soinit.so first and sofini.so last.
8613 * elf/soinit.c: New file.
8614 * elf/sofini.c: New file.
8615 * elf/Makefile (distribute): Add soinit.c and sofini.c.
8616 (extra-objs): Add soinit.so and sofini.so.
8618 * sysvipc/sys/shm.h (shmat): Fix return type to char *.
8619 * sysdeps/stub/sys/ipc_buf.h (key_t): Type removed.
8621 * misc/syslog.c (vsyslog): Rewritten using open_memstream to
8622 dynamically allocate buffers.
8624 * Makerules (install-lib-nosubdir): Make this, rather than
8625 install-no-libc.a, depend on the installed shared libraries.
8627 Wed Sep 20 18:02:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8629 * locale/locale.c: Include errno.h.
8630 * locale/localedef.c: Likewise.
8632 Tue Sep 19 00:02:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8634 * Makefile (distclean-1): Remove config.cache, config.log, config.h.
8635 (parent-mostlyclean): Remove all flavors of the parent library.
8637 * misc/mntent.c (getmntent): Skip multiple whitespace chars
8640 * hurd/hurdstartup.c (_hurd_startup): If RPC returns
8641 EXEC_STACK_ARGS flag, get args from stack.
8642 If args on stack but have info from RPC, relocate args on stack to make
8643 space for struct hurd_startup_data.
8645 Mon Sep 18 15:06:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8647 * elf/dl-object.c: Include errno.h.
8648 * posix/execvp.c: Likewise.
8649 * dirent/scandir.c: Likewise.
8650 * sysdeps/posix/system.c: Likewise.
8651 * sysdeps/generic/setenv.c: Likewise.
8652 * stdlib/msort.c: Likewise.
8653 * stdio/memstream.c: Likewise.
8654 * stdio/fclose.c: Likewise.
8655 * stdio/getdelim.c: Likewise.
8656 * stdio/setvbuf.c: Likewise.
8657 * sysdeps/ieee754/ldexp.c: Likewise.
8658 * locale/locfile-parse.c: Likewise.
8660 * stdlib/lcong48_r.c: Don't check for null argument; let it fault.
8661 * stdlib/seed48_r.c: Likewise.
8662 * stdlib/srand48_r.c: Likewise.
8663 * stdlib/jrand48_r.c: Likewise.
8664 * stdlib/nrand48_r.c: Likewise.
8666 * Makeconfig (+gccwarn): Remove -Wbad-function-cast, which seems
8669 Mon Sep 18 12:39:22 1995 Paul Eggert <eggert@twinsun.com>
8671 * mktime.c (localtime_r): Add substitute if the system doesn't
8674 Mon Sep 18 14:39:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8676 * time/gmtime.c (gmtime_r): Define as weak alias.
8677 * time/localtime.c (localtime_r): Define as weak alias.
8678 * time/time.h [__USE_REENTRANT] (gmtime_r, localtime_r): Declare them.
8680 * errno.h: Only define _ERRNO_H #ifndef __need_Emath.
8681 #undef __need_Emath after including errnos.h.
8682 [_ERRNO_H]: Protect decls with this.
8684 Sun Sep 17 08:22:12 1995 Paul Eggert <eggert@twinsun.com>
8686 Fix mktime so that it does not write over localtime's returned value.
8687 * localtime.c (__localtime_r): New function, with extra arg
8688 specifying where to store result.
8689 (localtime): Use it.
8691 * gmtime.c (__gmtime_r, gmtime, _tmbuf): Likewise.
8692 * mktime.c (__mktime_internal): Conversion function is now
8693 __localtime_r style, not localtime style.
8694 (mktime): Pass __localtime_r, not localtime.
8695 * timegm.c (timegm): Pass __gmtime_r, not gmtime.
8696 * offtime.c (__offtime): New arg specifying where to store result.
8697 * time.h (__mktime_internal, __offtime): Adjust decls accordingly.
8698 (__gmtime_r, __localtime_r): New decls.
8700 * time/localtime.c: <stddef.h>, <ctype.h>, <stdio.h>,
8701 <stdlib.h>, <string.h>: Remove includes.
8702 <errno.h>: Add include.
8704 * time/mktime.c, time/time.h, time/timegm.c (__mktime_internal):
8705 Renamed from _mktime_internal to avoid namespace pollution.
8707 * time/gmtime.c: Clear tm_isdst.
8709 Mon Sep 18 01:58:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8711 * misc/efgcvt_r.c (ecvt_r, fcvt_r): Last arg is size_t, not int.
8712 * stdlib/stdlib.h (ecvt_r, fcvt_r): Fix type of last arg: make it
8715 * sysdeps/mach/hurd/fpathconf.c: Call __io_pathconf instead of
8717 * sysdeps/mach/hurd/pathconf.c: Likewise.
8719 * Makefile (subdirs): Add sysvipc.
8721 * stdlib/srand48_r.c (srand48_r): Use UL suffix for huge constant.
8722 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8724 Sun Sep 17 18:29:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8726 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Call
8727 __file_set_size instead of __file_truncate.
8729 * features.h (__USE_REENTRANT): New macro.
8731 * sysdeps/mach/hurd/truncate.c: Call __file_set_size instead of
8733 * sysdeps/mach/hurd/ftruncate.c: Likewise.
8735 * sysdeps/unix/sysv/linux/dl-machine.h: File removed.
8737 Sat Sep 16 17:47:19 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
8739 * elf/elf.h (AT_GID): Fix typo: Read -> Real.
8741 * misc/efgvt_r.c: New file. Reentrant version of [efg]cvt functions.
8742 * misc/efgcvt.c: Rewrite to use reentrant functions.
8743 * misc/search.h: Many decls for hsearch functions.
8744 * misc/hsearch_r.c: New file. Reentrant version of functions from
8746 * misc/hsearch.c, misc/tsearch.c: New files.
8747 * misc/Makefile (routines): Add efgcvt_r, hsearch_r, hsearch, tsearch.
8749 * posix/unistd.h (ttyname_r): Add prototype for new function.
8751 * stdlib/drand48_r.c, stdlib/erand48_r.c, stdlib/jrand48_r.c,
8752 stdlib/lrand48_r.c, stdlib/mrand48_r.c, stdlib/nrand48_r.c,
8753 stdlib/seed48_r.c, stdlib/srand48_r.c, stdlib/lcong48_r.c,
8754 stdlib/drand48-iter.c: New files implementing reentrant versions
8755 of functions from drand48 family.
8756 * stdlib/seed48.c, stdlib/drand48.c, stdlib/erand48.c,
8757 stdlib/jrand48.c, stdlib/lrand48.c, stdlib/mrand48.c,
8758 stdlib/nrand48.c, stdlib/srand48.c, stdlib/lcong48.c:
8759 Rewrite to use reentrant versions.
8760 * stdlib/a64l.c, stdlib/l64a.c: New files. Implement a64l()
8761 and l64a() functions from SysV library.
8762 * stdlib/Makefile (routines): Add drand48_r, erand48_r, lrand48_r,
8763 nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r,
8764 drand48-iter, a64l, l64a.
8765 * stdlib/stdlib.h: Declare them.
8767 * stdlib/random_r.c: New file. Reentrant version of functions
8769 * stdlib/stdlib.h: Declare them.
8770 * stdlib/random.c: Rewrite to use reentrant functions.
8772 * string/strerror_r.c: New file. Reentrant version.
8773 * string/strerror.c: Change for new _strerror_internal form.
8774 * string/Makefile (routines): Add strerror_r.
8776 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Set default
8777 value of user_entry to `_start'.
8778 Close AT_ENTRY case with `break'.
8780 * sysdeps/generic/strstr.c: New and much faster implementation
8781 by Stephen R. van den Berg.
8783 * sysdeps/generic/_strerror.c: _strerror_internal now takes
8784 three argument and has and explicit buffer length.
8785 * sysdeps/mach/_strerror.c: Change for new interface with three
8787 * stdio/perror.c, stdio/vfprintf.c: Callers changed.
8789 * sysdeps/mach/hurd/ttyname_r.c: New file. Reentrant version.
8790 * sysdeps/posix/ttyname_r.c: New file. Reentrant version.
8791 * sysdeps/stub/ttyname_r: New file. Define as dummy function.
8793 * sysdeps/posix/utimes.c: Include <utime.h> for prototype.
8794 (utimes): First parameter to utime must be file, not path.
8796 * sysdeps/posix/sysconf.c (__sysconf): Test for CLK_TCK in case
8797 _SC_CLK_TCK and return it when available.
8798 Test for STREAM_MAX in case _SC_STREAM_MAX and return it when
8800 Add case for _SC_2_LOCALEDEF which is now available.
8802 * posix/sys/types.h [__USE_SVID] (key_t): New type.
8803 * sysvipc/Makefile, sysvipc/ftok.c, sysvipc/sys/ipc.h,
8804 sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h,
8805 sysdeps/stub/sys/msq_buf.h, sysdeps/stub/sys/sem_buf.h,
8806 sysdeps/stub/sys/shm_buf.h, sysdeps/stub/sys/ipc_buf.h,
8807 sysdeps/stub/semctl.c, sysdeps/stub/semget.c, sysdeps/stub/semop.c,
8808 sysdeps/stub/shmat.c, sysdeps/stub/shmctl.c, sysdeps/stub/shmdt.c,
8809 sysdeps/stub/shmget.c, sysdeps/stub/msgctl.c, sysdeps/stub/msgget.c,
8810 sysdeps/stub/msgrcv.c, sysdeps/stub/msgsnd.c: New files.
8811 Add implementation of System V IPC.
8813 Fri Sep 15 21:34:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8815 * hurd/hurdsig.c: Include <hurd/crash.h> in place of <hurd/core.h>.
8816 (write_corefile): Call __crash_dump_task instead of __core_dump_task.
8817 Use envariable CRASHSERVER instead of CORESERVER.
8818 * hurd/Makefile (user-interfaces): Replace hurd/core with hurd/crash.
8820 Tue Sep 12 14:30:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8822 * misc/mntent.c: New file.
8823 * misc/mntent.h: New file.
8824 * misc/Makefile (headers): Added mntent.h.
8825 (routines): Added mntent.
8826 * misc/fstab.c: Rewritten using mntent functions.
8828 Mon Sep 11 14:00:14 1995 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
8830 * posix/glob.c (glob): Comment fix.
8832 Fri Sep 8 16:25:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8834 * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Declare the
8837 * conf/portability.h (NEED_INETADDR, NEED_INETATON): Define to 1,
8840 Fri Sep 8 16:32:12 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
8842 * sysdeps/unix/sysv/linux/Implies,
8843 sysdeps/unix/sysv/linux/Makefile, sysdeps/unix/sysv/linux/Subdirs,
8844 sysdeps/unix/sysv/linux/accept.S, sysdeps/unix/sysv/linux/adjtime.c,
8845 sysdeps/unix/sysv/linux/adjtimex.S, sysdeps/unix/sysv/linux/bind.S,
8846 sysdeps/unix/sysv/linux/connect.S, sysdeps/unix/sysv/linux/direct.h,
8847 sysdeps/unix/sysv/linux/dl-machine.h, sysdeps/unix/sysv/linux/errnos.h,
8848 sysdeps/unix/sysv/linux/fork.S, sysdeps/unix/sysv/linux/gethostid.c,
8849 sysdeps/unix/sysv/linux/gethostname.C,
8850 sysdeps/unix/sysv/linux/getpeername.S,
8851 sysdeps/unix/sysv/linux/getpgid.S, sysdeps/unix/sysv/linux/getpgrp.S,
8852 sysdeps/unix/sysv/linux/getsockname.S,
8853 sysdeps/unix/sysv/linux/getsockopt.S, sysdeps/unix/sysv/linux/gtty.S,
8854 sysdeps/unix/sysv/linux/listen.S, sysdeps/unix/sysv/linux/local_lim.h,
8855 sysdeps/unix/sysv/linux/madvise.c, sysdeps/unix/sysv/linux/msgctl.c,
8856 sysdeps/unix/sysv/linux/msgget.c, sysdeps/unix/sysv/linux/msgrcv.c,
8857 sysdeps/unix/sysv/linux/msgsnd.c, sysdeps/unix/sysv/linux/pipe.S,
8858 sysdeps/unix/sysv/linux/poll.c, sysdeps/unix/sysv/linux/readv.c,
8859 sysdeps/unix/sysv/linux/recv.S, sysdeps/unix/sysv/linux/recvfrom.S,
8860 sysdeps/unix/sysv/linux/recvmsg.S, sysdeps/unix/sysv/linux/semctl.c,
8861 sysdeps/unix/sysv/linux/semget.c, sysdeps/unix/sysv/linux/semop.c,
8862 sysdeps/unix/sysv/linux/send.S, sysdeps/unix/sysv/linux/sendmsg.S,
8863 sysdeps/unix/sysv/linux/sendto.S, sysdeps/unix/sysv/linux/setegid.c,
8864 sysdeps/unix/sysv/linux/seteuid.c, sysdeps/unix/sysv/linux/sethostid.c,
8865 sysdeps/unix/sysv/linux/setpgid.c, sysdeps/unix/sysv/linux/setpgrp.c,
8866 sysdeps/unix/sysv/linux/setsid.S, sysdeps/unix/sysv/linux/setsockopt.S,
8867 sysdeps/unix/sysv/linux/settimeofday.S,
8868 sysdeps/unix/sysv/linux/shmat.c, sysdeps/unix/sysv/linux/shmctl.c,
8869 sysdeps/unix/sysv/linux/shmdt.c, sysdeps/unix/sysv/linux/shmget.c,
8870 sysdeps/unix/sysv/linux/shutdown.S,
8871 sysdeps/unix/sysv/linux/sigaction.S, sysdeps/unix/sysv/linux/signal.S,
8872 sysdeps/unix/sysv/linux/sigpending.S, sysdeps/unix/sysv/linux/sigset.h,
8873 sysdeps/unix/sysv/linux/sockaddrcom.h,
8874 sysdeps/unix/sysv/linux/socketpair.S, sysdeps/unix/sysv/linux/speed.c,
8875 sysdeps/unix/sysv/linux/statbuf.h, sysdeps/unix/sysv/linux/stty.S,
8876 sysdeps/unix/sysv/linux/syscall.h, sysdeps/unix/sysv/linux/sysconf.c,
8877 sysdeps/unix/sysv/linux/tcdrain.c, sysdeps/unix/sysv/linux/tcflow.c,
8878 sysdeps/unix/sysv/linux/tcflush.c, sysdeps/unix/sysv/linux/tcgetattr.c,
8879 sysdeps/unix/sysv/linux/tcsetattr.c,
8880 sysdeps/unix/sysv/linux/termbits.h, sysdeps/unix/sysv/linux/ualarm.c,
8881 sysdeps/unix/sysv/linux/ulimit.c, sysdeps/unix/sysv/linux/usleep.c,
8882 sysdeps/unix/sysv/linux/utsnamelen.h, sysdeps/unix/sysv/linux/vfork.c,
8883 sysdeps/unix/sysv/linux/wait.c, sysdeps/unix/sysv/linux/wait4.S,
8884 sysdeps/unix/sysv/linux/waitpid.c, sysdeps/unix/sysv/linux/writev.c:
8885 New Linux/ELF specific, architecture independent files.
8886 * sysdeps/unix/sysv/linux/i386/Dist,
8887 sysdeps/unix/sysv/linux/i386/Makefile,
8888 sysdeps/unix/sysv/linux/i386/brk.S,
8889 sysdeps/unix/sysv/linux/i386/fcntlbits.h,
8890 sysdeps/unix/sysv/linux/i386/fpu_control.c,
8891 sysdeps/unix/sysv/linux/i386/fpu_control.h,
8892 sysdeps/unix/sysv/linux/i386/fstat.S,
8893 sysdeps/unix/sysv/linux/i386/fxstat.S,
8894 sysdeps/unix/sysv/linux/i386/ieee_fpu.c,
8895 sysdeps/unix/sysv/linux/i386/init-first.S,
8896 sysdeps/unix/sysv/linux/i386/ipc.S,
8897 sysdeps/unix/sysv/linux/i386/lstat.S,
8898 sysdeps/unix/sysv/linux/i386/lxstat.S,
8899 sysdeps/unix/sysv/linux/i386/mknod.S,
8900 sysdeps/unix/sysv/linux/i386/mmap.S,
8901 sysdeps/unix/sysv/linux/i386/sbrk.S,
8902 sysdeps/unix/sysv/linux/i386/setfpucw.c,
8903 sysdeps/unix/sysv/linux/i386/signum.h,
8904 sysdeps/unix/sysv/linux/i386/socket.S,
8905 sysdeps/unix/sysv/linux/i386/stat.S,
8906 sysdeps/unix/sysv/linux/i386/syscall.S,
8907 sysdeps/unix/sysv/linux/i386/sysdep.S,
8908 sysdeps/unix/sysv/linux/i386/sysdep.h,
8909 sysdeps/unix/sysv/linux/i386/xmknod.S,
8910 sysdeps/unix/sysv/linux/i386/xstat.S:
8911 New Linux i386/ELF specific files.
8912 * sysdeps/unix/sysv/linux/sys/ipc_buf.h,
8913 sysdeps/unix/sysv/linux/sys/mman.h,
8914 sysdeps/unix/sysv/linux/sys/msq_buf.h,
8915 sysdeps/unix/sysv/linux/sys/sem_buf.h,
8916 sysdeps/unix/sysv/linux/sys/shm_buf.h,
8917 sysdeps/unix/sysv/linux/sys/socketcall.h,
8918 sysdeps/unix/sysv/linux/sys/timex.h:
8919 New Linux/ELF specific, architecture independent header files.
8920 * sysdeps/unix/sysv/sysv4/linux: Tree removed.
8922 Thu Sep 7 17:05:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8924 * stdlib/msort.c (msort_with_tmp): Fixed alignment test. B1 and
8925 B2 are always congruent; just test that B1 is aligned.
8927 Wed Sep 6 19:41:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8929 * elf/dl-lookup.c (_dl_lookup_symbol): Test WEAK_VALUE.s rather
8930 than WEAK_VALUE.a to see if a weak value has been set. A valid
8931 weak value may set WEAK_VALUE.a to 0.
8933 Fri Sep 1 16:16:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8935 * sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for
8938 * libc-symbols.h (link_warning): Take new first arg SYMBOL; ask
8939 for a warning on references to that specific symbol, not the
8940 entire containing object file.
8941 (stub_warning): Pass symbol name to link_warning.
8942 * stdio/gets.c: Pass function name in link_warning invocation.
8944 * hurd/intr-msg.c: Treat apparent EINTR return from msg trap like
8945 MACH_SEND_INTERRUPTED. That indicates interrupt_operation was
8948 * stdlib/msort.c: Include memcopy.h.
8949 (msort_with_tmp): If operating on aligned op_t words, use direct word
8952 * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Add
8955 Thu Aug 31 13:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8957 * sysdeps/unix/i386/brk.S [PIC]: Set __curbrk through the GOT.
8959 Rewrote i386 setjmp code in assembly, so as to avoid fighting
8960 with the compiler for the register values.
8961 * sysdeps/i386/setjmp.S, sysdeps/i386/__longjmp.S: New files.
8962 * sysdeps/i386/setjmp.c, sysdeps/i386/__longjmp.c: Files removed.
8963 * sysdeps/i386/jmp_buf.h [! _ASM] (__jmp_buf): Define as array of ints.
8964 [__USE_MISC || _ASM] (JB_*): New macros, for indices therein.
8965 (_JMPBUF_UNWINDS): Use JB_SP.
8967 Wed Aug 30 16:44:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8969 * sysdeps/mach/hurd/select.c: Deal with out of order replies
8970 during io_select request loop.
8971 Handle MACH_RCV_TIMED_OUT error from requests.
8972 * hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option,
8973 distinguish MACH_RCV_TIMED_OUT from EINTR.
8975 * posix/glob.c (glob): Use realloc to extend strings for GLOB_MARK
8977 (glob_in_dir): Don't allocate extra byte here.
8979 * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
8980 Decrement the DT_RELSZ value for the skipped reloc.
8982 Tue Aug 29 12:35:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8984 * time/australasia: Updated data from ADO.
8986 Mon Aug 28 17:47:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8988 * dirent/dirent.h: Don't include <dirstream.h>.
8989 Instead, define DIR as typedef for (undefined) `struct __dirstream'.
8991 Fri Aug 25 12:12:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8993 * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream'
8995 * sysdeps/unix/bsd/dirstream.h: Likewise.
8996 * sysdeps/stub/dirstream.h: Likewise.
8997 * sysdeps/unix/dirstream.h: Likewise.
8998 * sysdeps/mach/hurd/telldir.c: Include "dirstream.h".
8999 * sysdeps/mach/hurd/seekdir.c: Likewise.
9000 * sysdeps/mach/hurd/opendir.c: Likewise.
9001 * sysdeps/mach/hurd/closedir.c: Likewise.
9002 * sysdeps/mach/hurd/readdir.c: Likewise.
9003 * sysdeps/unix/telldir.c: Likewise.
9004 * sysdeps/unix/seekdir.c: Likewise.
9005 * sysdeps/unix/rewinddir.c: Likewise.
9006 * sysdeps/unix/readdir.c: Likewise.
9007 * sysdeps/unix/opendir.c: Likewise.
9008 * sysdeps/unix/closedir.c: Likewise.
9009 * sysdeps/unix/bsd/telldir.c: Likewise.
9010 * sysdeps/unix/bsd/readdir.c: Likewise.
9011 * dirent/Makefile (headers): Remove dirstream.h.
9012 (distribute): Put it here instead.
9014 * sysdeps/mach/hurd/mmap.c: Fix inverted test of MAP_FIXED.
9016 * stdio/vfscanf.c (number): Allow field width to inhibit first
9017 digit after base detection.
9019 * stdio/vfprintf.c (vfprintf: %s): Never search past the limit
9020 specified by the precision.
9022 * grp/grpread.c (__grpscan): New function.
9023 * grp/grp.h (__grpscan): Declare it.
9024 * grp/getgrgid.c: Use __grpscan.
9025 * grp/getgrnam.c: Likewise.
9026 * pwd/pwdread.c (__pwdscan): New function.
9027 * pwd/pwd.h (__pwdscan): Declare it.
9028 * pwd/getpwnam.c: Use __pwdscan.
9029 * pwd/getpwuid.c: Likewise.
9031 Thu Aug 24 16:29:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9033 * sysdeps/mach/hurd/mmap.c: Treat (FLAGS & MAP_TYPE) == 0 like
9036 * hurd/thread-cancel.c: Return EINTR when called on self.
9037 * sysdeps/i386/elf/start.S (data_start): Define as weak alias for
9040 Tue Aug 22 16:49:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9042 * inet/netdb.h: Moved to resolv.
9043 * inet/Makefile (headers): Remove netdb.h.
9044 * resolv/Makefile (headers): Add netdb.h.
9045 * resolv/gethnamaddr.c, resolv/inet_addr.c, resolv/netdb.h,
9046 resolv/res_send.c: Updated from BIND-4.9.3-BETA26.
9048 * hurd/thread-cancel.c: If SS->cancel_hook is not null, call it before
9049 resuming the thread.
9050 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel_hook'.
9052 * hurd/Makefile: Removed dep on hurd/signal.h for RPC stub objects.
9054 Mon Aug 21 16:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9056 * sysdeps/i386/dl-machine.h (elf_machine_rel): Grok R_386_NONE
9057 relocs, and do nothing. Why the linker generates them we may
9060 Thu Aug 17 16:18:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9062 * sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual from
9065 * sysdeps/mach/hurd/i386/intr-msg.h: New file.
9066 * hurd/intr-msg.c: Use INTR_MSG_TRAP macro from machine-dependent
9067 "intr-msg.h" for special syscall code, instead of i386-specific asm.
9068 * hurd/hurdsig.c: Use INTR_MSG_BACK_OUT macro from
9069 machine-dependent "intr-msg.h" before mutating thread state to
9072 * sysdeps/mach/hurd/i386/trampoline.c: If PC is inside
9073 _hurd_intr_rpc_mach_msg special syscall code, use real SP saved in
9076 * Makeconfig (link-libc): New variable; use shared library if
9080 * sysdeps/mach/hurd/fork.c (_hurd_fork_locks): Variable removed.
9081 Instead, declare with `symbol_set_declare'.
9082 (fork): Use symbol_set_* macros for _hurd_fork_locks.
9083 Use SS->thread instead of __mach_thread_self (). Suspend all
9084 other threads during task_create and port copying.
9086 Wed Aug 16 17:04:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9088 * hurd/intr-msg.c: Fixed calculation of syscall %esp.
9090 Tue Aug 15 12:26:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9092 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'.
9094 * hurd/Makefile (sig): Add intr-msg.
9096 Mon Aug 14 16:51:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9098 * hurd/thread-cancel.c: New file.
9099 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): In
9100 rpc_wait case, frob mach_msg args to set timeout on receive.
9101 (_hurdsig_rcv_interrupted_p): Function removed.
9102 * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
9103 * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
9104 * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
9105 * hurd/intr-msg.c: New file.
9106 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel'.
9107 (_hurdsig_rcv_interrupted_p): Declaration removed.
9108 (HURD_EINTR_RPC): Macro removed.
9109 (_hurd_longjmp_thread_state, _hurd_interrupted_rpc_timeout): Declare
9111 * hurd/intr-rpc.h: New file.
9112 * hurd/intr-rpc.defs: Just import intr-rpc.h.
9113 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): New variable.
9114 (interrupted_reply_port_location): Take new flag arg; only catch
9116 (abort_rpcs): Rename to _hurdsig_abort_rpcs; take same new flag arg.
9117 No longer use _hurdsig_rcv_interrupted_p; instead compare PC to
9118 &_hurd_intr_rpc_msg_in_trap. If before it, mutate state to simulate
9119 MACH_SEND_INTERRUPTED return; on it, interrupt the operation. All
9121 * hurd/hurd.h (hurd_thread_cancel, hurd_check_cancel): Declare these.
9122 * hurd/Makefile (distribute): Remove intr-rpc.awk.
9123 (sig): Add thread-cancel.
9124 (transform-user-stub, transform-user-stub-output): Variables removed.
9125 * sysdeps/mach/hurd/dl-sysdep.c: Change all RPCs from
9126 `__hurd_intr_rpc_*' to `__*'.
9127 (_hurd_intr_rpc_mach_msg): New function.
9128 (_hurd_thread_sigstate): Function removed.
9129 * sysdeps/mach/hurd/ioctl.c: Use _hurd_intr_rpc_mach_msg function,
9130 instead of __mach_msg inside HURD_EINTR_RPC macro.
9132 * sysdeps/generic/morecore.c [__GNU_LIBRARY__]: Declare `__sbrk'
9133 to take ptrdiff_t arg.
9135 * sysdeps/mach/hurd/fork.c: Remove _hurd_longjmp_thread_state decl.
9137 * sysdeps/mach/hurd/kill.c (kill_pid): Don't make `inline'.
9139 * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_symbol,
9140 weak_alias): Use `extern' storage class.
9142 Wed Aug 9 14:25:35 1995 Miles Bader <miles@geech.gnu.ai.mit.edu>
9144 * sysdeps/mach/hurd/setuid.c (__setuid): Switch the port-type and
9145 port-count parameters to __auth_makeauth.
9146 * sysdeps/mach/hurd/setgid.c (__setgid): Ditto.
9148 Tue Aug 8 12:22:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9150 * hurd/sigunwind.c: Remove _hurd_longjmp_thread_state decl.
9152 * inet/netinet/tcp.h: New file, incorporated from 4.4BSD-Lite.
9154 Tue Aug 8 12:06:04 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu>
9156 * inet/netinet/in.h (IP_MULTICAST_TTL, IP_MULTICAST_LOOP,
9157 IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP): New IP
9158 layer socket options.
9159 (IPPROTO_GGP): Delete obsolote protocol.
9160 (IPPROTO_IGMP): Add new protocol (with same value [2] as old GGP).
9161 (struct ip_mreq): New type.
9163 Mon Aug 7 14:04:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9165 * stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H.
9167 * posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when
9168 (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)).
9170 * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Return failure
9171 when __stdio_open fails with a code other than ENFILE or EMFILE.
9173 Fri Aug 4 16:01:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9175 * Makefile (headers): Added gnu-versions.h.
9177 Thu Aug 3 14:41:11 1995 Michael I. Bushnell <mib@duality.gnu.ai.mit.edu>
9179 * inet/netinet/in.h (IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use
9180 equality, not assignment, to test bitfields.
9182 Sat Jul 29 10:41:06 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
9184 * sysdeps/mach/hurd/sendto.c (sendto): Use the ifsock protocol to
9185 resolve AF_LOCAL addresses.
9187 * sysdeps/mach/hurd/accept.c (accept): If the protocol family
9188 can't tell us what an address means, just return a zero-length
9190 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Ditto.
9192 Fri Jul 28 15:29:11 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
9194 * sysdeps/mach/hurd/bind.c (bind): Don't use
9195 file_invoke_translator, as it doesn't work. Instead just lookup
9196 the translated node again, and hope we're not hit by any race
9199 Wed Jul 26 02:00:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9201 * csu/Makefile [$(elf)=yes] (have-initfini): Set to yes.
9202 [$(have-initfini)=yes]: Test this rather than $(elf) for crtstuff.
9203 [start-installed-name-rule]: If this is defined, elide rule for
9204 $(objpfx)$(start-installed-name).
9205 * csu/initfini.c (SECTION): New macro, different definitions for
9206 #ifdef HAVE_ELF and not.
9207 (_init, _fini): Use that macro.
9208 * sysdeps/unix/sysv/sco3.2.4/Makefile [$(subdir)=csu]
9209 (start-installed-rule, start-installed-name-rule): New variables;
9210 specify crt1.o, created by our own rule.
9211 ($(objpfx)crt1.o): New rule.
9212 * configure.in: Require autoconf 2.4.2 or later. Change all
9213 AC_CACHE_VAL uses to use new AC_CACHE_CHECK macro instead;
9214 prettify some messages.
9215 [$elf!=yes] (libc_cv_have_initfini): New test for `.init' and `.fini'
9217 * munch-tmpl.c [HAVE_INITFINI]: Call _init and atexit (_fini) in
9218 this case rather than #ifdef HAVE_ELF.
9219 * config.h.in (HAVE_INITFINI): New macro.
9220 * config.make.in (have-initfini): New variable, set by configure.
9222 * stdio/vfscanf.c (conv_error): Simplify expression to avoid
9223 "value computed is not used" warning.
9225 * Makeconfig (+gccwarn): Removed -Wconversion.
9227 * csu/initfini.c (GLOBAL): Macro removed.
9228 (_init, _fini): Always define globally.
9229 * csu/Makefile (crtstuff, initfini): Don't make crt[in]_s.o.
9231 * asia, backward, europe, leapseconds, southamerica: New data from
9234 * inet/Makefile (routines): Removed inet_addr.
9235 * inet/inet_addr.c: Moved to resolv/ subdirectory.
9236 * resolv/Makefile (routines): Added inet_addr.
9237 * resolv/inet_addr.c: Incorporated from BIND 4.9.3-BETA24 release.
9238 * resolv/gethnamaddr.c: Likewise.
9239 * resolv/getnetbyaddr.c: Likewise.
9240 * resolv/getnetbyname.c: Likewise.
9241 * resolv/getnetent.c: Likewise.
9242 * resolv/getnetnamadr.c: Likewise.
9243 * resolv/herror.c: Likewise.
9244 * resolv/nsap_addr.c: Likewise.
9245 * resolv/res_comp.c: Likewise.
9246 * resolv/res_debug.c: Likewise.
9247 * resolv/res_init.c: Likewise.
9248 * resolv/res_mkquery.c: Likewise.
9249 * resolv/res_query.c: Likewise.
9250 * resolv/res_send.c: Likewise.
9251 * resolv/resolv.h: Likewise.
9252 * resolv/sethostent.c: Likewise.
9253 * resolv/arpa/nameser.h: Likewise.
9254 * inet/netdb.h: Incorporated from BIND 4.9.3-BETA24 release.
9255 [__GNU_LIBRARY__]: Include <rpc/netdb.h> instead of repeating
9256 its declarations (and doing so only #ifdef sun!).
9257 * conf/portability.h (NEED_INETADDR, NEED_INETATON): New macros.
9259 * posix/sys/types.h [__USE_BSD] (__BIT_TYPES_DEFINED__): New macro.
9260 [__USE_BSD] [__GNUC__] (int64_t, u_int64_t, register_t): New typedefs.
9262 * malloc/memalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim
9265 * mach/shortcut.awk: Emit decls for RPC.
9267 * libc-symbols.h [GCC >= 2.7 && !ASSEMBLER] (weak_symbol,
9268 weak_alias, strong_alias): Define using GCC __attribute__ syntax.
9270 * Makerules ($(installed-libcs)): Depend on `lib' (only).
9272 Tue Jul 25 09:14:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9274 * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.
9276 * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.
9278 * sysdeps/unix/sysv/ftime.S: New file.
9280 * locale/locfile-parse.c (categories_write): Cast "" to char *.
9282 * io/fcntl.h [__OPTIMIZE__] (creat): Macro removed.
9284 * time/strftime.c: Use year modulo 100 for %y.
9286 * time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS.
9288 * sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead
9289 of one, to work around bug in sunos4.1.2 sed.
9291 * stdio/vfprintf.c (vfprintf): For %s with precision spec, use
9292 memchr instead of strlen to limit search for NUL by precision.
9294 Mon Jul 24 03:13:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9296 * sysdeps/posix/pathconf.c: New file.
9298 Sat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9300 * sysdeps/unix/i386/sysdep.h (JUMPTARGET): Use ## to avoid space
9302 * sysdeps/mach/i386/sysdep.h (JUMPTARGET): New macro.
9303 * sysdeps/i386/bsd-_setjmp.S: Use JUMPTARGET macro in jmp insn.
9304 * sysdeps/i386/bsd-setjmp.S: Likewise.
9306 Sat Jul 22 19:58:54 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
9308 * inet/Makefile (routines): Added `ruserpass'.
9309 * inet/ruserpass.c: New file, from BSD Net-2 sources for the FTP
9310 client. Modified to remove the fourth arg AACCT. Do nothing for
9311 the `account' and `macdef' keywords. Other incidental changes
9312 because we are not in the FTP source tree.
9314 Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9316 * sysdeps/stub/init-posix.c: Removed stub warning.
9318 * Makefile (autoconf-it): Make it executable and unwritable.
9320 * configure.in (sysnames): Under --enable-debug-configure, spew
9323 * sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT
9325 (PSEUDO): Use JUMPTARGET(syscall_error) in jump insn.
9326 * sysdeps/unix/i386/syscall.S: Use JUMPTARGET(syscall_error) in
9329 * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.h: Rewritten.
9330 * sysdeps/unix/sysv/sysv4/linux/i386/syscall.S: New file.
9331 * sysdeps/unix/sysv/sysv4/linux/i386/socket.S: Include
9332 <sys/socketcall.h>. Save %ebx in call-clobbered %edx instead of
9333 stack. Use JUMPTARGET(syscall_error) in jump insn.
9335 * Makeconfig (+gccwarn): Add -Wbad-function-cast -Wconversion.
9337 * sysdeps/unix/i386/sysdep.h (ENTRY): Use ASM_GLOBAL_DIRECTIVE and
9339 (ASM_TYPE_DIRECTIVE): New macro; defined using `.type' #ifdef ELF.
9341 * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error):
9342 Rewritten, #include'ing unix/i386/sysdep.S for most of the code.
9343 * sysdeps/unix/i386/sysdep.S [PIC]: Store into `errno' through the GOT.
9345 * configure.in (os=linux*): Use unix/sysv/sysv4 for $base_os,
9346 instead of unix/sysv.
9347 * sysdeps/unix/sysv/linux/{accept,connect,getsockname,rename,
9348 socketpair,waitpid,bind,getpeername,listen,setsid,wait4}.S: Moved
9349 to new directory sysdeps/unix/sysv/sysv4/linux.
9350 * sysdeps/unix/sysv/linux: Directory removed.
9351 * sysdeps/unix/sysv/i386/linux/{socket.S,sysdep.h,sysdep.S}: Moved
9352 to new directory sysdeps/unix/sysv/sysv4/linux/i386.
9353 * sysdeps/unix/sysv/linux/i386: Directory removed.
9355 Fixes to help Linux, inspired by drepper's work:
9356 * sysdeps/posix/utimes.c: New file.
9357 * sysdeps/generic/getdomain.c: New file.
9358 * sysdeps/i386/init-first.c: Removed gratuitous #include <hurd.h>.
9359 * sysdeps/generic/dl-sysdep.c: Include <unistd.h> and declare
9360 externals _dl_argc, _dl_argc, and _environ.
9362 Fri Jul 21 12:57:29 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
9364 * sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and
9365 EOPNOTSUPP as indications that the server has died.
9366 * sysdeps/mach/hurd/pipe.c (__pipe): Likewise.
9367 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
9369 Mon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com)
9371 * strtol.c: Portability changes from Uli Drepper.
9372 [!STDC_HEADERS && !defined(NULL)]: Define NULL.
9374 Mon Jul 10 05:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9376 * sysdeps/mach/hurd/i386/init-first.c (init): Take just one arg,
9377 DATA for the entry SP; DATA[-1] is always the return address
9378 location. In both cthreads and non-cthreads cases, use asm to
9379 force parameters into %eax and %ecx before return, and mutate
9380 DATA[-1] to return to specific asm code to set up the user from
9382 [PIC] (_init): Caller changed.
9383 (__libc_init_first) [! PIC] (doinit): Use asm to effect call to init
9384 with SP unwound to argument data ptr.
9386 Thu Jul 6 14:28:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9388 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Fixed this kludge to work
9389 when 0x08000000 and up are not mapped.
9391 * Makerules (stamp$o-$(subdir) rule): Remove the timestamp file
9393 (lib%.so): Use -Wl to get -soname to ld.
9395 * elf/dlsym.c: Pass final arg to _dl_lookup_symbol.
9397 * elf/Makefile (libdl.so): Pass $(LDFLAGS.so).
9399 Tue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9401 * Makerules (lib%.so: lib%_pic.a): Pass -soname switch giving the
9402 library's name including $(libprefix) and major version number.
9404 * locale/locale-ctype.c (allocate_arrays): Use xmalloc and bzero
9405 in place of xcalloc.
9407 * Makeconfig (prefix, exec_prefix, libprefix): Instead of
9408 `ifndef', use the $(origin) function to only set these if they are
9409 undefined, and not if they are defined to empty.
9411 * gnu-versions.h: New file.
9412 * features.h (__GNU_LIBRARY__): Increase value to 5.
9414 Wed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9416 * stdio/stdio.h (__validfp): Use ({...}) rather than a comma
9417 expression, to avoid gcc's "value computed is not used" warning.
9419 * libc-symbols.h (_elf_set_element): Give the set-element variable
9420 an `unused' attribute.
9422 * hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with
9423 __attribute__ ((__const__)).
9424 * hurd/hurd/signal.h (_hurd_self_sigstate): Likewise.
9426 * hurd/hurd/userlink.h (_hurd_userlink_link): Properly set
9427 LINK->resource.next->resource.prevp when appropriate, not
9428 LINK->resource.next->thread.prevp!!!
9430 Tue Jun 13 15:45:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9432 * configure.in (libc_cv_asm_set_directive): Make sure that the
9433 `.set' directive really worked by linking against a reference to
9436 * sysdeps/stub/init-first.c: Don't include <hurd.h>.
9437 [PIC] (soinit): Renamed to (global) _init.
9439 Mon Jun 12 13:15:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9441 * malloc/Makefile (gmalloc-routines): Remove valloc.
9442 (dist-routines): Add it here.
9444 * malloc/malloc.h [_MALLOC_INTERNAL] [emacs] (valloc): #define to
9445 emacs_loser_valloc to inhibit valloc declaration below.
9447 * Makerules (lib%.so: lib%_pic.a): Moved this rule to after
9450 * sysdeps/mach/sysdep.h [HAVE_ELF] (ENTRY): Redefine this macro so
9451 it uses the `.type' directive, which is necessary for shared
9452 libraries to work properly.
9454 Thu Jun 8 02:50:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9456 * elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap
9459 * elf/dl-lookup.c (_dl_lookup_symbol): Take new flag arg NOSELF;
9460 if nonzero, don't let *REF satisfy the reference itself.
9461 * elf/link.h (_dl_lookup_symbol): Add new arg NOSELF in decl.
9462 * sysdeps/i386/dl-runtime.c (_dl_runtime_resolve): Pass new arg to
9464 * elf/do-rel.h (elf_dynamic_do_rel): Pass new second arg of
9465 R->r_offset to RESOLVE callback.
9466 * elf/dl-reloc.c (_dl_relocate_object: resolve): Don't let *REF
9467 satisfy the reference itself if its value equals the reloc's
9470 * elf/rtld.c (dl_main): Write a newline in fatal msg.
9472 * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS.so).
9474 * elf/rtld.c [! NDEBUG] (__assert_perror_fail): New function.
9476 * hurd/hurdstartup.c (_hurd_startup): Fancier kludge to guess phdr
9477 and user entry point addresses.
9479 * elf/dl-load.c (open_path): Don't do strlen on DIRPATH if it's null.
9480 (_dl_map_object): DT_RPATH value is relative to DT_STRTAB value.
9482 * Makerules (install-lib.so): Don't include libc.so.
9483 [$(build-shared)=yes] (install): Depend on the installed libc.so file.
9484 [$(build-shared)=yes] (install-no-libc.a): Make this, rather than
9485 install, depend on the installed $(install-lib.so) files.
9486 [$(build-shared)=yes] (install-lib.so): Append libc.so after that rule.
9488 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Add kludge to
9489 allocate high addresses to avoid random mappings appearing there.
9490 (mmap): Comment out mask; always pass zero.
9492 Tue Jun 6 13:34:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9494 * sysdeps/i386/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New macro.
9495 * sysdeps/mach/hurd/dl-sysdep.c (mmap): Use it as mask in vm_map call.
9497 * elf/dl-error.c (_dl_catch_error): Clear *ERRSTRING and *OBJNAME
9500 * sysdeps/mach/hurd/dl-sysdep.c (threadvars): New static variable.
9501 (__hurd_threadvar_max, __hurd_threadvar_stack_offset): Define these
9502 variables, using the `threadvars' buffer.
9504 * elf/dl-reloc.c: Don't dereference L->l_prev when it's null.
9505 * sysdeps/i386/dl-runtime.c: Likewise.
9507 * elf/rtld.c (dl_main): Add missing NULL terminating argument in
9508 _dl_sysdep_fatal call.
9509 (__assert_fail): Likewise.
9511 * locale/Makefile (localedef-modules): Renamed ctype to
9512 locale-ctype so as not to conflict with the object file for
9513 ctype/ctype.c in the build directory.
9515 Mon Jun 5 04:02:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9517 * elf/elf.h (ELFMAG): Use \177 instead of \x7f. It seems GCC
9518 insists on seeing the following E as part of hex 7FE, and
9519 complaining that is wider than a byte.
9521 Sun Jun 4 22:14:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9523 * hurd/Makefile (sig): Added thread-self.
9524 * hurd/hurd.h: Declare hurd_thread_self.
9525 * hurd/thread-self.c: New file.
9527 Thu Jun 1 12:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9529 * elf/rtld.c: Initialize RTLD_MAP.l_type.
9530 * elf/dl-reloc.c (_dl_relocate_object): Clear LAZY if relocating
9531 the dynamic linker itself.
9532 * sysdeps/i386/dl-machine.h (elf_machine_rel): If MAP->l_type is
9533 lt_interpreter, first undo relocation done during bootstrapping.
9535 Tue May 30 15:52:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9537 * mach/Makefile (server-interfaces): Removed notify and
9538 device_reply. For shlibs with eager binding, libmachuser.so must
9539 not refer to any functions not defined in libc.
9541 Sat May 27 16:23:22 1995 Jim Meyering (meyering@comco.com)
9543 * sysdeps/generic/memchr.c: Cast RHS to const unsigned char *
9544 to avoid error from Irix-4.0.5's C compiler. From Kaveh Ghazi.
9546 Fri May 26 13:00:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9548 * hurd/hurdsig.c (_hurd_internal_post_signal): Don't loop to check
9549 pending signals if the thread is in a critical section. It will
9550 send us a msg when it finishes.
9552 * sysdeps/mach/hurd/pathconf.c: New file.
9553 * sysdeps/mach/hurd/fpathconf.c: New file.
9555 * sysdeps/mach/hurd/sigaction.c: Only notify the proc server for
9556 SIGCHLD when the SA_NOCLDSTOP bit actually changes.
9558 Sun May 21 05:05:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9560 * elf/Makefile (ld.so): Use -nostartfiles in addition to
9563 Sun May 21 02:01:29 1995 Jim Meyering (meyering@comco.com)
9565 * sysdeps/generic/memchr.c: Don't include <string.h> at all.
9566 HPUX-9.01 and IRIX-4.0.5 vendor C compilers get conflicting dcls for
9567 memchr unless one manually arranges for them to define __STDC__.
9569 Fri May 19 17:16:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9571 * sysdeps/mach/hurd/i386/init-first.c: In cthreads case, handle
9572 args on stack from kernel.
9574 * posix/Makefile, sysdeps/alpha/Makefile,
9575 * sysdeps/mach/hurd/Makefile, sysdeps/sparc/Makefile, Makefile,
9576 * Makerules, Make-dist: Fix "cvs commit" cmds in rules to not fail
9577 in the absence of CVS dirs.
9579 * hurd/hurdstartup.c: Don't call __mach_init. Grok args from the
9580 kernel on the stack properly.
9582 * set-init.c: Never call _init/_fini; just run __libc_subinit.
9584 * Makerules (LDFLAGS-c.so): Add -nostartfiles.
9585 * mach/Machrules (LDFLAGS-$(interface.so)): Likewise.
9587 * configure.in: Move defaulting of --with-elf and --with-gnu-*
9588 based on host os outside the AC_CACHE_VAL for the sysdirs
9591 * Makeconfig (localedir, nlsdir): New variables.
9593 * values.h: New file.
9594 * Makefile (headers): Add values.h.
9596 * locale/Makefile (distribute): Add error.h.
9597 * locale/localedef.c: Include "error.h".
9598 (main): Use error_message_count instead of warning_cntr.
9600 Wed May 17 16:50:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9602 Merged 1003.2 locale and localedef programs by Ulrich Drepper.
9603 * locale/charmap.c: New file.
9604 * locale/collate.c: New file.
9605 * locale/config.h: New file.
9606 * locale/ctype.c: New file.
9607 * locale/ctypedump.c: New file.
9608 * locale/hash.c: New file.
9609 * locale/hash.h: New file.
9610 * locale/iso-4217.def: New file.
9611 * locale/keyword.gperf: New file.
9612 * locale/keyword.h: New file.
9613 * locale/libintl.h: New file.
9614 * locale/locale.c: New file.
9615 * locale/localedef.c: New file.
9616 * locale/localedef.h: New file.
9617 * locale/locfile-lex.c: New file.
9618 * locale/locfile-parse.c: New file.
9619 * locale/messages.c: New file.
9620 * locale/monetary.c: New file.
9621 * locale/numeric.c: New file.
9622 * locale/token.h: New file.
9624 * posix/regex.c, posix/regex.h: New files, incorporated from GNU regex.
9625 * posix/Makefile (headers): Add regex.h.
9626 (routines): Add regex.
9627 (gpl2lgpl): Add regex.c and regex.h.
9629 Tue May 16 17:35:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9631 * locale/loadlocale.c: Expect macro LOCALE_PATH to be defined,
9632 instead of hard-coding "/share/locale".
9634 Sat May 13 02:16:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9636 * configure.in (os=gnu*): Always set elf=yes, not just for os=gnu*elf*.
9638 Fri May 12 15:31:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9640 * elf/elf.h (ELFMAG, SELFMAG): New macros.
9642 Fri May 12 11:24:53 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu>
9644 * hurd/alloc-fd.c (_hurd_alloc_fd): Don't reduce FIRST_FD in
9645 the case where it starts out less than _hurd_dtablesize.
9647 Thu May 11 20:51:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9649 * hurd/alloc-fd.c (_hurd_alloc_fd): When expanding the dtable,
9650 make sure the new size exceeds FIRST_FD.
9652 Wed May 10 21:00:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9654 * sysdeps/mach/i386/sysdep.h (RETURN_TO): New macro.
9656 Tue May 9 01:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9658 * Makerules (install-lib.so): Add %.so for each %_pic.a.
9660 * sysdeps/i386/elf/start.S (__data_start): Define this symbol as
9661 the first thing in .data.
9663 * sysdeps/mach/_strerror.c (_strerror_internal): Eschew sprintf.
9665 * hurd/hurdstartup.h: New file.
9667 * sysdeps/i386/elf/start.S: Give two operands to `testl' when they
9668 are the same. Use `jz' instead of `jeq'.
9670 * Makeconfig (config.make): Depend on config.status, and run it to
9672 (config.status): New target; depend on configure.
9673 If target (config.status) exists, run it with --recheck to update;
9674 if not, give error msg saying to run confiugre by hand.
9675 * Makerules [$(sysd-Makefile-sysdirs) != $(sysdirs)]
9676 (sysd-Makefile-force): Set this variable to FORCE in this case, to
9677 force a rebuild of sysd-Makefile.
9678 (sysd-Makefile): Depend on $(sysd-Makefile-force).
9679 Write into the file sysd-Makefile-sysdirs:=$(sysdirs).
9680 [$(sysd-rules-sysdirs) != $(sysdirs)] (sysd-rules-force): Set this
9681 variable to FORCE in this case, to force a rebuild of sysd-rules.
9682 (sysd-rules): Depend on $(sysd-rules-force).
9683 Write into the file sysd-rules-sysdirs:=$(sysdirs).
9685 * Makerules (LDFLAGS-c.so): Change ld option -interp to
9688 * Makerules (do-install-program): New canned sequence.
9689 (install-bin, install-sbin): Use it.
9690 (install for lib*.so): Use it instead of $(do-install).
9691 Fix .so installation rules to handle lib*.so and *.so, deal with
9692 $(libprefix) right, and install *.so as *.so$($(*.so)-version);
9693 i.e. "libc.so-version = .1".
9695 Mon May 8 05:10:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9697 * elf/do-rel.h: New file, split out of dynamic-link.h.
9698 * elf/Makefile (distribute): Add do-rel.h.
9700 Sat May 6 11:06:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9702 * Makeconfig (+gccwarn): Add -Winline.
9704 * hurd/hurdsig.c (_hurd_internal_post_signal): If SS->context is
9705 set, avoid abort_rpcs, and use reply and intr ports saved in
9707 * sysdeps/mach/hurd/i386/trampoline.c: Don't set SS->intr_port
9708 from SS->context. Don't clear SS->context.
9709 * sysdeps/mach/hurd/i386/sigreturn.c: Don't set SS->intr_port when
9710 setting SS->context. If msg_sig_post returns, re-lock and clear
9713 Fri May 5 10:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9715 * mach/Makefile (errsystems.c): Comment out generation rule.
9717 * sysdeps/mach/_strerror.c: Consider a system unknown if its
9718 bad_sub member is null.
9720 * mach/mig-alloc.c: Add weak alias to non-__ name.
9722 Wed May 3 11:56:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9724 * sysdeps/mach/hurd/dup2.c: Fixed broken test in last change.
9726 Tue May 2 01:52:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9728 * elf/dl-error.c (_dl_catch_error): Actually call the OPERATE
9731 * hurd/Makefile (distribute): Added hurdstartup.h.
9732 * hurd/hurd.h: Remove _hurd_startup decl.
9734 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Use __attribute__
9735 ((__unused__)) instead of gratuitous self reference.
9737 * sysdeps/mach/hurd/dup2.c: Call _hurd_alloc_fd to expand the
9738 table if FD2 doesn't fit.
9740 * sysdeps/mach/hurd/getdtsz.c: Return the RLIM_NOFILE soft limit,
9741 not the current table size.
9743 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS, CALL_WITH_SP): Rewritten.
9745 Implemented runtime dynamic linker to support ELF shared libraries.
9746 * elf/Makefile: Added rules to make ld.so and libdl.
9747 * elf/dl-error.c: New file.
9748 * elf/dl-fini.c: New file.
9749 * elf/dl-init.c: New file.
9750 * elf/dl-load.c: New file.
9751 * elf/dl-lookup.c: New file.
9752 * elf/dl-object.c: New file.
9753 * elf/dl-reloc.c: New file.
9754 * elf/dlclose.c: New file.
9755 * elf/dlerror.c: New file.
9756 * elf/dlopen.c: New file.
9757 * elf/dlsym.c: New file.
9758 * elf/dynamic-link.h: New file.
9759 * elf/link.h: New file.
9760 * elf/rtld.c: New file.
9761 * sysdeps/i386/dl-machine.h: New file.
9762 * sysdeps/stub/dl-machine.h: New file.
9763 * sysdeps/i386/dl-runtime.c: New file.
9764 * sysdeps/stub/dl-runtime.c: New file.
9765 * sysdeps/i386/elf/start.S: New file.
9766 * sysdeps/generic/dl-sysdep.c: New file.
9767 * sysdeps/mach/hurd/dl-sysdep.c: New file.
9768 * sysdeps/mach/hurd/i386/init-first.c: New file.
9769 * sysdeps/i386/init-first.c: New file.
9770 * sysdeps/stub/init-first.c: New file.
9772 Mon May 1 18:48:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9774 * Makerules (LDFLAGS-c.so): Add -interp and -e switches to make
9776 * version.c (__libc_print_version): Add "et al" and missing NL to
9779 Sat Apr 29 15:46:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9781 * posix/glob.c (S_ISDIR): Define if undefined.
9783 Thu Apr 27 01:24:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9785 * configure.in: Unless --without-fp, prepend */fpu before each
9786 machine dir in $mach; don't prepend FPU dirs at end. If
9787 --with-elf, prepend MACHINE/elf directories at end; don't insert
9790 * Makerules (dist): Filter out *.[cSs] from $(distribute) in deps.
9792 * sysdeps/stub/clock.c: Added stub warning.
9793 * sysdeps/stub/dirfd.c: Likewise.
9794 * sysdeps/stub/exc2signal.c: Likewise.
9795 * sysdeps/stub/fdopen.c: Likewise.
9796 * sysdeps/stub/flock.c: Likewise.
9797 * sysdeps/stub/fpathconf.c: Likewise.
9798 * sysdeps/stub/ftruncate.c: Likewise.
9799 * sysdeps/stub/gtty.c: Likewise.
9800 * sysdeps/stub/isatty.c: Likewise.
9801 * sysdeps/stub/killpg.c: Likewise.
9802 * sysdeps/stub/madvise.c: Likewise.
9803 * sysdeps/stub/mkstemp.c: Likewise.
9804 * sysdeps/stub/mktemp.c: Likewise.
9805 * sysdeps/stub/mprotect.c: Likewise.
9806 * sysdeps/stub/msync.c: Likewise.
9807 * sysdeps/stub/pathconf.c: Likewise.
9808 * sysdeps/stub/poll.c: Likewise.
9809 * sysdeps/stub/raise.c: Likewise.
9810 * sysdeps/stub/readv.c: Likewise.
9811 * sysdeps/stub/setenv.c: Likewise.
9812 * sysdeps/stub/setlogin.c: Likewise.
9813 * sysdeps/stub/sigaltstack.c: Likewise.
9814 * sysdeps/stub/sigintr.c: Likewise.
9815 * sysdeps/stub/sigstack.c: Likewise.
9816 * sysdeps/stub/sleep.c: Likewise.
9817 * sysdeps/stub/sstk.c: Likewise.
9818 * sysdeps/stub/stime.c: Likewise.
9819 * sysdeps/stub/stty.c: Likewise.
9820 * sysdeps/stub/syscall.c: Likewise.
9821 * sysdeps/stub/sysconf.c: Likewise.
9822 * sysdeps/stub/truncate.c: Likewise.
9823 * sysdeps/stub/ualarm.c: Likewise.
9824 * sysdeps/stub/usleep.c: Likewise.
9825 * sysdeps/stub/utimes.c: Likewise.
9826 * sysdeps/stub/writev.c: Likewise.
9828 * sysdeps/stub/libc_fatal.c: Remove __NORETURN keyword.
9830 Wed Apr 26 16:06:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9832 * locale/loadlocale.c (_nl_free_locale): Do nothing if DATA is null.
9834 Tue Apr 25 17:17:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9836 * posix/glob.c (glob): If GLOB_MARK set, stat names to find
9837 directories and append slashes to them in final pass before
9839 (glob_in_dir): If GLOB_MARK set, just allocate the extra char for the
9840 slash; never append it here.
9842 Sat Apr 22 14:48:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9844 * mach/Machrules [interface-library]
9845 (LDFLAGS-$(interface-library:lib%=%.so)): New variable, set to
9848 * sysdeps/mach/hurd/fork.c: Subfunction `unlockss' removed. Lock
9849 _hurd_siglock only around initial task creation in parent. Use
9850 _hurd_critical_section_unlock at end. Handle dead name rights
9851 properly, and deal with a send right dying while we try to copy
9852 it. For the time being, use assert_perror for kernel and proc RPC
9855 Fri Apr 21 01:10:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9857 * extra-lib.mk: Don't include $(o-iterator); construct it by hand
9858 using $(object-suffixes-$(lib)) instead.
9860 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): New variable.
9862 * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS-$(notdir $*).so).
9863 (LDFLAGS-c.so): New variable.
9865 * resolv/res_init.c (res_init): Don't clobber _res.options with
9866 RES_DEFAULT. If RES_INIT is clear, OR in RES_DEFAULT.
9868 * hurd/hurd.h: Declare _hurd_startup.
9869 * hurd/hurdstartup.c: New file.
9870 * hurd/Makefile (routines): Add hurdstartup.
9872 Thu Apr 20 22:23:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9874 * hurd/hurdsig.c: Use assert_perror for many calls which should
9875 never fail and previously were not checked.
9877 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
9878 Point the return address for sigreturn's frame at a "hlt" insn so
9879 it will definitely crash if sigreturn returns.
9881 Wed Apr 19 18:40:11 1995 Brendan Kehoe (brendan@zen.org)
9883 * time/tzset.c (__tzname, __daylight, __timezone): Don't check
9884 HAVE_WEAK_SYMBOLS for doing weak_alias.
9886 Wed Apr 19 18:12:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9888 * configure.in: Move $os tests to set $elf et al earlier, before
9889 construction of $sysnames. Instead of prepending MACHINE/elf to
9890 $sysnames, append &/elf after each elt appended to $mach.
9892 Tue Apr 18 14:00:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9894 * configure.in (libc_cv_asm_global_directive): New check to define
9895 ASM_GLOBAL_DIRECTIVE.
9896 * config.h.in: Add #undef ASM_GLOBAL_DIRECTIVE.
9897 * libc-symbols.h (strong_alias_asm, strong_alias): Use
9898 ASM_GLOBAL_DIRECTIVE on the alias.
9900 * sysdeps/unix/make_errlist.c (main): Don't generate "#ifdef
9901 HAVE_WEAK_SYMBOLS" #defns.
9903 Mon Apr 17 12:02:49 1995 Brendan Kehoe (brendan@zen.org)
9905 * sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning
9906 of the byte that was zero, so we return a valid number.
9908 Sun Apr 16 03:23:09 1995 Brendan Kehoe (brendan@zen.org)
9910 * sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining
9911 NO_UNDERSCORES then using sysdeps/unix/mips/sysdep.h.
9913 Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org)
9915 * sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double)
9916 [BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'.
9917 * sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double)
9918 [BITS_PER_MP_LIMB == 64]: Likewise.
9920 * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive.
9921 * sysdeps/unix/bsd/osf/alpha/sigblock.S (__sigblock): Likewise.
9922 * sysdeps/unix/bsd/osf/alpha/sigsetmask.S (__sigsetmask): Likewise.
9923 * sysdeps/unix/bsd/osf/alpha/sigpause.S (__sigpause): Likewise.
9924 * sysdeps/unix/bsd/osf/alpha/sigvec.S (__sigvec): Likewise.
9925 * sysdeps/unix/bsd/osf/alpha/getdents.S (__getdirentries): Likewise.
9926 * sysdeps/unix/bsd/osf/alpha/fork.S (__fork): Likewise.
9927 * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise.
9928 * sysdeps/unix/bsd/osf/alpha/recv.S (recv): Likewise.
9929 * sysdeps/unix/bsd/osf/alpha/send.S (send): Likewise.
9930 * sysdeps/unix/bsd/osf/alpha/vhangup.S (vhangup): Likewise.
9932 * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end directive.
9933 * sysdeps/unix/mips/fork.S (fork): Likewise.
9934 * sysdeps/unix/mips/pipe.S (fork): Likewise.
9935 * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise.
9936 * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise.
9937 * sysdeps/unix/mips/wait.S (__handler): Likewise.
9938 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
9939 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
9940 * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise.
9941 * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise.
9942 * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise.
9943 * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise.
9944 * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise.
9945 * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise.
9946 * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise.
9947 * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise. Use `$0'
9948 instead of `zero' for the li instruction.
9950 * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be
9951 preprocessor comments, not assembler comments.
9952 * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
9953 * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.
9955 Fri Apr 14 15:53:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9957 * malloc/malloc.c (register_heapinfo) [__GNUC__]: Use __inline__
9960 Thu Apr 13 09:45:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9962 * Makefile (distribute): Add ChangeLog.[0-9].
9964 * configure.in: Add check for .set directive.
9965 * config.h.in: Add #undef HAVE_ASM_SET_DIRECTIVE.
9966 * libc-symbols.h [! HAVE_ASM_SET_DIRECTIVE] (strong_alias,
9967 strong_alias_asm): Use `foo = bar' syntax instead.
9969 * Makerules [! subdir] (O%-lib): Don't prepend ../.
9971 * sysdeps/generic/expm1.c: #undef expm1 before weak_alias.
9973 * configure.in: Fix AC_ARG_WITH uses; check for --with-fp. Move
9974 $host_os checks to set gnu_ld/as and elf before sysdirs
9975 generation. Fix $with_fp test.
9976 [$elf=yes]: Prepend MACHINE/elf directory.
9978 * elf/libelf.h (elf_hash): Use XOR instead of ANDN when the bits
9979 being cleared are already known to be set. Thanks Ulrich.
9981 Wed Apr 12 23:27:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9983 * posix/environ.c: Add weak alias `_environ'.
9985 Tue Apr 11 20:38:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9987 * sysdeps/i386/add_n.S [PIC]: Use self-call to avoid generating reloc.
9988 * sysdeps/i386/sub_n.S [PIC]: Likewise.
9990 Mon Apr 10 14:53:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9992 * libc-symbols.h (_elf_set_element) [PIC]: Don't make the element
9995 * Makeconfig (CPPFLAGS, CFLAGS): Fix swapped references to
9996 $(foo-$(suffix $@)).
9998 * manual/Makefile (chapters-incl): Filter out summary.texi.
10000 * stdlib/strtod.c (STRTOF): Use extra macro to make STRTOF's #defn
10001 a weak symbol instead of literal "STRTOF".
10003 * locale/setlocale.c: Work around ld bug: don't weakify refs to
10006 Sun Apr 9 01:24:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10008 * Makerules (+depfiles): Translate %.so to %.o in $(extra-objs).
10010 * malloc/free.c [emacs] (__malloc_safe_bcopy): Define to safe_bcopy.
10011 * malloc/realloc.c (__malloc_safe_bcopy): Undefine before defining.
10013 * malloc/free.c (memmove, __malloc_safe_bcopy): Do include these
10014 #ifdef emacs, but only #ifndef memmove.
10015 * malloc/realloc.c [emacs] (__malloc_safe_bcopy): Just #define to
10017 (memmove): Define only if undefined.
10019 Sat Apr 8 00:40:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10021 * extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make
10022 sure these are simply-expanded variables.
10024 * locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag in
10027 * configure.in (os=freebsd*|bsdi*): Set base_os=unix/bsd/bsd4.4
10030 * sysdeps/unix/sysv/tcsetattr.c: Use |= instead of = to properly
10033 * Makeconfig [! objpfx] (csu-objpfx): Add trailing slash.
10035 * locale/Makefile (categories): Uncomment collate.
10036 * locale/lc-collate.c: New file.
10038 * malloc/free.c (__malloc_safe_bcopy, memmove): Don't define
10040 * malloc/realloc.c: Likewise.
10042 * stdio/_itoa.h (_EXTERN_INLINE): Define if undefined.
10043 (_itoa): Use it in defn.
10044 * stdio/_itoa.c (_EXTERN_INLINE): Define to empty before #include
10046 (_itoa): Function removed.
10048 * malloc/free.c: Remove use of `assert'.
10050 * malloc/realloc.c [! emacs] (safe_bcopy): Renamed to
10051 __malloc_safe_bcopy; #define safe_bcopy.
10052 * malloc/free.c: Cope with systems lacking `memmove'.
10053 (_free_internal): Cast result of _malloc_internal.
10055 Wed Apr 5 00:13:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10057 * hurd/hurdinline.c: Include signal.h first, so we don't define
10060 * sysdeps/unix/sysv/sysv4/sigset.h (__sigfillset): Use ~0L instead
10061 of -1 to avoid compiler warning.
10063 * configure.in (host_os=linux*): Set elf=yes for this, not just
10066 * misc/login_tty.c [! TIOCSCTTY]: Try an emulation using ttyname
10069 * sysdeps/i386/bsd-_setjmp.S: Fix typo in name: setjmp -> _setjmp.
10071 Tue Apr 4 00:48:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10073 * sysdeps/unix/start.c: Remove spurious decl and #endif.
10075 * misc/progname.c (program_invocation_name,
10076 program_invocation_short_name): Make these initialized data
10079 * sysdeps/mach/hurd/setitimer.c (fork_itimer): Add self reference
10080 so gcc doesn't optimize out the function entirely.
10082 Sun Apr 2 13:13:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10084 * posix/execvp.c: Don't use stat to search path; just try execv
10087 * sysdeps/mach/hurd/i386/trampoline.c: Add a link to
10088 SS->active_resources, so that _hurdsig_longjmp_from_handler will
10089 be called when a longjmp unwinds the signal frame.
10090 * sysdeps/mach/hurd/i386/sigreturn.c: Remove the link on the
10091 SS->active_resources chain added by _hurd_setup_sighandler.
10092 * hurd/sigunwind.c: New file.
10093 * hurd/Makefile (sig): Add sigunwind.
10095 * Makerules (lib%.so: lib%_pic.a): Remove dir name from $*.
10097 * MakeTAGS (tags-sources): Include $(all-dist).
10098 [subdir] (all-dist): Define to $(distribute).
10100 Sat Apr 1 00:08:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10102 * Makerules (lib%.so: lib%_pic.a): Pass -L options for subdir and
10105 * extra-lib.mk (object-suffixes-$(lib)): New variable, produced by
10106 filtering out $($(lib)-inhibit-o); use that instead of
10107 $(object-suffixes) in all the other variables.
10109 * locale/loadlocale.c (_nl_load_locale) [MAP_FILE]: Define it zero
10112 * string/strxfrm.c: Just copy the string (for now).
10113 * string/strcoll.c: Just call strcmp (for now).
10115 * mach/Makefile (lock): Add mutex-init.
10116 * mach/mutex-solid.c (_cthread_mutex_lock_routine,
10117 _cthread_mutex_unlock_routine): Variables removed.
10118 (__mutex_lock_solid, __mutex_unlock_solid): Don't use them; just stub.
10119 (__mutex_init): Function moved to new file mutex-init.c.
10120 * mach/mutex-init.c: New file, broken out of mutex-solid.c.
10122 Thu Mar 30 20:43:02 1995 Brendan Kehoe <brendan@zen.org>
10124 * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST.
10125 * sysdeps/alpha/__longjmp.c (__longjmp): Take out const.
10127 Thu Mar 30 01:38:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10129 * elf/elf.h (STN_UNDEF): New macro (distinct from SHN_UNDEF, though
10132 Wed Mar 29 11:26:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10134 * elf/dlfcn.h: New file.
10136 * Make-dist (README): Commit it to CVS if there is a CVS directory.
10138 More changes from Germano Caronni <caronni@tik.ethz.ch>:
10139 * malloc/free.c: Relocate _heapinfo when that allows us to return
10140 core to the system.
10142 * malloc/malloc.c: Move #include <errno.h> outside #ifndef
10145 Mon Mar 27 02:23:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10147 * mach/Makefile (headers): Add mach/mach_traps.h.
10149 * Makerules ($(installed-libcs) rule): Fix typos.
10151 * sysdeps/unix/bsd/bsd4.4/revoke.S: New file.
10152 * sysdeps/stub/revoke.c: New file.
10153 * misc/Makefile (routines): Add revoke.
10154 * posix/unistd.h [__USE_BSD] (revoke): Declare it.
10155 * sysdeps/generic/pty.c (openpty, forkpty): Declare return types.
10156 (forkpty): Declare login_tty.
10157 * misc/logwtmp.c (logwtmp): Declare to return void.
10158 * misc/login_tty.c (login_tty): Include unistd.h. Declare return type.
10160 * posix/unistd.h [__USE_BSD] (ttyslot): Declare it.
10162 * posix/unistd.h [__USE_BSD] (L_SET, L_INCR, L_XTND): Define
10163 unless L_SET already defined.
10164 * misc/sys/file.h (L_SET, L_INCR, L_XTND): Don't define if L_SET
10167 Incorporated -lutil library from 4.4-Lite.
10168 * misc/Makefile (extra-libs, libutil-routines): New variables.
10169 * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
10170 sysdeps/generic/pty.c: New files for -lutil incorporated from 4.4-Lite.
10172 Support simple, light-weight unwind-protect mechanism for longjmp.
10173 * setjmp/longjmp.c: Call _longjmp_unwind first thing.
10174 * sysdeps/mach/hurd/jmp-unwind.c: New file.
10175 * sysdeps/stub/jmp-unwind.c: New file.
10176 * sysdeps/i386/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
10177 * sysdeps/mips/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
10178 * setjmp/Makefile (routines): Add jmp-unwind.
10179 * hurd/hurd/userlink.h (struct hurd_userlink): Move `next' and
10180 `prevp' members into new substructure `resource'; add another such
10181 substructure `thread' and members `cleanup' (function ptr) and
10182 `cleanup_data' (generic ptr).
10183 (_hurd_userlink_link, _hurd_userlink_unlink): Insert/remove LINK
10184 into the `_hurd_self_sigstate ()->active_resources' list via the
10185 `thread' substructure.
10186 * hurd/hurd/port.h (_hurd_port_cleanup): Declare it.
10187 (_hurd_port_locked_get): Set LINK->cleanup to _hurd_port_cleanup and
10188 LINK->cleanup_data' to the port extracted.
10189 * hurd/hurd/signal.h (struct hurd_sigstate): New member
10190 `active_resources'.
10191 * hurd/port-cleanup.c: New file.
10192 * hurd/Makefile (routines): Add port-cleanup.
10194 * malloc/malloc.c: Include errno.h.
10196 Sat Mar 25 18:24:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10198 * locale/loadlocale.c (_nl_load_locale): Avoid */ inside comment.
10200 Fri Mar 24 02:35:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10202 * misc/Makefile (headers): Add utmp.h.
10203 * misc/utmp.h: New file, incorporated from 4.4-Lite.
10205 * stdio/printf-parse.h: New file, mostly written by drepper.
10206 * stdio/vfprintf.c: Rewritten, mostly by drepper.
10207 * stdio/printf-prs.c: Rewritten.
10208 * stdio/Makefile (distribute): Add printf-parse.h.
10210 Thu Mar 23 22:03:44 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10212 * sysdeps/unix/start.c [! NO_UNDERSCORES]: Don't declare _start
10213 with asm name. Just do a ".set start, __start".
10215 * malloc/realloc.c: Call _free_internal instead of free.
10217 Tue Mar 21 00:14:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10219 * locale/loadlocale.c (_nl_load_locale): If LOCALE/LC_* is a
10220 directory, open LOCALE/LC_*/SYS_LC_* instead.
10222 Mon Mar 20 03:19:23 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10224 * stdio/fpioconst.c, stdio/fpioconst.h, stdio/gmp-impl.h,
10225 stdio/gmp.h, stdio/longlong.h, stdio/mp_clz_tab.c,
10226 stdio/gen-mpn-copy: Files moved to stdlib.
10227 * stdio/Makefile: All mpn stuff moved to stdlib/Makefile.
10228 * stdlib/Makefile: All the mpn stuff moved here from stdio/Makefile.
10229 * stdio/printf_fp.c: Use ../stdlib to find fpioconst.h and gmp
10231 * stdlib/strtod.c: Don't use ../stdio to find fpioconst.h and gmp
10234 * Makefile (parent-mostlyclean): Don't use $(libc.a).
10235 (parent-clean): Use $(objpfx) to find sysd-*.
10236 * Rules (generated): Append dummy.o dummy.c.
10237 * Makerules (lib): Depend on lib-noranlib.
10238 (lib-noranlib): Depend on $(install-lib) in objdir.
10239 (common-mostlyclean): Remove $(install-lib) and stub-$(subdir)
10240 from objdir. Don't remove TAGS; it comes in the distribution.
10242 * malloc/malloc.c (morecore): Save errno around call to
10243 _realloc_internal. Don't account for the additional new blocks of
10244 the info table itself when choosing the new table size for the
10245 first crack; if it succeeds, the new blocks will have been found
10246 in existing free space already described by the existing info
10249 * stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the
10250 read-ahead character.
10252 Sat Mar 18 14:07:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10254 * hurd/dtable.c, hurd/getdport.c, hurd/hurd.h, hurd/hurdexec.c,
10255 hurd/hurdinit.c, hurd/hurdprio.c, hurd/hurdsock.c,
10256 hurd/ports-get.c, hurd/ports-set.c, hurd/setauth.c,
10257 hurd/setuids.c, sysdeps/mach/hurd/i386/trampoline.c:
10258 Get anal with unsigned to pacify compiler.
10260 * stdio/vfscanf.c: Grok positional parameter specs (i.e. %3$d
10261 means %d from 3rd arg).
10263 * sysdeps/mach/hurd/closedir.c: Include hurd/fd.h.
10265 * stdlib/strtol.c: If !GROUP, set END to null. In loop, test only
10268 Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10270 * Makefile (subdirs): Put elf last.
10272 * sunrpc/Makefile (install-lib): Variable removed.
10273 (rpcsvc-objs): Variable removed.
10274 (extra-objs): Don't include $(rpcsvc-objs).
10275 (extra-libs): New variable, contains librpcsvc.
10276 (librpcsvc-routines): New variable.
10277 (librpcsvc-inhibit-o): New variable, contains .so.
10278 (omit-deps): Set this to $(librpcsvc-routines).
10279 ($(objpfx)rpcgen): Don't use $(libc.a).
10280 (lib, $(objpfx)librpcsvc.a): Targets removed.
10282 * o-iterator.mk, extra-lib.mk: New files.
10283 * Makerules (o-iterator): New variable.
10284 [extra-libs]: Include extra-lib.mk to generate rules for each word
10286 * Makefile (distribute): Add extra-lib.mk, o-iterator.mk.
10288 Fri Mar 17 13:28:04 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
10290 * sysdeps/ieee754/ldbl2mpn.c (__mpn_extract_long_double):
10291 Handle 80-bit denormalized numbers correctly.
10293 * stdlib/strtod.c, stdlib/strtof.c, stdlib/strtold.c:
10294 (IMPLICIT_ONE, *_MAX_10_EXP_LOG): Macros removed; no longer needed.
10295 * stdlib/strtod.c (RETURN): Add parentheses around return value.
10296 (round_and_return): Correct handling of denormalized numbers.
10298 * stdio/fpioconst.c, stdio/fpioconst.h: Don't use
10299 LDBL_MAX_10_EXP_LOG; LAST_POW10 defines the maximal available
10302 Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10304 * locale/C-ctype.c: New correct data generated by drepper.
10306 * Rules: Don't use $(libc.a).
10308 Parsing of grouped numbers contributed by Ulrich Drepper.
10309 * stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take
10310 new flag arg; if nonzero, parse locale-dependent thousands
10311 grouping and interpret only the prefix that is correctly grouped.
10312 (strtol): Define this to call _strtol_internal with zero for the flag.
10313 Use a weak symbol for the definition.
10314 * stdlib/strtod.c (strtod, __strtod_internal): Likewise.
10315 Check for the exponent of the number overflowing the float format.
10316 * stdlib/stdlib.h (__strtof, __strtold): Declarations removed.
10317 (__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions.
10318 [__OPTIMIZE__]: Define inline functions calling those.
10319 * stdlib/strtold.c (STRTOF): Set to strtold, not __strtold.
10320 (strtold): Remove weak alias.
10321 * stdlib/strtof.c (STRTOF): Set to strtof, not __strtof.
10322 (strtof): Remove weak alias.
10323 * stdlib/grouping.h: New file, written by drepper.
10324 * stdlib/Makefile (distribute): Add grouping.h.
10325 * stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call
10326 __strtoX_internal with the grouping flag set iff the modifier is
10329 Wed Mar 15 00:40:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10331 * sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h.
10333 * mach/Machrules: Produce static deps for all object flavors.
10334 [interface-library]: Remove all these variables and rules.
10335 ($(interface-library)-routines): Define this variable.
10336 (extra-libs): Append $(interface-library) to this.
10337 * mach/Makefile (interface-library): Omit .a suffix.
10338 * hurd/Makefile: Likewise.
10340 Tue Mar 14 23:40:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10342 * stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out
10343 early if no new data in buffer after priming.
10345 Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10347 * Makerules (object-suffixes, libtypes): Move all these variables
10349 * Makeconfig (object-suffixes, libtypes): Moved here from Makerules.
10351 * Makerules (build-extra-lib): New canned sequence.
10353 * sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR;
10354 fix uses of FILE and PORT. Remove bogus weak alias for `access'.
10356 * sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h.
10357 Add missing semicolon.
10358 * sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct
10359 hurd_fd *' temp var, since DIRP->__fd is a `void *'.
10360 * sysdeps/mach/hurd/readdir.c: Include hurd/fd.h.
10362 * stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the
10363 locale data format is implemented.
10365 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
10366 Pass &__sigreturn on the stack to the trampoline code, so it is
10367 not position-dependent.
10369 * stdio/printf_fp.c (NDEBUG): Define this to disable assert.
10370 Don't include <stdarg.h>.
10371 (__printf_fp): Last arg ARGS is now `const void **const';
10372 dereference ARGS[0] instead of using va_arg.
10374 * locale/setlocale.c: In LC_ALL case, initialize CATEGORY before
10375 loop to install data.
10377 * locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX
10378 to extract number from item code.
10379 (_nl_load_locale): Close the descriptor when finished.
10381 * malloc/realloc.c (_realloc_internal): Call _malloc_internal in
10384 * time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero.
10386 * stdio/printf_fp.c (group_number): Cast *GROUPING to unsigned int
10388 * sysdeps/generic/sigset.h (__SIGSETFN): Cast result of sizeof to
10389 int to avoid warning.
10391 Support building several flavors of objects and libraries.
10392 * Makerules (libtypes, object-suffixes): New variables.
10393 (libtype.*, CFLAGS-*, CPPFLAGS-*): New variables for each object
10395 (CFLAGS, CPPFLAGS): Append $(C{,CPP}FLAGS-$(suffix $@)).
10396 (%.so, %.po, %.go): New compilation rules for %.S, %.s, %.c.
10397 (close-check-inhibit-asm): Append a semicolon.
10398 (sysd-rules): Generate rules for each object suffix.
10399 (compile.S, compile.c): Always assume gcc.
10400 (OUTPUT_OPTION): Define unconditionally.
10401 (+make-deps): In generated rule, produce a dependent for each
10403 (.SUFFIXES): Add $(object-suffixes) in place of .o.
10404 (.PRECIOUS): Make all suffix flavors precious.
10405 ($(libc.a)): Target removed.
10406 (lib): Depend on each enabled libtype.
10407 (libobjs, objects, objs): Depend on all the enabled object flavors.
10408 (lib%.a): New pattern rule.
10409 [$(build-shared)=yes] (lib%.so: lib%_pic.a): New pattern rule.
10410 (stamp-$(subdir)): Rewritten to a pattern rule for stamp.%-$(subdir)
10411 to make one for each flavor; library dep rule likewise rewritten.
10412 ($(libc.a)(__.SYMDEF)): Target replaced with one target for each
10414 (symdef.%): New pattern rule; helper for __.SYMDEF targets.
10415 (installed-libcs): New variable.
10416 (install): Depend on that instead of
10417 $(libdir)/lib$(libprefix)$(libc-name).a;
10418 that file's rule rewritten to make each enabled libtype.
10419 (install-lib.so): New variable, filters lib%.so from $(install-lib).
10420 (install-lib): Filter out lib%.so after setting install-lib.so.
10421 [$(build-shared)=yes] (install): Install $(install-lib.so).
10422 (common-mostlyclean): Remove all flavors of objects.
10423 * Makefile ($(libc.a)(__.SYMDEF)): Target removed.
10424 [$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so.
10426 Sun Mar 12 18:21:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10428 * sysdeps/stub/ulimit.c: Don't include gnu-stabs.h.
10429 * sysdeps/stub/pause.c: Likewise.
10430 * sysdeps/stub/time.c: Likewise.
10432 * stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the
10433 locale data format is implemented.
10434 * stdlib/wctomb.c: Likewise.
10436 * mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the
10438 * mach/errsystems.c: File removed.
10440 * Makeconfig (libc.a): Variable removed.
10441 (+link): Don't use it.
10443 * configure.in (AC_ARG_ENABLE calls): Use $enableval instead of
10446 * malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these.
10447 * malloc/realloc.c (_realloc_internal): Renamed from realloc;
10448 don't use __realloc_hook.
10449 (realloc): New function; call __realloc_hook ?: _realloc_internal.
10450 * malloc/malloc.c (_malloc_internal): Renamed from malloc;
10451 don't use __malloc_hook.
10452 (malloc): New function; call __malloc_hook ?: _malloc_internal.
10453 Changes from Germano Caronni <caronni@tik.ethz.ch>:
10454 (initialize): Set up _heaplimit to cover the _heapinfo table.
10455 (morecore_recursing): New static variable.
10456 (morecore): If that is set, return null immediately.
10457 When growing the info table, before getting new core from the
10458 system for it, set morecore_recursing and try moving _heapinfo
10459 with _realloc_internal. When that fails and we get new core, set
10460 _heaplimit to cover the core for the new _heapinfo table.
10461 (register_heapinfo): New function. Record the _heapinfo table's
10462 own blocks in that table and in the statistics variables.
10463 (initialize, _malloc_internal): Use it after allocating new table.
10465 Fri Mar 10 22:26:28 1995 Jim Meyering (meyering@comco.com)
10467 * sysdeps/generic/memchr.c: Remove ansidecl.h and clean up for use
10469 [LONG_MAX <= LONG_MAX_32_BITS]: Don't compile 64-bit code.
10471 Fri Mar 10 13:31:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10473 * mach/errorlib.h (errors): Use const for decl.
10475 * time/tzfile.c (uc2ul, _uc2ul): Macros removed.
10476 (decode): New inline function; decode signed 32-bit integers, and
10477 sign-extend properly when long is longer than 32 bits.
10478 (__tzfile_read): Changed all uses of uc2ul to decode.
10479 Decode the transition times properly when sizeof (time_t) > 4.
10481 * stdio/printf.h: Doc fixes. Don't #include <stddef.h>.
10482 (printf_function): Make last arg ARGS a vector of pointers instead of a
10483 pointer to va_list.
10485 Fri Mar 10 13:46:25 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
10487 * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Use return value of _IO_padn.
10488 (buffered_vfprintf): Remove line buffer when flush failed.
10490 Fri Mar 10 00:04:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10492 * time/tzfile.c (struct ttinfo): New member `isgmt'.
10493 (__tzfile_read): Read isgmt flags for each type.
10494 (__tzfile_default): When using TZDEFRULES DST rules, adjust
10495 transition times according to the isstd and isgmt flags for the
10496 types of each transition, and adjust each transition to point to
10497 type index either 0 or 1. Reset type indices 0 and 1 to describe
10498 the user's settings.
10500 Thu Mar 9 22:29:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10502 * locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL
10503 into just CLASS. Add standard/optional flag to all items.
10505 * locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo.
10507 * ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit):
10508 Rearrange defn to satisfy compiler.
10510 * locale/localeinfo.h: Declare _nl_current.
10512 * configure.in: Use AC_CHECK_TOOL for CC, AR, RANLIB. Accept args
10513 --enable-shared, --enable-profile, --enable-omitfp; pass settings
10514 through to config.make.
10515 * config.make.in (build-shared, build-profile, build-omitfp): New
10518 * elf/elf.h (STN_UNDEF): Renamed to SHN_UNDEF (typo).
10519 (DT_NUM): New macro.
10521 * locale/nl_langinfo.c: Include errno.h and stddef.h. Fix typos.
10523 * locale/lc-ctype.c (_nl_postload_ctype): Fix macro insanity.
10525 * locale/loadlocale.c (_nl_load_locale) [! MAP_COPY]: Define
10526 MAP_COPY to MAP_PRIVATE.
10528 Thu Mar 9 17:16:53 1995 Brendan Kehoe (brendan@zen.org)
10530 * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition
10531 that's used inside the alpha sysdep.h.
10533 * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN
10535 * sysdeps/alpha/__math.h (__copysign): Remove obsolete __CONSTVALUE.
10537 * configure.in: Match `osf*', not `osf1*'.
10538 * configure: Likewise.
10539 * sysdeps/unix/bsd/osf: Renamed from `sysdeps/unix/bsd/osf1'.
10541 Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10543 * posix/glob/configure.bat: Fixes from DJ.
10545 * time/backward, time/europe, time/northamerica, time/pacificnew,
10546 time/zdump.c, time/zic.c, time/tzfile.h, time/private.h,
10547 time/ialloc.c: Code and data updated from ADO's 95b.
10548 * time/emkdir.c: File removed.
10549 * time/Makefile (distribute, extra-objs, zic): Omit it.
10551 * time/localtime.c: Deansideclized. Never #define __tzname et al
10554 * locale/lc-ctype.c (__ctype_tolower, __ctype_toupper): Use int *
10555 instead of short int *.
10556 * ctype/ctype-info.c: Likewise.
10557 * ctype/ctype.h: Likewise.
10559 * locale/langinfo.h (_NL_CTYPE_CLASS): Use this (just one) instead
10560 of EB and EL versions.
10562 Mon Mar 6 12:34:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10564 * ctype/ctype.h (_ISbit): New macro, defined dependent on byte order.
10565 (_IS* enum): Use _ISbit to produce values.
10567 Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10569 * locale/localeinfo.h: Rewritten for new locale system, using
10570 locale data files and with <langinfo.h> interface.
10571 * locale/setlocale.c: Rewritten to use locale data files.
10572 * langinfo.h: New file.
10573 * locale/langinfo.h: New file.
10574 * locale/nl_langinfo.c: New file.
10575 * locale/loadlocale.c: New file.
10576 * locale/lc-ctype.c: New file.
10577 * locale/lc-messages.c: New file.
10578 * locale/lc-monetary.c: New file.
10579 * locale/lc-numeric.c: New file.
10580 * locale/lc-time.c: New file.
10581 * locale/categories.def: New file.
10582 * locale/Makefile (headers): Remove localeinfo.h.
10583 (distribute): New variable; put localeinfo.h here, and categories.def.
10584 (routines): Add loadlocale.
10585 (categories): New variable.
10586 (aux): Use that to get C-category and lc-category.
10587 * ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
10588 * ctype/ctype-info.c: For initial tables, use
10589 _nl_C_LC_CTYPE_{class,toupper,tolower} constant tables defined in
10591 * locale/C-ctype.c, locale/C-messages.c: New files.
10592 * locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
10593 Default "C" locale data updated for new locale system.
10594 * locale/C-collate.c: File removed.
10595 * locale/C-ctype_ct.c: File removed.
10596 * locale/C-ctype_mb.c: File removed.
10597 * locale/C-response.c: File removed.
10598 * locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
10599 * stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
10600 stdlib/strtod.c, time/asctime.c, time/strftime.c:
10601 Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
10603 * time/localtime.c: Don't include <localeinfo.h>.
10604 * time/tzset.c: Don't use locale items for default TZ value or
10605 "GMT" string (use "UTC").
10607 * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
10608 WIDTH>0; update DONE.
10610 * malloc/malloc.c (morecore): Fix last change to calculate by
10611 blocks instead of bytes.
10613 Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10615 * sysdeps/generic/sys/mman.h (__mmap, __munmap): Declare these.
10616 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
10617 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
10618 * sysdeps/unix/bsd/osf1/sys/mman.h: Likewise.
10619 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
10620 * sysdeps/stub/munmap.c (munmap): Rename to __munmap, add weak
10622 * sysdeps/unix/mman/munmap.S: Likewise.
10623 * sysdeps/mach/munmap.c: Likewise.
10624 * sysdeps/mach/hurd/mmap.c (mmap): Rename to __mmap, add weak
10626 * sysdeps/unix/mman/mmap.S: Likewise.
10627 * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
10628 * sysdeps/stub/mmap.c: Likewise.
10630 * sysdeps/unix/bsd/setsid.c: Use __getpgid instead of __getpgrp.
10632 * sysdeps/unix/dirfd.c: #undef dirfd before function defn.
10634 Thu Mar 2 12:15:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10636 * misc/search.h: Add missing semicolon.
10638 * sysdeps/unix/dirfd.c: Fix typo.
10640 * sysdeps/generic/sys/mman.h (mmap): Use __off_t instead of off_t
10643 * stdio/vfscanf.c (%c): In no-assign case, fix loop to decrement
10646 Wed Mar 1 00:57:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10648 * stdlib/strtod.c: Fixes from drepper.
10649 [IMPLICIT_ONE]: New macro, one for IEEE754 formats.
10650 * stdlib/strtold.c [IMPLICIT_ONE]: New macro, 0.
10651 * stdlib/strtof.c [IMPLICIT_ONE]: New macro, 1.
10653 * stdio/vfprintf.c: Correctly notice Z modifier.
10655 * misc/search.h: New file.
10656 * misc/Makefile (headers): Add search.h.
10657 * misc/insremque.c: Include search.h.
10658 (struct qelem): Type removed.
10660 Mon Feb 27 07:00:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10662 * elf/libelf.h: New file.
10663 * elf/elf_hash.c: New file.
10665 Sun Feb 26 15:51:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10667 Changes from Germano Caronni <caronni@tik.ethz.ch>:
10668 * malloc/malloc.c (morecore): Account in NEWSIZE for the
10669 malloc_info structures for each new block.
10671 Sat Feb 25 02:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10673 * sysdeps/mach/hurd/kill.c: When the process has no message port
10674 registered and we have its task port, translate a few signals to
10675 task_suspend/task_resume/task_terminate.
10677 Fri Feb 24 14:40:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10679 * io/Makefile (routines): Add euidaccess.
10680 * sysdeps/mach/hurd/euidaccess.c: New file.
10681 * sysdeps/stub/euidaccess.c: New file.
10682 * posix/unistd.h [__USE_GNU] (euidaccess): Declare it.
10684 * dirent/Makefile (routines): Add dirfd.
10685 * sysdeps/stub/dirfd.c: New file.
10686 * sysdeps/unix/dirfd.c: New file.
10687 * sysdeps/unix/dirstream.h (_DIR_dirfd): New macro.
10688 * dirent/dirent.h (dirfd): Declare new function. Define as macro
10689 _DIR_dirfd if that is defined.
10690 * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__port' member
10692 * sysdeps/mach/hurd/opendir.c: Use DIRP->__fd instead of DIRP->__port.
10693 Open the file with `open'; set FD_CLOEXEC on the fd.
10694 * sysdeps/mach/hurd/closedir.c: Likewise.
10695 * sysdeps/mach/hurd/readdir.c: Likewise.
10696 * sysdeps/mach/hurd/dirfd.c: New file.
10698 * posix/Makefile (glob/configure): Do cvs commit if there is a CVS
10700 (glob/ChangeLog): Likewise.
10702 * locale/locale.h (LC_*): Use small integers instead of bit masks.
10704 * stdio/bug4.c: Put temporary files in /tmp.
10705 * stdio/bug3.c: Likewise.
10706 * stdio/bug5.c: Likewise.
10707 * stdio/test-fseek.c: Likewise.
10708 * stdio/test-popen.c: Likewise.
10710 Wed Feb 22 00:44:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10712 * posix/glob/configure.in: Put AC_ISC_POSIX before AC_CONST.
10714 * libc-symbols.h (weak_symbol): New macro.
10716 * hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter
10717 elts with null handlers.
10719 * sysdeps/mach/hurd/i386/sigreturn.c: Restore the FPU state.
10721 Tue Feb 21 21:53:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10723 * stdlib/random.c (__srandom): Change algorithm used to populate
10725 (randtbl): Recomputed with new algorithm.
10727 * sysdeps/sparc/Makefile [subdir=crypt] (crypt): Reset only if set
10728 to original value of `crypt'.
10729 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile [subdir=crypt]
10730 (crypt): New variable, set to crypt.solar.
10732 Tue Feb 21 11:50:37 1995 Brendan Kehoe (brendan@zen.org)
10734 * sysdeps/sparc/Makefile (routines): Reference `dotmul', not `mul'.
10736 * config.h.in: Put comment around ^L to pacify Solaris as here too.
10738 Tue Feb 21 00:10:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10740 * string/Makefile (distribute): Add pagecopy.h.
10741 * sysdeps/mach/pagecopy.h: New file.
10742 * sysdeps/generic/pagecopy.h: New file.
10743 * sysdeps/generic/memcpy.c: Include pagecopy.h; call
10744 PAGE_COPY_FWD_MAYBE first when word aligned.
10745 * sysdeps/generic/memmove.c: Likewise.
10747 * misc/bsd-compat.c (longjmp, setjmp): Functions removed.
10748 (getpgrp): Call __getpgid instead of __getpgrp.
10750 * Makefile (subdirs): Add elf first.
10751 * elf/Makefile: New file.
10752 * elf/elf.h: New file.
10754 * sysdeps/unix/start.c (errno): Only define if it's not #define'd
10756 [! NO_UNDERSCORES]: Define `start' as a weak alias, not a symbol
10759 * csu/Makefile (crtstuff): New variable consolidates crti, crtn;
10760 add crti_s, crtn_s.
10761 (install-lib, extra-objs, generated-, omit-deps): Use that.
10762 (initfini): New canned sequence, broken out of crt[in].s rule.
10763 (crt[in].s rule): Use it.
10764 (crt[in]_s.s): New rule.
10765 * csu/initfini.c (GLOBAL): New macro; define it to empty if undefined.
10766 (_init, _fini): Use GLOBAL as storage class.
10767 Add self reference to avoid GCC optimizing out the functions.
10769 * Makefile (headers): Remove $(stddef.h).
10770 * Makeconfig (stddef.h): Variable removed; now require gcc version
10772 * stddef.h: File removed.
10774 Mon Feb 20 19:42:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10776 * sysdeps/unix/bsd/ultrix4/mips/start.S: Remove `__environ'
10778 * sysdeps/unix/bsd/osf1/alpha/start.S: Likewise.
10780 * stdlib/strtod.c: Allow the string to start with a decimal point
10781 without a leading zero.
10783 Mon Feb 20 04:04:57 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
10785 * Makefile (subdirs): Put csu first.
10787 * sysdeps/mach/hurd/start.c: Include unistd.h for __environ decl.
10789 * Makeconfig [elf=yes] (+preinit, +postinit): New variables, set
10791 (csu-objpfx): New variable.
10792 (+link): Use it to find start.o and $(+preinit), $(+postinit).
10794 * Rules (subdir_lib, all): Depend on objs.
10796 * config.h.in [HAVE_ELF || HAVE_GNU_LD]: Define HAVE_WEAK_SYMBOLS.
10798 * stdlib/strtod.c (PASTE, PASTE1): New helper macros; use these in
10799 access to float.h macros.
10801 * misc/efgcvt.c: New file.
10802 * misc/Makefile (routines): Add efgcvt.
10804 Sun Feb 19 20:10:43 1995 Brendan Kehoe <brendan@zen.org>
10806 * sysdeps/sparc/mul.S: Renamed to `dotmul.S'.
10807 * sysdeps/sparc/Makefile (routines): Reference `dotmul.S', not `mul.S',
10808 to avoid a misreference that would override sysdeps/generic/mul.c.
10809 * sysdeps/sparc/Dist: Likewise.
10811 Sun Feb 19 17:46:13 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
10813 * posix/Makefile (aux): Add environ.
10814 * posix/environ.c: New file.
10815 * sysdeps/unix/sparc/start.c: Remove __environ definition.
10816 * sysdeps/unix/start.c: Likewise.
10817 * sysdeps/unix/sysv/irix4/start.c: Likewise.
10818 * sysdeps/mach/hurd/start.c: Likewise.
10819 * sysdeps/mach/start.c: Likewise.
10820 * sysdeps/stub/start.c: Likewise.
10822 * sysdeps/unix/make_errlist.c: In produced program, test
10823 HAVE_WEAK_SYMBOLS instead of HAVE_GNU_LD.
10824 * sysdeps/unix/sysv/sysv4/dup2.c: Fix #include of renamed file.
10825 Remove extra weak alias.
10827 * sysdeps/unix/sysv/sysv4/sigaltstack.S: Fix unsquashed file name
10830 * libc-symbols.h: Put comment around ^L to pacify Solaris as.
10832 * sysdeps/posix/Makefile (cded-objdir-includes): New variable
10833 replaced cded-objdir-CPPFLAGS; transform $(+includes) instead of
10835 (mk-stdiolim): Use it instead.
10837 Fri Feb 17 12:16:27 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
10839 * mach/mach_init.c (__vm_page_size): Make it initialized. It does
10840 not work to make a weak alias to a bss symbol.
10842 * stdio/Makefile (distribute): Remove mpn-copy.mk; add gen-mpn-copy.
10843 (tests): Add test-fwrite.
10844 * stdio/test-fwrite.c: New file.
10846 * stdlib/stdlib.h [__USE_GNU]: Declare strtof, strtold, __strtof,
10849 * Makefile (autoconf-it): New canned sequence. Do cvs commit if
10850 there is a CVS directory.
10851 (configure, %/configure): Use $(autoconf-it) for cmds.
10852 * Make-dist: Likewise.
10853 * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Do cvs commit
10854 if there is a CVS directory.
10855 * sysdeps/sparc/Makefile (divrem output): Likewise.
10856 * sysdeps/alpha/Makefile (divrem output): Likewise.
10857 * Makerules ($(gpl2lgpl)): Likewise.
10859 * Makerules (rule to install lib%.a from $(install-lib)): Fix
10860 patsubst to elide ranlib for $(non-lib.a).
10862 * stdio/tst-printf.c: Enable FP tests. Add some new tests from rfg.
10864 Thu Feb 16 04:06:06 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
10866 * sysdeps/mach/hurd/mig-reply.c: Add weak aliases to non-__ names.
10867 * mach/mig-dealloc.c: Add weak alias mig_deallocate.
10869 Wed Feb 15 13:34:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10871 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Take new arg
10872 DEALLOC_REFPORT; deallocate the refport after use only if it
10873 evaluates to nonzero.
10874 * sysdeps/mach/hurd/kill.c: Pass DEALLOC_REFPORT arg of one.
10875 * hurd/hurdkill.c: Pass DEALLOC_REFPORT arg of zero.
10877 * hurd/hurdsig.c (abort_rpcs): Take new arg int *STATE_CHANGE; set
10878 *STATE_CHANGE to indicate whether or not we changed *STATE and it
10879 should be committed to the thread.
10880 (abort_all_rpcs): Take new arg LIVE; if nonzero and abort_rpcs changes
10881 state for a thread, do thread_set_state on that thread. Don't use
10882 SS->intr_port for collecting reply ports, it is not safe to
10883 clobber that when suspending; instead, alloca a temporary array.
10884 (_hurd_internal_post_signal): Pass LIVE flag to abort_all_rpcs:
10885 zero when dying, one when suspending. Pass new arg to abort_rpcs.
10887 * sysdeps/mach/hurd/stdio_init.c: Don't lock the file descriptor;
10888 HURD_FD_PORT_USE will. Don't use critical sections around
10889 HURD_FD_PORT_USE invocations.
10891 * sysdeps/mach/hurd/stdio_init.c: Don't make pipes/FIFOs unbuffered.
10892 * sysdeps/posix/stdio_init.c: Likewise.
10894 Tue Feb 14 03:01:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10896 * hurd/hurd/fd.h (_hurd_fd_get): Don't do critical section
10897 locking; don't leave the descriptor locked on return.
10898 (HURD_FD_PORT_USE): Don't expect _hurd_fd_get to return the fd locked.
10899 Use a critical section around locking the descriptor.
10900 Check for an empty descriptor and return EBADF.
10901 * sysdeps/mach/hurd/dup2.c: Likewise.
10902 * sysdeps/mach/hurd/fcntl.c: Likewise.
10903 Use HURD_FD_PORT_USE macro for RPCs.
10904 * sysdeps/mach/hurd/sysd-stdio.c: Don't lock the descriptor before
10905 using HURD_FD_PORT_USE.
10906 * sysdeps/mach/hurd/defs.c (init_stdio): Don't expect _hurd_fd_get
10907 to lock the descriptor.
10908 * sysdeps/mach/hurd/stdio_init.c: Use critical sections while
10909 locking the descriptor.
10910 * sysdeps/mach/hurd/fdopen.c: Likewise.
10911 * hurd/fd-close.c: Likewise.
10912 Don't expect the descriptor to be locked on entry.
10913 Check for empty descriptor and return EBADF.
10915 Factor ctty RPC code for SIGTTIN/SIGTTOU generation out into
10916 new functions _hurd_ctty_input and _hurd_ctty_output, each
10917 called with (io_t port, io_t ctty, error_t (*rpc) (io_t)).
10918 * hurd/ctty-input.c: New file.
10919 * hurd/ctty-output.c: New file.
10920 * hurd/Makefile (dtable): Add ctty-input and ctty-output.
10921 * hurd/fd-read.c: Use _hurd_ctty_input.
10922 * hurd/fd-write.c: Use _hurd_ctty_output.
10923 * sysdeps/mach/hurd/ioctl.c: Likewise.
10924 * hurd/hurd/fd.h (_hurd_ctty_input, _hurd_ctty_output): Declare them.
10926 Mon Feb 13 11:36:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10928 * stdio/vfscanf.c (%e, %f, %g): Use strtod, __strtold, or __strtof
10929 as appropriate to the type.
10931 * sysdeps/ieee754/huge_val.h (__huge_val_t): New macro to avoid
10932 repeating the union.
10933 (HUGE_VAL, __huge_val): Use it.
10934 [__USE_GNU] (HUGE_VALf, HUGE_VALl): New macros, along with
10935 analogous macros to HUGE_VAL's: __huge_val[fl]_t, __HUGE_VAL[fl]_bytes.
10936 * stdlib/strtold.c (FLOAT_HUGE_VAL): Define this to HUGE_VALl.
10937 (STRTOF): Set to __strtold; define strtold as weak alias.
10938 * stdlib/strtof.c (FLOAT_HUGE_VAL): Define this to HUGE_VALf.
10939 (STRTOF): Set to __strtof; define strtof as weak alias.
10941 * sysdeps/ieee754/ieee754.h (union ieee754_float): New type.
10942 (IEEE754_FLOAT_BIAS): New macro.
10944 * sysdeps/ieee754/mpn2ldbl.c: Fix typos.
10946 * stdlib/testmb.c: Add tests from rfg for using normal chars as
10949 * hurd/hurdmalloc.c (malloc_init): Add self reference to avoid not
10950 only the `defined but not used' warning, but also to avoid GCC
10951 optimizing out the entire function (!).
10953 * stdlib/wctomb.c: Include ctype.h.
10955 * Makerules (install-lib-non.a): Don't include $(non-lib.a).
10957 * hurd/hurdmalloc.c: Include string.h; #define bcopy using memcpy.
10959 Sat Feb 11 04:05:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10961 * stdio/printf_fp.c: Include "fpioconst.h".
10962 (_tens_p): Table moved to fpioconst.c, renamed to _fpioconst_pow10.
10963 (__printf_fp): All references changed.
10964 Don't bother computing THOUSANDS_SEP if GROUPING is empty.
10965 (group_number): Use memmove instead of memcpy, since operands overlap.
10966 * stdio/fpioconst.c: New file, tables broken out of stdio/printf_fp.c.
10967 * stdio/fpioconst.h: New file, header declaring the table data.
10968 * stdio/Makefile (aux): Add fpioconst.
10969 (distribute): Add fpioconst.h.
10970 * stdlib/strtod.c: Complete rewrite from drepper.
10971 * stdlib/strtof.c: New file.
10972 * stdlib/strtold.c: New file.
10973 * stdlib/Makefile (routines): Add strtof, strtold.
10974 * stdio/Makefile (routines): Add mpn2flt, mpn2dbl, mpn2ldbl.
10975 * sysdeps/stub/mpn2flt.c: New file.
10976 * sysdeps/stub/mpn2dbl.c: New file.
10977 * sysdeps/stub/mpn2ldbl.c: New file.
10978 * sysdeps/ieee754/mpn2flt.c: New file.
10979 * sysdeps/ieee754/mpn2dbl.c: New file.
10980 * sysdeps/ieee754/mpn2ldbl.c: New file.
10982 * Makerules (install-lib.a): Don't filter out $(non-lib.a).
10983 ($(install-lib.a) in $(libdir) rule): Elide ranlib command when $@
10984 appears in $(non-lib.a).
10986 Fri Feb 10 17:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10988 * stdlib/wctomb.c: A normal ASCII character translates to itself.
10989 * stdlib/mbtowc.c: Likewise.
10991 Thu Feb 9 03:55:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
10993 * setjmp/setjmp.h (longjmp, _longjmp, __longjmp, siglongjmp):
10994 Remove `const' from prototypes.
10995 * sysdeps/m68k/__longjmp.c: Likewise.
10996 * setjmp/longjmp.c: Likewise.
10997 * sysdeps/i386/__longjmp.c: Likewise.
10999 * sysdeps/posix/tempname.c: Increment *IDX at beginning of loop,
11000 so when we return a name, it is incremented past the value that
11001 produces that same name.
11003 * stdio/fgets.c (fgets): Change `size_t' to `int' in prototype. Sigh.
11004 * stdio/stdio.h (fgets): Likewise.
11006 * stdio/vfprintf.c (printf_unknown): Print ' for INFO->group flag.
11008 * hurd/fd-write.c: Don't clobber ERR with the msg_sig_post call
11009 when it's EBACKGROUND; we need to notice that it is EBACKGROUND
11011 * hurd/fd-read.c: Likewise.
11013 Wed Feb 8 05:01:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11015 * sysdeps/mach/sysdep.h (FATAL_PREPARE_INCLUDE): New macro, set to
11016 <mach/mig_support.h>.
11017 * assert/assert-perr.c [FATAL_PREPARE_INCLUDE]: Include it.
11018 * assert/assert.c: Likewise.
11019 * sysdeps/posix/libc_fatal.c: Likewise.
11021 Tue Feb 7 12:17:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11023 * stdio/stdio.h [__STRICT_ANSI__] (stdin, stdout, stderr): Define
11024 as macros, to satisfy ANSI pedants.
11026 * stdio/internals.c (flushbuf): When there is no new data after
11027 priming the stream, return without writing out the buffer.
11028 * stdio/Makefile (tests): Add bug7.
11029 * stdio/bug7.c: New file.
11031 * io/sys/stat.h (S_IFIFO, S_IFLNK, S_IFSOCK, S_ISFIFO, S_ISLNK,
11032 S_ISSOCK): Define only if the corresponding underlying __S_IF* macro
11035 * stdio/getdelim.c: Decrement COPY after getting a char from __fillbf.
11037 * stdio/Makefile (tests): Add errnobug.
11038 * stdio/errnobug.c: New file.
11040 * mach/mig_strncpy.c: Include string.h.
11042 * sysdeps/mach/sysdep.h: Don't #include <mach/mig_support.h>. Its
11043 inlines cause trouble for files defining global register variables.
11045 * stdio/vfprintf.c: Use _strerror_internal for %m.
11047 * sysdeps/ieee754/dbl2mpn.c: Fixes from drepper for 64-bit limbs.
11049 * stdio/printf.h (struct printf_info): New member `group', for %' flag.
11050 * stdio/printf-prs.c (parse_printf_format): Grok %' flag and set flag.
11051 * stdio/vfprintf.c (group_number): New function.
11052 (vfprintf): Support %' flag for integer formats, by calling
11053 group_number after formatting the number in WORK.
11054 * stdio/printf_fp.c (guess_grouping, group_number): New functions.
11055 (__printf_fp): Implement `group' flag using them.
11057 * Makefile (include sysd-dirs): Protect with ifndef avoid-generated.
11058 (parent-clean): Remove sysd-rules, not sysdirs.
11059 (distclean): Pass avoid-generated=yes to submake.
11060 (distclean-1): Remove $(sysdep-$(distclean-1)).
11062 * Makerules (objects, objs): Depend on $(extra-objs) too.
11063 (include sysd-Makefile): Protect with ifndef avoid-generated.
11065 * Makeconfig (+defines, +gnu-stabs, gnu-as): Variables removed.
11066 (CPPFLAGS): Use $(defines) in place of $(+defines).
11067 Replace -D_LIBC with -include $(..)libc-symbols.h.
11069 * stdio/freopen.c: Set seen bit before calling fclose.
11071 Mon Feb 6 18:34:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11073 * sysdeps/mach/hurd/setpriority.c: Keep track of numbers of
11074 successes and each kind of failure. Return EPERM or EACCES only
11075 if every task failed that way.
11077 * sysdeps/mach/hurd/getpriority.c: Handle out of band buffers
11080 * sysdeps/mach/hurd/ptrace.c (PTRACE_ATTACH, PTRACE_DETACH): Stop
11081 or resume the process after frobbing.
11083 * hurd/hurdsig.c: Use spin lock operations on sigstate locks
11085 (_hurd_thread_sigstate): Don't lock the sigstate lock.
11086 (_hurd_internal_post_signal): New subfunction `mark_pending'; replace
11087 repeated sequences with calls to it. Don't expect the sigstate
11088 lock to be held on entry; lock it just before examining sigaction.
11089 In handler case, check SS->critical_section after calling
11090 abort_rpcs; if set, mark the signal pending and resume the thread.
11091 * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): Function removed.
11092 (_hurd_self_sigstate): Don't lock the sigstate lock.
11093 (HURD_EINTR_RPC): Call _hurd_self_sigstate instead of
11094 _hurd_self_sigstate_unlocked.
11095 * hurd/msgportdemux.c: Don't expect _hurd_self_sigstate to lock
11097 * hurd/hurdexec.c: Use spin lock operations on sigstate lock.
11098 Don't expect _hurd_self_sigstate to lock it. Fix critical section
11100 * hurd/hurd-raise.c: Likewise.
11101 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
11102 * sysdeps/mach/hurd/sigpending.c: Likewise.
11103 * sysdeps/mach/hurd/sigaltstack.c: Likewise.
11104 * sysdeps/mach/hurd/sigaction.c: Likewise.
11105 * sysdeps/mach/hurd/sigprocmask.c: Likewise.
11106 * hurd/fd-write.c: Likewise.
11107 * hurd/fd-read.c: Likewise.
11108 * sysdeps/mach/hurd/ioctl.c: Likewise.
11109 * sysdeps/mach/hurd/fork.c: Likewise.
11110 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
11111 * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
11112 * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
11113 * hurd/hurdmsg.c (get_int): Likewise.
11115 * stdio/vfprintf.c: Include stddef.h. Fix typos in libio code.
11117 * stdio/vfprintf.c (__pad): Function renamed to __printf_pad, made
11119 (PAD): Caller changed.
11120 * stdio/printf_fp.c (__pad): Function removed.
11121 (PAD): Use __printf_pad instead.
11123 Sun Feb 5 17:59:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11125 Merged new FP printer by Ulrich Drepper.
11126 * stdio/printf_fp.c: Rewrite by drepper.
11127 * stdio/Makefile (routines): Add ldbl2mpn.
11128 * sysdeps/ieee754/ieee754.h (union ieee754_double): Add `ieee_nan'
11130 (union ieee854_long_double): New type, from drepper.
11131 (IEEE754_DOUBLE_BIAS, IEEE854_LONG_DOUBLE_BIAS): New macros.
11132 * sysdeps/ieee754/ldbl2mpn.c: New file, by drepper.
11133 * sysdeps/stub/ldbl2mpn.c: New file.
11134 * math/Makefile (routines): Add isinfl and isnanl.
11135 * sysdeps/ieee754/isinfl.c: New file.
11136 * sysdeps/stub/isinfl.c: New file.
11137 * sysdeps/ieee754/isnanl.c: New file.
11138 * sysdeps/stub/isnanl.c: New file.
11140 * malloc/malloc.c (__malloc_extra_blocks): New variable.
11141 (malloc): When getting more core, get __malloc_extra_blocks extra;
11142 put the new block at the end of the free list and let the next loop
11143 iteration use the initial portion of it.
11144 * malloc/free.c (_free_internal): Account for twice
11145 __malloc_extra_blocks in deciding if we have so much extra memory
11146 we should return it to the system.
11147 * malloc/malloc.h (__malloc_extra_blocks): Declare it.
11148 * posix/glob.c (prefix_array, glob_pattern_p): Remove gratuitous
11149 const in parameter decl.
11151 * sysdeps/unix/mips/sysdep.h (ENTRY): Add `.ent' directive.
11153 Fri Feb 3 18:15:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11155 * munch.awk (EXTERNS): Print decls using __P instead of EXFUN.
11157 * sysdeps/mips/setjmp_aux.c: Use ENV[0].__jmpbuf[0].
11158 * sysdeps/mips/bsd-_setjmp.S: Use `li' insn instead of `move'.
11159 * sysdeps/mips/bsd-setjmp.S: Likewise.
11160 * sysdeps/mips/__longjmp.c: Remove obsolete __NORETURN keyword.
11161 * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
11162 Use `long int' for sigcode. Use explicit register numbers instead
11164 (_hurdsig_rcv_interrupted_p): Use _hurdsig_catch_fault.
11165 * sysdeps/mach/hurd/mips/exc2signal.c: Use `long int' for sigcode.
11167 Thu Feb 2 20:06:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11169 * hurd/hurdmalloc.c: Remove bogus bcopy decl.
11171 * mach/mig_strncpy.c: Add missing `const' in prototype. Rewritten
11174 * io/ftw.c (ftw, ftw_dir): Treat ENOENT from stat like EACCES.
11176 * stdio/vfprintf.c: Set PREC to zero for %. without following digit.
11178 Tue Jan 31 13:49:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11180 * mach/mig_strncpy.c: Include mach.h instead of string.h. Use
11181 vm_size_t instead of size_t for arg and return types.
11183 * mach/mach_init.c: Don't declare __mig_init; mach/mig_support.h
11186 Mon Jan 30 00:33:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11188 * set-hooks.h (RUN_HOOK): Dereference PTR properly.
11190 * configure.in (friendly stddef.h check): Write override defn for
11191 `stddef.h' Make variable.
11192 (AC_LINK_FILES): Use `echo ...` to avoid " " appearing nonempty.
11194 * configure.in (host_os=sysv4*|solaris2*): Set elf=yes.
11196 * Rules ($(objpfx)dummy.o): Write an empty function, not just an
11199 * sysdeps/sparc/Makefile (sysdep-realclean): New variable.
11201 Sat Jan 28 03:38:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11203 * Makefile (distribute): Remove gnu-stabs.h; add libc-symbols.h.
11205 * sysdeps/mach/sysdep.h [ASSEMBLER]: Protect include of
11206 mach/machine/syscall_sw.h with this.
11208 Fri Jan 27 18:33:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11210 * hurd/hurd/signal.h: Include <hurd/msg.h>, and <spin-lock.h>
11211 instead of <lock-intern.h>.
11212 (struct hurd_sigstate): Member `lock' changed to a `spin_lock_t'.
11213 (_hurd_critical_section_lock): Use spin lock operators.
11214 Don't hold the sigstate lock, unlock it after setting the flag.
11215 (_hurd_critical_section_unlock): Take the sigstate lock
11216 to clear the flag; while holding it, check pending signals. After
11217 unlocking, sig_post ourselves if there were pending signals.
11219 * hurd/catch-exc.c (_S_catch_exception_raise): Don't take the
11220 sigstate lock. If it is locked, clear SS->critical_section and
11221 SS->context, and unlock it.
11223 * sysdeps/mach/sysdep.h (EXT, LEXT): New macros.
11225 * set-init.c (__libc_init) [HAVE_ELF]: Run _init and atexit (_fini).
11226 * munch-tmpl.c: Likewise.
11228 * mach/Makefile (routines): Don't filter out syscall_% from
11231 Fri Jan 27 17:53:49 1995 Jim Meyering (meyering@comco.com)
11233 * posix/fnmatch.c: Declare errno if it's not defined.
11234 That's simpler than testing #if !defined(__GNU_LIBRARY__)
11235 && !defined(STDC_HEADERS).
11237 Fri Jan 27 15:40:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11239 * csu/Makefile: New file.
11240 * csu/initfini.c: New file.
11241 * Makefile (+other_dirs): Add csu.
11242 (+init): Variable renamed to libc-init. All references changed.
11243 (aux): Remove start.
11244 (install-lib): Variable removed.
11245 (crt0.o, Mcrt1.o crt1.o): Targets removed.
11247 * mach/Machrules (static deps of RPC_*.o): Add $(..)libc-symbols.h
11248 and $(objpfx)config.h.
11249 (static deps of RPC alias *.o): Removed.
11251 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h [ASSEMBLER]:
11252 Protect macros with this.
11253 * sysdeps/unix/bsd/osf1/alpha/sysdep.h: Likewise.
11254 * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
11255 * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
11256 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
11257 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
11258 * sysdeps/unix/mips/sysdep.h: Likewise.
11260 Thu Jan 26 00:02:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11262 * Makerules (compile.[Sc]): Match gcc in $(CC) better.
11263 (BUILD_CFLAGS): Instead of $(config-defines), use -include config.h.
11265 * hurd/intr-rpc.awk: Emit weak alias.
11267 * sysdeps/unix/bsd/sun/sunos4/wait4.c: Call getpgrp instead of
11270 * sysdeps/unix/bsd/hp/m68k/sysdep.h [ASSEMBLER]: Protect macros with
11272 * sysdeps/unix/i386/sysdep.h: Likewise.
11273 * sysdeps/unix/sparc/sysdep.h: Likewise.
11275 * io/ftw.c: Avoid `ret' as variable name.
11276 * posix/glob.c: Likewise.
11278 * ctype/ctype.h (_ISalpha): Define as its own bit.
11279 * locale/C-ctype_ct.c (__ctype_b_C): Set _ISalpha bit in all letters.
11281 * stdlib/exit.c [HAVE_GNU_LD]: Protect #include "set-hooks.h" and
11282 DEFINE_HOOK with this.
11284 Wed Jan 25 00:45:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11286 * hurd/hurdinit.c: Use DECLARE_HOOK instead of `extern DEFINE_HOOK'.
11287 * mach/spin-solid.c (spin_lock_solid): Define as weak alias to __name.
11288 * mach/shortcut.awk: Emit weak alias.
11289 * mach/spin-lock.c: Add weak aliases for all spin-lock.h functions.
11290 * mach/mach_init.c (mach_init, vm_page_size): Defin weak aliases for
11292 * mach/Makefile (lock): Remove spin-syms.
11293 (routines): Remove __ names, vm_page_size, msgserver_t.
11294 ($(mach-syscalls) rule): Generate files without __, add weak alias.
11295 Remove symbol alias file rule.
11296 ($(mach-shortcuts) rule): Likewise.
11297 [!mach-shortcuts] (user-interfaces): Filter out mach/mach4 too.
11298 * mach/Machrules (if-calls.c): Variable and rule removed.
11299 (interface-headers): Don't add $($(if)-calls).
11300 (transform-user-stub): Define to add weak alias.
11301 * set-hooks.h: Use new libc-symbols.h set access macros.
11302 * time/Makefile (routines): Remove __ names.
11303 (aux): Variable removed.
11304 * hurd/Makefile: Likewise.
11305 * sysdeps/unix/start.c (environ): Define as weak alias for __environ.
11306 (data_start): Define as weak alias for __data_start.
11307 * sysdeps/mach/hurd/start.c: Likewise.
11308 * sysdeps/unix/sparc/start.c: Likewise.
11309 * sysdeps/unix/make_errlist.c: Emit weak aliases for sys_nerr and
11311 * sysdeps/mach/hurd/errlist.awk: Likewise.
11312 * sysdeps/unix/bsd/osf1/alpha/start.S (environ): Define as weak
11313 alias for __environ.
11314 * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
11315 * sysdeps/stub/setdomain.c: Use new stub_warning macro.
11316 * sysdeps/stub/getdomain.c: Likewise.
11317 * sysdeps/stub/vhangup.c: Likewise.
11318 * sysdeps/stub/swapon.c: Likewise.
11319 * sysdeps/stub/sendmsg.c: Likewise.
11320 * sysdeps/stub/recvmsg.c: Likewise.
11321 * sysdeps/stub/acct.c: Likewise.
11322 * sysdeps/stub/isinf.c: Likewise. Add weak alias isinf for __isinf.
11323 * sysdeps/mach/hurd/_exit.c: Remove obsolete __NORETURN keyword.
11324 * sysdeps/posix/libc_fatal.c: Likewise.
11325 * sysdeps/i386/abort.c: Likewise.
11326 * sysdeps/i386/__longjmp.c: Likewise.
11327 * sysdeps/generic/make_siglist.c: Emit defn always for
11328 _sys_siglist. Emit weak alias to sys_siglist.
11329 * sysdeps/generic/atan.c: Remove obsolete __CONSTVALUE keyword.
11330 * sysdeps/ieee754/log10.c: Likewise.
11331 * time/difftime.c: Likewise.
11332 * stdlib/random.c (srand): Define as weak alias for __srandom.
11333 * stdlib/exit.c: Remove obsolete __NORETURN keyword. Use set-hooks
11334 macros for __libc_atexit.
11335 * stdlib/Makefile (routines): Remove __random, srand.
11336 * stdio/gets.c: Use new link_warning macro instead of old
11338 * stdio/Makefile (routines): Remove __ names.
11339 (aux): Remove syms-stdio.
11340 * socket/Makefile (routines): Added e on getpeernam and getsocknam.
11341 * setjmp/longjmp.c: Remove obsolete __NORETURN keyword.
11342 * setjmp/Makefile (routines): Remove _longjmp, siglongjmp.
11343 * setjmp/setjmp.h: Replace __NORETURN keyword with __attribute__ uses.
11344 * stdio/stdio.h: Likewise.
11345 * misc/Makefile (routines): Remove __ names.
11346 (aux): Remove data_start.
11347 * sysdeps/mach/hurd/defs.c: Don't include gnu-stabs.h.
11348 * sysdeps/mach/hurd/brk.c: Likewise.
11349 * hurd/hurdid.c: Likewise.
11350 * hurd/hurdpid.c: Likewise.
11351 * hurd/openport.c: Likewise.
11352 * hurd/hurdsock.c: Likewise.
11353 * hurd/hurdsig.c: Likewise.
11354 * hurd/hurdrlimit.c: Likewise.
11355 * hurd/hurdmalloc.c: Likewise.
11356 * hurd/dtable.c: Likewise.
11357 * hurd/setauth.c: Likewise.
11358 * misc/progname.c: Likewise.
11359 * misc/init-misc.c: Likewise.
11360 * sysdeps/generic/vfork.c: Likewise.
11361 * sysdeps/unix/bsd/init-posix.c: Likewise.
11362 * math/math.h: Replace __CONSTVALUE keyword with __attribute__ uses.
11363 * time/time.h: Likewise.
11364 * math/Makefile (routines): Remove __ names.
11365 * io/Makefile: Likewise.
11366 * termios/Makefile: Likewise.
11367 * resource/Makefile: Likewise.
11368 * signal/Makefile: Likewise.
11369 * dirent/Makefile: Likewise.
11370 * assert/assert.h: Replace __NORETURN keyword with __attribute__
11371 uses. Functions return void and macros deal with this.
11372 * assert/assert-perr.c: Remove obsolete __NORETURN keyword.
11373 Return void. Don't include gnu-stabs.h.
11374 * assert/assert.c: Likewise.
11375 * posix/Makefile (routines): Remove __ names, setpgrp. Add
11377 (aux): Remove environ.
11378 * stdlib/stdlib.h (abort, exit): Replace __NORETURN keyword with
11380 * posix/unistd.h (_exit): Likewise.
11381 (__getpgrp, __setpgrp): Declarations removed.
11382 (__getpgid, getpid): Declare these.
11384 * configure.in (host_os=gnuelf|linuxelf): Set elf=yes. Do AC_SUBST
11385 for gnu_ld, gnu_as, elf, and weak. Call AC_LINK_FILEES on
11386 $libc_link_{sources,dests}.
11387 * sysdeps/unix/configure.in: Remove __ from file names. Don't
11388 create files, just add to libc_link_{dests,sources}.
11390 * config.make.in (gnu-as, gnu-ld, elf, weak-symbols): New variables.
11392 * config.h.in: Add #undefs used by sysdeps configures.
11394 * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Removed
11395 __setpgid, __getpgid.
11396 * sysdeps/unix/sysv/sco3.2.4/setpgid.c: Included file was renamed
11398 * sysdeps/unix/sysv/sco3.2.4/getpgid.c: Included file was renamed
11400 * sysdeps/unix/bsd/getpgrp.c: File removed.
11401 * sysdeps/generic/getpgrp.c: Moved from sysdeps/stub/getpgrp.c.
11402 Call __getpgid with zero.
11403 * sysdeps/stub/setpgid.c: Renamed __setpgrp to __setpgid, added
11404 weak aliases setpgid and setpgrp.
11405 * sysdeps/unix/sysv/irix4/setpgid.S: Likewise.
11406 * sysdeps/unix/common/setpgid.S: Likewise.
11407 * sysdeps/mach/hurd/setpgid.c: Likewise.
11408 * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
11409 Use subcall 5 to __pgrpsys.
11410 * sysdeps/stub/getpgid.c: Renamed __getpgrp to __getpgid, added
11411 weak alias getpgid.
11412 * sysdeps/mach/hurd/getpgid.c: Likewise.
11413 * sysdeps/unix/sysv/irix4/getpgid.S: Likewise.
11414 * sysdeps/unix/common/getpgid.S: Likewise.
11415 * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
11416 Use subcall 4 to __pgrpsys.
11417 * sysdeps/stub/__getpgrp.c: Renamed to getpgid.c.
11418 * sysdeps/unix/sysv/sysv4/__getpgrp.c: Renamed to getpgid.c.
11419 * sysdeps/unix/sysv/sco3.2.4/__getpgrp.c: Renamed to getpgid.c.
11420 * sysdeps/unix/sysv/irix4/__getpgrp.S: Renamed to getpgid.S.
11421 * sysdeps/unix/common/__getpgrp.S: Renamed to getpgid.S.
11422 * sysdeps/mach/hurd/__getpgrp.c: Renamed to getpgid.c.
11423 * sysdeps/stub/setpgrp.c: Renamed to setpgid.c.
11424 * sysdeps/unix/sysv/sysv4/setpgrp.c: Renamed to setpgid.c.
11425 * sysdeps/unix/sysv/sco3.2.4/setpgrp.c: Renamed to setpgid.c.
11426 * sysdeps/unix/sysv/irix4/setpgrp.S: Renamed to setpgid.S.
11427 * sysdeps/unix/common/setpgrp.S: Renamed to setpgid.S.
11428 * sysdeps/mach/hurd/setpgrp.c: Renamed to setpgid.c.
11430 * sysdeps/unix/bsd/hp/m68k/getdents.S: Included file was renamed
11433 * sysdeps/posix/defs.c: Don't include gnu-stabs.h.
11434 * sysdeps/stub/sigpending.c: Use new libc-symbols.h macro for stub
11436 * sysdeps/stub/fexecve.c: Likewise.
11437 * sysdeps/stub/fchdir.c: Likewise.
11438 * sysdeps/stub/fchflags.c: Likewise.
11439 * sysdeps/stub/chflags.c: Likewise.
11441 * sysdeps/m68k/__longjmp.c: Remove __NORETURN; it's obsolete.
11442 * sysdeps/generic/abort.c: Likewise.
11443 * sysdeps/ieee754/ldexp.c: Remove __CONSTVALUE; it's obsolete.
11445 * hurd/hurdioctl.c: Include hurd/ioctl.h.
11446 (_hurd_ioctl_handler_lists): Define this set.
11447 (_hurd_lookup_ioctl_handler): New function.
11448 * hurd/hurd/fd.h: ioctl handler stuff moved to hurd/ioctl.h.
11449 * hurd/hurd/ioctl.h: New file, broken out of hurd/fd.h.
11450 (_hurd_lookup_ioctl_handler): Declare it.
11451 (ioctl_handler_t): New typedef. Use it throughout.
11452 * sysdeps/mach/hurd/ioctl.c: Include hurd/ioctl.h.
11453 (_hurd_ioctl_handler_lists): Don't define.
11454 (__ioctl): Call _hurd_lookup_ioctl_handler.
11456 * stdlib/strtol.c (maxquad): Make this const.
11457 [__GNUC__ == 2 && __GNUC_MINOR__ < 7]: Only use maxquad in this case.
11459 * posix/glob/configure.in: Put AC_AIX and AC_MINIX early, before
11462 * sysdeps/mach/hurd/setitimer.c (timer_thread): Call
11463 __msg_sig_post_request, not __sig_post_request.
11465 * misc/getusersh.c: Renamed to getusershell.c.
11466 * sysdeps/stub/sethostnam.c: Renamed to sethostname.c.
11467 * sysdeps/unix/inet/sethostnam.S: Renamed to sethostname.S.
11468 * sysdeps/unix/sysv/sysv4/sethostnam.c: Renamed to sethostname.c.
11469 * sysdeps/mach/hurd/sethostnam.c: Renamed to sethostname.c.
11471 Tue Jan 24 00:14:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11473 * sysdeps/stub/settod.c: Renamed to settimeofday.c.
11474 * sysdeps/unix/bsd/settod.S: Renamed to settimeofday.c.
11475 * sysdeps/unix/sysv/settod.c: Renamed to settimeofday.c.
11476 * sysdeps/mach/hurd/settod.c: Renamed to settimeofday.c.
11477 * sysdeps/stub/setitmr.c: Renamed to setitimer.c.
11478 * sysdeps/unix/common/setitmr.S: Renamed to setitimer.S.
11479 * sysdeps/mach/hurd/setitmr.c: Renamed to setitimer.c.
11480 * sysdeps/posix/fpathcon.c: Renamed to fpathconf.c.
11481 * sysdeps/stub/fpathcon.c: Renamed to fpathconf.c.
11482 * sysdeps/unix/sysv/irix4/fpathcon.c: Renamed to fpathconf.c.
11483 * sysdeps/stub/getprio.c: Renamed to getpriority.c.
11484 * sysdeps/unix/sysv/irix4/getprio.c: Renamed to getpriority.c.
11485 * sysdeps/unix/common/getprio.S: Renamed to getpriority.S.
11486 * sysdeps/mach/hurd/getprio.c: Renamed to getpriority.c.
11487 * sysdeps/stub/setprio.c: Renamed to setpriority.c.
11488 * sysdeps/unix/sysv/irix4/setprio.c: Renamed to setpriority.c.
11489 * sysdeps/unix/common/setprio.S: Renamed to setpriority.S.
11490 * sysdeps/mach/hurd/setprio.c: Renamed to setpriority.c.
11491 * sysdeps/stub/getpeernam.c: Renamed to getpeername.c.
11492 * sysdeps/unix/inet/getpeernam.S: Renamed to getpeername.S.
11493 * sysdeps/unix/sysv/linux/getpeernam.S: Renamed to getpeername.S.
11494 * sysdeps/mach/hurd/getpeernam.c: Renamed to getpeername.c.
11495 * sysdeps/stub/getsocknam.c: Renamed to getsockname.c.
11496 * sysdeps/unix/inet/getsocknam.S: Renamed to getsockname.S.
11497 * sysdeps/unix/sysv/linux/getsocknam.S: Renamed to getsockname.S.
11498 * sysdeps/mach/hurd/getsocknam.c: Renamed to getsockname.c.
11499 * sysdeps/stub/sigaltstk.c: Renamed to sigaltstack.c.
11500 * sysdeps/unix/bsd/bsd4.4/sigaltstk.S: Renamed to sigaltstack.S.
11501 * sysdeps/unix/sysv/sysv4/sigaltstk.S: Renamed to sigaltstack.S.
11502 * sysdeps/mach/hurd/sigaltstk.c: Renamed to sigaltstack.c.
11504 * sysdeps/mach/hurd/i386/sigreturn.c: Call __msg_sig_post instead
11506 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
11507 * sysdeps/mach/hurd/kill.c: Likewise.
11508 * sysdeps/mach/hurd/sigprocmask.c: Likewise.
11510 * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Macros removed.
11511 [!__GNUC__ || __GNUC__<2] (__attribute__): Define to empty.
11513 * sysdeps/stub/remove.c: New file.
11514 * sysdeps/posix/remove.c: New file.
11516 Mon Jan 23 03:26:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11518 * time/mktime.c [weak_alias] (timelocal): Define as weak alias for
11520 * mach/mig_strncpy.c (mig_strncpy): Define as weak alias for
11522 * mach/msg-destroy.c: Renamed from __msg_dest.c.
11523 (mach_msg_destroy): Define as weak alias for __mach_msg_destroy.
11524 * mach/setup-thread.c (mach_setup_thread): Define as weak alias.
11525 * time/tzset.c (tzname, daylight, timezone): Define as weak
11526 aliases for __ names.
11527 * hurd/hurdkill.c (hurd_sig_post): Define as weak alias.
11528 * hurd/hurdlookup.c: Add weak aliases for non-__ names.
11529 * Makefile (+init): Test $(gnu-ld)=yes, not for $(+gnu-stabs)
11532 Sun Jan 22 15:19:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11534 * string/Makefile (routines): Remove __ names, index, rindex, and
11536 * sysdeps/alpha/strchr.c [weak_alias] (index): Define as weak
11538 * sysdeps/generic/strchr.c: Likewise.
11539 * sysdeps/generic/strrchr.c [weak_alias] (rindex): Define as weak
11541 * sysdeps/generic/memcmp.c [weak_alias] (bcmp): Define as weak
11544 * malloc/free.c (cfree): Define this function, with weak_alias if
11545 available, otherwise a C function.
11546 * malloc/Makefile (gmalloc-routines): Remove cfree.
11548 Sat Jan 21 08:08:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11550 * stdio/fseek.c: Do move bufp by O when that puts it exactly at
11551 get_limit. This has the effect of no-op'ing properly for zero.
11553 * configure.in: Add AC_CONFIG_HEADER(config.h).
11554 (--with-elf, --with-weak-symbols): Grok these and define HAVE_*.
11555 * config.h.in: New file.
11557 * setjmp/longjmp.c: Add weak aliases _longjmp, siglongjmp.
11558 All code converted to use weak symbols, defined in the files which
11559 define the real code (with the __ names, the non-__ names are weak).
11560 All old symbol alias files removed.
11561 Many files renamed to remove __ prefix since there is now just
11562 the one file for both the __ and non-__ name for each function.
11563 * libc-symbols.h: New file.
11564 * set-hooks.h: Use libc-symbols.h macros for accessing symbol
11566 * gnu-stabs.h: Prepend #error this file is obsolete.
11567 * sysdeps/ieee754/ldexp.c: Add weak aliases scalb and __scalb.
11568 * sysdeps/stub/__access.c: Renamed to access.c; added weak alias
11570 * sysdeps/unix/common/__access.S: Likewise.
11571 * sysdeps/mach/hurd/__access.c: Likewise.
11572 * sysdeps/stub/__adjtime.c: Renamed to adjtime.c; added weak alias
11574 * sysdeps/unix/common/__adjtime.S: Likewise.
11575 * sysdeps/mach/__adjtime.c: Likewise.
11576 * sysdeps/mach/hurd/__adjtime.c: Likewise.
11577 * sysdeps/stub/__brk.c: Renamed to brk.c; added weak alias brk.
11578 * sysdeps/unix/bsd/sun/m68k/__brk.S: Likewise.
11579 * sysdeps/unix/bsd/vax/__brk.S: Likewise.
11580 * sysdeps/unix/bsd/hp/m68k/__brk.S: Likewise.
11581 * sysdeps/unix/bsd/osf1/alpha/__brk.S: Likewise.
11582 * sysdeps/unix/i386/__brk.S: Likewise.
11583 * sysdeps/unix/sparc/__brk.S: Likewise.
11584 * sysdeps/unix/mips/__brk.S: Likewise.
11585 * sysdeps/mach/hurd/__brk.c: Likewise.
11586 * sysdeps/standalone/__brk.c: Likewise.
11587 * sysdeps/stub/__chdir.c: Renamed to chdir.c; added weak alias chdir.
11588 * sysdeps/unix/__chdir.S: Likewise.
11589 * sysdeps/mach/hurd/__chdir.c: Likewise.
11590 * sysdeps/stub/__chmod.c: Renamed to chmod.c; added weak alias chmod.
11591 * sysdeps/unix/__chmod.S: Likewise.
11592 * sysdeps/mach/hurd/__chmod.c: Likewise.
11593 * sysdeps/stub/__chown.c: Renamed to chown.c; added weak alias chown.
11594 * sysdeps/unix/__chown.S: Likewise.
11595 * sysdeps/mach/hurd/__chown.c: Likewise.
11596 * sysdeps/stub/__close.c: Renamed to close.c; added weak alias close.
11597 * sysdeps/unix/__close.S: Likewise.
11598 * sysdeps/mach/hurd/__close.c: Likewise.
11599 * sysdeps/standalone/__close.c: Likewise.
11600 * sysdeps/generic/__copysign.c: Renamed to copysign.c; added weak
11602 * sysdeps/ieee754/__copysign.c: Likewise.
11603 * sysdeps/alpha/__copysign.c: Likewise.
11604 * sysdeps/ieee754/__drem.c: Renamed to drem.c; added weak alias drem.
11605 * sysdeps/m68k/fpu/__drem.c: Likewise.
11606 * sysdeps/stub/__drem.c: Likewise.
11607 * sysdeps/posix/__dup.c: Renamed to dup.c; added weak alias dup.
11608 * sysdeps/stub/__dup.c: Likewise.
11609 * sysdeps/unix/__dup.S: Likewise.
11610 * sysdeps/posix/__dup2.c: Renamed to dup2.c; added weak alias dup2.
11611 * sysdeps/stub/__dup2.c: Likewise.
11612 * sysdeps/unix/sysv/sysv4/__dup2.c: Likewise.
11613 * sysdeps/unix/sysv/irix4/__dup2.c: Likewise.
11614 * sysdeps/unix/common/__dup2.S: Likewise.
11615 * sysdeps/mach/hurd/__dup2.c: Likewise.
11616 * sysdeps/stub/__execve.c: Renamed to execve.c; added weak alias
11618 * sysdeps/unix/__execve.S: Likewise.
11619 * sysdeps/mach/hurd/__execve.c: Likewise.
11620 * sysdeps/generic/__expm1.c: Renamed to expm1.c; added weak alias
11622 * sysdeps/m68k/fpu/__expm1.c: Likewise.
11623 * sysdeps/stub/__fchmod.c: Renamed to fchmod.c; added weak alias
11625 * sysdeps/unix/common/__fchmod.S: Likewise.
11626 * sysdeps/mach/hurd/__fchmod.c: Likewise.
11627 * sysdeps/stub/__fchown.c: Renamed to fchown.c; added weak alias
11629 * sysdeps/unix/common/__fchown.S: Likewise.
11630 * sysdeps/mach/hurd/__fchown.c: Likewise.
11631 * sysdeps/stub/__fcntl.c: Renamed to fcntl.c; added weak alias fcntl.
11632 * sysdeps/unix/__fcntl.S: Likewise.
11633 * sysdeps/mach/hurd/__fcntl.c: Likewise.
11634 * math/__finite.c: Renamed to finite.c; added weak alias finite.
11635 * sysdeps/posix/__flock.c: Renamed to flock.c; added weak alias flock.
11636 * sysdeps/stub/__flock.c: Likewise.
11637 * sysdeps/unix/bsd/__flock.S: Likewise.
11638 * sysdeps/mach/hurd/__flock.c: Likewise.
11639 * hurd/__fopenport.c: Renamed to fopenport.c; added weak alias
11641 * sysdeps/stub/__fork.c: Renamed to fork.c; added weak alias fork.
11642 * sysdeps/unix/__fork.S: Likewise.
11643 * sysdeps/unix/bsd/osf1/alpha/__fork.S: Likewise.
11644 * sysdeps/unix/i386/__fork.S: Likewise.
11645 * sysdeps/unix/sparc/__fork.S: Likewise.
11646 * sysdeps/unix/mips/__fork.S: Likewise.
11647 * sysdeps/mach/hurd/__fork.c: Likewise.
11648 * sysdeps/posix/__fpathcon.c: Renamed to fpathcon.c; added weak
11650 * sysdeps/stub/__fpathcon.c: Likewise.
11651 * sysdeps/unix/sysv/irix4/__fpathcon.c: Likewise.
11652 * sysdeps/stub/__fstat.c: Renamed to fstat.c; added weak alias fstat.
11653 * sysdeps/unix/__fstat.S: Likewise.
11654 * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise.
11655 * sysdeps/mach/hurd/__fstat.c: Likewise.
11656 * stdio/__getdelim.c: Renamed to getdelim.c; added weak alias
11658 * sysdeps/stub/__getdents.c: Renamed to getdents.c; added weak
11660 * sysdeps/unix/__getdents.c: Likewise.
11661 * sysdeps/unix/bsd/sun/__getdents.S: Likewise.
11662 * sysdeps/unix/bsd/hp/m68k/__getdents.S: Likewise.
11663 * sysdeps/unix/bsd/ultrix4/__getdents.S: Likewise.
11664 * sysdeps/unix/bsd/bsd4.4/__getdents.S: Likewise.
11665 * sysdeps/unix/bsd/osf1/alpha/__getdents.S: Likewise.
11666 * sysdeps/unix/sysv/__getdents.c: Likewise.
11667 * sysdeps/mach/hurd/__getdents.c: Likewise.
11668 * hurd/__getdport.c: Renamed to getdport.c; added weak alias getdport.
11669 * sysdeps/posix/__getdtsz.c: Renamed to getdtsz.c; added weak
11670 alias getdtablesize.
11671 * sysdeps/stub/__getdtsz.c: Likewise.
11672 * sysdeps/unix/bsd/__getdtsz.S: Likewise.
11673 * sysdeps/unix/sysv/sysv4/__getdtsz.c: Likewise.
11674 * sysdeps/mach/hurd/__getdtsz.c: Likewise.
11675 * sysdeps/stub/__getegid.c: Renamed to getegid.c; added weak alias
11677 * sysdeps/unix/__getegid.S: Likewise.
11678 * sysdeps/mach/hurd/__getegid.c: Likewise.
11679 * sysdeps/stub/__geteuid.c: Renamed to geteuid.c; added weak alias
11681 * sysdeps/unix/__geteuid.S: Likewise.
11682 * sysdeps/mach/hurd/__geteuid.c: Likewise.
11683 * sysdeps/stub/__getgid.c: Renamed to getgid.c; added weak alias
11685 * sysdeps/unix/__getgid.S: Likewise.
11686 * sysdeps/mach/hurd/__getgid.c: Likewise.
11687 * sysdeps/stub/__getgrps.c: Renamed to getgroups.c; added weak
11689 * sysdeps/unix/bsd/sequent/i386/__getgrps.S: Likewise.
11690 * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Likewise.
11691 * sysdeps/unix/sysv/irix4/__getgrps.c: Likewise.
11692 * sysdeps/unix/common/__getgrps.S: Likewise.
11693 * sysdeps/mach/hurd/__getgrps.c: Likewise.
11694 * sysdeps/stub/__gethstnm.c: Renamed to gethostname.c; added weak
11696 * sysdeps/unix/inet/__gethstnm.S: Likewise.
11697 * sysdeps/unix/sysv/__gethstnm.c: Likewise.
11698 * sysdeps/unix/sysv/sysv4/__gethstnm.c: Likewise.
11699 * sysdeps/mach/hurd/__gethstnm.c: Likewise.
11700 * sysdeps/stub/__getitmr.c: Renamed to getitimer.c; added weak
11702 * sysdeps/unix/common/__getitmr.S: Likewise.
11703 * sysdeps/mach/hurd/__getitmr.c: Likewise.
11704 * stdio/__getline.c: Renamed to getline.c; added weak alias getline.
11705 * sysdeps/posix/__getpgsz.c: Renamed to getpagesize.c; added weak
11707 * sysdeps/stub/__getpgsz.c: Likewise.
11708 * sysdeps/unix/__getpgsz.c: Likewise.
11709 * sysdeps/unix/bsd/__getpgsz.S: Likewise.
11710 * sysdeps/unix/sysv/sysv4/__getpgsz.c: Likewise.
11711 * sysdeps/mach/__getpgsz.c: Likewise.
11712 * sysdeps/stub/__getpid.c: Renamed to getpid.c; added weak alias
11714 * sysdeps/unix/__getpid.S: Likewise.
11715 * sysdeps/mach/hurd/__getpid.c: Likewise.
11716 * sysdeps/stub/__getppid.c: Renamed to getppid.c; added weak alias
11718 * sysdeps/unix/__getppid.S: Likewise.
11719 * sysdeps/mach/hurd/__getppid.c: Likewise.
11720 * sysdeps/posix/__gettod.c: Renamed to gettimeofday.c; added weak
11721 alias gettimeofday.
11722 * sysdeps/stub/__gettod.c: Likewise.
11723 * sysdeps/unix/sysv/irix4/__gettod.c: Likewise.
11724 * sysdeps/unix/common/__gettod.S: Likewise.
11725 * sysdeps/mach/__gettod.c: Likewise.
11726 * sysdeps/stub/__getuid.c: Renamed to getuid.c; added weak alias
11728 * sysdeps/unix/__getuid.S: Likewise.
11729 * sysdeps/mach/hurd/__getuid.c: Likewise.
11730 * sysdeps/generic/__infnan.c: Renamed to infnan.c; added weak
11732 * sysdeps/ieee754/__infnan.c: Likewise.
11733 * sysdeps/vax/__infnan.c: Likewise.
11734 * sysdeps/stub/__ioctl.c: Renamed to ioctl.c; added weak alias ioctl.
11735 * sysdeps/unix/__ioctl.S: Likewise.
11736 * sysdeps/mach/hurd/__ioctl.c: Likewise.
11737 * sysdeps/posix/__isatty.c: Renamed to isatty.c; added weak alias
11739 * sysdeps/stub/__isatty.c: Likewise.
11740 * sysdeps/unix/bsd/__isatty.c: Likewise.
11741 * sysdeps/mach/hurd/__isatty.c: Likewise.
11742 * sysdeps/ieee754/__isinf.c: Renamed to isinf.c; added weak alias
11744 * sysdeps/m68k/fpu/__isinf.c: Likewise.
11745 * sysdeps/stub/__isinf.c: Likewise.
11746 * sysdeps/generic/__isnan.c: Renamed to isnan.c; added weak alias
11748 * sysdeps/ieee754/__isnan.c: Likewise.
11749 * sysdeps/m68k/fpu/__isnan.c: Likewise.
11750 * sysdeps/stub/__kill.c: Renamed to kill.c; added weak alias kill.
11751 * sysdeps/unix/__kill.S: Likewise.
11752 * sysdeps/mach/hurd/__kill.c: Likewise.
11753 * sysdeps/stub/__link.c: Renamed to link.c; added weak alias link.
11754 * sysdeps/unix/__link.S: Likewise.
11755 * sysdeps/mach/hurd/__link.c: Likewise.
11756 * sysdeps/ieee754/__logb.c: Renamed to logb.c; added weak alias logb.
11757 * sysdeps/m68k/fpu/__logb.c: Likewise.
11758 * sysdeps/stub/__logb.c: Likewise.
11759 * sysdeps/stub/__lseek.c: Renamed to lseek.c; added weak alias lseek.
11760 * sysdeps/unix/__lseek.S: Likewise.
11761 * sysdeps/mach/hurd/__lseek.c: Likewise.
11762 * sysdeps/generic/__lstat.c: Renamed to lstat.c; added weak alias
11764 * sysdeps/stub/__lstat.c: Likewise.
11765 * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise.
11766 * sysdeps/unix/common/__lstat.S: Likewise.
11767 * sysdeps/mach/hurd/__lstat.c: Likewise.
11768 * sysdeps/generic/__memccpy.c: Renamed to memccpy.c; added weak
11770 * sysdeps/vax/__memccpy.c: Likewise.
11771 * sysdeps/stub/__mkdir.c: Renamed to mkdir.c; added weak alias mkdir.
11772 * sysdeps/unix/sysv/__mkdir.c: Likewise.
11773 * sysdeps/unix/common/__mkdir.S: Likewise.
11774 * sysdeps/mach/hurd/__mkdir.c: Likewise.
11775 * sysdeps/stub/__mknod.c: Renamed to mknod.c; added weak alias mknod.
11776 * sysdeps/unix/__mknod.S: Likewise.
11777 * sysdeps/unix/sysv/sysv4/i386/__mknod.S: Likewise.
11778 * sysdeps/mach/hurd/__mknod.c: Likewise.
11779 * mach/__msg.c: Renamed to msg.c; added weak alias mach_msg.
11780 * mach/__msgserver.c: Renamed to msgserver.c; added weak alias
11782 * sysdeps/stub/__open.c: Renamed to open.c; added weak alias open.
11783 * sysdeps/unix/__open.S: Likewise.
11784 * sysdeps/mach/hurd/__open.c: Likewise.
11785 * sysdeps/standalone/__open.c: Likewise.
11786 * sysdeps/stub/__pathconf.c: Renamed to pathconf.c; added weak
11788 * sysdeps/unix/sysv/sco3.2.4/__pathconf.S: Likewise.
11789 * sysdeps/unix/sysv/irix4/__pathconf.c: Likewise.
11790 * hurd/__pid2task.c: Renamed to pid2task.c; added weak alias pid2task.
11791 * sysdeps/stub/__pipe.c: Renamed to pipe.c; added weak alias pipe.
11792 * sysdeps/unix/bsd/vax/__pipe.S: Likewise.
11793 * sysdeps/unix/bsd/m68k/__pipe.S: Likewise.
11794 * sysdeps/unix/bsd/osf1/alpha/__pipe.S: Likewise.
11795 * sysdeps/unix/i386/__pipe.S: Likewise.
11796 * sysdeps/unix/sparc/__pipe.S: Likewise.
11797 * sysdeps/unix/mips/__pipe.S: Likewise.
11798 * sysdeps/mach/hurd/__pipe.c: Likewise.
11799 * stdlib/__random.c: Renamed to random.c; added weak alias random.
11800 * sysdeps/stub/__read.c: Renamed to read.c; added weak alias read.
11801 * sysdeps/unix/__read.S: Likewise.
11802 * sysdeps/mach/hurd/__read.c: Likewise.
11803 * sysdeps/standalone/__read.c: Likewise.
11804 * sysdeps/stub/__readlink.c: Renamed to readlink.c; added weak
11806 * sysdeps/unix/common/__readlink.S: Likewise.
11807 * sysdeps/mach/hurd/__readlink.c: Likewise.
11808 * sysdeps/generic/__rint.c: Renamed to rint.c; added weak alias rint.
11809 * sysdeps/m68k/fpu/__rint.c: Likewise.
11810 * sysdeps/stub/__rmdir.c: Renamed to rmdir.c; added weak alias rmdir.
11811 * sysdeps/unix/sysv/__rmdir.c: Likewise.
11812 * sysdeps/unix/common/__rmdir.S: Likewise.
11813 * sysdeps/mach/hurd/__rmdir.c: Likewise.
11814 * sysdeps/generic/__sbrk.c: Renamed to sbrk.c; added weak alias sbrk.
11815 * sysdeps/stub/__sbrk.c: Likewise.
11816 * sysdeps/mach/hurd/__sbrk.c: Likewise.
11817 * math/__scalb.c: Renamed to scalb.c; added weak alias scalb.
11818 * sysdeps/stub/__select.c: Renamed to select.c; added weak alias
11820 * sysdeps/unix/common/__select.S: Likewise.
11821 * sysdeps/mach/hurd/__select.c: Likewise.
11822 * hurd/__setauth.c: Renamed to setauth.c; added weak alias setauth.
11823 * sysdeps/stub/__setgid.c: Renamed to setgid.c; added weak alias
11825 * sysdeps/unix/__setgid.S: Likewise.
11826 * sysdeps/unix/bsd/__setgid.c: Likewise.
11827 * sysdeps/mach/hurd/__setgid.c: Likewise.
11828 * sysdeps/stub/__setitmr.c: Renamed to setitmr.c; added weak alias
11830 * sysdeps/unix/common/__setitmr.S: Likewise.
11831 * sysdeps/mach/hurd/__setitmr.c: Likewise.
11832 * sysdeps/stub/__setpgrp.c: Renamed to setpgrp.c; added weak alias
11834 * sysdeps/unix/sysv/sysv4/__setpgrp.c: Likewise.
11835 * sysdeps/unix/sysv/sco3.2.4/__setpgrp.c: Likewise.
11836 * sysdeps/unix/sysv/irix4/__setpgrp.S: Likewise.
11837 * sysdeps/unix/common/__setpgrp.S: Likewise.
11838 * sysdeps/mach/hurd/__setpgrp.c: Likewise.
11839 * sysdeps/stub/__setregid.c: Renamed to setregid.c; added weak
11841 * sysdeps/unix/common/__setregid.S: Likewise.
11842 * sysdeps/mach/hurd/__setregid.c: Likewise.
11843 * sysdeps/stub/__setreuid.c: Renamed to setreuid.c; added weak
11845 * sysdeps/unix/common/__setreuid.S: Likewise.
11846 * sysdeps/mach/hurd/__setreuid.c: Likewise.
11847 * sysdeps/stub/__setsid.c: Renamed to setsid.c; added weak alias
11849 * sysdeps/unix/bsd/__setsid.c: Likewise.
11850 * sysdeps/unix/bsd/sun/sunos4/__setsid.S: Likewise.
11851 * sysdeps/unix/bsd/ultrix4/__setsid.S: Likewise.
11852 * sysdeps/unix/bsd/bsd4.4/__setsid.S: Likewise.
11853 * sysdeps/unix/sysv/linux/__setsid.S: Likewise.
11854 * sysdeps/unix/sysv/sysv4/__setsid.c: Likewise.
11855 * sysdeps/unix/sysv/sco3.2.4/__setsid.c: Likewise.
11856 * sysdeps/mach/hurd/__setsid.c: Likewise.
11857 * sysdeps/stub/__settod.c: Renamed to settod.c; added weak alias
11859 * sysdeps/unix/bsd/__settod.S: Likewise.
11860 * sysdeps/unix/sysv/__settod.c: Likewise.
11861 * sysdeps/mach/hurd/__settod.c: Likewise.
11862 * sysdeps/stub/__setuid.c: Renamed to setuid.c; added weak alias
11864 * sysdeps/unix/__setuid.S: Likewise.
11865 * sysdeps/unix/bsd/__setuid.c: Likewise.
11866 * sysdeps/mach/hurd/__setuid.c: Likewise.
11867 * sysdeps/posix/__sigblock.c: Renamed to sigblock.c; added weak
11869 * sysdeps/stub/__sigblock.c: Likewise.
11870 * sysdeps/unix/bsd/__sigblock.S: Likewise.
11871 * sysdeps/unix/bsd/bsd4.4/__sigblock.c: Likewise.
11872 * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: Likewise.
11873 * sysdeps/posix/__sigpause.c: Renamed to sigpause.c; added weak
11875 * sysdeps/stub/__sigpause.c: Likewise.
11876 * sysdeps/unix/bsd/__sigpause.S: Likewise.
11877 * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise.
11878 * sysdeps/stub/__sigproc.c: Renamed to sigprocmask.c; added weak
11880 * sysdeps/unix/bsd/__sigproc.c: Likewise.
11881 * sysdeps/unix/sysv/sysv4/__sigproc.S: Likewise.
11882 * sysdeps/unix/sysv/sco3.2.4/__sigproc.S: Likewise.
11883 * sysdeps/mach/hurd/__sigproc.c: Likewise.
11884 * sysdeps/stub/__sigret.c: Renamed to sigreturn.c; added weak
11886 * sysdeps/unix/bsd/sun/__sigret.S: Likewise.
11887 * sysdeps/unix/sysv/i386/__sigret.S: Likewise.
11888 * sysdeps/unix/sysv/irix4/__sigret.S: Likewise.
11889 * sysdeps/unix/i386/__sigret.S: Likewise.
11890 * sysdeps/unix/mips/__sigret.S: Likewise.
11891 * sysdeps/mach/hurd/i386/__sigret.c: Likewise.
11892 * sysdeps/mach/hurd/alpha/__sigret.c: Likewise.
11893 * sysdeps/mach/hurd/mips/__sigret.c: Likewise.
11894 * sysdeps/posix/__sigvec.c: Renamed to sigvec.c; added weak alias
11896 * sysdeps/stub/__sigvec.c: Likewise.
11897 * sysdeps/unix/bsd/__sigvec.S: Likewise.
11898 * sysdeps/unix/bsd/sun/__sigvec.S: Likewise.
11899 * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Likewise.
11900 * sysdeps/unix/bsd/ultrix4/mips/__sigvec.S: Likewise.
11901 * sysdeps/unix/bsd/bsd4.4/__sigvec.c: Likewise.
11902 * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise.
11903 * sysdeps/stub/__stat.c: Renamed to stat.c; added weak alias stat.
11904 * sysdeps/unix/__stat.S: Likewise.
11905 * sysdeps/unix/sysv/sysv4/i386/__stat.S: Likewise.
11906 * sysdeps/mach/hurd/__stat.c: Likewise.
11907 * sysdeps/generic/__stpncpy.c: Renamed to stpncpy.c; added weak
11909 * sysdeps/stub/__symlink.c: Renamed to symlink.c; added weak alias
11911 * sysdeps/unix/common/__symlink.S: Likewise.
11912 * sysdeps/mach/hurd/__symlink.c: Likewise.
11913 * sysdeps/posix/__sysconf.c: Renamed to sysconf.c; added weak
11915 * sysdeps/stub/__sysconf.c: Likewise.
11916 * sysdeps/unix/bsd/ultrix4/__sysconf.c: Likewise.
11917 * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise.
11918 * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Likewise.
11919 * sysdeps/unix/sysv/irix4/__sysconf.c: Likewise.
11920 * hurd/__task2pid.c: Renamed to task2pid.c; added weak alias task2pid.
11921 * sysdeps/stub/__times.c: Renamed to times.c; added weak alias times.
11922 * sysdeps/unix/bsd/__times.c: Likewise.
11923 * sysdeps/unix/sysv/__times.S: Likewise.
11924 * time/__tzset.c: Renamed to tzset.c; added weak alias tzset.
11925 * sysdeps/stub/__umask.c: Renamed to umask.c; added weak alias umask.
11926 * sysdeps/unix/__umask.S: Likewise.
11927 * sysdeps/mach/hurd/__umask.c: Likewise.
11928 * sysdeps/stub/__unlink.c: Renamed to unlink.c; added weak alias
11930 * sysdeps/unix/__unlink.S: Likewise.
11931 * sysdeps/mach/hurd/__unlink.c: Likewise.
11932 * sysdeps/stub/__utimes.c: Renamed to utimes.c; added weak alias
11934 * sysdeps/unix/bsd/__utimes.S: Likewise.
11935 * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: Likewise.
11936 * sysdeps/mach/hurd/__utimes.c: Likewise.
11937 * sysdeps/generic/__vfork.c: Renamed to vfork.c; added weak alias
11939 * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise.
11940 * sysdeps/unix/bsd/vax/__vfork.S: Likewise.
11941 * sysdeps/unix/bsd/i386/__vfork.S: Likewise.
11942 * sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise.
11943 * sysdeps/unix/bsd/ultrix4/mips/__vfork.S: Likewise.
11944 * sysdeps/unix/sysv/sysv4/i386/__vfork.S: Likewise.
11945 * sysdeps/unix/sparc/__vfork.S: Likewise.
11946 * stdio/__vfscanf.c: Renamed to vfscanf.c; added weak alias vfscanf.
11947 * stdio/__vsscanf.c: Renamed to vsscanf.c; added weak alias vsscanf.
11948 * sysdeps/posix/__wait.c: Renamed to wait.c; added weak alias wait.
11949 * sysdeps/stub/__wait.c: Likewise.
11950 * sysdeps/unix/bsd/sony/newsos4/__wait.c: Likewise.
11951 * sysdeps/unix/bsd/sun/sunos4/__wait.c: Likewise.
11952 * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Likewise.
11953 * sysdeps/unix/bsd/vax/__wait.S: Likewise.
11954 * sysdeps/unix/bsd/m68k/__wait.S: Likewise.
11955 * sysdeps/unix/bsd/bsd4.4/__wait.c: Likewise.
11956 * sysdeps/unix/sysv/i386/linux/__wait.S: Likewise.
11957 * sysdeps/unix/sysv/irix4/__wait.S: Likewise.
11958 * sysdeps/unix/i386/__wait.S: Likewise.
11959 * sysdeps/unix/mips/__wait.S: Likewise.
11960 * sysdeps/posix/__wait3.c: Renamed to wait3.c; added weak alias wait3.
11961 * sysdeps/stub/__wait3.c: Likewise.
11962 * sysdeps/unix/bsd/sony/newsos4/__wait3.c: Likewise.
11963 * sysdeps/unix/bsd/sun/sunos4/__wait3.c: Likewise.
11964 * sysdeps/unix/bsd/vax/__wait3.S: Likewise.
11965 * sysdeps/unix/bsd/i386/__wait3.S: Likewise.
11966 * sysdeps/unix/bsd/hp/m68k/__wait3.S: Likewise.
11967 * sysdeps/unix/bsd/ultrix4/__wait3.S: Likewise.
11968 * sysdeps/unix/bsd/bsd4.4/__wait3.c: Likewise.
11969 * sysdeps/unix/sysv/irix4/__wait3.S: Likewise.
11970 * sysdeps/stub/__wait4.c: Renamed to wait4.c; added weak alias wait4.
11971 * sysdeps/unix/bsd/sony/newsos4/__wait4.c: Likewise.
11972 * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise.
11973 * sysdeps/unix/bsd/bsd4.4/__wait4.S: Likewise.
11974 * sysdeps/unix/bsd/osf1/alpha/__wait4.S: Likewise.
11975 * sysdeps/unix/sysv/linux/__wait4.S: Likewise.
11976 * sysdeps/mach/hurd/__wait4.c: Likewise.
11977 * sysdeps/stub/__waitpid.c: Renamed to waitpid.c; added weak alias
11979 * sysdeps/unix/bsd/sun/sunos4/__waitpid.c: Likewise.
11980 * sysdeps/unix/bsd/ultrix4/__waitpid.S: Likewise.
11981 * sysdeps/unix/bsd/bsd4.4/__waitpid.c: Likewise.
11982 * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: Likewise.
11983 * sysdeps/unix/sysv/linux/__waitpid.S: Likewise.
11984 * sysdeps/unix/sysv/sysv4/__waitpid.c: Likewise.
11985 * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Likewise.
11986 * sysdeps/unix/sysv/irix4/__waitpid.c: Likewise.
11987 * sysdeps/stub/__write.c: Renamed to write.c; added weak alias write.
11988 * sysdeps/unix/__write.S: Likewise.
11989 * sysdeps/mach/hurd/__write.c: Likewise.
11990 * sysdeps/standalone/__write.c: Likewise.
11991 * sysdeps/stub/__tcgetatr.c: Renamed to tcgetattr.c; added weak
11993 * sysdeps/unix/bsd/__tcgetatr.c: Likewise.
11994 * sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: Likewise.
11995 * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise.
11996 * sysdeps/unix/sysv/__tcgetatr.c: Likewise.
11997 * sysdeps/stub/__sigact.c: Renamed to sigaction.c; added weak
11999 * sysdeps/unix/bsd/__sigact.c: Likewise.
12000 * sysdeps/unix/sysv/__sigact.c: Likewise.
12001 * sysdeps/unix/sysv/sysv4/__sigact.c: Likewise.
12002 * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Likewise.
12003 * sysdeps/mach/hurd/__sigact.c: Likewise.
12004 * sysdeps/posix/__sigstmsk.c: Renamed to sigsetmask.c; added weak
12006 * sysdeps/stub/__sigstmsk.c: Likewise.
12007 * sysdeps/unix/bsd/__sigstmsk.S: Likewise.
12008 * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Likewise.
12009 * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise.
12010 * sysdeps/stub/__getrusag.c: Renamed to getrusage.c; added weak
12012 * sysdeps/unix/sysv/irix4/__getrusag.c: Likewise.
12013 * sysdeps/unix/common/__getrusag.S: Likewise.
12014 * hurd/task2pid.c: File removed.
12015 * hurd/setauth.c: File removed.
12016 * hurd/pid2task.c: File removed.
12017 * hurd/hurdsyms.c: File removed.
12018 * hurd/getdport.c: File removed.
12019 * hurd/fopenport.c: File removed.
12020 * mach/thread-sym.c: File removed.
12021 * mach/spin-syms.c: File removed.
12022 * mach/msgserver_t.c: File removed.
12023 * mach/msgserver.c: File removed.
12024 * mach/msg.c: File removed.
12025 * mach/mig_syms.c: File removed.
12026 * malloc/mcheck-init.c: File removed.
12027 * malloc/cfree.c: File removed.
12028 * io/flock.c: File removed.
12029 * io/write.c: File removed.
12030 * io/unlink.c: File removed.
12031 * io/umask.c: File removed.
12032 * io/symlink.c: File removed.
12033 * io/rmdir.c: File removed.
12034 * io/readlink.c: File removed.
12035 * io/read.c: File removed.
12036 * io/pipe.c: File removed.
12037 * io/open.c: File removed.
12038 * io/mkdir.c: File removed.
12039 * io/lstat.c: File removed.
12040 * io/lseek.c: File removed.
12041 * io/link.c: File removed.
12042 * io/isatty.c: File removed.
12043 * io/stat.c: File removed.
12044 * io/fstat.c: File removed.
12045 * io/fchown.c: File removed.
12046 * io/fchmod.c: File removed.
12047 * io/dup2.c: File removed.
12048 * io/dup.c: File removed.
12049 * io/close.c: File removed.
12050 * io/fcntl.c: File removed.
12051 * io/chmod.c: File removed.
12052 * io/chdir.c: File removed.
12053 * io/access.c: File removed.
12054 * io/chown.c: File removed.
12055 * time/tzset.c: File removed.
12056 * time/timelocal.c: File removed.
12057 * time/syms-time.c: File removed.
12058 * time/settod.c: File removed.
12059 * time/setitmr.c: File removed.
12060 * time/gettod.c: File removed.
12061 * time/getitmr.c: File removed.
12062 * time/adjtime.c: File removed.
12063 * termios/tcgetattr.c: File removed.
12064 * string/stpncpy.c: File removed.
12065 * string/rindex.c: File removed.
12066 * string/memccpy.c: File removed.
12067 * string/index.c: File removed.
12068 * string/bcmp.c: File removed.
12069 * stdlib/srand.c: File removed.
12070 * stdlib/random.c: File removed.
12071 * stdio/vsscanf.c: File removed.
12072 * stdio/vfscanf.c: File removed.
12073 * stdio/syms-stdio.c: File removed.
12074 * stdio/remove.c: File removed.
12075 * stdio/getline.c: File removed.
12076 * stdio/getdelim.c: File removed.
12077 * signal/ssignal.c: File removed.
12078 * signal/sigvec.c: File removed.
12079 * signal/sigsetmask.c: File removed.
12080 * signal/sigret.c: File removed.
12081 * signal/sigproc.c: File removed.
12082 * signal/sigpause.c: File removed.
12083 * signal/sigblock.c: File removed.
12084 * signal/sigaction.c: File removed.
12085 * signal/kill.c: File removed.
12086 * signal/gsignal.c: File removed.
12087 * setjmp/siglongjmp.c: File removed.
12088 * setjmp/_longjmp.c: File removed.
12089 * resource/getrusage.c: File removed.
12090 * posix/waitpid.c: File removed.
12091 * posix/wait4.c: File removed.
12092 * posix/wait3.c: File removed.
12093 * posix/wait.c: File removed.
12094 * posix/times.c: File removed.
12095 * posix/sysconf.c: File removed.
12096 * posix/setuid.c: File removed.
12097 * posix/setsid.c: File removed.
12098 * posix/setpgrp.c: File removed.
12099 * posix/setpgid.c: File removed.
12100 * posix/setgid.c: File removed.
12101 * posix/pathconf.c: File removed.
12102 * posix/getuid.c: File removed.
12103 * posix/getppid.c: File removed.
12104 * posix/getpid.c: File removed.
12105 * posix/getgrps.c: File removed.
12106 * posix/getgid.c: File removed.
12107 * posix/geteuid.c: File removed.
12108 * posix/getegid.c: File removed.
12109 * posix/fpathcon.c: File removed.
12110 * posix/fork.c: File removed.
12111 * posix/execve.c: File removed.
12112 * posix/environ.c: File removed.
12113 * misc/utimes.c: File removed.
12114 * misc/setreuid.c: File removed.
12115 * misc/setregid.c: File removed.
12116 * misc/select.c: File removed.
12117 * misc/sbrk.c: File removed.
12118 * misc/mknod.c: File removed.
12119 * misc/ioctl.c: File removed.
12120 * misc/getpgsz.c: File removed.
12121 * misc/gethstnm.c: File removed.
12122 * misc/getdtsz.c: File removed.
12123 * misc/data_start.c: File removed.
12124 * misc/brk.c: File removed.
12125 * math/scalb.c: File removed.
12126 * math/rint.c: File removed.
12127 * math/logb.c: File removed.
12128 * math/isnan.c: File removed.
12129 * math/isinf.c: File removed.
12130 * math/infnan.c: File removed.
12131 * math/finite.c: File removed.
12132 * math/expm1.c: File removed.
12133 * math/drem.c: File removed.
12134 * math/copysign.c: File removed.
12135 * math/__scalb.c: File removed.
12136 * dirent/getdents.c: File removed.
12138 Fri Jan 20 16:11:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
12140 * sysdeps/generic/morecore.c (__default_morecore): Use
12141 __malloc_ptrdiff_t; don't cast arg to int.
12143 * resolv/getnetnamadr.c: Include "conf/portability.h".
12145 Thu Jan 19 02:20:04 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
12147 * stdlib/strtol.c: Include errno.h.
12148 [QUAD] (ULONG_MAX): Define to a static variable initialized to
12149 ULONG_LONG_MAX. This is to work around a GCC bug in using the
12150 constant in arithmetic.
12152 * posix/unistd.h (daemon): Declare it.
12154 * malloc/mcheck-init.c: Remove GNU ld hacks.
12155 (__malloc_initialize_hook): Initialize this hook to turn_on_mcheck.
12156 * malloc/malloc.c (__malloc_initialize_hook): New hook variable.
12157 (initialize): Call the hook if set.
12158 * malloc/malloc.h: Use __malloc_{size,ptrdiff}_t in prototypes.
12159 (__malloc_initialize_hook): Declare new hook variable.
12161 Wed Jan 18 01:43:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
12163 * hurd/hurdsig.c: Prepend `msg_' to server RPC names.
12164 * hurd/hurdpid.c: Likewise.
12165 * hurd/hurdauth.c: Likewise.
12167 Tue Jan 17 03:16:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
12169 * sysdeps/mach/hurd/__select.c: If some replies are EINTR, succeed
12170 if any are successful.
12172 * hurd/hurdmsg.c: Prepend `msg_' to all RPC names.
12173 (_S_msg_get_exec_flags, _S_msg_set_exec_flags,
12174 _S_msg_set_some_exec_flags, _S_msg_clear_some_exec_flags): New
12176 (_S_io_select_done, _S_dir_changed, _S_file_changed): Stubs removed.
12178 * hurd/hurdkill.c: __sig_post renamed to __msg_sig_post.
12179 * hurd/hurd-raise.c: Likewise.
12180 * hurd/hurdsig.c (post_reply): Prepend `msg_' to RPC names.
12182 * sysdeps/mach/hurd/ptrace.c: New file.
12184 * sysdeps/mach/hurd/__select.c: Revamped to use new io_select
12185 interface, which has normal EINTR semantics. Instead of waiting
12186 for io_select_done notification messages, send io_select messages
12187 with short reply timeout and then wait for io_select_reply
12190 * hurd/hurdexec.c (_hurd_exec): Pass (_hurd_exec_flags &
12191 EXEC_INHERITED) to file_exec.
12193 * hurd/hurdsig.c (post_reply): Take new arg UNTRACED; if nonzero,
12194 use sig_post_untraced_reply. All callers changed.
12195 (abort_thread, abort_rpcs): Take same new arg and pass it through.
12196 All callers changed.
12197 (_hurd_internal_post_signal): Take new arg UNTRACED.
12198 If zero and process is traced, stop with SIGNO as stop signal. If
12199 nonzero, resume process before delivering signal (unless
12200 ACT==stop). Expand local fn sigwakeup into block at end taken iff
12202 (signal_allowed): New function, broken out of _S_sig_post.
12203 (_S_sig_post): Call it. Pass UNTRACED arg of false to
12204 _hurd_internal_post_signal.
12205 (_S_sig_post_untraced): New function. Just like _S_sig_post, but
12206 pass true for UNTRACED.
12207 * hurd/hurd/signal.h (_hurd_internal_post_signal): Take new arg
12209 * hurd/catch-exc.c (_S_catch_exception_raise): Pass UNTRACED arg
12210 to _hurd_internal_post_signal (value zero).
12212 Mon Jan 16 16:40:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
12214 * hurd/hurdinit.c (_hurd_exec_flags): New variable.
12215 (_hurd_init): Initialize it from FLAGS arg.
12216 (_hurd_proc_init): If EXEC_TRACED is set in _hurd_exec_flags,
12217 raise a SIGTRAP signal (with a sigcode of zero).
12218 * hurd/hurd.h (_hurd_exec_flags): Declare it.
12222 Mon Jan 16 16:16:55 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
12224 * malloc/malloc.c (malloc): Fix 1-off in previous change.
12226 Mon Jan 16 15:49:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
12228 * posix/glob/Makefile.in: Remove config.h and config.log.
12230 Sun Jan 15 06:56:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
12232 * posix/glob/configure.in: Add AC_CONST check.
12234 * conf/portability.h: #undef sun.
12235 * resolv/res_query.c: Updated from BIND-4.9.3-BETA17.
12236 * resolv/getnetnamadr.c: Likewise.
12238 * socket/Makefile (headers): Add sockaddrcom.h.
12239 * inet/netinet/in.h: Include <sockaddrcom.h>.
12240 (struct sockaddr_in): Use the __SOCKADDR_COMMON macro.
12241 * socket/sys/un.h (struct sockaddr_in): Likewise.
12242 * socket/sys/socket.h (struct sockaddr): Likewise.
12243 * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: New file.
12244 * sysdeps/generic/sockaddrcom.h: New file.
12246 * sysdeps/unix/sysv/sysv4/ftruncate.c: New file.
12247 * sysdeps/unix/common/fcntlbits.h [__USE_SVID] (F_ALLOCSP,
12248 F_FREESP): New macros.
12249 * sysdeps/posix/truncate.c: New file.
12251 * malloc/malloc.c (malloc): Fix typos in RMS's change.
12253 * malloc/Makefile (dist-routines): Add malloc-find.
12254 * malloc/malloc.h (malloc_find_object_address): Declare it.
12255 * malloc/malloc-find.c: New file.
12257 * malloc/malloc.h (__malloc_ptrdiff_t): New macro, defined a la
12259 (malloc_info): Use that type for member `busy.info.size'.
12261 * stdlib/strtol.c: Change uses of `long' keyword throughout to use
12263 [! QUAD] (LONG): Define as long.
12264 [QUAD] (LONG): Define as long long.
12265 [QUAD] (LONG_MIN, LONG_MAX, ULONG_MAX): Redefine to long long
12267 [QUAD] (strtoul, strtol): Define to strtouq, strtoq.
12268 * stdlib/Makefile (routines): Add strtoq and strtouq.
12269 * stdlib/strtoq.c, stdlib/strtouq.c: New files.
12270 * stdlib/stdlib.h [__GNUC__ && __USE_BSD] (strtoq, strtouq):
12273 * stdio/vfprintf.c: If there was a precision specified, ignore the
12274 0 flag and always pad with spaces.
12276 * stdio/vfprintf.c: Don't use strchr to skip text until next %.
12277 Use a loop and also stop on first !isascii char.
12279 Wed Jan 11 00:07:10 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
12281 * malloc/malloc.h (malloc_info): Change usage of .busy.info.size.
12283 * malloc/malloc.c (malloc): For a multi-block object, store a
12284 negative number into the busy.info.size of all but the first block.
12286 Tue Jan 10 13:45:20 1995 Brendan Kehoe <brendan@zen.org>
12288 * sysdeps/unix/bsd/ultrix4/mips/start.S: Use s0, s1, and s2
12289 instead of t0, t1, and t2.
12291 Tue Jan 10 05:53:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
12293 * malloc/memalign.c (__memalign_hook): New variable.
12294 (memalign): Call it if set.
12295 * malloc/malloc.h (__memalign_hook): Declare new variable.
12297 Wed Dec 28 03:27:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
12299 * conf/portability.h: Include string.h and stdlib.h.
12300 * inet/netdb.h (NETDB_INTERNAL, NETDB_SUCCESS): New macros.
12301 * resolv/resolv.h, resolv/arpa/nameser.h, resolv/gethnamaddr.c,
12302 resolv/getnetbyname.c, resolv/getnetent.c, resolv/herror.c,
12303 resolv/res_mkquery.c, resolv/res_send.c, resolv/res_comp.c,
12304 resolv/res_debug.c, resolv/res_init.c: Updated from BIND 4.9.3-BETA14.
12306 * sysdeps/m68k/fpu/__math.h (__m81_inline): New macro. Replace
12307 all uses of `extern __inline' with `__m81_inline'.
12309 * sysdeps/unix/bsd/hp/m68k/__vfork.S: Use subl, not decl.
12310 * sysdeps/unix/__fork.S: Swap args in subl.
12312 * posix/sys/types.h [__USE_MISC] (ushort, uint): New typedefs, for
12315 Tue Dec 20 13:33:20 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
12317 * sysdeps/mach/hurd/__setpgrp.c (__setpgrp): Use __swtch_pri instead
12319 * sysdeps/mach/hurd/__setsid.c (__setsid): Likewise.
12320 * mach/spin-solid.c (__spin_lock_solid): Likewise.
12322 Thu Dec 15 12:01:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
12324 * inet/rcmd.c (iruserok): Use alloca instead of fixed-size buffer
12326 (__ivaliduser): Use getline instead of fgets with fixed-size buffer.
12328 * sysdeps/mach/hurd/Makefile (subdirs): Don't elide inet.
12330 Wed Dec 14 18:20:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
12332 * sysdeps/alpha/bsd-setjmp.S: Reverse register and immediate args
12333 in `bis' insn; immediate must be second.
12335 * sysdeps/unix/__fork.S: Use subl instead of decl.
12336 * sysdeps/unix/i386/__fork.S: New file.
12338 * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
12339 Remove A macro; just use `asm volatile' with proper quotes in each
12341 * sysdeps/mach/alpha/sysdep.h (CALL_WITH_SP): Put parens around
12342 jmp target register.
12344 * time/africa, time/asia, time/australasia, time/emkdir.c,
12345 time/europe, time/ialloc.c, time/northamerica, time/private.h,
12346 time/scheck.c, time/yearistype, time/zdump.c, time/zic.c: New code
12347 and data from ADO 94h distribution.
12349 * sysdeps/sparc/setjmp.S: Use sethi and or to put address of
12350 __sigjmp_save in %g1 and jmp there. jmp cannot contain a complete
12351 absolute pointer. Put second store in jmp delay slot.
12353 Tue Dec 13 15:47:52 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
12355 * sysdeps/sparc/bsd-_setjmp.S: Use sethi and or to put address of
12356 __sigsetjmp in %g1 and jmp there. jmp cannot contain a complete
12358 * sysdeps/sparc/bsd-setjmp.S: Likewise.
12360 * configure.in: Use ; before } in { ... } exprs.
12364 See ChangeLog.4 for earlier changes.